Skip to content

v1.1.1

Latest

Choose a tag to compare

@gnomical gnomical released this 27 Apr 03:11
03ee8a6

What's new

color-scheme support

ThemeProvider now sets color-scheme on <html> when the active theme changes, so native browser UI — scrollbars, form controls, and system dialogs — renders in the correct light or dark style.

For themes mapped in systemThemes.dark and systemThemes.light, the value is inferred automatically. For any other theme, a new optional colorScheme field on ThemeConfig lets you declare it explicitly:

turtle: {
  config: {
    colorScheme: "light",
  },
  vars: { ... },
}

No changes required for existing configurations that use systemThemes.


Full Changelog: v1.1.0...v1.1.1