Skip to content

Commit ab57e26

Browse files
style: selection color (#315)
1 parent a41224c commit ab57e26

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/lib/styles/global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
@import "./global/blockquote.scss";
1313
@import "./global/scrollbar.scss";
1414
@import "./global/menu.scss";
15+
@import "./global/selection.scss";
1516

1617
@import "./themes/dark.scss";
1718
@import "./themes/light.scss";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
::selection {
2+
background: var(--primary);
3+
color: var(--primary-contrast);
4+
}
5+
6+
::-moz-selection {
7+
background: var(--primary);
8+
color: var(--primary-contrast);
9+
}

0 commit comments

Comments
 (0)