We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
::selection
1 parent a65f103 commit f146720Copy full SHA for f146720
src/support/mixins/color-modes.scss
@@ -1,6 +1,7 @@
1
@mixin color-mode-theme($theme-name, $include-root: false) {
2
@if $include-root {
3
:root,
4
+ ::selection,
5
[data-color-mode="light"][data-light-theme="#{$theme-name}"],
6
[data-color-mode="dark"][data-dark-theme="#{$theme-name}"] {
7
@content;
@@ -32,6 +33,7 @@
32
33
@mixin color-mode($mode) {
34
@if $mode == light {
35
36
37
[data-color-mode="light"][data-light-theme*="#{$mode}"],
38
[data-color-mode="dark"][data-dark-theme*="#{$mode}"] {
39
0 commit comments