@spectrabrain/eds 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI.md +5 -1
- package/README.md +8 -3
- package/TAILWIND_V4.md +284 -0
- package/dist/components/Button/README.md +5 -5
- package/dist/components/Button/spec.json +7 -7
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +86 -16
- package/dist/index.mjs +86 -16
- package/dist/tokens.css +19 -10
- package/dist/tokens.d.mts +3 -3
- package/dist/tokens.d.ts +3 -3
- package/dist/tokens.js +86 -10
- package/dist/tokens.json +104 -10
- package/dist/tokens.mjs +86 -10
- package/llms.txt +5 -4
- package/package.json +3 -1
package/dist/tokens.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
|
|
1
|
+
type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
|
|
2
2
|
type SemanticTokenType = "color" | "dimension" | "fontFamily" | "fontWeight";
|
|
3
|
-
type SemanticTokenCssVariable = "--eds-color-bg-brand-primary" | "--eds-color-bg-brand-primary-hover" | "--eds-color-bg-critical-primary" | "--eds-color-bg-critical-primary-hover" | "--eds-color-bg-critical-weak" | "--eds-color-bg-critical-weak-hover" | "--eds-color-bg-disabled" | "--eds-color-bg-informative-primary" | "--eds-color-bg-informative-primary-hover" | "--eds-color-bg-informative-weak" | "--eds-color-bg-informative-weak-hover" | "--eds-color-bg-layer-basement" | "--eds-color-bg-layer-default" | "--eds-color-bg-layer-default-hover" | "--eds-color-bg-layer-floating" | "--eds-color-bg-layer-floating-hover" | "--eds-color-bg-neutral-inverted" | "--eds-color-bg-neutral-inverted-hover" | "--eds-color-bg-neutral-primary" | "--eds-color-bg-neutral-primary-hover" | "--eds-color-bg-neutral-weak" | "--eds-color-bg-neutral-weak-hover" | "--eds-color-bg-positive-primary" | "--eds-color-bg-positive-primary-hover" | "--eds-color-bg-positive-weak" | "--eds-color-bg-positive-weak-hover" | "--eds-color-bg-transparent" | "--eds-color-bg-transparent-hover" | "--eds-color-bg-warning-primary" | "--eds-color-bg-warning-primary-hover" | "--eds-color-bg-warning-weak" | "--eds-color-bg-warning-weak-hover" | "--eds-color-fg-brand" | "--eds-color-fg-brand-contrast" | "--eds-color-fg-critical" | "--eds-color-fg-critical-contrast" | "--eds-color-fg-disabled" | "--eds-color-fg-focus" | "--eds-color-fg-informative" | "--eds-color-fg-informative-contrast" | "--eds-color-fg-neutral" | "--eds-color-fg-neutral-inverted" | "--eds-color-fg-neutral-secondary" | "--eds-color-fg-neutral-tertiary" | "--eds-color-fg-placeholder" | "--eds-color-fg-positive" | "--eds-color-fg-positive-contrast" | "--eds-color-fg-warning" | "--eds-color-fg-warning-contrast" | "--eds-color-stroke-brand-primary" | "--eds-color-stroke-brand-weak" | "--eds-color-stroke-critical-primary" | "--eds-color-stroke-critical-weak" | "--eds-color-stroke-focusRing" | "--eds-color-stroke-informative-primary" | "--eds-color-stroke-informative-weak" | "--eds-color-stroke-neutral-contrast" | "--eds-color-stroke-neutral-primary" | "--eds-color-stroke-neutral-secondary" | "--eds-color-stroke-neutral-weak" | "--eds-color-stroke-positive-primary" | "--eds-color-stroke-positive-weak" | "--eds-color-stroke-warning-primary" | "--eds-color-stroke-warning-weak" | "--eds-typography-body1-fontFamily" | "--eds-typography-body1-fontSize" | "--eds-typography-body1-fontWeight" | "--eds-typography-body1-letterSpacing" | "--eds-typography-body1-lineHeight" | "--eds-typography-body2-fontFamily" | "--eds-typography-body2-fontSize" | "--eds-typography-body2-fontWeight" | "--eds-typography-body2-letterSpacing" | "--eds-typography-body2-lineHeight" | "--eds-typography-body3-fontFamily" | "--eds-typography-body3-fontSize" | "--eds-typography-body3-fontWeight" | "--eds-typography-body3-letterSpacing" | "--eds-typography-body3-lineHeight" | "--eds-typography-body4-fontFamily" | "--eds-typography-body4-fontSize" | "--eds-typography-body4-fontWeight" | "--eds-typography-body4-letterSpacing" | "--eds-typography-body4-lineHeight" | "--eds-typography-caption1-fontFamily" | "--eds-typography-caption1-fontSize" | "--eds-typography-caption1-fontWeight" | "--eds-typography-caption1-letterSpacing" | "--eds-typography-caption1-lineHeight" | "--eds-typography-caption2-fontFamily" | "--eds-typography-caption2-fontSize" | "--eds-typography-caption2-fontWeight" | "--eds-typography-caption2-letterSpacing" | "--eds-typography-caption2-lineHeight" | "--eds-typography-caption3-fontFamily" | "--eds-typography-caption3-fontSize" | "--eds-typography-caption3-fontWeight" | "--eds-typography-caption3-letterSpacing" | "--eds-typography-caption3-lineHeight" | "--eds-typography-display1-fontFamily" | "--eds-typography-display1-fontSize" | "--eds-typography-display1-fontWeight" | "--eds-typography-display1-letterSpacing" | "--eds-typography-display1-lineHeight" | "--eds-typography-display2-fontFamily" | "--eds-typography-display2-fontSize" | "--eds-typography-display2-fontWeight" | "--eds-typography-display2-letterSpacing" | "--eds-typography-display2-lineHeight" | "--eds-typography-heading1-fontFamily" | "--eds-typography-heading1-fontSize" | "--eds-typography-heading1-fontWeight" | "--eds-typography-heading1-letterSpacing" | "--eds-typography-heading1-lineHeight" | "--eds-typography-heading2-fontFamily" | "--eds-typography-heading2-fontSize" | "--eds-typography-heading2-fontWeight" | "--eds-typography-heading2-letterSpacing" | "--eds-typography-heading2-lineHeight" | "--eds-typography-heading3-fontFamily" | "--eds-typography-heading3-fontSize" | "--eds-typography-heading3-fontWeight" | "--eds-typography-heading3-letterSpacing" | "--eds-typography-heading3-lineHeight" | "--eds-typography-title1-fontFamily" | "--eds-typography-title1-fontSize" | "--eds-typography-title1-fontWeight" | "--eds-typography-title1-letterSpacing" | "--eds-typography-title1-lineHeight" | "--eds-typography-title2-fontFamily" | "--eds-typography-title2-fontSize" | "--eds-typography-title2-fontWeight" | "--eds-typography-title2-letterSpacing" | "--eds-typography-title2-lineHeight" | "--eds-typography-title3-fontFamily" | "--eds-typography-title3-fontSize" | "--eds-typography-title3-fontWeight" | "--eds-typography-title3-letterSpacing" | "--eds-typography-title3-lineHeight" | "--eds-typography-title4-fontFamily" | "--eds-typography-title4-fontSize" | "--eds-typography-title4-fontWeight" | "--eds-typography-title4-letterSpacing" | "--eds-typography-title4-lineHeight";
|
|
4
|
-
type SemanticTokenCssReference = "var(--eds-color-bg-brand-primary)" | "var(--eds-color-bg-brand-primary-hover)" | "var(--eds-color-bg-critical-primary)" | "var(--eds-color-bg-critical-primary-hover)" | "var(--eds-color-bg-critical-weak)" | "var(--eds-color-bg-critical-weak-hover)" | "var(--eds-color-bg-disabled)" | "var(--eds-color-bg-informative-primary)" | "var(--eds-color-bg-informative-primary-hover)" | "var(--eds-color-bg-informative-weak)" | "var(--eds-color-bg-informative-weak-hover)" | "var(--eds-color-bg-layer-basement)" | "var(--eds-color-bg-layer-default)" | "var(--eds-color-bg-layer-default-hover)" | "var(--eds-color-bg-layer-floating)" | "var(--eds-color-bg-layer-floating-hover)" | "var(--eds-color-bg-neutral-inverted)" | "var(--eds-color-bg-neutral-inverted-hover)" | "var(--eds-color-bg-neutral-primary)" | "var(--eds-color-bg-neutral-primary-hover)" | "var(--eds-color-bg-neutral-weak)" | "var(--eds-color-bg-neutral-weak-hover)" | "var(--eds-color-bg-positive-primary)" | "var(--eds-color-bg-positive-primary-hover)" | "var(--eds-color-bg-positive-weak)" | "var(--eds-color-bg-positive-weak-hover)" | "var(--eds-color-bg-transparent)" | "var(--eds-color-bg-transparent-hover)" | "var(--eds-color-bg-warning-primary)" | "var(--eds-color-bg-warning-primary-hover)" | "var(--eds-color-bg-warning-weak)" | "var(--eds-color-bg-warning-weak-hover)" | "var(--eds-color-fg-brand)" | "var(--eds-color-fg-brand-contrast)" | "var(--eds-color-fg-critical)" | "var(--eds-color-fg-critical-contrast)" | "var(--eds-color-fg-disabled)" | "var(--eds-color-fg-focus)" | "var(--eds-color-fg-informative)" | "var(--eds-color-fg-informative-contrast)" | "var(--eds-color-fg-neutral)" | "var(--eds-color-fg-neutral-inverted)" | "var(--eds-color-fg-neutral-secondary)" | "var(--eds-color-fg-neutral-tertiary)" | "var(--eds-color-fg-placeholder)" | "var(--eds-color-fg-positive)" | "var(--eds-color-fg-positive-contrast)" | "var(--eds-color-fg-warning)" | "var(--eds-color-fg-warning-contrast)" | "var(--eds-color-stroke-brand-primary)" | "var(--eds-color-stroke-brand-weak)" | "var(--eds-color-stroke-critical-primary)" | "var(--eds-color-stroke-critical-weak)" | "var(--eds-color-stroke-focusRing)" | "var(--eds-color-stroke-informative-primary)" | "var(--eds-color-stroke-informative-weak)" | "var(--eds-color-stroke-neutral-contrast)" | "var(--eds-color-stroke-neutral-primary)" | "var(--eds-color-stroke-neutral-secondary)" | "var(--eds-color-stroke-neutral-weak)" | "var(--eds-color-stroke-positive-primary)" | "var(--eds-color-stroke-positive-weak)" | "var(--eds-color-stroke-warning-primary)" | "var(--eds-color-stroke-warning-weak)" | "var(--eds-typography-body1-fontFamily)" | "var(--eds-typography-body1-fontSize)" | "var(--eds-typography-body1-fontWeight)" | "var(--eds-typography-body1-letterSpacing)" | "var(--eds-typography-body1-lineHeight)" | "var(--eds-typography-body2-fontFamily)" | "var(--eds-typography-body2-fontSize)" | "var(--eds-typography-body2-fontWeight)" | "var(--eds-typography-body2-letterSpacing)" | "var(--eds-typography-body2-lineHeight)" | "var(--eds-typography-body3-fontFamily)" | "var(--eds-typography-body3-fontSize)" | "var(--eds-typography-body3-fontWeight)" | "var(--eds-typography-body3-letterSpacing)" | "var(--eds-typography-body3-lineHeight)" | "var(--eds-typography-body4-fontFamily)" | "var(--eds-typography-body4-fontSize)" | "var(--eds-typography-body4-fontWeight)" | "var(--eds-typography-body4-letterSpacing)" | "var(--eds-typography-body4-lineHeight)" | "var(--eds-typography-caption1-fontFamily)" | "var(--eds-typography-caption1-fontSize)" | "var(--eds-typography-caption1-fontWeight)" | "var(--eds-typography-caption1-letterSpacing)" | "var(--eds-typography-caption1-lineHeight)" | "var(--eds-typography-caption2-fontFamily)" | "var(--eds-typography-caption2-fontSize)" | "var(--eds-typography-caption2-fontWeight)" | "var(--eds-typography-caption2-letterSpacing)" | "var(--eds-typography-caption2-lineHeight)" | "var(--eds-typography-caption3-fontFamily)" | "var(--eds-typography-caption3-fontSize)" | "var(--eds-typography-caption3-fontWeight)" | "var(--eds-typography-caption3-letterSpacing)" | "var(--eds-typography-caption3-lineHeight)" | "var(--eds-typography-display1-fontFamily)" | "var(--eds-typography-display1-fontSize)" | "var(--eds-typography-display1-fontWeight)" | "var(--eds-typography-display1-letterSpacing)" | "var(--eds-typography-display1-lineHeight)" | "var(--eds-typography-display2-fontFamily)" | "var(--eds-typography-display2-fontSize)" | "var(--eds-typography-display2-fontWeight)" | "var(--eds-typography-display2-letterSpacing)" | "var(--eds-typography-display2-lineHeight)" | "var(--eds-typography-heading1-fontFamily)" | "var(--eds-typography-heading1-fontSize)" | "var(--eds-typography-heading1-fontWeight)" | "var(--eds-typography-heading1-letterSpacing)" | "var(--eds-typography-heading1-lineHeight)" | "var(--eds-typography-heading2-fontFamily)" | "var(--eds-typography-heading2-fontSize)" | "var(--eds-typography-heading2-fontWeight)" | "var(--eds-typography-heading2-letterSpacing)" | "var(--eds-typography-heading2-lineHeight)" | "var(--eds-typography-heading3-fontFamily)" | "var(--eds-typography-heading3-fontSize)" | "var(--eds-typography-heading3-fontWeight)" | "var(--eds-typography-heading3-letterSpacing)" | "var(--eds-typography-heading3-lineHeight)" | "var(--eds-typography-title1-fontFamily)" | "var(--eds-typography-title1-fontSize)" | "var(--eds-typography-title1-fontWeight)" | "var(--eds-typography-title1-letterSpacing)" | "var(--eds-typography-title1-lineHeight)" | "var(--eds-typography-title2-fontFamily)" | "var(--eds-typography-title2-fontSize)" | "var(--eds-typography-title2-fontWeight)" | "var(--eds-typography-title2-letterSpacing)" | "var(--eds-typography-title2-lineHeight)" | "var(--eds-typography-title3-fontFamily)" | "var(--eds-typography-title3-fontSize)" | "var(--eds-typography-title3-fontWeight)" | "var(--eds-typography-title3-letterSpacing)" | "var(--eds-typography-title3-lineHeight)" | "var(--eds-typography-title4-fontFamily)" | "var(--eds-typography-title4-fontSize)" | "var(--eds-typography-title4-fontWeight)" | "var(--eds-typography-title4-letterSpacing)" | "var(--eds-typography-title4-lineHeight)";
|
|
3
|
+
type SemanticTokenCssVariable = "--eds-color-bg-brand-primary" | "--eds-color-bg-brand-primary-hover" | "--eds-color-bg-brand-weak" | "--eds-color-bg-brand-weak-hover" | "--eds-color-bg-critical-primary" | "--eds-color-bg-critical-primary-hover" | "--eds-color-bg-critical-weak" | "--eds-color-bg-critical-weak-hover" | "--eds-color-bg-disabled" | "--eds-color-bg-informative-primary" | "--eds-color-bg-informative-primary-hover" | "--eds-color-bg-informative-weak" | "--eds-color-bg-informative-weak-hover" | "--eds-color-bg-layer-basement" | "--eds-color-bg-layer-basement-hover" | "--eds-color-bg-layer-default" | "--eds-color-bg-layer-default-hover" | "--eds-color-bg-layer-floating" | "--eds-color-bg-layer-floating-hover" | "--eds-color-bg-neutral-inverted" | "--eds-color-bg-neutral-inverted-hover" | "--eds-color-bg-neutral-primary" | "--eds-color-bg-neutral-primary-hover" | "--eds-color-bg-neutral-weak" | "--eds-color-bg-neutral-weak-hover" | "--eds-color-bg-positive-primary" | "--eds-color-bg-positive-primary-hover" | "--eds-color-bg-positive-weak" | "--eds-color-bg-positive-weak-hover" | "--eds-color-bg-transparent" | "--eds-color-bg-transparent-hover" | "--eds-color-bg-warning-primary" | "--eds-color-bg-warning-primary-hover" | "--eds-color-bg-warning-weak" | "--eds-color-bg-warning-weak-hover" | "--eds-color-fg-brand" | "--eds-color-fg-brand-contrast" | "--eds-color-fg-critical" | "--eds-color-fg-critical-contrast" | "--eds-color-fg-disabled" | "--eds-color-fg-focus" | "--eds-color-fg-informative" | "--eds-color-fg-informative-contrast" | "--eds-color-fg-neutral" | "--eds-color-fg-neutral-inverted" | "--eds-color-fg-neutral-secondary" | "--eds-color-fg-neutral-tertiary" | "--eds-color-fg-placeholder" | "--eds-color-fg-positive" | "--eds-color-fg-positive-contrast" | "--eds-color-fg-warning" | "--eds-color-fg-warning-contrast" | "--eds-color-stroke-brand-primary" | "--eds-color-stroke-brand-weak" | "--eds-color-stroke-critical-primary" | "--eds-color-stroke-critical-weak" | "--eds-color-stroke-focusRing" | "--eds-color-stroke-informative-primary" | "--eds-color-stroke-informative-weak" | "--eds-color-stroke-neutral-contrast" | "--eds-color-stroke-neutral-primary" | "--eds-color-stroke-neutral-secondary" | "--eds-color-stroke-neutral-tertiary" | "--eds-color-stroke-neutral-weak" | "--eds-color-stroke-positive-primary" | "--eds-color-stroke-positive-weak" | "--eds-color-stroke-warning-primary" | "--eds-color-stroke-warning-weak" | "--eds-typography-body1-fontFamily" | "--eds-typography-body1-fontSize" | "--eds-typography-body1-fontWeight" | "--eds-typography-body1-letterSpacing" | "--eds-typography-body1-lineHeight" | "--eds-typography-body2-fontFamily" | "--eds-typography-body2-fontSize" | "--eds-typography-body2-fontWeight" | "--eds-typography-body2-letterSpacing" | "--eds-typography-body2-lineHeight" | "--eds-typography-body3-fontFamily" | "--eds-typography-body3-fontSize" | "--eds-typography-body3-fontWeight" | "--eds-typography-body3-letterSpacing" | "--eds-typography-body3-lineHeight" | "--eds-typography-body4-fontFamily" | "--eds-typography-body4-fontSize" | "--eds-typography-body4-fontWeight" | "--eds-typography-body4-letterSpacing" | "--eds-typography-body4-lineHeight" | "--eds-typography-caption1-fontFamily" | "--eds-typography-caption1-fontSize" | "--eds-typography-caption1-fontWeight" | "--eds-typography-caption1-letterSpacing" | "--eds-typography-caption1-lineHeight" | "--eds-typography-caption2-fontFamily" | "--eds-typography-caption2-fontSize" | "--eds-typography-caption2-fontWeight" | "--eds-typography-caption2-letterSpacing" | "--eds-typography-caption2-lineHeight" | "--eds-typography-caption3-fontFamily" | "--eds-typography-caption3-fontSize" | "--eds-typography-caption3-fontWeight" | "--eds-typography-caption3-letterSpacing" | "--eds-typography-caption3-lineHeight" | "--eds-typography-display1-fontFamily" | "--eds-typography-display1-fontSize" | "--eds-typography-display1-fontWeight" | "--eds-typography-display1-letterSpacing" | "--eds-typography-display1-lineHeight" | "--eds-typography-display2-fontFamily" | "--eds-typography-display2-fontSize" | "--eds-typography-display2-fontWeight" | "--eds-typography-display2-letterSpacing" | "--eds-typography-display2-lineHeight" | "--eds-typography-heading1-fontFamily" | "--eds-typography-heading1-fontSize" | "--eds-typography-heading1-fontWeight" | "--eds-typography-heading1-letterSpacing" | "--eds-typography-heading1-lineHeight" | "--eds-typography-heading2-fontFamily" | "--eds-typography-heading2-fontSize" | "--eds-typography-heading2-fontWeight" | "--eds-typography-heading2-letterSpacing" | "--eds-typography-heading2-lineHeight" | "--eds-typography-heading3-fontFamily" | "--eds-typography-heading3-fontSize" | "--eds-typography-heading3-fontWeight" | "--eds-typography-heading3-letterSpacing" | "--eds-typography-heading3-lineHeight" | "--eds-typography-heading4-fontFamily" | "--eds-typography-heading4-fontSize" | "--eds-typography-heading4-fontWeight" | "--eds-typography-heading4-letterSpacing" | "--eds-typography-heading4-lineHeight" | "--eds-typography-title1-fontFamily" | "--eds-typography-title1-fontSize" | "--eds-typography-title1-fontWeight" | "--eds-typography-title1-letterSpacing" | "--eds-typography-title1-lineHeight" | "--eds-typography-title2-fontFamily" | "--eds-typography-title2-fontSize" | "--eds-typography-title2-fontWeight" | "--eds-typography-title2-letterSpacing" | "--eds-typography-title2-lineHeight" | "--eds-typography-title3-fontFamily" | "--eds-typography-title3-fontSize" | "--eds-typography-title3-fontWeight" | "--eds-typography-title3-letterSpacing" | "--eds-typography-title3-lineHeight" | "--eds-typography-title4-fontFamily" | "--eds-typography-title4-fontSize" | "--eds-typography-title4-fontWeight" | "--eds-typography-title4-letterSpacing" | "--eds-typography-title4-lineHeight";
|
|
4
|
+
type SemanticTokenCssReference = "var(--eds-color-bg-brand-primary)" | "var(--eds-color-bg-brand-primary-hover)" | "var(--eds-color-bg-brand-weak)" | "var(--eds-color-bg-brand-weak-hover)" | "var(--eds-color-bg-critical-primary)" | "var(--eds-color-bg-critical-primary-hover)" | "var(--eds-color-bg-critical-weak)" | "var(--eds-color-bg-critical-weak-hover)" | "var(--eds-color-bg-disabled)" | "var(--eds-color-bg-informative-primary)" | "var(--eds-color-bg-informative-primary-hover)" | "var(--eds-color-bg-informative-weak)" | "var(--eds-color-bg-informative-weak-hover)" | "var(--eds-color-bg-layer-basement)" | "var(--eds-color-bg-layer-basement-hover)" | "var(--eds-color-bg-layer-default)" | "var(--eds-color-bg-layer-default-hover)" | "var(--eds-color-bg-layer-floating)" | "var(--eds-color-bg-layer-floating-hover)" | "var(--eds-color-bg-neutral-inverted)" | "var(--eds-color-bg-neutral-inverted-hover)" | "var(--eds-color-bg-neutral-primary)" | "var(--eds-color-bg-neutral-primary-hover)" | "var(--eds-color-bg-neutral-weak)" | "var(--eds-color-bg-neutral-weak-hover)" | "var(--eds-color-bg-positive-primary)" | "var(--eds-color-bg-positive-primary-hover)" | "var(--eds-color-bg-positive-weak)" | "var(--eds-color-bg-positive-weak-hover)" | "var(--eds-color-bg-transparent)" | "var(--eds-color-bg-transparent-hover)" | "var(--eds-color-bg-warning-primary)" | "var(--eds-color-bg-warning-primary-hover)" | "var(--eds-color-bg-warning-weak)" | "var(--eds-color-bg-warning-weak-hover)" | "var(--eds-color-fg-brand)" | "var(--eds-color-fg-brand-contrast)" | "var(--eds-color-fg-critical)" | "var(--eds-color-fg-critical-contrast)" | "var(--eds-color-fg-disabled)" | "var(--eds-color-fg-focus)" | "var(--eds-color-fg-informative)" | "var(--eds-color-fg-informative-contrast)" | "var(--eds-color-fg-neutral)" | "var(--eds-color-fg-neutral-inverted)" | "var(--eds-color-fg-neutral-secondary)" | "var(--eds-color-fg-neutral-tertiary)" | "var(--eds-color-fg-placeholder)" | "var(--eds-color-fg-positive)" | "var(--eds-color-fg-positive-contrast)" | "var(--eds-color-fg-warning)" | "var(--eds-color-fg-warning-contrast)" | "var(--eds-color-stroke-brand-primary)" | "var(--eds-color-stroke-brand-weak)" | "var(--eds-color-stroke-critical-primary)" | "var(--eds-color-stroke-critical-weak)" | "var(--eds-color-stroke-focusRing)" | "var(--eds-color-stroke-informative-primary)" | "var(--eds-color-stroke-informative-weak)" | "var(--eds-color-stroke-neutral-contrast)" | "var(--eds-color-stroke-neutral-primary)" | "var(--eds-color-stroke-neutral-secondary)" | "var(--eds-color-stroke-neutral-tertiary)" | "var(--eds-color-stroke-neutral-weak)" | "var(--eds-color-stroke-positive-primary)" | "var(--eds-color-stroke-positive-weak)" | "var(--eds-color-stroke-warning-primary)" | "var(--eds-color-stroke-warning-weak)" | "var(--eds-typography-body1-fontFamily)" | "var(--eds-typography-body1-fontSize)" | "var(--eds-typography-body1-fontWeight)" | "var(--eds-typography-body1-letterSpacing)" | "var(--eds-typography-body1-lineHeight)" | "var(--eds-typography-body2-fontFamily)" | "var(--eds-typography-body2-fontSize)" | "var(--eds-typography-body2-fontWeight)" | "var(--eds-typography-body2-letterSpacing)" | "var(--eds-typography-body2-lineHeight)" | "var(--eds-typography-body3-fontFamily)" | "var(--eds-typography-body3-fontSize)" | "var(--eds-typography-body3-fontWeight)" | "var(--eds-typography-body3-letterSpacing)" | "var(--eds-typography-body3-lineHeight)" | "var(--eds-typography-body4-fontFamily)" | "var(--eds-typography-body4-fontSize)" | "var(--eds-typography-body4-fontWeight)" | "var(--eds-typography-body4-letterSpacing)" | "var(--eds-typography-body4-lineHeight)" | "var(--eds-typography-caption1-fontFamily)" | "var(--eds-typography-caption1-fontSize)" | "var(--eds-typography-caption1-fontWeight)" | "var(--eds-typography-caption1-letterSpacing)" | "var(--eds-typography-caption1-lineHeight)" | "var(--eds-typography-caption2-fontFamily)" | "var(--eds-typography-caption2-fontSize)" | "var(--eds-typography-caption2-fontWeight)" | "var(--eds-typography-caption2-letterSpacing)" | "var(--eds-typography-caption2-lineHeight)" | "var(--eds-typography-caption3-fontFamily)" | "var(--eds-typography-caption3-fontSize)" | "var(--eds-typography-caption3-fontWeight)" | "var(--eds-typography-caption3-letterSpacing)" | "var(--eds-typography-caption3-lineHeight)" | "var(--eds-typography-display1-fontFamily)" | "var(--eds-typography-display1-fontSize)" | "var(--eds-typography-display1-fontWeight)" | "var(--eds-typography-display1-letterSpacing)" | "var(--eds-typography-display1-lineHeight)" | "var(--eds-typography-display2-fontFamily)" | "var(--eds-typography-display2-fontSize)" | "var(--eds-typography-display2-fontWeight)" | "var(--eds-typography-display2-letterSpacing)" | "var(--eds-typography-display2-lineHeight)" | "var(--eds-typography-heading1-fontFamily)" | "var(--eds-typography-heading1-fontSize)" | "var(--eds-typography-heading1-fontWeight)" | "var(--eds-typography-heading1-letterSpacing)" | "var(--eds-typography-heading1-lineHeight)" | "var(--eds-typography-heading2-fontFamily)" | "var(--eds-typography-heading2-fontSize)" | "var(--eds-typography-heading2-fontWeight)" | "var(--eds-typography-heading2-letterSpacing)" | "var(--eds-typography-heading2-lineHeight)" | "var(--eds-typography-heading3-fontFamily)" | "var(--eds-typography-heading3-fontSize)" | "var(--eds-typography-heading3-fontWeight)" | "var(--eds-typography-heading3-letterSpacing)" | "var(--eds-typography-heading3-lineHeight)" | "var(--eds-typography-heading4-fontFamily)" | "var(--eds-typography-heading4-fontSize)" | "var(--eds-typography-heading4-fontWeight)" | "var(--eds-typography-heading4-letterSpacing)" | "var(--eds-typography-heading4-lineHeight)" | "var(--eds-typography-title1-fontFamily)" | "var(--eds-typography-title1-fontSize)" | "var(--eds-typography-title1-fontWeight)" | "var(--eds-typography-title1-letterSpacing)" | "var(--eds-typography-title1-lineHeight)" | "var(--eds-typography-title2-fontFamily)" | "var(--eds-typography-title2-fontSize)" | "var(--eds-typography-title2-fontWeight)" | "var(--eds-typography-title2-letterSpacing)" | "var(--eds-typography-title2-lineHeight)" | "var(--eds-typography-title3-fontFamily)" | "var(--eds-typography-title3-fontSize)" | "var(--eds-typography-title3-fontWeight)" | "var(--eds-typography-title3-letterSpacing)" | "var(--eds-typography-title3-lineHeight)" | "var(--eds-typography-title4-fontFamily)" | "var(--eds-typography-title4-fontSize)" | "var(--eds-typography-title4-fontWeight)" | "var(--eds-typography-title4-letterSpacing)" | "var(--eds-typography-title4-lineHeight)";
|
|
5
5
|
interface SemanticToken {
|
|
6
6
|
readonly name: SemanticTokenName;
|
|
7
7
|
readonly type: SemanticTokenType;
|
package/dist/tokens.js
CHANGED
|
@@ -14,6 +14,18 @@ var tokenMap = {
|
|
|
14
14
|
"value": "#DB3700",
|
|
15
15
|
"cssVariable": "--eds-color-bg-brand-primary-hover"
|
|
16
16
|
},
|
|
17
|
+
"color-bg-brand-weak": {
|
|
18
|
+
"name": "color-bg-brand-weak",
|
|
19
|
+
"type": "color",
|
|
20
|
+
"value": "#FFA081",
|
|
21
|
+
"cssVariable": "--eds-color-bg-brand-weak"
|
|
22
|
+
},
|
|
23
|
+
"color-bg-brand-weak-hover": {
|
|
24
|
+
"name": "color-bg-brand-weak-hover",
|
|
25
|
+
"type": "color",
|
|
26
|
+
"value": "#FF7141",
|
|
27
|
+
"cssVariable": "--eds-color-bg-brand-weak-hover"
|
|
28
|
+
},
|
|
17
29
|
"color-bg-critical-primary": {
|
|
18
30
|
"name": "color-bg-critical-primary",
|
|
19
31
|
"type": "color",
|
|
@@ -29,13 +41,13 @@ var tokenMap = {
|
|
|
29
41
|
"color-bg-critical-weak": {
|
|
30
42
|
"name": "color-bg-critical-weak",
|
|
31
43
|
"type": "color",
|
|
32
|
-
"value": "#
|
|
44
|
+
"value": "#FEE2E2",
|
|
33
45
|
"cssVariable": "--eds-color-bg-critical-weak"
|
|
34
46
|
},
|
|
35
47
|
"color-bg-critical-weak-hover": {
|
|
36
48
|
"name": "color-bg-critical-weak-hover",
|
|
37
49
|
"type": "color",
|
|
38
|
-
"value": "#
|
|
50
|
+
"value": "#FECACA",
|
|
39
51
|
"cssVariable": "--eds-color-bg-critical-weak-hover"
|
|
40
52
|
},
|
|
41
53
|
"color-bg-disabled": {
|
|
@@ -59,13 +71,13 @@ var tokenMap = {
|
|
|
59
71
|
"color-bg-informative-weak": {
|
|
60
72
|
"name": "color-bg-informative-weak",
|
|
61
73
|
"type": "color",
|
|
62
|
-
"value": "#
|
|
74
|
+
"value": "#DBEAFE",
|
|
63
75
|
"cssVariable": "--eds-color-bg-informative-weak"
|
|
64
76
|
},
|
|
65
77
|
"color-bg-informative-weak-hover": {
|
|
66
78
|
"name": "color-bg-informative-weak-hover",
|
|
67
79
|
"type": "color",
|
|
68
|
-
"value": "#
|
|
80
|
+
"value": "#BFDBFE",
|
|
69
81
|
"cssVariable": "--eds-color-bg-informative-weak-hover"
|
|
70
82
|
},
|
|
71
83
|
"color-bg-layer-basement": {
|
|
@@ -74,6 +86,12 @@ var tokenMap = {
|
|
|
74
86
|
"value": "#F3F4F6",
|
|
75
87
|
"cssVariable": "--eds-color-bg-layer-basement"
|
|
76
88
|
},
|
|
89
|
+
"color-bg-layer-basement-hover": {
|
|
90
|
+
"name": "color-bg-layer-basement-hover",
|
|
91
|
+
"type": "color",
|
|
92
|
+
"value": "#ECEEF1",
|
|
93
|
+
"cssVariable": "--eds-color-bg-layer-basement-hover"
|
|
94
|
+
},
|
|
77
95
|
"color-bg-layer-default": {
|
|
78
96
|
"name": "color-bg-layer-default",
|
|
79
97
|
"type": "color",
|
|
@@ -149,13 +167,13 @@ var tokenMap = {
|
|
|
149
167
|
"color-bg-positive-weak": {
|
|
150
168
|
"name": "color-bg-positive-weak",
|
|
151
169
|
"type": "color",
|
|
152
|
-
"value": "#
|
|
170
|
+
"value": "#DCFCE7",
|
|
153
171
|
"cssVariable": "--eds-color-bg-positive-weak"
|
|
154
172
|
},
|
|
155
173
|
"color-bg-positive-weak-hover": {
|
|
156
174
|
"name": "color-bg-positive-weak-hover",
|
|
157
175
|
"type": "color",
|
|
158
|
-
"value": "#
|
|
176
|
+
"value": "#BBF7D0",
|
|
159
177
|
"cssVariable": "--eds-color-bg-positive-weak-hover"
|
|
160
178
|
},
|
|
161
179
|
"color-bg-transparent": {
|
|
@@ -185,13 +203,13 @@ var tokenMap = {
|
|
|
185
203
|
"color-bg-warning-weak": {
|
|
186
204
|
"name": "color-bg-warning-weak",
|
|
187
205
|
"type": "color",
|
|
188
|
-
"value": "#
|
|
206
|
+
"value": "#FEF9C3",
|
|
189
207
|
"cssVariable": "--eds-color-bg-warning-weak"
|
|
190
208
|
},
|
|
191
209
|
"color-bg-warning-weak-hover": {
|
|
192
210
|
"name": "color-bg-warning-weak-hover",
|
|
193
211
|
"type": "color",
|
|
194
|
-
"value": "#
|
|
212
|
+
"value": "#FEF08A",
|
|
195
213
|
"cssVariable": "--eds-color-bg-warning-weak-hover"
|
|
196
214
|
},
|
|
197
215
|
"color-fg-brand": {
|
|
@@ -293,7 +311,7 @@ var tokenMap = {
|
|
|
293
311
|
"color-fg-warning-contrast": {
|
|
294
312
|
"name": "color-fg-warning-contrast",
|
|
295
313
|
"type": "color",
|
|
296
|
-
"value": "#
|
|
314
|
+
"value": "#A16207",
|
|
297
315
|
"cssVariable": "--eds-color-fg-warning-contrast"
|
|
298
316
|
},
|
|
299
317
|
"color-stroke-brand-primary": {
|
|
@@ -353,9 +371,15 @@ var tokenMap = {
|
|
|
353
371
|
"color-stroke-neutral-secondary": {
|
|
354
372
|
"name": "color-stroke-neutral-secondary",
|
|
355
373
|
"type": "color",
|
|
356
|
-
"value": "#
|
|
374
|
+
"value": "#9CA3AF",
|
|
357
375
|
"cssVariable": "--eds-color-stroke-neutral-secondary"
|
|
358
376
|
},
|
|
377
|
+
"color-stroke-neutral-tertiary": {
|
|
378
|
+
"name": "color-stroke-neutral-tertiary",
|
|
379
|
+
"type": "color",
|
|
380
|
+
"value": "#E5E7EB",
|
|
381
|
+
"cssVariable": "--eds-color-stroke-neutral-tertiary"
|
|
382
|
+
},
|
|
359
383
|
"color-stroke-neutral-weak": {
|
|
360
384
|
"name": "color-stroke-neutral-weak",
|
|
361
385
|
"type": "color",
|
|
@@ -902,6 +926,49 @@ var tokenMap = {
|
|
|
902
926
|
},
|
|
903
927
|
"cssVariable": "--eds-typography-heading3-lineHeight"
|
|
904
928
|
},
|
|
929
|
+
"typography-heading4-fontFamily": {
|
|
930
|
+
"name": "typography-heading4-fontFamily",
|
|
931
|
+
"type": "fontFamily",
|
|
932
|
+
"value": [
|
|
933
|
+
"Pretendard",
|
|
934
|
+
"system-ui",
|
|
935
|
+
"sans-serif"
|
|
936
|
+
],
|
|
937
|
+
"cssVariable": "--eds-typography-heading4-fontFamily"
|
|
938
|
+
},
|
|
939
|
+
"typography-heading4-fontSize": {
|
|
940
|
+
"name": "typography-heading4-fontSize",
|
|
941
|
+
"type": "dimension",
|
|
942
|
+
"value": {
|
|
943
|
+
"value": 1.25,
|
|
944
|
+
"unit": "rem"
|
|
945
|
+
},
|
|
946
|
+
"cssVariable": "--eds-typography-heading4-fontSize"
|
|
947
|
+
},
|
|
948
|
+
"typography-heading4-fontWeight": {
|
|
949
|
+
"name": "typography-heading4-fontWeight",
|
|
950
|
+
"type": "fontWeight",
|
|
951
|
+
"value": 550,
|
|
952
|
+
"cssVariable": "--eds-typography-heading4-fontWeight"
|
|
953
|
+
},
|
|
954
|
+
"typography-heading4-letterSpacing": {
|
|
955
|
+
"name": "typography-heading4-letterSpacing",
|
|
956
|
+
"type": "dimension",
|
|
957
|
+
"value": {
|
|
958
|
+
"value": -0.2,
|
|
959
|
+
"unit": "px"
|
|
960
|
+
},
|
|
961
|
+
"cssVariable": "--eds-typography-heading4-letterSpacing"
|
|
962
|
+
},
|
|
963
|
+
"typography-heading4-lineHeight": {
|
|
964
|
+
"name": "typography-heading4-lineHeight",
|
|
965
|
+
"type": "dimension",
|
|
966
|
+
"value": {
|
|
967
|
+
"value": 2,
|
|
968
|
+
"unit": "rem"
|
|
969
|
+
},
|
|
970
|
+
"cssVariable": "--eds-typography-heading4-lineHeight"
|
|
971
|
+
},
|
|
905
972
|
"typography-title1-fontFamily": {
|
|
906
973
|
"name": "typography-title1-fontFamily",
|
|
907
974
|
"type": "fontFamily",
|
|
@@ -1079,6 +1146,8 @@ var tokens = Object.freeze(tokenMap);
|
|
|
1079
1146
|
var tokenNames = Object.freeze([
|
|
1080
1147
|
"color-bg-brand-primary",
|
|
1081
1148
|
"color-bg-brand-primary-hover",
|
|
1149
|
+
"color-bg-brand-weak",
|
|
1150
|
+
"color-bg-brand-weak-hover",
|
|
1082
1151
|
"color-bg-critical-primary",
|
|
1083
1152
|
"color-bg-critical-primary-hover",
|
|
1084
1153
|
"color-bg-critical-weak",
|
|
@@ -1089,6 +1158,7 @@ var tokenNames = Object.freeze([
|
|
|
1089
1158
|
"color-bg-informative-weak",
|
|
1090
1159
|
"color-bg-informative-weak-hover",
|
|
1091
1160
|
"color-bg-layer-basement",
|
|
1161
|
+
"color-bg-layer-basement-hover",
|
|
1092
1162
|
"color-bg-layer-default",
|
|
1093
1163
|
"color-bg-layer-default-hover",
|
|
1094
1164
|
"color-bg-layer-floating",
|
|
@@ -1136,6 +1206,7 @@ var tokenNames = Object.freeze([
|
|
|
1136
1206
|
"color-stroke-neutral-contrast",
|
|
1137
1207
|
"color-stroke-neutral-primary",
|
|
1138
1208
|
"color-stroke-neutral-secondary",
|
|
1209
|
+
"color-stroke-neutral-tertiary",
|
|
1139
1210
|
"color-stroke-neutral-weak",
|
|
1140
1211
|
"color-stroke-positive-primary",
|
|
1141
1212
|
"color-stroke-positive-weak",
|
|
@@ -1201,6 +1272,11 @@ var tokenNames = Object.freeze([
|
|
|
1201
1272
|
"typography-heading3-fontWeight",
|
|
1202
1273
|
"typography-heading3-letterSpacing",
|
|
1203
1274
|
"typography-heading3-lineHeight",
|
|
1275
|
+
"typography-heading4-fontFamily",
|
|
1276
|
+
"typography-heading4-fontSize",
|
|
1277
|
+
"typography-heading4-fontWeight",
|
|
1278
|
+
"typography-heading4-letterSpacing",
|
|
1279
|
+
"typography-heading4-lineHeight",
|
|
1204
1280
|
"typography-title1-fontFamily",
|
|
1205
1281
|
"typography-title1-fontSize",
|
|
1206
1282
|
"typography-title1-fontWeight",
|
package/dist/tokens.json
CHANGED
|
@@ -19,6 +19,24 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
+
"color-bg-brand-weak": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": "#FFA081",
|
|
25
|
+
"$extensions": {
|
|
26
|
+
"eds": {
|
|
27
|
+
"cssVariable": "--eds-color-bg-brand-weak"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"color-bg-brand-weak-hover": {
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$value": "#FF7141",
|
|
34
|
+
"$extensions": {
|
|
35
|
+
"eds": {
|
|
36
|
+
"cssVariable": "--eds-color-bg-brand-weak-hover"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
22
40
|
"color-bg-critical-primary": {
|
|
23
41
|
"$type": "color",
|
|
24
42
|
"$value": "#EF4444",
|
|
@@ -39,7 +57,7 @@
|
|
|
39
57
|
},
|
|
40
58
|
"color-bg-critical-weak": {
|
|
41
59
|
"$type": "color",
|
|
42
|
-
"$value": "#
|
|
60
|
+
"$value": "#FEE2E2",
|
|
43
61
|
"$extensions": {
|
|
44
62
|
"eds": {
|
|
45
63
|
"cssVariable": "--eds-color-bg-critical-weak"
|
|
@@ -48,7 +66,7 @@
|
|
|
48
66
|
},
|
|
49
67
|
"color-bg-critical-weak-hover": {
|
|
50
68
|
"$type": "color",
|
|
51
|
-
"$value": "#
|
|
69
|
+
"$value": "#FECACA",
|
|
52
70
|
"$extensions": {
|
|
53
71
|
"eds": {
|
|
54
72
|
"cssVariable": "--eds-color-bg-critical-weak-hover"
|
|
@@ -84,7 +102,7 @@
|
|
|
84
102
|
},
|
|
85
103
|
"color-bg-informative-weak": {
|
|
86
104
|
"$type": "color",
|
|
87
|
-
"$value": "#
|
|
105
|
+
"$value": "#DBEAFE",
|
|
88
106
|
"$extensions": {
|
|
89
107
|
"eds": {
|
|
90
108
|
"cssVariable": "--eds-color-bg-informative-weak"
|
|
@@ -93,7 +111,7 @@
|
|
|
93
111
|
},
|
|
94
112
|
"color-bg-informative-weak-hover": {
|
|
95
113
|
"$type": "color",
|
|
96
|
-
"$value": "#
|
|
114
|
+
"$value": "#BFDBFE",
|
|
97
115
|
"$extensions": {
|
|
98
116
|
"eds": {
|
|
99
117
|
"cssVariable": "--eds-color-bg-informative-weak-hover"
|
|
@@ -109,6 +127,15 @@
|
|
|
109
127
|
}
|
|
110
128
|
}
|
|
111
129
|
},
|
|
130
|
+
"color-bg-layer-basement-hover": {
|
|
131
|
+
"$type": "color",
|
|
132
|
+
"$value": "#ECEEF1",
|
|
133
|
+
"$extensions": {
|
|
134
|
+
"eds": {
|
|
135
|
+
"cssVariable": "--eds-color-bg-layer-basement-hover"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
112
139
|
"color-bg-layer-default": {
|
|
113
140
|
"$type": "color",
|
|
114
141
|
"$value": "#FFFFFFFF",
|
|
@@ -219,7 +246,7 @@
|
|
|
219
246
|
},
|
|
220
247
|
"color-bg-positive-weak": {
|
|
221
248
|
"$type": "color",
|
|
222
|
-
"$value": "#
|
|
249
|
+
"$value": "#DCFCE7",
|
|
223
250
|
"$extensions": {
|
|
224
251
|
"eds": {
|
|
225
252
|
"cssVariable": "--eds-color-bg-positive-weak"
|
|
@@ -228,7 +255,7 @@
|
|
|
228
255
|
},
|
|
229
256
|
"color-bg-positive-weak-hover": {
|
|
230
257
|
"$type": "color",
|
|
231
|
-
"$value": "#
|
|
258
|
+
"$value": "#BBF7D0",
|
|
232
259
|
"$extensions": {
|
|
233
260
|
"eds": {
|
|
234
261
|
"cssVariable": "--eds-color-bg-positive-weak-hover"
|
|
@@ -273,7 +300,7 @@
|
|
|
273
300
|
},
|
|
274
301
|
"color-bg-warning-weak": {
|
|
275
302
|
"$type": "color",
|
|
276
|
-
"$value": "#
|
|
303
|
+
"$value": "#FEF9C3",
|
|
277
304
|
"$extensions": {
|
|
278
305
|
"eds": {
|
|
279
306
|
"cssVariable": "--eds-color-bg-warning-weak"
|
|
@@ -282,7 +309,7 @@
|
|
|
282
309
|
},
|
|
283
310
|
"color-bg-warning-weak-hover": {
|
|
284
311
|
"$type": "color",
|
|
285
|
-
"$value": "#
|
|
312
|
+
"$value": "#FEF08A",
|
|
286
313
|
"$extensions": {
|
|
287
314
|
"eds": {
|
|
288
315
|
"cssVariable": "--eds-color-bg-warning-weak-hover"
|
|
@@ -435,7 +462,7 @@
|
|
|
435
462
|
},
|
|
436
463
|
"color-fg-warning-contrast": {
|
|
437
464
|
"$type": "color",
|
|
438
|
-
"$value": "#
|
|
465
|
+
"$value": "#A16207",
|
|
439
466
|
"$extensions": {
|
|
440
467
|
"eds": {
|
|
441
468
|
"cssVariable": "--eds-color-fg-warning-contrast"
|
|
@@ -525,13 +552,22 @@
|
|
|
525
552
|
},
|
|
526
553
|
"color-stroke-neutral-secondary": {
|
|
527
554
|
"$type": "color",
|
|
528
|
-
"$value": "#
|
|
555
|
+
"$value": "#9CA3AF",
|
|
529
556
|
"$extensions": {
|
|
530
557
|
"eds": {
|
|
531
558
|
"cssVariable": "--eds-color-stroke-neutral-secondary"
|
|
532
559
|
}
|
|
533
560
|
}
|
|
534
561
|
},
|
|
562
|
+
"color-stroke-neutral-tertiary": {
|
|
563
|
+
"$type": "color",
|
|
564
|
+
"$value": "#E5E7EB",
|
|
565
|
+
"$extensions": {
|
|
566
|
+
"eds": {
|
|
567
|
+
"cssVariable": "--eds-color-stroke-neutral-tertiary"
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
},
|
|
535
571
|
"color-stroke-neutral-weak": {
|
|
536
572
|
"$type": "color",
|
|
537
573
|
"$value": "#F3F4F6",
|
|
@@ -1273,6 +1309,64 @@
|
|
|
1273
1309
|
}
|
|
1274
1310
|
}
|
|
1275
1311
|
},
|
|
1312
|
+
"typography-heading4-fontFamily": {
|
|
1313
|
+
"$type": "fontFamily",
|
|
1314
|
+
"$value": [
|
|
1315
|
+
"Pretendard",
|
|
1316
|
+
"system-ui",
|
|
1317
|
+
"sans-serif"
|
|
1318
|
+
],
|
|
1319
|
+
"$extensions": {
|
|
1320
|
+
"eds": {
|
|
1321
|
+
"cssVariable": "--eds-typography-heading4-fontFamily"
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
"typography-heading4-fontSize": {
|
|
1326
|
+
"$type": "dimension",
|
|
1327
|
+
"$value": {
|
|
1328
|
+
"value": 1.25,
|
|
1329
|
+
"unit": "rem"
|
|
1330
|
+
},
|
|
1331
|
+
"$extensions": {
|
|
1332
|
+
"eds": {
|
|
1333
|
+
"cssVariable": "--eds-typography-heading4-fontSize"
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
"typography-heading4-fontWeight": {
|
|
1338
|
+
"$type": "fontWeight",
|
|
1339
|
+
"$value": 550,
|
|
1340
|
+
"$extensions": {
|
|
1341
|
+
"eds": {
|
|
1342
|
+
"cssVariable": "--eds-typography-heading4-fontWeight"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"typography-heading4-letterSpacing": {
|
|
1347
|
+
"$type": "dimension",
|
|
1348
|
+
"$value": {
|
|
1349
|
+
"value": -0.2,
|
|
1350
|
+
"unit": "px"
|
|
1351
|
+
},
|
|
1352
|
+
"$extensions": {
|
|
1353
|
+
"eds": {
|
|
1354
|
+
"cssVariable": "--eds-typography-heading4-letterSpacing"
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"typography-heading4-lineHeight": {
|
|
1359
|
+
"$type": "dimension",
|
|
1360
|
+
"$value": {
|
|
1361
|
+
"value": 2,
|
|
1362
|
+
"unit": "rem"
|
|
1363
|
+
},
|
|
1364
|
+
"$extensions": {
|
|
1365
|
+
"eds": {
|
|
1366
|
+
"cssVariable": "--eds-typography-heading4-lineHeight"
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1276
1370
|
"typography-title1-fontFamily": {
|
|
1277
1371
|
"$type": "fontFamily",
|
|
1278
1372
|
"$value": [
|