Skip to content

Commit

Permalink
Update palettes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Nov 13, 2024
1 parent 584b4a8 commit c42f99e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tokens/_build/configs/palettes.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { expandTypesMap } from '@tokens-studio/sd-transforms';
import { registerConfigMethod } from '../methods.js';

const PALETTES_TOKENSET_NAMES = 'palettes';
const PALETTE_TOKENSET_NAME = 'palettes';

/**
* Registers a config getter method to generate output files for all code relevant tokens in the tokens.json.
*/
registerConfigMethod((tokenSets, { sourcePath, buildPath }) => {
const paletteSet = tokenSets.output[PALETTES_TOKENSET_NAMES];
const paletteSet = tokenSets.output[PALETTE_TOKENSET_NAME];

if (!paletteSet) return;

Expand Down

0 comments on commit c42f99e

Please sign in to comment.