diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-10 18:05:16 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-10 18:05:16 +0800 |
commit | 8dd738629ad3bc6e07de7499272e3528a26091a3 (patch) | |
tree | 74e5f79ff7e366a960626c7e435246b139cba9be /packages/website/ts/@next/constants | |
parent | 701ea77a79466ce57d609c322aa1f0c37d34cca2 (diff) | |
download | dexon-0x-contracts-8dd738629ad3bc6e07de7499272e3528a26091a3.tar.gz dexon-0x-contracts-8dd738629ad3bc6e07de7499272e3528a26091a3.tar.zst dexon-0x-contracts-8dd738629ad3bc6e07de7499272e3528a26091a3.zip |
Added global link color to theme
Diffstat (limited to 'packages/website/ts/@next/constants')
-rw-r--r-- | packages/website/ts/@next/constants/globalStyle.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx index 38077c78c..f30f8e2b1 100644 --- a/packages/website/ts/@next/constants/globalStyle.tsx +++ b/packages/website/ts/@next/constants/globalStyle.tsx @@ -5,6 +5,7 @@ interface GlobalStyle { theme: { bgColor: string; textColor: string; + linkColor: string; }; } @@ -82,6 +83,10 @@ const GlobalStyles = withTheme(createGlobalStyle<GlobalStyle> ` overflow: hidden; } + a { + color: ${props => props.theme.linkColor}; + } + img, svg { max-width: 100%; object-fit: contain; |