diff --git a/packages/token-cli/pixiv-dark.config.js b/packages/token-cli/pixiv-dark.config.js index 2ecab5547..f6e30d5ba 100644 --- a/packages/token-cli/pixiv-dark.config.js +++ b/packages/token-cli/pixiv-dark.config.js @@ -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, }, }, diff --git a/packages/token-cli/pixiv-light.config.js b/packages/token-cli/pixiv-light.config.js index f68b6e826..80b3bff6d 100644 --- a/packages/token-cli/pixiv-light.config.js +++ b/packages/token-cli/pixiv-light.config.js @@ -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, }, },