Skip to content

Commit

Permalink
Merge pull request #649 from pixiv/fix/unify-css-variables-json
Browse files Browse the repository at this point in the history
fix(@charcoal-ui/theme)!: unify css variables json
  • Loading branch information
yue4u authored Oct 31, 2024
2 parents df265b0 + bd04ecb commit 5115ed4
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions packages/theme/cli/token-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,15 @@ const configurations: Config[] = [
{
tokenFile: './src/json/pixiv-light.json',
baseFile: './src/json/base.json',
outputFile: './dist/tokens/css-variables/pixiv-light.json',
keyStyle: undefined,
valueStyle: 'cssVariable',
},
{
tokenFile: './src/json/pixiv-dark.json',
baseFile: './src/json/base.json',
outputFile: './dist/tokens/css-variables/pixiv-dark.json',
outputFile: './dist/tokens/css-variables.json',
keyStyle: undefined,
valueStyle: 'cssVariable',
},

{
tokenFile: './src/json/pixiv-light.json',
baseFile: './src/json/base.json',
outputFile: './dist/tokens/css-variables/camel/pixiv-light.json',
keyStyle: 'camelCase',
valueStyle: 'cssVariable',
},
{
tokenFile: './src/json/pixiv-dark.json',
baseFile: './src/json/base.json',
outputFile: './dist/tokens/css-variables/camel/pixiv-dark.json',
outputFile: './dist/tokens/camel/css-variables.json',
keyStyle: 'camelCase',
valueStyle: 'cssVariable',
},
Expand Down

0 comments on commit 5115ed4

Please sign in to comment.