@maggioli-design-system/styles 11.7.0 → 13.0.0
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/css/animations.css +9 -0
- package/dist/css/base.css +2 -2
- package/dist/css/colors-hex-brand-synbee.css +1 -1
- package/dist/css/colors-hex-brand.css +1 -1
- package/dist/css/colors-hex-default.css +1 -1
- package/dist/css/colors-hex-label.css +1 -1
- package/dist/css/colors-hex-status.css +1 -1
- package/dist/css/colors-hex-synbee-v1.css +1 -1
- package/dist/css/colors-hex-tones.css +1 -1
- package/dist/css/colors-hex.css +1 -1
- package/dist/css/colors-rgb-brand-synbee.css +67 -67
- package/dist/css/colors-rgb-brand.css +133 -133
- package/dist/css/colors-rgb-default.css +559 -559
- package/dist/css/colors-rgb-label.css +331 -331
- package/dist/css/colors-rgb-status.css +133 -133
- package/dist/css/colors-rgb-synbee-v1.css +1009 -1009
- package/dist/css/colors-rgb-tones.css +166 -166
- package/dist/css/colors-rgb.css +1864 -1864
- package/dist/css/globals.css +5 -2
- package/dist/tailwind/components.css +27 -10
- package/package.json +13 -13
- package/tailwind.config.js +4 -4
package/dist/css/globals.css
CHANGED
|
@@ -9,10 +9,13 @@
|
|
|
9
9
|
--magma-dropdown-z-index: 4000;
|
|
10
10
|
--magma-header-z-index: 1000;
|
|
11
11
|
--magma-modal-z-index: 2000;
|
|
12
|
+
--magma-outline-animation-duration: 1.5s;
|
|
12
13
|
--magma-outline-blur-offset: 6px;
|
|
13
|
-
--magma-outline-blur:
|
|
14
|
+
--magma-outline-blur-color: transparent;
|
|
15
|
+
--magma-outline-blur: 2px solid var(--magma-outline-blur-color);
|
|
14
16
|
--magma-outline-focus-offset: 2px;
|
|
15
|
-
--magma-outline-focus:
|
|
17
|
+
--magma-outline-focus-color: rgb(var(--tone-neutral-05));
|
|
18
|
+
--magma-outline-focus: 2px solid var(--magma-outline-focus-color);
|
|
16
19
|
--magma-overlay-blur: var(--magma-backdrop-blur);
|
|
17
20
|
--magma-overlay-color: var(--magma-backdrop-color);
|
|
18
21
|
--magma-overlay-opacity: 0.5;
|
|
@@ -1,29 +1,46 @@
|
|
|
1
1
|
@tailwind components;
|
|
2
2
|
|
|
3
3
|
@layer components {
|
|
4
|
-
.focus-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
.focus-bounce {
|
|
5
|
+
animation-duration: var(--magma-outline-animation-duration, 1s);
|
|
6
|
+
animation-fill-mode: forwards;
|
|
7
|
+
animation-iteration-count: infinite;
|
|
8
|
+
animation-name: focus-bounce;
|
|
9
|
+
animation-play-state: paused;
|
|
10
|
+
animation-timing-function: theme('transitionTimingFunction.out');
|
|
11
|
+
outline: var(--magma-outline-blur);
|
|
12
|
+
transition-duration: 200ms;
|
|
13
|
+
transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
|
|
14
|
+
transition-timing-function: ease-in-out;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.focus-bounce--focused,
|
|
18
|
+
.focus-bounce:focus-visible {
|
|
19
|
+
|
|
20
|
+
--magma-outline-blur: var(--magma-outline-focus);
|
|
21
|
+
|
|
22
|
+
animation-play-state: running;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.focus-zoom {
|
|
8
26
|
@apply
|
|
9
27
|
duration-200
|
|
10
28
|
ease-out;
|
|
11
29
|
|
|
12
|
-
outline-offset: var(--magma-outline-blur-offset);
|
|
13
30
|
outline: var(--magma-outline-blur);
|
|
31
|
+
outline-offset: var(--magma-outline-blur-offset);
|
|
14
32
|
transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
|
|
15
33
|
}
|
|
16
34
|
|
|
17
|
-
.focus-
|
|
18
|
-
.
|
|
19
|
-
.focusable:focus-visible {
|
|
35
|
+
.focus-zoom--focused,
|
|
36
|
+
.focus-zoom:focus-visible {
|
|
20
37
|
|
|
21
38
|
--magma-outline-blur-offset: var(--magma-outline-focus-offset);
|
|
22
39
|
--magma-outline-blur: var(--magma-outline-focus);
|
|
23
40
|
}
|
|
24
41
|
|
|
25
|
-
.focus-light-
|
|
26
|
-
.
|
|
42
|
+
.focus-zoom--light.focus-zoom--focused,
|
|
43
|
+
.focus-zoom--light:focus-visible {
|
|
27
44
|
|
|
28
45
|
--magma-outline-blur: 2px solid rgb(var(--tone-neutral));
|
|
29
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "This module contains SCSS and CSS styles used by Maggioli Design System, it also makes available a Tailwind config based on Maggioli design tokens.",
|
|
5
5
|
"main": "./tailwind.config.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
],
|
|
42
42
|
"license": "ISC",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@fontsource/karla": "
|
|
45
|
-
"@fontsource/merriweather": "
|
|
46
|
-
"@fontsource/roboto": "
|
|
47
|
-
"@fontsource/roboto-mono": "
|
|
48
|
-
"@maggioli-design-system/design-tokens": "
|
|
49
|
-
"normalize.css": "
|
|
44
|
+
"@fontsource/karla": "5.0.16",
|
|
45
|
+
"@fontsource/merriweather": "5.0.8",
|
|
46
|
+
"@fontsource/roboto": "5.0.8",
|
|
47
|
+
"@fontsource/roboto-mono": "5.0.14",
|
|
48
|
+
"@maggioli-design-system/design-tokens": "11.0.0",
|
|
49
|
+
"normalize.css": "8.0.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"autoprefixer": "
|
|
53
|
-
"postcss-cli": "
|
|
54
|
-
"postcss": "
|
|
55
|
-
"postcss-import": "
|
|
56
|
-
"tailwindcss": "
|
|
52
|
+
"autoprefixer": "10.4.16",
|
|
53
|
+
"postcss-cli": "10.1.0",
|
|
54
|
+
"postcss": "8.4.31",
|
|
55
|
+
"postcss-import": "15.1.0",
|
|
56
|
+
"tailwindcss": "3.3.3"
|
|
57
57
|
}
|
|
58
|
-
}
|
|
58
|
+
}
|
package/tailwind.config.js
CHANGED
|
@@ -69,10 +69,10 @@ module.exports = {
|
|
|
69
69
|
},
|
|
70
70
|
extend: {
|
|
71
71
|
boxShadow: {
|
|
72
|
-
'sharp-lg': '0 0 1px 1px
|
|
73
|
-
'sharp-md': '0 0 1px 1px
|
|
74
|
-
sharp: '0 0 1px 1px
|
|
75
|
-
'sharp-sm': '0 0 1px 1px
|
|
72
|
+
'sharp-lg': '0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05)',
|
|
73
|
+
'sharp-md': '0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06)',
|
|
74
|
+
sharp: '0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1)',
|
|
75
|
+
'sharp-sm': '0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05)',
|
|
76
76
|
},
|
|
77
77
|
fontSize: {
|
|
78
78
|
...fontSize,
|