aboutsummaryrefslogtreecommitdiffstats
path: root/packages/theme/src/themes/default/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/theme/src/themes/default/index.ts')
-rw-r--r--packages/theme/src/themes/default/index.ts28
1 files changed, 27 insertions, 1 deletions
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts
index ea218cd8f..92b82cff1 100644
--- a/packages/theme/src/themes/default/index.ts
+++ b/packages/theme/src/themes/default/index.ts
@@ -8,6 +8,8 @@ export const brandInfo = '#5bc0de';
8export const brandWarning = '#FF9F00'; 8export const brandWarning = '#FF9F00';
9export const brandDanger = '#d9534f'; 9export const brandDanger = '#d9534f';
10 10
11export const uiFontSize = 14;
12
11export const borderRadius = legacyStyles.themeBorderRadius; 13export const borderRadius = legacyStyles.themeBorderRadius;
12export const borderRadiusSmall = legacyStyles.themeBorderRadiusSmall; 14export const borderRadiusSmall = legacyStyles.themeBorderRadiusSmall;
13 15
@@ -33,7 +35,6 @@ export const colorWebviewLoaderBackground = color(legacyStyles.themeGrayLighter)
33export const labelColor = legacyStyles.themeGrayLight; 35export const labelColor = legacyStyles.themeGrayLight;
34export const inputColor = legacyStyles.themeGray; 36export const inputColor = legacyStyles.themeGray;
35export const inputHeight = '35px'; 37export const inputHeight = '35px';
36export const inputFontSize = '14px';
37export const inputBackground = legacyStyles.themeGrayLightest; 38export const inputBackground = legacyStyles.themeGrayLightest;
38export const inputBorder = `1px solid ${legacyStyles.themeGrayLighter}`; 39export const inputBorder = `1px solid ${legacyStyles.themeGrayLighter}`;
39export const inputModifierColor = legacyStyles.themeGrayLight; 40export const inputModifierColor = legacyStyles.themeGrayLight;
@@ -49,3 +50,28 @@ export const toggleButton = legacyStyles.themeGrayLight;
49export const toggleButtonActive = brandPrimary; 50export const toggleButtonActive = brandPrimary;
50export const toggleWidth = 40; 51export const toggleWidth = 40;
51export const toggleHeight = 14; 52export const toggleHeight = 14;
53
54// Button
55export const buttonPrimaryBackground = brandPrimary;
56export const buttonPrimaryTextColor = '#FFF';
57
58export const buttonSecondaryBackground = legacyStyles.themeGrayLighter;
59export const buttonSecondaryTextColor = legacyStyles.themeGray;
60
61export const buttonDangerBackground = brandDanger;
62export const buttonDangerTextColor = '#FFF';
63
64export const buttonWarningBackground = brandWarning;
65export const buttonWarningTextColor = '#FFF';
66
67export const buttonInvertedBackground = 'none';
68export const buttonInvertedTextColor = brandPrimary;
69export const buttonInvertedBorder = `1px solid ${brandPrimary}`;
70
71export const buttonLoaderColor = {
72 primary: '#FFF',
73 secondary: buttonSecondaryTextColor,
74 warning: '#FFF',
75 danger: '#FFF',
76 inverted: brandPrimary,
77};