Skip to content

Commit c2829dd

Browse files
committed
Remove - semantic from collection names
1 parent 2dd069f commit c2829dd

11 files changed

+9
-8
lines changed

design-tokens/src/scripts/build-style-dictionary.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ HPEStyleDictionary.extend({
6666
HPEStyleDictionary.extend({
6767
source: [
6868
`${TOKENS_DIR}/primitive/primitives.base.json`,
69-
`${TOKENS_DIR}/semantic/color - semantic.light.json`, // using light mode to have a reference name available
69+
`${TOKENS_DIR}/semantic/color.light.json`, // using light mode to have a reference name available
7070
`${TOKENS_DIR}/semantic/global.default.json`,
7171
],
7272
platforms: {
@@ -144,7 +144,7 @@ colorModeFiles.forEach(file => {
144144
source: [
145145
`${TOKENS_DIR}/primitive/primitives.base.json`,
146146
file,
147-
`${TOKENS_DIR}/semantic/elevation - semantic.${mode}.json`,
147+
`${TOKENS_DIR}/semantic/elevation.${mode}.json`,
148148
// `${TOKENS_DIR}/gradient.${mode}.json`, // TO DO add gradients
149149
],
150150
platforms: {
@@ -257,9 +257,9 @@ dimensionFiles.forEach(file => {
257257
HPEStyleDictionary.extend({
258258
source: [
259259
`${TOKENS_DIR}/primitive/primitives.base.json`,
260-
`${TOKENS_DIR}/semantic/color - semantic.light.json`,
260+
`${TOKENS_DIR}/semantic/color.light.json`,
261261
`${TOKENS_DIR}/semantic/global.default.json`,
262-
`${TOKENS_DIR}/semantic/typography - semantic.${mode}.json`,
262+
`${TOKENS_DIR}/semantic/typography.${mode}.json`,
263263
file,
264264
],
265265
platforms: {
@@ -328,9 +328,9 @@ HPEStyleDictionary.extend({
328328
source: [
329329
`${TOKENS_DIR}/primitive/primitives.base.json`,
330330
`${TOKENS_DIR}/semantic/global.default.json`,
331-
`${TOKENS_DIR}/semantic/color - semantic.light.json`, // using light mode to have a reference name available
332-
`${TOKENS_DIR}/semantic/dimension - semantic.large.json`, // using large mode to have a reference name available
333-
`${TOKENS_DIR}/semantic/typography - semantic.large.json`, // using large mode to have a reference name available
331+
`${TOKENS_DIR}/semantic/color.light.json`, // using light mode to have a reference name available
332+
`${TOKENS_DIR}/semantic/dimension.large.json`, // using large mode to have a reference name available
333+
`${TOKENS_DIR}/semantic/typography.large.json`, // using large mode to have a reference name available
334334
`${TOKENS_DIR}/component/component.default.json`,
335335
],
336336
platforms: {

design-tokens/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const nonComponentTokens: string[] = [
4545
'fontStack',
4646
'breakpoint',
4747
'fontWeight',
48+
'focusIndicator',
4849
];
4950

5051
export const numberToPixel = (value: number): string => `${value}px`;

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6672,7 +6672,7 @@ hpack.js@^2.1.6:
66726672

66736673
"hpe-design-tokens-alpha@https://github.com/grommet/hpe-design-system/tarball/design-tokens-alpha-stable":
66746674
version "0.1.0"
6675-
resolved "https://github.com/grommet/hpe-design-system/tarball/design-tokens-alpha-stable#54ce986121357952f84f322415df20ccae372772"
6675+
resolved "https://github.com/grommet/hpe-design-system/tarball/design-tokens-alpha-stable#73d30676ee6285f84a1fee5b52819bf9c52b13d0"
66766676
dependencies:
66776677
axios "^1.6.0"
66786678
dotenv "^16.3.1"

0 commit comments

Comments
 (0)