diff options
author | 2019-02-22 16:55:47 +0100 | |
---|---|---|
committer | 2019-02-22 16:55:47 +0100 | |
commit | b00e026146020bdc0f65d573bf5d54b24bc76065 (patch) | |
tree | c33b6f8b20628c319ae2a416f1da418336515832 | |
parent | Add modal overlay color (diff) | |
download | ferdium-app-b00e026146020bdc0f65d573bf5d54b24bc76065.tar.gz ferdium-app-b00e026146020bdc0f65d573bf5d54b24bc76065.tar.zst ferdium-app-b00e026146020bdc0f65d573bf5d54b24bc76065.zip |
remove legacy theme files
-rw-r--r-- | src/theme/dark/index.js | 19 | ||||
-rw-r--r-- | src/theme/default/index.js | 35 |
2 files changed, 0 insertions, 54 deletions
diff --git a/src/theme/dark/index.js b/src/theme/dark/index.js deleted file mode 100644 index 8fdb321f3..000000000 --- a/src/theme/dark/index.js +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | import hexToRgba from 'hex-to-rgba'; | ||
2 | |||
3 | import * as legacyStyles from '../default/legacy'; | ||
4 | |||
5 | export const colorBackground = legacyStyles.darkThemeGrayDarkest; | ||
6 | export const colorBackgroundSubscriptionContainer = legacyStyles.themeBrandInfo; | ||
7 | |||
8 | export const colorHeadline = legacyStyles.darkThemeTextColor; | ||
9 | export const colorText = legacyStyles.darkThemeTextColor; | ||
10 | |||
11 | // Error Handler | ||
12 | export const colorWebviewErrorHandlerBackground = legacyStyles.darkThemeGrayDarkest; | ||
13 | |||
14 | // Loader | ||
15 | export const colorFullscreenLoaderSpinner = '#FFF'; | ||
16 | export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.darkThemeGrayDarkest, 0.5); | ||
17 | |||
18 | // Modal | ||
19 | export const colorModalOverlayBackground = hexToRgba(legacyStyles.darkThemeGrayDarkest, 0.8); | ||
diff --git a/src/theme/default/index.js b/src/theme/default/index.js deleted file mode 100644 index 61410073d..000000000 --- a/src/theme/default/index.js +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | import hexToRgba from 'hex-to-rgba'; | ||
2 | |||
3 | import * as legacyStyles from './legacy'; | ||
4 | |||
5 | export const brandPrimary = '#3498db'; | ||
6 | export const brandSuccess = '#5cb85c'; | ||
7 | export const brandInfo = '#5bc0de'; | ||
8 | export const brandWarning = '#FF9F00'; | ||
9 | export const brandDanger = '#d9534f'; | ||
10 | |||
11 | export const borderRadius = legacyStyles.themeBorderRadius; | ||
12 | export const borderRadiusSmall = legacyStyles.themeBorderRadiusSmall; | ||
13 | |||
14 | export const colorBackground = legacyStyles.themeGrayLighter; | ||
15 | export const colorHeadline = legacyStyles.themeGrayDark; | ||
16 | |||
17 | export const colorText = legacyStyles.themeTextColor; | ||
18 | |||
19 | // Subscription Container Component | ||
20 | export const colorSubscriptionContainerBackground = 'none'; | ||
21 | export const colorSubscriptionContainerBorder = [1, 'solid', brandPrimary]; | ||
22 | export const colorSubscriptionContainerTitle = brandPrimary; | ||
23 | export const colorSubscriptionContainerActionButtonBackground = brandPrimary; | ||
24 | export const colorSubscriptionContainerActionButtonColor = '#FFF'; | ||
25 | |||
26 | // Error Handler | ||
27 | export const colorWebviewErrorHandlerBackground = legacyStyles.themeGrayLighter; | ||
28 | |||
29 | // Loader | ||
30 | export const colorAppLoaderSpinner = '#FFF'; | ||
31 | export const colorFullscreenLoaderSpinner = legacyStyles.themeGrayDark; | ||
32 | export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8); | ||
33 | |||
34 | // Modal | ||
35 | export const colorModalOverlayBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8); | ||