Add supporting themes required for Lotusdocs

This commit is contained in:
Abner Coimbre committed 2026-01-11 16:48:19 -08:00
1 parent 8a4d04db58
commit f8d40c4e41
1289 files changed
+234948

No files matched your search

@@ -0,0 +1,11 @@
// @flow
import { max as mathMax, min as mathMin } from './math';
export function within(min: number, value: number, max: number): number {
return mathMax(min, mathMin(value, max));
}
export function withinMaxClamp(min: number, value: number, max: number) {
const v = within(min, value, max);
return v > max ? max : v;
}