From 51f2711796ff1fab06cdc83d7248d3181ca3bb34 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 12:49:09 +0100 Subject: Add hero icon size --- packages/website/ts/@next/components/icon.tsx | 2 +- packages/website/ts/@next/constants/globalStyle.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') 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 = (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 ` --smallIcon: 75px; --mediumIcon: 85px; --largeIcon: 145px; + --heroIcon: 282px; } } -- cgit v1.2.3