aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/common.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-07-14 23:01:33 +0800
committercrupest <crupest@outlook.com>2023-07-14 23:01:33 +0800
commitc833176b638eeb1cdc8b30d4aef632a25ede3777 (patch)
tree3e67b72f7431734d7e8973faea90b56d8119c5ba /FrontEnd/src/common.ts
parent810185b8df1fd191cd4a5e7eb92e1986000880b1 (diff)
downloadtimeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.tar.gz
timeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.tar.bz2
timeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.zip
...
Diffstat (limited to 'FrontEnd/src/common.ts')
-rw-r--r--FrontEnd/src/common.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/FrontEnd/src/common.ts b/FrontEnd/src/common.ts
index 965f9933..6dcd2a9e 100644
--- a/FrontEnd/src/common.ts
+++ b/FrontEnd/src/common.ts
@@ -8,3 +8,13 @@ export const highlightTimelineUsername = "crupest";
export type { I18nText } from "./i18n";
export { c, convertI18nText } from "./i18n";
export { default as useC } from "./utilities/hooks/use-c";
+
+export const themeColors = [
+ "primary",
+ "secondary",
+ "tertiary",
+ "danger",
+ "success",
+] as const;
+
+export type ThemeColor = (typeof themeColors)[number];