File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 116116
117117### Major Changes
118118
119+ - [#5428](https://github.com/scaleway/ultraviolet/pull/5428) [`177fd92`](https://github.com/scaleway/ultraviolet/commit/177fd92f018b692084815705bf10537832368330) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES ⚠️
120+ In order to start using the new style, you will need to import new `<ThemeProvider />` and import new CSS generated at build time:
121+
122+ ```tsx
123+ import { ThemeProvider } from "@emotion/react";
124+ import { consoleLightTheme } from "@ultraviolet/themes";
125+
126+ import { ThemeProvider as ThemeProviderUV } from "@ultraviolet/ui"; // ThemeProvider that generate the theme applied to components
127+ import "@ultraviolet/ui/styles"; // Generated CSS used by components
128+
129+ export const App = (children) => {
130+ <ThemeProvider theme={consoleLightTheme}>
131+ <ThemeProviderUV>{children}</ThemeProviderUV>
132+ </ThemeProvider>;
133+ };
134+ ```
135+
136+ ## 3.0.0-beta.0
137+
138+ ### Major Changes
139+
119140- [#5428](https://github.com/scaleway/ultraviolet/pull/5428) [`177fd92`](https://github.com/scaleway/ultraviolet/commit/177fd92f018b692084815705bf10537832368330) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES ⚠️
120141 In order to start using the new style, you will need to import new `<ThemeProvider />` and import new CSS generated at build time:
121142
You can’t perform that action at this time.
0 commit comments