Skip to content

Commit b340fbf

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 ae2a8ee commit b340fbf

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
@@ -116,6 +116,27 @@
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

0 commit comments

Comments
 (0)