aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-26 14:13:04 +0800
committerAugust Skare <post@augustskare.no>2018-10-26 14:13:04 +0800
commit2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6 (patch)
tree3deb42c378f2f528c5cb28791e5b22d8542a277d /packages
parent72b4ee76fbee75dc624f15a616281cf32977b54b (diff)
downloaddexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.tar
dexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.tar.gz
dexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.tar.bz2
dexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.tar.lz
dexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.tar.xz
dexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.tar.zst
dexon-sol-tools-2ef8204ab489d8abe012a4b19bf9553bfd9ae9b6.zip
14px fontsize on code
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-tools-pages/ts/components/Code.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/dev-tools-pages/ts/components/Code.tsx b/packages/dev-tools-pages/ts/components/Code.tsx
index ce4443357..4b8f0b555 100644
--- a/packages/dev-tools-pages/ts/components/Code.tsx
+++ b/packages/dev-tools-pages/ts/components/Code.tsx
@@ -33,6 +33,7 @@ const Base =
styled.div <
CodeProps >
`
+ font-size: .875rem;
color: ${props => (props.language === undefined ? colors.white : 'inherit')};
background-color: ${props =>
props.light ? 'rgba(255,255,255,.15)' : props.language === undefined ? colors.black : '#F1F4F5'};