Skip to content

Releases: system-ui/theme-ui

v0.8.1

05 May 12:30

Choose a tag to compare

🐛 Bug Fix

Authors: 2

v0.8.0

05 May 09:20

Choose a tag to compare

🔥 Breaking Changes and Deprecations

  • BREAKING: theme.config.useRootStyles now defaults to true following
    deprecation of useBodyStyles. Styles from theme.styles.root are now added
    to <html> element by default.

  • Moved theme configuration options to config object in theme.

    • Deprecations: useRootStyles, useCustomProperties,
      useColorSchemeMediaQuery, useBorderBox, and useLocalStorage options on
      the theme object are now scoped under a config object on the theme, and
      the root-level options, now deprecated, will be removed in a future release.

    (e.g. you should be setting theme.config.useBorderBox instead of
    theme.useBorderBox)

    • ⚠ All config options should be migrated at once. If Theme UI sees
      theme.config exists, it won't look for options on the theme.
  • Removed APIs, previously deprecated in 0.6.0

    • theme.useBodyStylestheme.config.useRootStyles
    • StyledThemed

🚀 Enhancements

  • @theme-ui/color-modes, @theme-ui/css, gatsby-plugin-theme-ui
    • Refactor color objects and expose default colors as a mode #1639 (@fcisio)

📝 Documentation

Authors: 4


⚠ This version has a bug with serverside rendering in projects without explicit Emotion SSR config. Use v0.8.1 instead. ⚠

v0.8.0-develop.0

28 Apr 21:31
01e73cd

Choose a tag to compare

v0.8.0-develop.0 Pre-release
Pre-release

🚀 Enhancement

  • @theme-ui/color-modes, @theme-ui/css, gatsby-plugin-theme-ui
    • Refactor color objects and expose default colors as a mode #1639 (@fcisio)

🐛 Bug Fix

⚠️ Pushed to develop

  • docs: useColorSchemeMediaQuery defaults to true (@hasparus)

Authors: 3

v0.7.5

28 Apr 21:20

Choose a tag to compare

🐛 Bug Fix

  • @theme-ui/css

📝 Docs

  • docs: useColorSchemeMediaQuery defaults to true (@hasparus)

Authors: 2

v0.7.5-develop.0

28 Apr 19:44
7e9abe3

Choose a tag to compare

v0.7.5-develop.0 Pre-release
Pre-release

🐛 Bug Fix

🔩 Dependency Updates

Authors: 2

v0.7.4

27 Apr 20:43

Choose a tag to compare

🐛 Bug Fix

Authors: 1

v0.7.4-develop.2

27 Apr 09:20
6208db0

Choose a tag to compare

v0.7.4-develop.2 Pre-release
Pre-release

🐛 Bug Fix

🔩 Dependency Updates

Authors: 2

v0.7.4-develop.1

25 Apr 02:24
24bf23a

Choose a tag to compare

v0.7.4-develop.1 Pre-release
Pre-release

🐛 Bug Fix

Authors: 1

v0.7.4-develop.0

25 Apr 02:13
b61a7d9

Choose a tag to compare

v0.7.4-develop.0 Pre-release
Pre-release

🐛 Bug Fix

  • Add link to JSX Pragma page on Getting Started doc (@lachlanjc)

Authors: 1

(v0.7.3) `scroll-margin` in space scale

22 Apr 07:47

Choose a tag to compare

v0.7.3 (Wed Apr 21 2021)

🎉 This release contains work from a new contributor! 🎉

❤️ David Dios (@dios-david)

Thanks for all your work!

✨ New Features

🐛 Bug Fix

  • @theme-ui/css
    • Return negative number from lookup if theme value is a number #1665 (@kenny-f)

🔩 Dependency Updates

Authors: 3