mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* cookie for storing time format value * rename TimeAgo component * add toggle to tables (pt. 1) * move TimeWithTooltip component * add toggle to tables (pt. 2) * change implementation of toggle component * remove unnecessary timestamp label * update screenshots * more screenshot updates * [skip ci] update clock icon * update screenshots
6 lines
257 B
TypeScript
6 lines
257 B
TypeScript
export const COLOR_THEME_IDS = [ 'light', 'dim', 'midnight', 'dark' ] as const;
|
|
export type ColorThemeId = typeof COLOR_THEME_IDS[number];
|
|
|
|
export const TIME_FORMAT = [ 'relative', 'absolute' ] as const;
|
|
export type TimeFormat = typeof TIME_FORMAT[number];
|