Skip to content

Commit

Permalink
add base scale
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Apr 19, 2023
1 parent 6b2dc18 commit abe8e5d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ src/utils.ts
src/@types/
scripts/lib/
scripts/build.ts
config/types/
config/types/
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ coverage/
# Ignore all files relating to v1 tokens
# TODO: Remove after v1 tokens have been removed
data/
dist/
_prev-css/
dist/
1 change: 0 additions & 1 deletion src/platforms/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export const css: PlatformInitializer = (outputFile, prefix, buildPath, options)
options: {
showFileHeader: false,
outputReferences: false,
showFileHeader: false,
selector,
selectorLight,
selectorDark,
Expand Down
28 changes: 28 additions & 0 deletions src/tokens/functional/color/light/overrides/light.tritanopia.json5
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,32 @@
},
},
},
base: {
color: {
green: {
"0": { $value: '{base.color.blue.0}' },
"1": { $value: '{base.color.blue.1}' },
"2": { $value: '{base.color.blue.2}' },
"3": { $value: '{base.color.blue.3}' },
"4": { $value: '{base.color.blue.4}' },
"5": { $value: '{base.color.blue.5}' },
"6": { $value: '{base.color.blue.6}' },
"7": { $value: '{base.color.blue.7}' },
"8": { $value: '{base.color.blue.8}' },
"9": { $value: '{base.color.blue.9}' }
},
orange: {
"0": { $value: '{base.color.red.0}' },
"1": { $value: '{base.color.red.1}' },
"2": { $value: '{base.color.red.2}' },
"3": { $value: '{base.color.red.3}' },
"4": { $value: '{base.color.red.4}' },
"5": { $value: '{base.color.red.5}' },
"6": { $value: '{base.color.red.6}' },
"7": { $value: '{base.color.red.7}' },
"8": { $value: '{base.color.red.8}' },
"9": { $value: '{base.color.red.9}' }
}
}
}
}

0 comments on commit abe8e5d

Please sign in to comment.