Skip to content

fix: automate base theme extraction from global.css in extract-theme-css.ts - #1183

Open
syrfmy wants to merge 1 commit into
qwikifiers:mainfrom
syrfmy:fix/automate-base-theme-extraction
Open

fix: automate base theme extraction from global.css in extract-theme-css.ts#1183
syrfmy wants to merge 1 commit into
qwikifiers:mainfrom
syrfmy:fix/automate-base-theme-extraction

Conversation

@syrfmy

@syrfmy syrfmy commented Aug 2, 2026

Copy link
Copy Markdown

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests
  • Other

Why is it needed?

Closes #1123

The base theme in extract-theme-css.ts was hardcoded as a copy of global.css. Instead of manually keeping them in sync, this PR extracts it dynamically so it's always up to date.

Also fixed a missing --shadow-2xs variable in the test fixture of extract-theme-css.spec.ts.

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have ran pnpm change and documented my changes
  • I have add necessary docs (if needed)
  • Added new tests to cover the fix / functionality

@changeset-bot

changeset-bot Bot commented Aug 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: eb1acc5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@qwik-ui/utils Patch
qwik-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@syrfmy
syrfmy force-pushed the fix/automate-base-theme-extraction branch from 55dc923 to b8255c4 Compare August 7, 2026 04:12
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@syrfmy

syrfmy commented Aug 7, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@syrfmy

syrfmy commented Aug 7, 2026

Copy link
Copy Markdown
Author

recheck

github-actions Bot added a commit that referenced this pull request Aug 7, 2026
@syrfmy
syrfmy force-pushed the fix/automate-base-theme-extraction branch from b8255c4 to eb1acc5 Compare August 10, 2026 15:23
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.

[📖] packages/utils/src/theme/extract-theme-css.ts base theme is hard copy/pasted from global.css

1 participant