fix(tile): add css token fallbacks - #3203
Conversation
🦋 Changeset detectedLatest commit: 4c04554 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Size Change: 0 B Total Size: 323 kB ℹ️ View Unchanged
|
PR Summary by QodoAdd theme-aware CSS token fallbacks to Tile
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Documentation HealthNo relevant changes in this PR. |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can add REVIEW.md to your repo root and Qodo follows it on every PR |
What I did
light-dark()fallback for--rh-color-text-secondaryinrh-tile-lightdom.css. Shadow CSS was already clean because<rh-tile>is@themable.--rh-color-brand-redon the compact-link icon demos,--rh-space-xlon without-footer-content).<rh-tile>missing css var fallbacks #3181, closes [docs]:<rh-tile>demos missing css fallbacks #3151.Testing Instructions
npm run devin the RHDS directory. The element demo server starts at http://localhost:8000.#ee0000) in light and dark. On Without footer content, the 2×2 grid should still have about 24px gap and padding.npm run lintin the RHDS directory.elements/rh-tileshould not appear in the error list.fix/css-var-fallbacks.Notes to Reviewers
Other elements still fail
rhds/require-token-fallback, so Netlify will not publish a deploy preview for this PR. We will likely have to merge this PR with these errors. Don't get led astray by the errors. We will see these lint errors until we have tackled all of #3119.