@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
2 lines • 322 B
JavaScript
"use client";import{jsx as n}from"react/jsx-runtime";import{createContext as r}from"react";import{DEFAULT_THEME as e}from"./constants";const m=r({theme:e});function h({children:t,theme:o=e}){return n(m.Provider,{value:{theme:o},children:t})}export{m as ThemeContext,h as default};
//# sourceMappingURL=ThemeProvider.js.map