diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-12-11 11:58:42 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-12-11 11:58:42 +0100 |
commit | a73e183108104192ae17c75a5a60eb3075464476 (patch) | |
tree | bcedf65522520405ab38f2baeac009f563aa5158 /src/theme | |
parent | fix countdown state (diff) | |
download | ferdium-app-a73e183108104192ae17c75a5a60eb3075464476.tar.gz ferdium-app-a73e183108104192ae17c75a5a60eb3075464476.tar.zst ferdium-app-a73e183108104192ae17c75a5a60eb3075464476.zip |
Improve webview loader
Diffstat (limited to 'src/theme')
-rw-r--r-- | src/theme/dark/index.js | 5 | ||||
-rw-r--r-- | src/theme/default/index.js | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/theme/dark/index.js b/src/theme/dark/index.js index 76fece134..aafa7cb27 100644 --- a/src/theme/dark/index.js +++ b/src/theme/dark/index.js | |||
@@ -1,3 +1,5 @@ | |||
1 | import hexToRgba from 'hex-to-rgba'; | ||
2 | |||
1 | import * as legacyStyles from '../default/legacy'; | 3 | import * as legacyStyles from '../default/legacy'; |
2 | 4 | ||
3 | export const colorBackground = legacyStyles.darkThemeGrayDarkest; | 5 | export const colorBackground = legacyStyles.darkThemeGrayDarkest; |
@@ -5,3 +7,6 @@ export const colorBackgroundSubscriptionContainer = legacyStyles.themeBrandInfo; | |||
5 | 7 | ||
6 | export const colorHeadline = legacyStyles.darkThemeTextColor; | 8 | export const colorHeadline = legacyStyles.darkThemeTextColor; |
7 | export const colorText = legacyStyles.darkThemeTextColor; | 9 | export const colorText = legacyStyles.darkThemeTextColor; |
10 | |||
11 | // Webview Loader | ||
12 | export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.darkThemeGrayDarkest, 0.5); | ||
diff --git a/src/theme/default/index.js b/src/theme/default/index.js index cdd9aa5e6..9640b1cb0 100644 --- a/src/theme/default/index.js +++ b/src/theme/default/index.js | |||
@@ -1,3 +1,5 @@ | |||
1 | import hexToRgba from 'hex-to-rgba'; | ||
2 | |||
1 | import * as legacyStyles from './legacy'; | 3 | import * as legacyStyles from './legacy'; |
2 | 4 | ||
3 | export const brandPrimary = '#3498db'; | 5 | export const brandPrimary = '#3498db'; |
@@ -20,3 +22,6 @@ export const colorSubscriptionContainerBorder = [1, 'solid', brandPrimary]; | |||
20 | export const colorSubscriptionContainerTitle = brandPrimary; | 22 | export const colorSubscriptionContainerTitle = brandPrimary; |
21 | export const colorSubscriptionContainerActionButtonBackground = brandPrimary; | 23 | export const colorSubscriptionContainerActionButtonBackground = brandPrimary; |
22 | export const colorSubscriptionContainerActionButtonColor = '#FFF'; | 24 | export const colorSubscriptionContainerActionButtonColor = '#FFF'; |
25 | |||
26 | // Webview Loader | ||
27 | export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8); | ||