aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-02-22 16:55:47 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-02-22 16:55:47 +0100
commitb00e026146020bdc0f65d573bf5d54b24bc76065 (patch)
treec33b6f8b20628c319ae2a416f1da418336515832 /src
parentAdd modal overlay color (diff)
downloadferdium-app-b00e026146020bdc0f65d573bf5d54b24bc76065.tar.gz
ferdium-app-b00e026146020bdc0f65d573bf5d54b24bc76065.tar.zst
ferdium-app-b00e026146020bdc0f65d573bf5d54b24bc76065.zip
remove legacy theme files
Diffstat (limited to 'src')
-rw-r--r--src/theme/dark/index.js19
-rw-r--r--src/theme/default/index.js35
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 @@
1import hexToRgba from 'hex-to-rgba';
2
3import * as legacyStyles from '../default/legacy';
4
5export const colorBackground = legacyStyles.darkThemeGrayDarkest;
6export const colorBackgroundSubscriptionContainer = legacyStyles.themeBrandInfo;
7
8export const colorHeadline = legacyStyles.darkThemeTextColor;
9export const colorText = legacyStyles.darkThemeTextColor;
10
11// Error Handler
12export const colorWebviewErrorHandlerBackground = legacyStyles.darkThemeGrayDarkest;
13
14// Loader
15export const colorFullscreenLoaderSpinner = '#FFF';
16export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.darkThemeGrayDarkest, 0.5);
17
18// Modal
19export 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 @@
1import hexToRgba from 'hex-to-rgba';
2
3import * as legacyStyles from './legacy';
4
5export const brandPrimary = '#3498db';
6export const brandSuccess = '#5cb85c';
7export const brandInfo = '#5bc0de';
8export const brandWarning = '#FF9F00';
9export const brandDanger = '#d9534f';
10
11export const borderRadius = legacyStyles.themeBorderRadius;
12export const borderRadiusSmall = legacyStyles.themeBorderRadiusSmall;
13
14export const colorBackground = legacyStyles.themeGrayLighter;
15export const colorHeadline = legacyStyles.themeGrayDark;
16
17export const colorText = legacyStyles.themeTextColor;
18
19// Subscription Container Component
20export const colorSubscriptionContainerBackground = 'none';
21export const colorSubscriptionContainerBorder = [1, 'solid', brandPrimary];
22export const colorSubscriptionContainerTitle = brandPrimary;
23export const colorSubscriptionContainerActionButtonBackground = brandPrimary;
24export const colorSubscriptionContainerActionButtonColor = '#FFF';
25
26// Error Handler
27export const colorWebviewErrorHandlerBackground = legacyStyles.themeGrayLighter;
28
29// Loader
30export const colorAppLoaderSpinner = '#FFF';
31export const colorFullscreenLoaderSpinner = legacyStyles.themeGrayDark;
32export const colorWebviewLoaderBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8);
33
34// Modal
35export const colorModalOverlayBackground = hexToRgba(legacyStyles.themeGrayLighter, 0.8);