From b75c8b0373502ee0226f29dc1ac69bb4bf8eea89 Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Wed, 31 May 2017 01:26:40 +0900 Subject: [PATCH] Fix code highlight --- browser/components/markdown.styl | 3 ++- browser/styles/index.styl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/browser/components/markdown.styl b/browser/components/markdown.styl index abcba3b2..b19634ea 100644 --- a/browser/components/markdown.styl +++ b/browser/components/markdown.styl @@ -288,8 +288,9 @@ body[data-theme="dark"] background-color alpha(lighten(brandColor, 30%), 0.2) !important code + color #EA6730 border-color darken(themeDarkBorder, 10%) - background-color lighten(themeDarkPreview, 10%) + background-color lighten(themeDarkPreview, 5%) pre border-color lighten(#21252B, 20%) diff --git a/browser/styles/index.styl b/browser/styles/index.styl index cf3a81d1..94f6a5e9 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -178,7 +178,7 @@ $ui-dark-active-color = #3A404C $ui-dark-borderColor = lighten(#21252B, 20%) $ui-dark-backgroundColor = #1E2124 $ui-dark-noteList-backgroundColor = #282C30 -$ui-dark-noteDetail-backgroundColor = #383B3E +$ui-dark-noteDetail-backgroundColor = #2D3033 $ui-dark-tag-backgroundColor = #3A404C $dark-background-color = lighten($ui-dark-backgroundColor, 10%) $ui-dark-text-color = #DDDDDD