braid-design-system 31.2.1 → 31.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# braid-design-system
|
|
2
2
|
|
|
3
|
+
## 31.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- **BraidProvider:** Add `backgroundColor` to html node when `styleBody` is set (defaults to `true`) ([#1047](https://github.com/seek-oss/braid-design-system/pull/1047))
|
|
8
|
+
|
|
3
9
|
## 31.2.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -95,9 +95,8 @@ export const BraidProvider = ({
|
|
|
95
95
|
<TreatProvider theme={theme.treatTheme}>
|
|
96
96
|
{styleBody ? (
|
|
97
97
|
<style type="text/css">{`
|
|
98
|
-
body{margin:0;padding:0;background:${theme.background.lightMode}}
|
|
99
|
-
html.${darkMode}{color-scheme:dark}
|
|
100
|
-
html.${darkMode} body{background:${theme.background.darkMode}}
|
|
98
|
+
html,body{margin:0;padding:0;background:${theme.background.lightMode}}
|
|
99
|
+
html.${darkMode},html.${darkMode} body{color-scheme:dark;background:${theme.background.darkMode}}
|
|
101
100
|
`}</style>
|
|
102
101
|
) : null}
|
|
103
102
|
<VanillaThemeContainer
|