2.6.0
Released: 09/06/2024
Core
Added
preferredColorScheme
to the App Container, allowing apps to specify which color scheme they wish to use (or to just follow the system theme, as has been default)Reworked the
UseColorScheme
hook to incorporate these changes. This involved removing thetoggle
,setDark
andsetLight
methods, as they were non-functional anyway.Added
brighterWhite
anddarkerBlack
to the list of default colors. These are used in new Threaditor components, and will eventually be used in this library.Added
excludeColors
prop to the Color Picker. The Color Picker will now excludepermaBlack
,permaWhite
andwhite
theme colors by default.
Last updated
Was this helpful?