Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish tokens beta 5 #3664

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/eds-tokens-build/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
Expand Down Expand Up @@ -410,7 +412,7 @@
const colorBuildPath = 'color/'
const spacingBuildPath = 'spacing/'

const primitives = _extend({

Check failure on line 415 in packages/eds-tokens-build/src/index.ts

View workflow job for this annotation

GitHub Actions / Process packages

'primitives' is assigned a value but never used
source: [COLOR_PRIMITIVE_SOURCE],
buildPath: colorBuildPath,
prefix,
Expand All @@ -418,7 +420,7 @@
outputReferences: false, // The primitives should not reference other tokens. This can always be false.
})

const simpleSemantic = _extend({

Check failure on line 423 in packages/eds-tokens-build/src/index.ts

View workflow job for this annotation

GitHub Actions / Process packages

'simpleSemantic' is assigned a value but never used
source: [COLOR_PRIMITIVE_SOURCE, COLOR_SIMPLE_SEMANTIC_SOURCE],
filter: (token) => includeTokenFilter(token, ['Simple semantic']),
buildPath: colorBuildPath,
Expand All @@ -427,7 +429,7 @@
outputReferences,
})

const lightMode = _extend({

Check failure on line 432 in packages/eds-tokens-build/src/index.ts

View workflow job for this annotation

GitHub Actions / Process packages

'lightMode' is assigned a value but never used
include: [COLOR_PRIMITIVE_SOURCE, COLOR_SIMPLE_SEMANTIC_SOURCE],
source: [COLOR_LIGHT_SOURCE],
filter: (token) => includeTokenFilter(token, ['Light']),
Expand All @@ -438,7 +440,7 @@
outputReferences,
})

const darkMode = _extend({

Check failure on line 443 in packages/eds-tokens-build/src/index.ts

View workflow job for this annotation

GitHub Actions / Process packages

'darkMode' is assigned a value but never used
include: [COLOR_PRIMITIVE_SOURCE, COLOR_SIMPLE_SEMANTIC_SOURCE],
source: [COLOR_DARK_SOURCE],
filter: (token) => includeTokenFilter(token, ['Dark']),
Expand Down Expand Up @@ -591,7 +593,7 @@
},
})

const lightDarkColorsVerbose = new StyleDictionary({

Check failure on line 596 in packages/eds-tokens-build/src/index.ts

View workflow job for this annotation

GitHub Actions / Process packages

'lightDarkColorsVerbose' is assigned a value but never used
include: [COLOR_PRIMITIVE_SOURCE, COLOR_SIMPLE_SEMANTIC_SOURCE],
source: [COLOR_LIGHT_SOURCE],
platforms: {
Expand All @@ -615,7 +617,7 @@
},
})

const lightDarkColorsTrimmed = new StyleDictionary({

Check failure on line 620 in packages/eds-tokens-build/src/index.ts

View workflow job for this annotation

GitHub Actions / Process packages

'lightDarkColorsTrimmed' is assigned a value but never used
include: [COLOR_PRIMITIVE_SOURCE, COLOR_SIMPLE_SEMANTIC_SOURCE],
source: [COLOR_LIGHT_SOURCE],
platforms: {
Expand All @@ -639,12 +641,12 @@
},
})

await primitives.buildAllPlatforms()
/* await primitives.buildAllPlatforms()
await simpleSemantic.buildAllPlatforms()
await lightMode.buildAllPlatforms()
await darkMode.buildAllPlatforms()
await lightDarkColorsVerbose.buildAllPlatforms()
await lightDarkColorsTrimmed.buildAllPlatforms()
await lightDarkColorsTrimmed.buildAllPlatforms() */
await spacingPrimitives.buildAllPlatforms()
await densityComfortable.buildAllPlatforms()
await densitySpacious.buildAllPlatforms()
Expand Down
553 changes: 0 additions & 553 deletions packages/eds-tokens/build/css/color/colors-trimmed.css

This file was deleted.

553 changes: 0 additions & 553 deletions packages/eds-tokens/build/css/color/colors-verbose.css

This file was deleted.

553 changes: 0 additions & 553 deletions packages/eds-tokens/build/css/color/dark-verbose.css

This file was deleted.

553 changes: 0 additions & 553 deletions packages/eds-tokens/build/css/color/light-verbose.css

This file was deleted.

332 changes: 0 additions & 332 deletions packages/eds-tokens/build/css/color/primitives-trimmed.css

This file was deleted.

Loading
Loading