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 6161
6262### Major Changes
6363
64+ - [#5428](https://github.com/scaleway/ultraviolet/pull/5428) [`177fd92`](https://github.com/scaleway/ultraviolet/commit/177fd92f018b692084815705bf10537832368330) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES ⚠️
65+ In order to start using the new style, you will need to import new `<ThemeProvider />` and import new CSS generated at build time:
66+
67+ ```tsx
68+ import { ThemeProvider } from "@emotion/react";
69+ import { consoleLightTheme } from "@ultraviolet/themes";
70+
71+ import { ThemeProvider as ThemeProviderUV } from "@ultraviolet/ui"; // ThemeProvider that generate the theme applied to components
72+ import "@ultraviolet/ui/styles"; // Generated CSS used by components
73+
74+ export const App = (children) => {
75+ <ThemeProvider theme={consoleLightTheme}>
76+ <ThemeProviderUV>{children}</ThemeProviderUV>
77+ </ThemeProvider>;
78+ };
79+ ```
80+
81+ ## 3.0.0-beta.0
82+
83+ ### Major Changes
84+
6485- [#5428](https://github.com/scaleway/ultraviolet/pull/5428) [`177fd92`](https://github.com/scaleway/ultraviolet/commit/177fd92f018b692084815705bf10537832368330) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES ⚠️
6586 In order to start using the new style, you will need to import new `<ThemeProvider />` and import new CSS generated at build time:
6687
You can’t perform that action at this time.
0 commit comments