Open oliviertassinari opened 1 month ago
Add
import { extendTheme } from '@pigment-css/vite-plugin'; extendTheme({});
to any of your pages
No error
I would like to use the theme value directly in JavaScript, in my case for https://github.com/oliviertassinari/react-conf-2024-pigment-css/blob/b55ff16e86831ac790972659546bc01484861c19/src/App.tsx#L30.
npx @mui/envinfo
Search keywords: -
Steps to reproduce
Add
to any of your pages
Current behavior
Expected behavior
No error
Context
I would like to use the theme value directly in JavaScript, in my case for https://github.com/oliviertassinari/react-conf-2024-pigment-css/blob/b55ff16e86831ac790972659546bc01484861c19/src/App.tsx#L30.
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: -