summaryrefslogtreecommitdiffstats
path: root/packages/theme/src/themes/default/index.ts
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-01-03 16:46:40 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-01-03 16:46:40 +0100
commitad585791493b09609be885e0304d987a0382db9a (patch)
treeb36509117e1e60f827a56a2caec12e566e015274 /packages/theme/src/themes/default/index.ts
parentAdd lerna (diff)
downloadferdium-app-ad585791493b09609be885e0304d987a0382db9a.tar.gz
ferdium-app-ad585791493b09609be885e0304d987a0382db9a.tar.zst
ferdium-app-ad585791493b09609be885e0304d987a0382db9a.zip
Add theme
Diffstat (limited to 'packages/theme/src/themes/default/index.ts')
-rw-r--r--packages/theme/src/themes/default/index.ts44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts
new file mode 100644
index 000000000..b22730413
--- /dev/null
+++ b/packages/theme/src/themes/default/index.ts
@@ -0,0 +1,44 @@
1import color from 'color';
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 colorContentBackground = '#FFFFFF';
16export const colorHeadline = legacyStyles.themeGrayDark;
17
18export const colorText = legacyStyles.themeTextColor;
19
20// Subscription Container Component
21export const colorSubscriptionContainerBackground = 'none';
22export const colorSubscriptionContainerBorder = `1px solid ${brandPrimary}`;
23export const colorSubscriptionContainerTitle = brandPrimary;
24export const colorSubscriptionContainerActionButtonBackground = brandPrimary;
25export const colorSubscriptionContainerActionButtonColor = '#FFF';
26
27// Loader
28export const colorAppLoaderSpinner = '#FFF';
29export const colorFullscreenLoaderSpinner = legacyStyles.themeGrayDark;
30export const colorWebviewLoaderBackground = color(legacyStyles.themeGrayLighter).alpha(0.8).rgb().string();
31
32// Input
33export const labelColor = legacyStyles.themeGrayLight;
34export const inputColor = legacyStyles.themeGray;
35export const inputHeight = '35px';
36export const inputFontSize = '14px';
37export const inputBackground = legacyStyles.themeGrayLightest;
38export const inputBorder = `1px solid ${legacyStyles.themeGrayLighter}`;
39export const inputModifierColor = legacyStyles.themeGrayLight;
40export const inputPlaceholderColor = color(legacyStyles.themeGrayLight).lighten(0.3).hex();
41export const inputPrefixColor = legacyStyles.themeGrayLight;
42export const inputPrefixBackground = legacyStyles.themeGrayLighter;
43export const inputDisabledOpacity = 0.5;
44export const inputScorePasswordBackground = legacyStyles.themeGrayLighter;