@theme-ui/mdx
Advanced tools
Changelog
v0.6.0-alpha.6 2021-01-22
BREAKING: Default useColorSchemeMediaQuery
to true
. Issue #624, PR
#1373
How to migrate? Add useColorSchemeMediaQuery: false
to your theme if you
don't have this property.
Read more in the docs.
Option for gatsby-plugin-theme-ui
to disable body script
(injectColorFlashScript
, defaulting to true
). Issue #1369, PR #1370
Bump versions @mdx-js/mdx
and @mdx-js/react
to ^1.6.22
,
gatsby-plugin-mdx to ^1.6.0
. PR #1351
Fix: "as" prop on Themed.X components now properly opts out of typechecking
ComponentProps<typeof Themed['div']>
, import
ThemedComponent<'div'>
instead.@theme-ui/prism
: Support multiple highlight wrappers in a single code block.
PR #1393
Changelog
v0.6.0-alpha.5 2021-01-22
Support a default key for object in scales. PR #951
Given the theme
const theme = {
colors: {
primary: {
__default: '#00f',
light: '#33f',
}
}
}
color: 'primary'
resolves to color: '#00f'
.
Changelog
v0.6.0-alpha.4
iframe
tag instead of wrapping div
. Issue
#966, PR #1122Changelog
v0.6.0-alpha.1
Changelog
v0.6.0-alpha.0
Styled
component to Themed
. PR #1323span
instead of div
SxProps
to SxProp
.SxStyleProp
, an alias for ThemeUIStyleObject
removed. Use
ThemeUIStyleObject
instead.sx
props types to all props accepting className
. PR #1308Changelog
v0.5.0-alpha.1 2020-11-26
"^16.14.0 || ^17.0.0"
."^16.14.0 || ^17.0.0"
.Changelog
v0.5.0-alpha.0 2020-11-20
csstype
3. PR #1261
@emotion/react@11
instead of @emotion/core@10
sx
prop types are still global, and we opt in for Emotion css
prop types
(This will change in the future.)