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 the toggle, setDark and setLight methods, as they were non-functional anyway.

  • Added brighterWhite and darkerBlack 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 exclude permaBlack, permaWhite and white theme colors by default.

Last updated

Was this helpful?