diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/forms/src/button/index.tsx | 1 | ||||
-rw-r--r-- | packages/theme/src/themes/default/index.ts | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/forms/src/button/index.tsx b/packages/forms/src/button/index.tsx index 7a7f83dab..6959cde73 100644 --- a/packages/forms/src/button/index.tsx +++ b/packages/forms/src/button/index.tsx | |||
@@ -44,6 +44,7 @@ const styles = (theme: Theme) => ({ | |||
44 | width: (props: IProps) => (props.stretch ? '100%' : 'auto') as CSS.WidthProperty<string>, | 44 | width: (props: IProps) => (props.stretch ? '100%' : 'auto') as CSS.WidthProperty<string>, |
45 | fontSize: theme.uiFontSize, | 45 | fontSize: theme.uiFontSize, |
46 | textDecoration: 'none', | 46 | textDecoration: 'none', |
47 | height: theme.buttonHeight, | ||
47 | 48 | ||
48 | '&:hover': { | 49 | '&:hover': { |
49 | opacity: 0.8, | 50 | opacity: 0.8, |
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts index 8a71e61cf..273792d46 100644 --- a/packages/theme/src/themes/default/index.ts +++ b/packages/theme/src/themes/default/index.ts | |||
@@ -42,7 +42,7 @@ export const colorWebviewLoaderBackground = color(legacyStyles.themeGrayLighter) | |||
42 | // Input | 42 | // Input |
43 | export const labelColor = legacyStyles.themeGrayLight; | 43 | export const labelColor = legacyStyles.themeGrayLight; |
44 | export const inputColor = legacyStyles.themeGray; | 44 | export const inputColor = legacyStyles.themeGray; |
45 | export const inputHeight = '35px'; | 45 | export const inputHeight = 40; |
46 | export const inputBackground = legacyStyles.themeGrayLightest; | 46 | export const inputBackground = legacyStyles.themeGrayLightest; |
47 | export const inputBorder = `1px solid ${legacyStyles.themeGrayLighter}`; | 47 | export const inputBorder = `1px solid ${legacyStyles.themeGrayLighter}`; |
48 | export const inputModifierColor = legacyStyles.themeGrayLight; | 48 | export const inputModifierColor = legacyStyles.themeGrayLight; |
@@ -108,6 +108,8 @@ export const buttonInvertedBackground = 'none'; | |||
108 | export const buttonInvertedTextColor = brandPrimary; | 108 | export const buttonInvertedTextColor = brandPrimary; |
109 | export const buttonInvertedBorder = `1px solid ${brandPrimary}`; | 109 | export const buttonInvertedBorder = `1px solid ${brandPrimary}`; |
110 | 110 | ||
111 | export const buttonHeight = inputHeight; | ||
112 | |||
111 | export const buttonLoaderColor = { | 113 | export const buttonLoaderColor = { |
112 | primary: '#FFF', | 114 | primary: '#FFF', |
113 | secondary: buttonSecondaryTextColor, | 115 | secondary: buttonSecondaryTextColor, |