Skip to content

feature/design-tokens-module - #997

Draft
d4mation wants to merge 993 commits into
masterfrom
feature/design-tokens-module
Draft

feature/design-tokens-module#997
d4mation wants to merge 993 commits into
masterfrom
feature/design-tokens-module

Conversation

@d4mation

@d4mation d4mation commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🎫 https://linear.app/nexcess/project/design-system-7186b33eeebd/overview

...

Also relies on stellarwp/kadence-helpers#7

Checklist

  • I have performed a self-review.
  • No unrelated files are modified.
  • No debugging statements exist (Ex: console.log, error_log).
  • There are no warnings or notices in the wordpress error log.
  • Passes all tests (linting, acceptance, & unit)

Block specific checklist (where relevant)

  • Tested with an existing instance of this block .
  • Tested creating a new instance of this block.
  • Tested with Dynamic content & Elements.

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🎉 Zip build complete

Build timestamp

d4mation and others added 29 commits July 17, 2026 15:11
The reader lives in the Css_Var namespace and is keyed by the Slot\*_Target it
reads, so Slot_Target_Reader::read( Font_Size_Target::class ) names its input
(a slot target) rather than its output, and drops the Scale_Reader::scale()
stutter. The return is still a slug => value scale.
Follows the class/method rename from the parent PR through to the spacing
accessor added here.
…esign-alignment

[DTM] SOFT-3849 [5/5]: preset button, dropdown, and inline indicator redesign
…-composite

SOFT-3529 [1/2] Remove the unused typography composite type
…hy-tokens

SOFT-3529 [2/2] Wire kadence/singlebtn typography to discrete tokens
[DTM] SOFT-3849 [base] Integration base for button design-token control mapping and indicators
…lary

SOFT-3857 [1/8] Responsive/clamp token vocabulary + clamp grammar
…lidation

SOFT-3857 [2/8] Validate the responsive/clamp leaf-extension shape
…hema

SOFT-3857 [3/8] Publish the responsive/clamp shape in the DTCG JSON schema
…ve-clamp

SOFT-3857 [4/8] Resolve and render responsive/clamp token values
…d-reseed

SOFT-3857 [5/8] Redeclare token vars per breakpoint + seed responsive font-size
SOFT-3857 [6/8] Surface authored responsive shapes in the admin feed
SOFT-3857 [7/8] Per-breakpoint token editor in the Style Book
SOFT-3857 [8/8] Responsive block-attribute write-back seam
…-size-scale

Design Tokens scale bridges [1/3]: Tokenize the fluid font-size scale
…acing-scale

Design Tokens scale bridges [2/3]: Token-driven spacing scale
…bridges

Design Tokens scale bridges [3/3]: Per-set legacy bridge resolution
…utput tests

Repin @kadence/helpers to the branch adding resolveTokenAlias()/isTokenAlias()
and alias-aware output helpers, and cover the plugin-side consumption:

- spacer save-markup: an aliased dividerColor serializes into the SVG stroke as
  var(--kb-token--<id>); hex/palette stay byte-identical.
- KadenceBlocksCSS: aliased border-radius / border-width / size / shadow resolve
  to a bare var() across the dimension paths nearly all blocks funnel through.
…seam

The alias-aware output now lives behind the `@kadence/helpers` `@wordpress/hooks`
seam, so the token/alias logic stays in this plugin instead of the shared library.

- Add `src/extension/design-tokens/alias.js`: `isTokenAlias` / `resolveTokenAlias`
  / `TOKEN_VAR_PREFIX`, the byte-exact JS peer of the PHP `Alias` + `Css_Var`.
- Register the resolver on `kadence.helpers.colorValue` / `kadence.helpers.dimensionValue`
  in `early-filters.js` via `registerTokenAliasFilters`.
- Tests: primitives + a PHP/JS conformance fixture; the spacer save-markup and
  `KadenceBlocksCSS` integration tests register the real filter and prove the
  end-to-end seam (and that an alias is inert without it).
d4mation and others added 30 commits July 29, 2026 21:11
…r-picker' into soft-3982-palette-coverage-and-delta-model

# Conflicts:
#	includes/resources/Design_Tokens/Projection/Palette/Projector.php
…r-picker' into soft-3982-palette-coverage-and-delta-model
…or-overlay-non' into soft-3989-b3-palette-rest-surface
…lette-selector-ui-style-book-editor-color-picker
…r-picker' into soft-3982-palette-coverage-and-delta-model

# Conflicts:
#	includes/resources/Design_Tokens/Rest/V1/Palettes_Controller.php
…_var-projection-to-the-single-active-set

Color Palette Switching [1/9] - Collapse the Css_Var projection to the single active set
…iant-projection-to-the-single-active-set

Color Palette Switching [2/9] - Collapse the Variant projection to the single active set
…lock-token-set-override-surface

Color Palette Switching [3/9] - Remove the per-block token-set override surface
…ning-multi-set-support-code

Color Palette Switching [4/9] - Retire the remaining multi-set support code
…ettes-extensions-section-schema

Color Palette Switching [5/9] - Add the colorPalettes $extensions section
…es-reader-resolve-time-color-overlay-non

Color Palette Switching [6/9] - Effective_Palettes reader + resolve-time color overlay
…face

Color Palette Switching [7/9] - Palette REST surface
…-ui-style-book-editor-color-picker

Color Palette Switching [8/9] - Palette selector UI (Style Book + editor)
…d-delta-model

Color Palette Switching [9/9] - Per-block palette re-skins semantics and variants (full color-graph switch layer)
…to soft-3992-preset-css-var-rename

# Conflicts:
#	includes/resources/Design_Tokens/Projection/Preset/Css_Builder.php
#	tests/wpunit/Resources/Design_Tokens/Projection/Preset/Css_BuilderTest.php
SOFT-3992: rename the variant CSS-var namespace to preset, and the token-set concept to library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants