Skip to content

Commit f9987af

Browse files
authored
Revert "Add ::selection to root color vars (#2437)"
This reverts commit 616c893.
1 parent 00c7645 commit f9987af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/support/mixins/color-modes.scss

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@mixin color-mode-theme($theme-name, $include-root: false) {
22
@if $include-root {
33
:root,
4-
::selection,
54
[data-color-mode="light"][data-light-theme="#{$theme-name}"],
65
[data-color-mode="dark"][data-dark-theme="#{$theme-name}"] {
76
@content;
@@ -33,7 +32,6 @@
3332
@mixin color-mode($mode) {
3433
@if $mode == light {
3534
:root,
36-
::selection,
3735
[data-color-mode="light"][data-light-theme*="#{$mode}"],
3836
[data-color-mode="dark"][data-dark-theme*="#{$mode}"] {
3937
@content;

0 commit comments

Comments
 (0)