@maggioli-design-system/styles 10.0.1 → 11.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/base.css CHANGED
@@ -21,12 +21,12 @@ body{
21
21
  text-size-adjust: 100%;
22
22
  }
23
23
  ::-moz-selection {
24
- background-color: var(--selection-background, rgb(var(--label-sky-09)));
25
- color: var(--selection-color, rgb(var(--label-sky-01)));
24
+ background-color: var(--magma-selection-background, rgb(var(--label-sky-09)));
25
+ color: var(--magma-selection-color, rgb(var(--label-sky-01)));
26
26
  }
27
27
  ::selection {
28
- background-color: var(--selection-background, rgb(var(--label-sky-09)));
29
- color: var(--selection-color, rgb(var(--label-sky-01)));
28
+ background-color: var(--magma-selection-background, rgb(var(--label-sky-09)));
29
+ color: var(--magma-selection-color, rgb(var(--label-sky-01)));
30
30
  }
31
31
  button,
32
32
  optgroup,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:44 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:45 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Wed, 07 Dec 2022 12:03:38 GMT
4
+ Generated at Tue, 24 Jan 2023 15:37:44 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,19 +1,19 @@
1
1
  :root {
2
-
3
- --backdrop-blur: 4px;
4
- --backdrop-color: 0 0 0;
5
- --backdrop-opacity: 0.1;
6
- --backdrop: rgba(var(--backdrop-color) / var(--backdrop-opacity));
7
- --disabled-opacity: 0.5;
8
- --modal-z-index: 1000;
9
- --outline-blur-offset: 6px;
10
- --outline-blur: 2px solid transparent;
11
- --outline-focus-offset: 2px;
12
- --outline-focus: 2px solid theme('colors.tone-neutral-05');
13
- --overlay-blur: var(--backdrop-blur);
14
- --overlay-color: var(--backdrop-color);
15
- --overlay-opacity: 0.5;
16
- --overlay: rgba(var(--overlay-color) / var(--overlay-opacity));
17
- --selection-background: theme('colors.label-sky-09');
18
- --selection-color: theme('colors.label-sky-01');
2
+ --magma-backdrop-blur: 4px;
3
+ --magma-backdrop-color: 0 0 0;
4
+ --magma-backdrop-opacity: 0.1;
5
+ --magma-backdrop: rgba(var(--magma-backdrop-color) / var(--magma-backdrop-opacity));
6
+ --magma-disabled-opacity: 0.5;
7
+ --magma-header-z-index: 1000;
8
+ --magma-modal-z-index: 2000;
9
+ --magma-outline-blur-offset: 6px;
10
+ --magma-outline-blur: 2px solid transparent;
11
+ --magma-outline-focus-offset: 2px;
12
+ --magma-outline-focus: 2px solid theme('colors.tone-neutral-05');
13
+ --magma-overlay-blur: var(--magma-backdrop-blur);
14
+ --magma-overlay-color: var(--magma-backdrop-color);
15
+ --magma-overlay-opacity: 0.5;
16
+ --magma-overlay: rgba(var(--magma-overlay-color) / var(--magma-overlay-opacity));
17
+ --magma-selection-background: rgb(var(--label-sky-09));
18
+ --magma-selection-color: rgb(var(--label-sky-01));
19
19
  }
@@ -22,8 +22,8 @@ body {
22
22
  }
23
23
 
24
24
  ::selection {
25
- background-color: var(--selection-background, theme('colors.label-sky-09'));
26
- color: var(--selection-color, theme('colors.label-sky-01'));
25
+ background-color: var(--magma-selection-background, theme('colors.label-sky-09'));
26
+ color: var(--magma-selection-color, theme('colors.label-sky-01'));
27
27
  }
28
28
 
29
29
  button,
@@ -6,13 +6,13 @@
6
6
  duration-200
7
7
  ease-out;
8
8
 
9
- outline-offset: var(--outline-blur-offset, 6px);
10
- outline: var(--outline-blur, 2px solid transparent);
9
+ outline-offset: var(--magma-outline-blur-offset, 6px);
10
+ outline: var(--magma-outline-blur, 2px solid transparent);
11
11
  transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
12
12
  }
13
13
 
14
14
  .focusable:focus-visible {
15
- outline-offset: var(--outline-focus-offset, 2px);
16
- outline: var(--outline-focus, 2px solid theme('colors.label-sky-05'));
15
+ outline-offset: var(--magma-outline-focus-offset, 2px);
16
+ outline: var(--magma-outline-focus, 2px solid theme('colors.label-sky-05'));
17
17
  }
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/styles",
3
- "version": "10.0.1",
3
+ "version": "11.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": {