Skip to content

Commit

Permalink
rename mode placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
gfellerph committed Jul 26, 2024
1 parent 1d7ba3a commit 8b9c454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/styles/src/placeholders/_modes.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@use '../tokens/temp/mode' as mode;
@use './../mixins/tokens';

%post-light {
%color-mode-light {
@include tokens.from(mode.$post-light);
}

%post-dark {
%color-mode-dark {
@include tokens.from(mode.$post-dark);
}
4 changes: 2 additions & 2 deletions packages/styles/src/tokens/_modes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

:root,
[data-color-mode='light'] {
@extend %post-light;
@extend %color-mode-light;
}

[data-color-mode='dark'] {
@extend %post-dark;
@extend %color-mode-dark;
color-scheme: dark;
}

0 comments on commit 8b9c454

Please sign in to comment.