segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.38k stars 830 forks source link

Update ComponentStyles type to override selectors w/ typed keys #1613

Closed brandongregoryscott closed 1 year ago

brandongregoryscott commented 1 year ago

Overview

As noted in https://github.com/segmentio/evergreen/discussions/1608#discussioncomment-4871317, the types for the Theme are out of date as of the v7 release which moved selectors in the theme object. Tested it out in a local CRA instance using the code in the response.

Screenshots (if applicable)

image

Documentation

netlify[bot] commented 1 year ago

Deploy Preview for evergreen-storybook ready!

Name Link
Latest commit bc6c843bbbdd958b17d0c37151c007f10235a3ef
Latest deploy log https://app.netlify.com/sites/evergreen-storybook/deploys/63e1766539059300091e5635
Deploy Preview https://deploy-preview-1613--evergreen-storybook.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.