diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-28 08:19:50 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 05:58:41 +0800 |
commit | 105dcd73e473bf347a3db0143f7730d46fa44d84 (patch) | |
tree | 07055f9c0f4580630247edaea1f077d5c1093927 /packages/instant/src/style/theme.ts | |
parent | 47a87e57f1cfa82375c87829320f30049217d657 (diff) | |
download | dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.tar dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.tar.gz dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.tar.bz2 dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.tar.lz dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.tar.xz dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.tar.zst dexon-sol-tools-105dcd73e473bf347a3db0143f7730d46fa44d84.zip |
fix(instant): Progress bar background color should be 10% primary color
Diffstat (limited to 'packages/instant/src/style/theme.ts')
-rw-r--r-- | packages/instant/src/style/theme.ts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/instant/src/style/theme.ts b/packages/instant/src/style/theme.ts index a0751286b..71e4b7052 100644 --- a/packages/instant/src/style/theme.ts +++ b/packages/instant/src/style/theme.ts @@ -1,6 +1,14 @@ import * as styledComponents from 'styled-components'; -const { default: styled, css, keyframes, withTheme, createGlobalStyle, ThemeProvider } = styledComponents; +const { + default: styled, + css, + keyframes, + withTheme, + createGlobalStyle, + ThemeConsumer, + ThemeProvider, +} = styledComponents; export type Theme = { [key in ColorOption]: string }; @@ -45,4 +53,4 @@ export const generateOverlayBlack = (opacity = 0.6) => { return `rgba(0, 0, 0, ${opacity})`; }; -export { styled, css, keyframes, withTheme, createGlobalStyle, ThemeProvider }; +export { styled, css, keyframes, withTheme, createGlobalStyle, ThemeConsumer, ThemeProvider }; |