segmentio / evergreen

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

what's the function mergeTheme in v6? #1481

Closed tiyee closed 2 years ago

tiyee commented 2 years ago

I use this function to enhance defaultTheme, but when I migrating from v5 to v6, it notice that evergreen-ui don't export the function.

image
brandongregoryscott commented 2 years ago

What minor version are you using? The mergeTheme utility function is available from v6.7.0 onwards 😄

tiyee commented 2 years ago

@brandongregoryscott v6.6.3

brandongregoryscott commented 2 years ago

@tiyee Try upgrading to v6.7.0+ and that should resolve the issue. I wasn't aware there was a mergeTheme available in v5, but it must have been removed for the original v6 release.