-
|
Hi! I was wondering if Theme UI has an option that doesn't require React? Emotion has |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Getting The layers of Theme UI libraries look more or less like this:
If you're interested in zero-runtime / low-JavaScript solutions, you should be able to use |
Beta Was this translation helpful? Give feedback.
Getting
jsxpragma working with Preact should be possible, but if you're not using React-like library or you want to whip up your ownsxprop@theme-ui/cssshould give you everything you need.The layers of Theme UI libraries look more or less like this:
@theme-ui/csscontains all "core logic".@theme-ui/coreintroducesjsxfunction for React and a simple ThemeProvider.@theme-ui/theme-provideruses@theme-ui/color-modesand@mdx-js/react` to add color modes and styling MDXtheme-uireexports everything you need from aforementioned libraries and@theme-ui/componentsfor a batteries-included experience.If you're interested in zero-runtime / low-JavaScript solutions, you should be able to use