Skip to content

Commit

Permalink
Revert "Add ::selection to root color vars (#2437)"
Browse files Browse the repository at this point in the history
This reverts commit 616c893.
  • Loading branch information
keithamus committed Jun 22, 2023
1 parent 00c7645 commit f9987af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/support/mixins/color-modes.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@mixin color-mode-theme($theme-name, $include-root: false) {
@if $include-root {
:root,
::selection,
[data-color-mode="light"][data-light-theme="#{$theme-name}"],
[data-color-mode="dark"][data-dark-theme="#{$theme-name}"] {
@content;
Expand Down Expand Up @@ -33,7 +32,6 @@
@mixin color-mode($mode) {
@if $mode == light {
:root,
::selection,
[data-color-mode="light"][data-light-theme*="#{$mode}"],
[data-color-mode="dark"][data-dark-theme*="#{$mode}"] {
@content;
Expand Down

0 comments on commit f9987af

Please sign in to comment.