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 211211
212212### Major Changes
213213
214+ - [#5428](https://github.com/scaleway/ultraviolet/pull/5428) [`177fd92`](https://github.com/scaleway/ultraviolet/commit/177fd92f018b692084815705bf10537832368330) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES ⚠️
215+ In order to start using the new style, you will need to import new `<ThemeProvider />` and import new CSS generated at build time:
216+
217+ ```tsx
218+ import { ThemeProvider } from "@emotion/react";
219+ import { consoleLightTheme } from "@ultraviolet/themes";
220+
221+ import { ThemeProvider as ThemeProviderUV } from "@ultraviolet/ui"; // ThemeProvider that generate the theme applied to components
222+ import "@ultraviolet/ui/styles"; // Generated CSS used by components
223+
224+ export const App = (children) => {
225+ <ThemeProvider theme={consoleLightTheme}>
226+ <ThemeProviderUV>{children}</ThemeProviderUV>
227+ </ThemeProvider>;
228+ };
229+ ```
230+
231+ ## 3.0.0-beta.0
232+
233+ ### Major Changes
234+
214235- [#5428](https://github.com/scaleway/ultraviolet/pull/5428) [`177fd92`](https://github.com/scaleway/ultraviolet/commit/177fd92f018b692084815705bf10537832368330) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES ⚠️
215236 In order to start using the new style, you will need to import new `<ThemeProvider />` and import new CSS generated at build time:
216237
You can’t perform that action at this time.
0 commit comments