From ed1eab7fcce3ec8e47a4880cb38d929f0f722e48 Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Thu, 28 Dec 2017 22:48:59 +0900 Subject: [PATCH] add table style in solarized-dark-theme --- browser/components/markdown.styl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/browser/components/markdown.styl b/browser/components/markdown.styl index 0600d9ab..5ff05941 100644 --- a/browser/components/markdown.styl +++ b/browser/components/markdown.styl @@ -336,8 +336,29 @@ body[data-theme="dark"] background-color themeDarkBorder color themeDarkText +themeSolarizedDarkTableOdd = $ui-solarized-dark-noteDetail-backgroundColor +themeSolarizedDarkTableEven = darken($ui-solarized-dark-noteDetail-backgroundColor, 10%) +themeSolarizedDarkTableHead = themeSolarizedDarkTableEven +themeSolarizedDarkTableBorder = themeDarkBorder body[data-theme="solarized-dark"] color $ui-solarized-dark-text-color border-color themeDarkBorder background-color $ui-solarized-dark-noteDetail-backgroundColor + table + thead + tr + background-color themeSolarizedDarkTableHead + th + border-color themeSolarizedDarkTableBorder + &:last-child + border-right solid 1px themeSolarizedDarkTableBorder + tbody + tr:nth-child(2n + 1) + background-color themeSolarizedDarkTableOdd + tr:nth-child(2n) + background-color themeSolarizedDarkTableEven + td + border-color themeSolarizedDarkTableBorder + &:last-child + border-right solid 1px themeSolarizedDarkTableBorder