aboutsummaryrefslogtreecommitdiffstats
path: root/src/theme
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-11 11:58:42 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-11 11:58:42 +0100
commita73e183108104192ae17c75a5a60eb3075464476 (patch)
treebcedf65522520405ab38f2baeac009f563aa5158 /src/theme
parentfix countdown state (diff)
downloadferdium-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.js5
-rw-r--r--src/theme/default/index.js5
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 @@
1import hexToRgba from 'hex-to-rgba';
2
1import * as legacyStyles from '../default/legacy'; 3import * as legacyStyles from '../default/legacy';
2 4
3export const colorBackground = legacyStyles.darkThemeGrayDarkest; 5export const colorBackground = legacyStyles.darkThemeGrayDarkest;
@@ -5,3 +7,6 @@ export const colorBackgroundSubscriptionContainer = legacyStyles.themeBrandInfo;
5 7
6export const colorHeadline = legacyStyles.darkThemeTextColor; 8export const colorHeadline = legacyStyles.darkThemeTextColor;
7export const colorText = legacyStyles.darkThemeTextColor; 9export const colorText = legacyStyles.darkThemeTextColor;
10
11// Webview Loader
12export 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 @@
1import hexToRgba from 'hex-to-rgba';
2
1import * as legacyStyles from './legacy'; 3import * as legacyStyles from './legacy';
2 4
3export const brandPrimary = '#3498db'; 5export const brandPrimary = '#3498db';
@@ -20,3 +22,6 @@ export const colorSubscriptionContainerBorder = [1, 'solid', brandPrimary];
20export const colorSubscriptionContainerTitle = brandPrimary; 22export const colorSubscriptionContainerTitle = brandPrimary;
21export const colorSubscriptionContainerActionButtonBackground = brandPrimary; 23export const colorSubscriptionContainerActionButtonBackground = brandPrimary;
22export const colorSubscriptionContainerActionButtonColor = '#FFF'; 24export const colorSubscriptionContainerActionButtonColor = '#FFF';
25
26// Webview Loader
27export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8);