fix(demo): tighten visual test assertions and clarify customizer labels - #46
Merged
Conversation
The column headings ("Light mode" / "Dark mode") already provide the
mode context, so showing --sf-color-primary-light inside a "Light mode"
column made the suffix look like a tint level rather than a mode
qualifier. Labels now show --sf-color-primary in both columns;
data-token attributes retain the full variable name for correct
runtime behaviour.
https://claude.ai/code/session_017qrqrJx5LVgebTEPqs6bmt
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the Theme Customizer UI in ChangesTheme Customizer Label Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
$(cat <<'EOF'
Summary
.is-loadingcolor assertion — replace the loose/rgba?\(.*0\)|transparent/regex (which could falsely pass on opaquergb()values containing0) with an explicit check for'transparent'orrgba(...)with alpha exactly0isStyledassertion in the disabled-button test — the value was computed but never asserted; also extends the condition to covercursor: not-allowed-light/-darksuffix from theme customizer labels — labels inside the "Light mode" / "Dark mode" columns now show--sf-color-primaryinstead of--sf-color-primary-light;data-tokenattributes retain the full variable name so live preview behaviour is unchangedTest plan
tests/demo-visual.spec.jspass with Playwrightdocs/demo.htmlshow clean token names without mode suffixhttps://claude.ai/code/session_017qrqrJx5LVgebTEPqs6bmt
EOF
)
Generated by Claude Code
Summary by CodeRabbit