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

feat(theming): add new getCheckeredBackground utility #1793

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

jzempel
Copy link
Member

@jzempel jzempel commented Apr 19, 2024

Description

...and swap out redundant usage.

Detail

Note that final checkered colors will be established throughout the v9 design cycle. The 'border.default' variable was a best guess for now (and closest to the existing v8 color).

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@jzempel jzempel requested a review from a team as a code owner April 19, 2024 20:11
@@ -134,7 +134,7 @@ const toProperty = (object: object, path: string) => {
* `shade`, `offset`, and `transparency` are used as fallbacks to determine the
* color.
*
* @param {Object} [options.theme] Provides values used to resolve the desired color
* @param {Object} options.theme Provides values used to resolve the desired color
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slipped in this JS doc required parameter cleanup

@coveralls
Copy link

Coverage Status

coverage: 96.228% (+0.006%) from 96.222%
when pulling c733c39 on jzempel/checkerboard-util
into 2190e56 on next.

@geotrev
Copy link
Contributor

geotrev commented Apr 22, 2024

Does this need a migration.md entry?

@jzempel
Copy link
Member Author

jzempel commented Apr 22, 2024

Does this need a migration.md entry?

No. Should get captured in the CHANGELOG.

@jzempel jzempel merged commit a745bde into next Apr 22, 2024
6 checks passed
@jzempel jzempel deleted the jzempel/checkerboard-util branch April 22, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants