aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/palette.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-15 16:23:44 +0800
committercrupest <crupest@outlook.com>2021-06-15 16:23:44 +0800
commitddce03a67708249eec129eb36744be460345bd75 (patch)
tree58417f657467e89d06c58b848db621c021803254 /FrontEnd/src/palette.ts
parente0b766203d7576ab67b16ba556ba14120d0bc876 (diff)
downloadtimeline-ddce03a67708249eec129eb36744be460345bd75.tar.gz
timeline-ddce03a67708249eec129eb36744be460345bd75.tar.bz2
timeline-ddce03a67708249eec129eb36744be460345bd75.zip
...
Diffstat (limited to 'FrontEnd/src/palette.ts')
-rw-r--r--FrontEnd/src/palette.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/FrontEnd/src/palette.ts b/FrontEnd/src/palette.ts
index c4f4f4f9..11b3de85 100644
--- a/FrontEnd/src/palette.ts
+++ b/FrontEnd/src/palette.ts
@@ -30,6 +30,8 @@ export interface Palette {
[key: string]: PaletteColor;
}
+export type PaletteColorType = keyof Palette;
+
export function generatePaletteColor(color: string): PaletteColor {
const c = Color(color);
return {