From 1b020fc4d35e80f78bee5229814d9992ed71ed59 Mon Sep 17 00:00:00 2001 From: naporin0624 Date: Thu, 11 Jul 2024 09:51:16 +0000 Subject: [PATCH] chore(token-cli): change selector --- packages/token-cli/pixiv-dark.config.js | 2 +- packages/token-cli/pixiv-light.config.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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, }, },