UNPKG

@snowball-tech/fractal

Version:

Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS

2 lines 325 B
"use client";import{DEFAULT_THEME as e}from"./constants.js";import{createContext as t}from"react";import{jsx as n}from"react/jsx-runtime";const r=t({theme:e});function i({children:t,theme:i=e}){return n(r.Provider,{value:{theme:i},children:t})}export{r as ThemeContext,i as default}; //# sourceMappingURL=ThemeProvider.js.map