aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/constants
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-10 18:05:16 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-10 18:05:16 +0800
commit8dd738629ad3bc6e07de7499272e3528a26091a3 (patch)
tree74e5f79ff7e366a960626c7e435246b139cba9be /packages/website/ts/@next/constants
parent701ea77a79466ce57d609c322aa1f0c37d34cca2 (diff)
downloaddexon-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.tsx5
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;