Skip to content

Commit edf382a

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 a414cce commit edf382a

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

0 commit comments

Comments
 (0)