Skip to content

Conversation

@jzempel
Copy link
Member

@jzempel jzempel commented May 6, 2024

Description

Adds two new global Storybook controls, colors.dark and colors.light under a dedicated "Variables" section that allows color variable tweaks for every component demo.

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 May 6, 2024 18:07
shade,
colors: theme.colors,
palette: theme.palette,
opacity: theme.opacity,
Copy link
Member Author

Choose a reason for hiding this comment

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

realized during testing that changes to the theme's opacity were not breaking memoization as expected.

Copy link
Contributor

@geotrev geotrev left a comment

Choose a reason for hiding this comment

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

:shipit:

@jzempel jzempel merged commit 717a8d5 into next May 7, 2024
@jzempel jzempel deleted the jzempel/story-variables branch May 7, 2024 12:46
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.

4 participants