Skip to content

Release 1.7.1#1713

Merged
Jura merged 32 commits intomasterfrom
develop
Apr 7, 2026
Merged

Release 1.7.1#1713
Jura merged 32 commits intomasterfrom
develop

Conversation

@Jura
Copy link
Copy Markdown
Member

@Jura Jura commented Mar 23, 2026

No description provided.

Jura and others added 13 commits March 13, 2026 16:35
- Add BREAKPOINTS config and BREAKPOINT_CUSTOM_PROPERTIES_PATH constant to transform-tokens.js
- Add extractBreakpointTokens() to resolve breakpoint token values
- Add generateBreakpointCustomProperties() to produce media-query-wrapped CSS custom properties
- Generate _breakpoint-custom-properties.scss with mobile/tablet/desktop @media blocks
- Import new file in base-minimal.scss and base-minimal-no-grid.scss

Co-authored-by: Jura <417604+Jura@users.noreply.github.com>
Co-authored-by: Jura <417604+Jura@users.noreply.github.com>
- Add tokenReferenceToVarRef() helper in transform-tokens.js that converts
  token references like {fontsize.24} to var(--undpds-font-size-24)
- Update extractBreakpointTokens() to preserve rawValue alongside resolved fallback
- Update generateBreakpointCustomProperties() to emit var() references instead
  of hardcoded concrete values
- Regenerate _breakpoint-custom-properties.scss with semantic var() references
- Run npm run build and commit compiled production assets in docs/

Co-authored-by: Jura <417604+Jura@users.noreply.github.com>
- Rewrite generateBreakpointCustomProperties() in transform-tokens.js:
  · Add plain :root default block (no media query) with all 15 mobile values
  · Remove the old @media (max-width: 30em) mobile block entirely
  · Tablet range block: only 3 tokens that differ from mobile (display sizes)
  · Desktop block: only 12 tokens that differ from mobile baseline
  · Tokens that are identical across all breakpoints are declared once only
- Regenerate _breakpoint-custom-properties.scss
- npm run build: compile production assets in docs/

Co-authored-by: Jura <417604+Jura@users.noreply.github.com>
Agent-Logs-Url: https://github.com/undp/design-system/sessions/98dc69a7-8dca-4f19-b2cc-19a7e80840e4
Mobile-first breakpoint tokens: deduplicate via default :root block
…cit-color

#1397 -HTML links inherit color from containers
…-using-smaller-font-size

#1417 - variable Heading size implementation for Homepage Hero component
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 23, 2026

Deploying design-system with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3c06b9a
Status:⚡️  Build in progress...

View logs

@Jura Jura merged commit db96bd4 into master Apr 7, 2026
1 of 2 checks passed
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