aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/globalStyles.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-11-16 23:18:03 +0800
committerAugust Skare <post@augustskare.no>2018-11-16 23:18:03 +0800
commit7fec2f630c45347b1f066cbf24a46add83516529 (patch)
treea16088f31fd23f9dee885aff7aed9af84556e806 /packages/dev-tools-pages/ts/globalStyles.tsx
parentc08108144825c33d8db26053c1d2d41460b09359 (diff)
downloaddexon-0x-contracts-7fec2f630c45347b1f066cbf24a46add83516529.tar.gz
dexon-0x-contracts-7fec2f630c45347b1f066cbf24a46add83516529.tar.zst
dexon-0x-contracts-7fec2f630c45347b1f066cbf24a46add83516529.zip
fixed base link styling color
Diffstat (limited to 'packages/dev-tools-pages/ts/globalStyles.tsx')
-rw-r--r--packages/dev-tools-pages/ts/globalStyles.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/dev-tools-pages/ts/globalStyles.tsx b/packages/dev-tools-pages/ts/globalStyles.tsx
index 1a571c0cb..a77fb4eef 100644
--- a/packages/dev-tools-pages/ts/globalStyles.tsx
+++ b/packages/dev-tools-pages/ts/globalStyles.tsx
@@ -2,9 +2,13 @@ import hljsStyles from 'highlight.js/styles/github-gist.css';
import { createGlobalStyle } from 'styled-components';
import styledNormalize from 'styled-normalize';
+import { ContextInterface } from 'ts/context';
import { media } from 'ts/variables';
-const GlobalStyles = createGlobalStyle`
+const GlobalStyles =
+ createGlobalStyle <
+ ContextInterface >
+ `
${styledNormalize}
${hljsStyles}
@@ -54,11 +58,11 @@ const GlobalStyles = createGlobalStyle`
}
a:not([class]) {
- color: black;
+ color: ${props => props.colors.type_alt};
text-decoration: none;
&:hover {
- color: black;
+ color: ${props => props.colors.type_alt};
}
}