Skip to content

feat: add breakpoint tokens and hook#605

Open
silentgeckoaudit3801 wants to merge 1 commit into
Disciplr-Org:mainfrom
silentgeckoaudit3801:feature/breakpoint-tokens
Open

feat: add breakpoint tokens and hook#605
silentgeckoaudit3801 wants to merge 1 commit into
Disciplr-Org:mainfrom
silentgeckoaudit3801:feature/breakpoint-tokens

Conversation

@silentgeckoaudit3801

Copy link
Copy Markdown

Closes #471

Summary

  • add a breakpoint token set under design-system/tokens/breakpoints.json
  • register breakpoint tokens in the token loader/type catalog and expose --breakpoint-* CSS variables
  • add an SSR-safe useBreakpoint hook plus focused token/loader/hook tests and docs

Verification

  • Static API inspection confirmed the token JSON parses and expected references are present.
  • I did not install dependencies or run the project locally in this environment.

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.

Add a breakpoints design token set and a useBreakpoint hook

1 participant