@maggioli-design-system/styles 15.8.0 → 15.9.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
@@ -13,7 +13,15 @@ body{
13
13
 
14
14
  font-family: Karla, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
15
15
 
16
- color: rgb(var(--theme-default-03-secondary-text, rgb(var(--theme-default-03-secondary-text))));
16
+ color: rgb(var(--tone-neutral-03, rgb(var(--tone-neutral-03))));
17
+ }
18
+ :root.pref-contrast-high body {
19
+ color: rgb(var(--tone-neutral-01, rgb(var(--tone-neutral-01))));
20
+ }
21
+ @media (prefers-contrast: more) {
22
+ :root.pref-contrast-system body {
23
+ color: rgb(var(--tone-neutral-01, rgb(var(--tone-neutral-01))));
24
+ }
17
25
  }
18
26
  ::-moz-selection {
19
27
  background-color: var(--magma-selection-background, rgb(var(--label-sky-09)));
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v13.6.0
2
+ @magma-design-system/design-tokens v13.7.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Tue, 25 Feb 2025 13:07:58 GMT
5
+ Generated at Wed, 05 Mar 2025 16:13:49 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,5 +1,4 @@
1
1
  :root {
2
-
3
2
  --magma-backdrop-blur: 4px;
4
3
  --magma-backdrop-color: 0 0 0;
5
4
  --magma-backdrop-opacity: 0.1;
@@ -117,41 +117,3 @@ video {
117
117
  scroll-behavior: smooth;
118
118
  }
119
119
  }
120
-
121
- @container style(--magma-pref-animation: no-preference) {
122
- html {
123
- scroll-behavior: smooth;
124
- }
125
-
126
- :has(:target) {
127
- scroll-behavior: smooth;
128
- }
129
- }
130
-
131
- @container style(--magma-pref-animation: system) {
132
-
133
- @media (prefers-reduced-motion: no-preference) {
134
- html {
135
- scroll-behavior: smooth;
136
- }
137
-
138
- :has(:target) {
139
- scroll-behavior: smooth;
140
- }
141
- }
142
- }
143
-
144
- @container style(--magma-pref-animation: reduce) {
145
- html {
146
- transition-duration: 0s;
147
- }
148
- }
149
-
150
- @container style(--magma-pref-animation: system) {
151
-
152
- @media (prefers-reduced-motion) {
153
- html {
154
- transition-duration: 0s;
155
- }
156
- }
157
- }
@@ -3,7 +3,17 @@ body {
3
3
  font-info
4
4
  text-info-detail;
5
5
 
6
- color: rgb(var(--theme-default-03-secondary-text, theme('colors.theme-default-03-secondary-text')));
6
+ color: rgb(var(--tone-neutral-03, theme('colors.tone-neutral-03')));
7
+ }
8
+
9
+ :root.pref-contrast-high body {
10
+ color: rgb(var(--tone-neutral-01, theme('colors.tone-neutral-01')));
11
+ }
12
+
13
+ @media (prefers-contrast: more) {
14
+ :root.pref-contrast-system body {
15
+ color: rgb(var(--tone-neutral-01, theme('colors.tone-neutral-01')));
16
+ }
7
17
  }
8
18
 
9
19
  ::selection {
@@ -16,7 +16,6 @@
16
16
 
17
17
  .focus-bounce--focused,
18
18
  .focus-bounce:focus-visible {
19
-
20
19
  --magma-outline-blur: var(--magma-outline-focus);
21
20
 
22
21
  animation-play-state: running;
@@ -34,14 +33,12 @@
34
33
 
35
34
  .focus-zoom--focused,
36
35
  .focus-zoom:focus-visible {
37
-
38
36
  --magma-outline-blur-offset: var(--magma-outline-focus-offset);
39
37
  --magma-outline-blur: var(--magma-outline-focus);
40
38
  }
41
39
 
42
40
  .focus-zoom--light.focus-zoom--focused,
43
41
  .focus-zoom--light:focus-visible {
44
-
45
42
  --magma-outline-blur: 2px solid rgb(var(--tone-neutral));
46
43
  }
47
44
 
@@ -113,42 +113,3 @@ video {
113
113
  scroll-behavior: smooth;
114
114
  }
115
115
  }
116
-
117
- @container style(--magma-pref-animation: no-preference) {
118
- html {
119
- scroll-behavior: smooth;
120
- }
121
-
122
- :has(:target) {
123
- scroll-behavior: smooth;
124
- }
125
- }
126
-
127
- @container style(--magma-pref-animation: system) {
128
-
129
- @media (prefers-reduced-motion: no-preference) {
130
- html {
131
- scroll-behavior: smooth;
132
- }
133
-
134
- :has(:target) {
135
- scroll-behavior: smooth;
136
- }
137
- }
138
- }
139
-
140
-
141
- @container style(--magma-pref-animation: reduce) {
142
- html {
143
- transition-duration: 0s;
144
- }
145
- }
146
-
147
- @container style(--magma-pref-animation: system) {
148
-
149
- @media (prefers-reduced-motion) {
150
- html {
151
- transition-duration: 0s;
152
- }
153
- }
154
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/styles",
3
- "version": "15.8.0",
3
+ "version": "15.9.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": {
@@ -46,7 +46,7 @@
46
46
  "@fontsource/merriweather": "5.1.0",
47
47
  "@fontsource/roboto": "5.1.0",
48
48
  "@fontsource/roboto-mono": "5.1.0",
49
- "@maggioli-design-system/design-tokens": "13.6.0",
49
+ "@maggioli-design-system/design-tokens": "13.7.0",
50
50
  "normalize.css": "8.0.1"
51
51
  },
52
52
  "devDependencies": {