28 lines
625 B
TypeScript
28 lines
625 B
TypeScript
// How the big clock on the dashboard looks. The choices are stored per user.
|
|
|
|
export const CLOCK_FONTS = [
|
|
"serif",
|
|
"sans",
|
|
"light",
|
|
"rounded",
|
|
"slab",
|
|
] as const
|
|
export type ClockFont = (typeof CLOCK_FONTS)[number]
|
|
|
|
export const CLOCK_FONT_NAMES: Record<ClockFont, string> = {
|
|
serif: "Serif",
|
|
sans: "Sans",
|
|
light: "Light",
|
|
rounded: "Rounded",
|
|
slab: "Slab",
|
|
}
|
|
|
|
export const CLOCK_STYLES = ["solid", "glass", "tinted"] as const
|
|
export type ClockStyle = (typeof CLOCK_STYLES)[number]
|
|
|
|
export const CLOCK_STYLE_NAMES: Record<ClockStyle, string> = {
|
|
solid: "Solid",
|
|
glass: "Glass",
|
|
tinted: "Tinted",
|
|
}
|