Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@theme-ui/theme-provider

Package Overview
Dependencies
Maintainers
4
Versions
426
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theme-ui/theme-provider - npm Package Versions

1
43

0.6.0-canary.15c7a0b.0

Diff

hasparus
published 0.6.0-canary.4b34c2c.0 •

hasparus
published 0.6.0-canary.1580.da085b2e079563f137544981e74abe6ec948217d.0 •

hasparus
published 0.6.0-canary.1544.8486957e8f9c294d49d8e43485143e2186217b1e.0 •

hasparus
published 0.6.0-alpha.8 •

Changelog

Source

v0.6.0-alpha.8 2021-02-19

  • Make the rename of Styled to Themed non-breaking. Add a deprecation warning on Styled until a future release. PR #1461

  • Paragraph component's hardcoded responsive style has been removed (issue #1476)

  • Fix issue where css custom vars are only added to body if modes is in the colors declaration of the theme.

  • BREAKING: Move theme configuration options to config object in theme.

hasparus
published 0.6.0-canary.1544.ef6e7606c5992bed21b9a7d71b04e8b6ef37780d.0 •

hasparus
published 0.6.0-canary.1544.5359f8a1e408a4dfeb74a9ae39688270286e534a.0 •

hasparus
published 0.6.0-canary.c5a716a.0 •

hasparus
published 0.6.0-canary.1544.3ce24759664e3c638354903f9eebb194f2bae7ec.0 •

hasparus
published 0.6.0-alpha.7 •

Changelog

Source

v0.6.0-alpha.7 2021-02-15

  • Breaking TypeScript: Known colors (primary, text, background, accent, secondary) in ColorMode can now be nested scales.

    The following no longer typechecks, as colors.primary can be an object.

    sx={{
      color: theme => theme.colors?.primary?.toUpperCase()
    }}
    

    But the following code still works.

    sx={{
      color: theme => theme.colors?.primary
    }}
    

    If colors.primary is an object, colors.primary.__default is used.

  • Add theme.useRootStyles configuration option (false by default). Set it to true to add styles.root to html instead of body. theme.useBodyStyles configuration option still defaults to true, but it's going in to be deprecated in favor of theme.useRootStyles in the future.

  • <img src="https://emojis.slackmojis.com/emojis/images/1479745458/1383/typescript.png?1479745458" width="16" height="16" /> Accept `false` in responsive tuple types. PR #1499
  • Skip false values before passing style objects to Emotion. Issue #1297, PR #1460.

    • <img src="https://emojis.slackmojis.com/emojis/images/1479745458/1383/typescript.png?1479745458" width="16" height="16" /> Allow `false` as style property value in TS types.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc