diff options
Diffstat (limited to 'FrontEnd/src/components/common.ts')
-rw-r--r-- | FrontEnd/src/components/common.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/FrontEnd/src/components/common.ts b/FrontEnd/src/components/common.ts new file mode 100644 index 00000000..a6c3e705 --- /dev/null +++ b/FrontEnd/src/components/common.ts @@ -0,0 +1,22 @@ +import "./index.css"; + +export type { Text, I18nText } from "~src/common"; +export { UiLogicError, c, convertI18nText, useC } from "~src/common"; + +export const themeColors = [ + "primary", + "secondary", + "danger", + "create", +] as const; + +export type ThemeColor = (typeof themeColors)[number]; + +export type ClickableColor = ThemeColor | "grayscale" | "light" | "minor"; + +export { breakpoints } from "./breakpoints"; + +export * as geometry from "~src/utilities/geometry"; + +export * as array from "~src/utilities/array" + |