@rovula/ui 0.0.32 → 0.0.34
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/dist/cjs/bundle.css +120 -16
- package/dist/cjs/bundle.js +1 -1
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/Dialog/Dialog.d.ts +4 -1
- package/dist/components/Dialog/Dialog.js +2 -2
- package/dist/esm/bundle.css +120 -16
- package/dist/esm/bundle.js +1 -1
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/Dialog/Dialog.d.ts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/src/theme/global.css +154 -23
- package/dist/stories/ColorGroupPreview.js +20 -22
- package/dist/theme/presets/colors.js +1 -0
- package/dist/theme/tokens/color.css +2 -1
- package/dist/theme/tokens/transparent.css +2 -2
- package/dist/theme/utils.js +12 -1
- package/package.json +3 -2
- package/src/components/Dialog/Dialog.tsx +41 -20
- package/src/stories/ColorGroupPreview.tsx +20 -22
- package/src/theme/presets/colors.js +1 -0
- package/src/theme/tokens/color.css +2 -1
- package/src/theme/tokens/transparent.css +2 -2
- package/src/theme/utils.js +12 -1
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
--other-transparency-grey2-24: rgba(145 158 171 / 0.24);
|
|
54
54
|
--other-transparency-grey2-32: rgba(145 158 171 / 0.32);
|
|
55
55
|
--other-transparency-grey2-48: rgba(145 158 171 / 0.48);
|
|
56
|
-
--other-transparency-white-
|
|
56
|
+
--other-transparency-white-8: rgba(255 255 255 / 0.08);
|
|
57
57
|
--other-transparency-white-12: rgba(255 255 255 / 0.12);
|
|
58
58
|
--other-transparency-white-16: rgba(255 255 255 / 0.16);
|
|
59
59
|
--other-transparency-white-24: rgba(255 255 255 / 0.24);
|
|
60
60
|
--other-transparency-white-32: rgba(255 255 255 / 0.32);
|
|
61
61
|
--other-transparency-white-48: rgba(255 255 255 / 0.48);
|
|
62
|
-
--other-transparency-black-
|
|
62
|
+
--other-transparency-black-8: rgba(0 0 0 / 0.08);
|
|
63
63
|
--other-transparency-black-12: rgba(0 0 0 / 0.12);
|
|
64
64
|
--other-transparency-black-16: rgba(0 0 0 / 0.16);
|
|
65
65
|
--other-transparency-black-24: rgba(0 0 0 / 0.24);
|
package/src/theme/utils.js
CHANGED
|
@@ -13,7 +13,7 @@ export const generateColorConfig = (
|
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
colors[`${baseName}-foreground`] = withColorMixin(`--${baseName}-foreground`);
|
|
16
|
-
colors[`${baseName}`] = withColorMixin(`--state-color-${baseName}-default`);
|
|
16
|
+
colors[`${baseName}`] = withColorMixin(`--state-color-${baseName}-default`); // TODO should be dynamic
|
|
17
17
|
colors[`${baseName}-default`] = withColorMixin(
|
|
18
18
|
`--state-color-${baseName}-default`
|
|
19
19
|
);
|
|
@@ -33,6 +33,17 @@ export const generateColorConfig = (
|
|
|
33
33
|
`--state-color-${baseName}-active`
|
|
34
34
|
);
|
|
35
35
|
|
|
36
|
+
// text
|
|
37
|
+
colors[`${baseName}-text-solid`] = withColorMixin(
|
|
38
|
+
`--state-color-${baseName}-text-solid`
|
|
39
|
+
);
|
|
40
|
+
colors[`${baseName}-text-outline`] = withColorMixin(
|
|
41
|
+
`--state-color-${baseName}-text-outline`
|
|
42
|
+
);
|
|
43
|
+
colors[`${baseName}-text-pressed`] = withColorMixin(
|
|
44
|
+
`--state-color-${baseName}-text-pressed`
|
|
45
|
+
);
|
|
46
|
+
|
|
36
47
|
return colors;
|
|
37
48
|
};
|
|
38
49
|
|