Skip to content

Commit 79f7d4a

Browse files
scaleway-botgithub-actions[bot]
authored andcommitted
chore: release (beta) (#5427)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 85b2440 commit 79f7d4a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

packages/ui/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,27 @@
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

0 commit comments

Comments
 (0)