@theme-ui/color-modes
Advanced tools
Changelog
v0.3.0 2020-01-22
@theme-ui/core
, @theme-ui/mdx
, and
@theme-ui/color-modes
context.components
(still available through MDX context)ColorModeProvider
componenttheme.initialColorMode
- use initialColorModeName
insteadLayout
, Header
, Main
, Footer
) - use Box
and Flex
insteaduseColorSchemeMediaQuery
flag, it will initialize the mode to
light
when @media (prefers-color-scheme: light)
is enabledColorMode
componentuseBodyStyles: false
to disableThemeStateProvider
<del>
tag was incorrectly specified as delete
@theme-ui/editor
API has changed significantly. See the README.md for
more information.@theme-ui/components
: on Grid component, allow custom columns
definitions
via strings #541@theme-ui/gatsby-theme-style-guide
: add docs on shadowing #558@theme-ui/preset-polaris
#567