diff --git a/scripts/themes.config.ts b/scripts/themes.config.ts index 51da75d86..e76ad619d 100644 --- a/scripts/themes.config.ts +++ b/scripts/themes.config.ts @@ -16,11 +16,11 @@ export const themes: TokenBuildInput[] = [ source: [ `src/tokens/functional/color/light/*.json5`, `src/tokens/functional/color/scales.json5`, - // `src/tokens/functional/color/light/overrides/light.tritanopia.json5`, + `src/tokens/functional/color/light/overrides/light.tritanopia.json5`, `src/tokens/functional/shadow/light.json5`, `src/tokens/functional/border/light.json5`, ], - include: [`src/tokens/base/color/light/light.json5`, `src/tokens/base/color/light/light.tritanopia.json5`], + include: [`src/tokens/base/color/light/light.json5`], }, { filename: 'light-colorblind', diff --git a/src/tokens/functional/color/light/overrides/dis.light.tritanopia.json5 b/src/tokens/functional/color/light/overrides/light.tritanopia.json5 similarity index 83% rename from src/tokens/functional/color/light/overrides/dis.light.tritanopia.json5 rename to src/tokens/functional/color/light/overrides/light.tritanopia.json5 index 884fd247b..30cc0e51b 100644 --- a/src/tokens/functional/color/light/overrides/dis.light.tritanopia.json5 +++ b/src/tokens/functional/color/light/overrides/light.tritanopia.json5 @@ -27,6 +27,21 @@ }, }, color: { + prettylights: { + syntax: { + stringRegexp: { + $value: '{base.color.blue.6}', + $type: 'color', + }, + variable: { + $value: '{base.color.red.6}', + $type: 'color', + }, + } + }, + /** + * @description All overwrites for color scales + */ scale: { green: { "0": { $value: '{base.color.blue.0}' },