Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🐛 Fix missing selector on "default" color #2888

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

mimarz
Copy link
Collaborator

@mimarz mimarz commented Dec 12, 2024

Found a bug introduced in #2884, not adding a changeset since we haven't released that change yet.

Bug: When building the first color did not get :root, [data-color-scheme], selector. This was due to buildOptions not being defined.

Fixing this for now, but we should rewrite this to avoid hidden globals. All functions should be pure functions, so that its clear for maintaners where dependencies/parameters come from and avoid side-effects.

Found a bug when building that first color did not get `:root, [data-color-scheme],` selector. This was due to `buildOptions` not being defined. Fixing this for now, but we should rewrite this to avoid hidden globals. All functions should be pure functions, so that its clear for maintaners where dependencies/parameters come from and avoid side-effects.
Copy link

changeset-bot bot commented Dec 12, 2024

⚠️ No Changeset found

Latest commit: 5b0fed7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link
Contributor

github-actions bot commented Dec 12, 2024

Preview deployments for this pull request:

Storybook - 12. Dec 2024 - 08:44

Copy link
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 55.12% 3185 / 5778
🔵 Statements 55.12% 3185 / 5778
🔵 Functions 86.6% 181 / 209
🔵 Branches 77.01% 516 / 670
File CoverageNo changed files found.
Generated in workflow #1248 for commit 5b0fed7 by the Vitest Coverage Report Action

@mimarz mimarz merged commit 9a85781 into next Dec 12, 2024
13 checks passed
@mimarz mimarz deleted the fix-missing-selector-in-tokens-build branch December 12, 2024 08:01
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