diff options
author | 2019-01-14 22:26:37 +0100 | |
---|---|---|
committer | 2019-01-14 22:26:37 +0100 | |
commit | b168fb7ced4c117a4d4be45bb2f42c30b2a00563 (patch) | |
tree | 1a457c41ce743daaafdbeb597f86327291f9e7c7 /packages/theme/src/themes/dark/index.ts | |
parent | Add buttons (diff) | |
download | ferdium-app-b168fb7ced4c117a4d4be45bb2f42c30b2a00563.tar.gz ferdium-app-b168fb7ced4c117a4d4be45bb2f42c30b2a00563.tar.zst ferdium-app-b168fb7ced4c117a4d4be45bb2f42c30b2a00563.zip |
Update theme
Diffstat (limited to 'packages/theme/src/themes/dark/index.ts')
-rw-r--r-- | packages/theme/src/themes/dark/index.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts index 0cc4caa16..bc2db5ca0 100644 --- a/packages/theme/src/themes/dark/index.ts +++ b/packages/theme/src/themes/dark/index.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import color from 'color'; | 1 | import color from 'color'; |
2 | 2 | ||
3 | import * as defaultStyles from '../default'; | ||
3 | import * as legacyStyles from '../legacy'; | 4 | import * as legacyStyles from '../legacy'; |
4 | 5 | ||
5 | export const colorBackground = legacyStyles.darkThemeGrayDarkest; | 6 | export const colorBackground = legacyStyles.darkThemeGrayDarkest; |
@@ -28,3 +29,21 @@ export const inputPlaceholderColor = color(legacyStyles.darkThemeGrayLighter).da | |||
28 | // Toggle | 29 | // Toggle |
29 | export const toggleBackground = legacyStyles.darkThemeGray; | 30 | export const toggleBackground = legacyStyles.darkThemeGray; |
30 | export const toggleButton = legacyStyles.darkThemeGrayLighter; | 31 | export const toggleButton = legacyStyles.darkThemeGrayLighter; |
32 | |||
33 | // Button | ||
34 | export const buttonPrimaryTextColor = legacyStyles.darkThemeTextColor; | ||
35 | |||
36 | export const buttonSecondaryBackground = legacyStyles.darkThemeGrayLighter; | ||
37 | export const buttonSecondaryTextColor = legacyStyles.darkThemeTextColor; | ||
38 | |||
39 | export const buttonDangerTextColor = legacyStyles.darkThemeTextColor; | ||
40 | |||
41 | export const buttonWarningTextColor = legacyStyles.darkThemeTextColor; | ||
42 | |||
43 | export const buttonLoaderColor = { | ||
44 | primary: '#FFF', | ||
45 | secondary: buttonSecondaryTextColor, | ||
46 | warning: '#FFF', | ||
47 | danger: '#FFF', | ||
48 | inverted: defaultStyles.brandPrimary, | ||
49 | }; | ||