Skip to content

[NO-ISSUE] feat(theme): add Theme foundations page + theme-colors export#718

Open
gab-az wants to merge 4 commits into
devfrom
feat/theme-colors-foundations
Open

[NO-ISSUE] feat(theme): add Theme foundations page + theme-colors export#718
gab-az wants to merge 4 commits into
devfrom
feat/theme-colors-foundations

Conversation

@gab-az

@gab-az gab-az commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a Theme page to the Storybook Foundations section that documents every mode-aware semantic color token shipped in @aziontech/theme/globals.css. The catalog is generated straight from the token source, so it can never drift from what actually ships: each swatch renders the live var(--*) token, so toggling the theme in the toolbar previews light/dark, and clicking a row copies the CSS variable.

To power this without duplicating token logic, @aziontech/theme now exposes a new public entry, @aziontech/theme/theme-colors (→ src/scripts/compile-theme.js), which the page consumes via compileThemeVars.

Notes

  • New public export: @aziontech/theme/theme-colorsfeat(theme), cutting a minor for @aziontech/theme.
  • Storybook-only changes (foundations page + sidebar order) are a separate docs(storybook) commit and do not trigger a release (apps/storybook is not a versioned package).
  • No new runtime dependencies. No breaking changes.

@gab-az gab-az requested a review from a team as a code owner July 2, 2026 18:54
@isaquebock

Copy link
Copy Markdown
Contributor

Criar listagem de token e fazer clean up do Theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants