diff options
author | crupest <crupest@outlook.com> | 2023-07-14 23:07:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-14 23:08:40 +0800 |
commit | d808b68d959aa59347e1c4ce7084a7afcfa80522 (patch) | |
tree | f42d8640958a77dcfe0f8021f0f5c995fbfb139f /FrontEnd/src/views/common/common.ts | |
parent | c833176b638eeb1cdc8b30d4aef632a25ede3777 (diff) | |
download | timeline-d808b68d959aa59347e1c4ce7084a7afcfa80522.tar.gz timeline-d808b68d959aa59347e1c4ce7084a7afcfa80522.tar.bz2 timeline-d808b68d959aa59347e1c4ce7084a7afcfa80522.zip |
...
Diffstat (limited to 'FrontEnd/src/views/common/common.ts')
-rw-r--r-- | FrontEnd/src/views/common/common.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/FrontEnd/src/views/common/common.ts b/FrontEnd/src/views/common/common.ts new file mode 100644 index 00000000..e3a5a2a2 --- /dev/null +++ b/FrontEnd/src/views/common/common.ts @@ -0,0 +1,12 @@ +export type { I18nText } from "@/common"; +export { c, convertI18nText, useC } from "@/common"; + +export const themeColors = [ + "primary", + "secondary", + "tertiary", + "danger", + "success", +] as const; + +export type ThemeColor = (typeof themeColors)[number]; |