aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/components/common.ts
blob: 840e1be52dc803e0f686340f8c1d00c547b343ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import "./index.css";

export type { I18nText } from "~src/i18n";
export { convertI18nText, useC } from "~src/i18n";

export class UiLogicError extends Error {}

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";