-
Notifications
You must be signed in to change notification settings - Fork 0
Revert "Merge pull request #565" (re-merge as fresh PR) #566
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,6 +111,7 @@ | |
| border-color: var(--sf-btn-color); | ||
| } | ||
| .sf-btn--secondary:hover:not(:disabled, .sf-is-disabled, .sf-is-loading) { | ||
| background: color-mix(in oklab, var(--sf-btn-color) 8%, transparent); | ||
| border-color: var(--sf-btn-color); | ||
| } | ||
|
|
||
|
Comment on lines
113
to
117
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Ungated color-mix hover optional/components.css now uses color-mix() directly in hover backgrounds without an @supports gate, so engines without color-mix() will ignore the hover background tint for .sf-btn--secondary/.sf-btn--ghost. The updated P2/P7 tests no longer cover non-token declarations, so this regression is unlikely to be caught by CI. Agent Prompt
|
||
|
|
@@ -119,19 +120,8 @@ | |
| color: var(--sf-btn-color); | ||
| border-color: transparent; | ||
| } | ||
|
|
||
| /* The subtle hover tint uses color-mix() — a modern colour function. Gate it | ||
| with @supports so engines without color-mix() skip the tint (the border / | ||
| foreground hover cues still apply) instead of dropping the background | ||
| declaration mid-rule. Mirrors the framework-wide gating policy enforced by | ||
| tests/tier1-p2-coverage.test.js + tests/tier1-p7-oldengine.test.js. */ | ||
| @supports (background: color-mix(in oklab, red, red)) { | ||
| .sf-btn--secondary:hover:not(:disabled, .sf-is-disabled, .sf-is-loading) { | ||
| background: color-mix(in oklab, var(--sf-btn-color) 8%, transparent); | ||
| } | ||
| .sf-btn--ghost:hover:not(:disabled, .sf-is-disabled, .sf-is-loading) { | ||
| background: color-mix(in oklab, var(--sf-btn-color) 8%, transparent); | ||
| } | ||
| .sf-btn--ghost:hover:not(:disabled, .sf-is-disabled, .sf-is-loading) { | ||
| background: color-mix(in oklab, var(--sf-btn-color) 8%, transparent); | ||
| } | ||
|
|
||
| /* Outline: transparent to start, fills with the family colour on hover. */ | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,6 @@ | |
| "token-registry.json", | ||
| "dist/css-custom-data.json", | ||
| "configurator/src/data/api-index.generated.json", | ||
| "configurator/src/data/classes.generated.json", | ||
| "configurator/src/data/bundles.generated.json", | ||
| "configurator/src/data/token-registry.generated.json" | ||
| ] | ||
|
Comment on lines
13
to
18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3. Artifacts gate misses classes scripts/artifacts.json no longer declares configurator/src/data/classes.generated.json as an output artifact even though the configurator imports it, so scripts/check-artifacts.js --check will not fail CI when it drifts. This can ship a configurator whose class cheatsheet is out of sync with the framework sources/docs pipeline. Agent Prompt
|
||
|
|
@@ -24,19 +23,8 @@ | |
| "buildCmd": "npm run configurator:sync", | ||
| "outputs": [ | ||
| "configurator/src/data/api-index.generated.json", | ||
| "configurator/src/data/classes.generated.json", | ||
| "configurator/src/data/bundles.generated.json", | ||
| "configurator/src/data/token-registry.generated.json" | ||
| ] | ||
| }, | ||
| { | ||
| "name": "full-api demos", | ||
| "srcPrefixes": ["docs/api-index.json", "package.json", "core/", "optional/"], | ||
| "buildCmd": "node demos/generate.mjs", | ||
| "outputs": [ | ||
| "demos/full-api-demo.html", | ||
| "demos/full-api-demo-with-overrides.html", | ||
| "demos/ultimate-override.css" | ||
| ] | ||
| } | ||
| ] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4. Demo version string stale
🐞 Bug⚙ MaintainabilityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools