Skip to content

Commit 6a0b3a1

Browse files
committed
fix colors in dark theme - tables inside rendered markdown
Signed-off-by: Michael Gnehr <[email protected]>
1 parent 8ec6597 commit 6a0b3a1

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

public/css/theme-arc-green.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ footer{background:#2e323e;border-top:1px solid #313131}
9292
.markdown:not(code) h2{border-bottom:1px solid #304251}
9393
.hljs,.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#9daccc}
9494
.markdown:not(code) .highlight pre,.markdown:not(code) pre{background-color:#2a2e3a;border:1px solid #404552}
95-
.markdown:not(code) table tr:nth-child(2n){background-color:#474d61}
95+
.markdown:not(code) table tr:nth-child(2n){background-color:#2a2e39}
96+
.markdown:not(code) table tr:nth-child(2n-1){background-color:#383b44}
97+
.markdown:not(code) table thead tr:nth-child(2n-1){background-color:#464c5d!important}
98+
.markdown:not(code) table td,.markdown:not(code) table th{border-color:#4c505c!important}
9699
.ui.dropdown .menu{background:#2c303a}
97100
.ui.dropdown .menu>.message:not(.ui){color:#636363}
98101
.ui.input{color:#dbdbdb}

public/less/themes/arc-green.less

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,20 @@ a.ui.basic.green.label:hover {
501501
}
502502

503503
.markdown:not(code) table tr:nth-child(2n) {
504-
background-color: #474d61;
504+
background-color: #2a2e39;
505+
}
506+
507+
.markdown:not(code) table tr:nth-child(2n-1) {
508+
background-color: #383b44;
509+
}
510+
511+
.markdown:not(code) table thead tr:nth-child(2n-1) {
512+
background-color: #464c5d !important;
513+
}
514+
515+
.markdown:not(code) table td,
516+
.markdown:not(code) table th {
517+
border-color: #4c505c !important;
505518
}
506519

507520
.ui.dropdown .menu {

0 commit comments

Comments
 (0)