Skip to content

Commit

Permalink
Merge pull request #600 from pixiv/naporitan/token-selectors
Browse files Browse the repository at this point in the history
chore(token-cli): change selector
  • Loading branch information
naporin0624 authored Jul 11, 2024
2 parents 911b8d7 + 1b020fc commit ee63597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/token-cli/pixiv-dark.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
destination: '_variables_dark.css',
format: 'css/variables',
options: {
selector: ":root[data-color-scheme='dark']",
selector: ":root[data-theme='dark']",
outputReferences: true,
},
},
Expand Down
3 changes: 1 addition & 2 deletions packages/token-cli/pixiv-light.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ module.exports = {
destination: '_variables_light.css',
format: 'css/variables',
options: {
selector:
":root[data-color-scheme='light'], :root:not([data-color-scheme])",
selector: ":root[data-theme='light'], :root:not([data-theme])",
outputReferences: true,
},
},
Expand Down

0 comments on commit ee63597

Please sign in to comment.