diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 19:49:09 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 19:49:59 +0800 |
commit | 51f2711796ff1fab06cdc83d7248d3181ca3bb34 (patch) | |
tree | 9d6d507f099be016236e95c85f6a3cddd31cf2f5 /packages | |
parent | 907aa7a844f8c69404a52e53cfbeb7276b3746c3 (diff) | |
download | dexon-sol-tools-51f2711796ff1fab06cdc83d7248d3181ca3bb34.tar.gz dexon-sol-tools-51f2711796ff1fab06cdc83d7248d3181ca3bb34.tar.zst dexon-sol-tools-51f2711796ff1fab06cdc83d7248d3181ca3bb34.zip |
Add hero icon size
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/@next/components/icon.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/constants/globalStyle.tsx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/icon.tsx b/packages/website/ts/@next/components/icon.tsx index 7e16c2aa2..84d9f4cb4 100644 --- a/packages/website/ts/@next/components/icon.tsx +++ b/packages/website/ts/@next/components/icon.tsx @@ -5,7 +5,7 @@ import {getCSSPadding, PaddingInterface} from 'ts/@next/constants/utilities'; interface IconProps extends PaddingInterface { name: string; - size?: 'small' | 'medium' | 'large' | number; + size?: 'small' | 'medium' | 'large' | 'hero' | number; } export const Icon: React.FunctionComponent<IconProps> = (props: IconProps) => { diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx index 1047a5cb8..6844381c9 100644 --- a/packages/website/ts/@next/constants/globalStyle.tsx +++ b/packages/website/ts/@next/constants/globalStyle.tsx @@ -50,6 +50,7 @@ const GlobalStyles = withTheme(createGlobalStyle<GlobalStyle> ` --smallIcon: 75px; --mediumIcon: 85px; --largeIcon: 145px; + --heroIcon: 282px; } } |