From a73e183108104192ae17c75a5a60eb3075464476 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Tue, 11 Dec 2018 11:58:42 +0100 Subject: Improve webview loader --- src/theme/dark/index.js | 5 +++++ src/theme/default/index.js | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src/theme') 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 @@ +import hexToRgba from 'hex-to-rgba'; + import * as legacyStyles from '../default/legacy'; export const colorBackground = legacyStyles.darkThemeGrayDarkest; @@ -5,3 +7,6 @@ export const colorBackgroundSubscriptionContainer = legacyStyles.themeBrandInfo; export const colorHeadline = legacyStyles.darkThemeTextColor; export const colorText = legacyStyles.darkThemeTextColor; + +// Webview Loader +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 @@ +import hexToRgba from 'hex-to-rgba'; + import * as legacyStyles from './legacy'; export const brandPrimary = '#3498db'; @@ -20,3 +22,6 @@ export const colorSubscriptionContainerBorder = [1, 'solid', brandPrimary]; export const colorSubscriptionContainerTitle = brandPrimary; export const colorSubscriptionContainerActionButtonBackground = brandPrimary; export const colorSubscriptionContainerActionButtonColor = '#FFF'; + +// Webview Loader +export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8); -- cgit v1.2.3-70-g09d2