@maggioli-design-system/styles 15.5.0 → 15.6.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.
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:28 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:29 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  @magma-design-system/design-tokens v13.5.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Mon, 25 Nov 2024 13:30:28 GMT
5
+ Generated at Thu, 19 Dec 2024 14:36:03 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,6 +1,9 @@
1
1
  html {
2
2
  color-scheme: dark light;
3
3
  hanging-punctuation: first last;
4
+ interpolate-size: allow-keywords;
5
+ transition-duration: 200ms;
6
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
4
7
  }
5
8
 
6
9
  *,
@@ -114,3 +117,41 @@ video {
114
117
  scroll-behavior: smooth;
115
118
  }
116
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
+ }
@@ -1,6 +1,9 @@
1
1
  html {
2
2
  color-scheme: dark light;
3
3
  hanging-punctuation: first last;
4
+ interpolate-size: allow-keywords;
5
+ transition-duration: theme('transitionDuration.200');
6
+ transition-timing-function: theme('transitionTimingFunction.out');
4
7
  }
5
8
 
6
9
  *,
@@ -110,3 +113,42 @@ video {
110
113
  scroll-behavior: smooth;
111
114
  }
112
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.5.0",
3
+ "version": "15.6.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": {