🔥 `$selectionText`

pull/858/head
Jed Fox 7 years ago
parent 3265843801
commit e6e57a458c

@ -273,9 +273,9 @@
left: .75rem;
width: .75rem;
height: 1px;
background: rgba($selectionText, .9);
box-shadow: 0 -3px rgba($selectionText, .9), // top line
0 3px rgba($selectionText, .9); // bottom line
background: var(--transparentSelectionText);
box-shadow: 0 -3px var(--transparentSelectionText), // top line
0 3px var(--transparentSelectionText); // bottom line
}
}

@ -1,5 +1,4 @@
// TODO: convert uses of these to CSS variables
$selectionText: #fff;
$sidebarBackground: #24282a;
$headerBackground: #1c1c1c;
$contentBackground: #33373a;
@ -36,7 +35,7 @@ html.dark {
--selectionBackground: #007acc;
--selectionBorder: #000;
--selectionText: $selectionText;
--selectionText: rgba(255, 255, 255, 0.9);
--highlightBackground: #64675f;

@ -1,5 +1,4 @@
// TODO: convert uses of these to CSS variables
$selectionText: #fff;
$sidebarBackground: #f9f9f9;
$headerBackground: #eee;
$contentBackground: #fff;
@ -36,7 +35,8 @@ html:not(.dark) {
--selectionBackground: #398df0;
--selectionBorder: #196fc2;
--selectionText: $selectionText;
--selectionText: #fff;
--transparentSelectionText: rgba(255, 255, 255, 0.9);
--highlightBackground: #fffdcd;

Loading…
Cancel
Save