@fusion.dev/helix-styles 0.249.2 → 0.250.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/base.css +16 -15
- package/dist/tokens.css +2 -0
- package/dist/tokens.json +13 -1
- package/package.json +1 -1
package/dist/base.css
CHANGED
|
@@ -82,9 +82,9 @@ helix-card > [slot="media"] {
|
|
|
82
82
|
text-decoration-thickness: var(--helix-border-thin);
|
|
83
83
|
text-underline-offset: 0.25em;
|
|
84
84
|
transition:
|
|
85
|
-
color var(--helix-duration-
|
|
86
|
-
text-decoration-color var(--helix-duration-
|
|
87
|
-
text-decoration-thickness var(--helix-duration-
|
|
85
|
+
color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
86
|
+
text-decoration-color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
87
|
+
text-decoration-thickness var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
88
88
|
}@media (hover: hover) {
|
|
89
89
|
:where([data-prose] a):hover,
|
|
90
90
|
[data-link]:hover {
|
|
@@ -269,9 +269,9 @@ helix-text[tone="warning"][emphasis="muted"] {
|
|
|
269
269
|
padding-inline: var(--button-padding-inline, var(--helix-space-control));
|
|
270
270
|
text-decoration: none;
|
|
271
271
|
transition:
|
|
272
|
-
background-color var(--helix-duration-
|
|
273
|
-
border-color var(--helix-duration-
|
|
274
|
-
color var(--helix-duration-
|
|
272
|
+
background-color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
273
|
+
border-color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
274
|
+
color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
275
275
|
white-space: nowrap;
|
|
276
276
|
}
|
|
277
277
|
:where([data-button]) {
|
|
@@ -730,8 +730,8 @@ helix-toggle::part(item) {
|
|
|
730
730
|
text-decoration: none;
|
|
731
731
|
background-color: transparent;
|
|
732
732
|
transition:
|
|
733
|
-
background-color var(--helix-duration-
|
|
734
|
-
color var(--helix-duration-
|
|
733
|
+
background-color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
734
|
+
color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
735
735
|
white-space: nowrap;
|
|
736
736
|
}
|
|
737
737
|
@media (pointer: coarse) {
|
|
@@ -786,8 +786,8 @@ helix-toggle[disabled]::part(item) {
|
|
|
786
786
|
padding-inline: var(--navigation-item-padding-inline, var(--helix-space-sm));
|
|
787
787
|
text-decoration: none;
|
|
788
788
|
transition:
|
|
789
|
-
background-color var(--helix-duration-
|
|
790
|
-
color var(--helix-duration-
|
|
789
|
+
background-color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
790
|
+
color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
791
791
|
white-space: nowrap;
|
|
792
792
|
}
|
|
793
793
|
:where(helix-navigation[orientation="vertical"]) :where([data-navigation-item], a) {
|
|
@@ -858,8 +858,8 @@ helix-toggle[disabled]::part(item) {
|
|
|
858
858
|
padding-inline: var(--outline-link-padding-inline, var(--helix-space-sm));
|
|
859
859
|
text-decoration: none;
|
|
860
860
|
transition:
|
|
861
|
-
background-color var(--helix-duration-
|
|
862
|
-
color var(--helix-duration-
|
|
861
|
+
background-color var(--helix-duration-feedback) var(--helix-easing-feedback),
|
|
862
|
+
color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
863
863
|
}
|
|
864
864
|
:where(helix-outline[marker="rail"]) :where(li) > :where(a) {
|
|
865
865
|
min-inline-size: 0;
|
|
@@ -936,7 +936,7 @@ helix-toggle[disabled]::part(item) {
|
|
|
936
936
|
padding: var(--helix-space-sm) var(--helix-space-sm);
|
|
937
937
|
row-gap: var(--helix-space-2xs);
|
|
938
938
|
text-decoration: none;
|
|
939
|
-
transition: background-color var(--helix-duration-
|
|
939
|
+
transition: background-color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
940
940
|
}
|
|
941
941
|
[data-megamenu-item] + [data-megamenu-item] {
|
|
942
942
|
margin-block-start: calc(var(--helix-space-xs) * -1);
|
|
@@ -1009,7 +1009,7 @@ helix-toggle[disabled]::part(item) {
|
|
|
1009
1009
|
cursor: pointer;
|
|
1010
1010
|
display: block;
|
|
1011
1011
|
text-decoration: none;
|
|
1012
|
-
transition: background-color var(--helix-duration-
|
|
1012
|
+
transition: background-color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
1013
1013
|
}@media (hover: hover) {
|
|
1014
1014
|
:where([data-list-item]):hover {
|
|
1015
1015
|
background-color: color-mix(in oklab, var(--helix-color-foreground) 5%, transparent);
|
|
@@ -1095,7 +1095,7 @@ helix-toggle[disabled]::part(item) {
|
|
|
1095
1095
|
outline: var(--helix-border-thin) solid transparent;
|
|
1096
1096
|
outline-offset: 0;
|
|
1097
1097
|
text-decoration: none;
|
|
1098
|
-
transition: outline-color var(--helix-duration-
|
|
1098
|
+
transition: outline-color var(--helix-duration-feedback) var(--helix-easing-feedback);
|
|
1099
1099
|
}@media (hover: hover) {
|
|
1100
1100
|
:where([data-card]):hover {
|
|
1101
1101
|
--card-border-color: var(--helix-color-border-hover);
|
|
@@ -1456,6 +1456,7 @@ helix-toast:not([data-color-mode]) {
|
|
|
1456
1456
|
--helix-duration-fast: 0.01ms;
|
|
1457
1457
|
--helix-duration-normal: 0.01ms;
|
|
1458
1458
|
--helix-duration-slow: 0.01ms;
|
|
1459
|
+
--helix-duration-feedback: 0.01ms;
|
|
1459
1460
|
}
|
|
1460
1461
|
}
|
|
1461
1462
|
@media (prefers-reduced-motion: reduce) {
|
package/dist/tokens.css
CHANGED
|
@@ -754,6 +754,7 @@
|
|
|
754
754
|
--helix-duration-fast: var(--_helix-ms-120);
|
|
755
755
|
--helix-duration-normal: var(--_helix-ms-200);
|
|
756
756
|
--helix-duration-slow: var(--_helix-ms-320);
|
|
757
|
+
--helix-duration-feedback: calc(var(--helix-duration-fast) * 2 / 3);
|
|
757
758
|
--helix-duration-turn: 0.8s;
|
|
758
759
|
--helix-duration-crawl: 4s;
|
|
759
760
|
--helix-duration-fade: var(--_helix-ms-120);
|
|
@@ -761,6 +762,7 @@
|
|
|
761
762
|
--helix-easing-emphasized: var(--_helix-curve-emphasized);
|
|
762
763
|
--helix-easing-decelerate: cubic-bezier(0, 0, 0, 1);
|
|
763
764
|
--helix-easing-accelerate: cubic-bezier(0.3, 0, 1, 1);
|
|
765
|
+
--helix-easing-feedback: var(--helix-easing-decelerate);
|
|
764
766
|
--helix-easing-cycle: cubic-bezier(0.42, 0, 0.58, 1);
|
|
765
767
|
--helix-easing-spring: linear(
|
|
766
768
|
0,
|
package/dist/tokens.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"size",
|
|
19
19
|
"layer"
|
|
20
20
|
],
|
|
21
|
-
"count":
|
|
21
|
+
"count": 246,
|
|
22
22
|
"groups": {
|
|
23
23
|
"separation-policy": ["border-surface", "shadow-surface", "border-floating", "shadow-floating"],
|
|
24
24
|
"surface-ladder": [
|
|
@@ -967,6 +967,12 @@
|
|
|
967
967
|
"name": "--helix-duration-slow",
|
|
968
968
|
"value": "var(--_helix-ms-320)"
|
|
969
969
|
},
|
|
970
|
+
{
|
|
971
|
+
"category": "duration",
|
|
972
|
+
"description": "A change that follows a pointer, a key, or focus, such as a hover color or a press.",
|
|
973
|
+
"name": "--helix-duration-feedback",
|
|
974
|
+
"value": "calc(var(--helix-duration-fast) * 2 / 3)"
|
|
975
|
+
},
|
|
970
976
|
{
|
|
971
977
|
"category": "duration",
|
|
972
978
|
"name": "--helix-duration-turn",
|
|
@@ -1003,6 +1009,12 @@
|
|
|
1003
1009
|
"name": "--helix-easing-accelerate",
|
|
1004
1010
|
"value": "cubic-bezier(0.3, 0, 1, 1)"
|
|
1005
1011
|
},
|
|
1012
|
+
{
|
|
1013
|
+
"category": "easing",
|
|
1014
|
+
"description": "The curve for a change that follows a pointer, a key, or focus, which starts at full speed.",
|
|
1015
|
+
"name": "--helix-easing-feedback",
|
|
1016
|
+
"value": "var(--helix-easing-decelerate)"
|
|
1017
|
+
},
|
|
1006
1018
|
{
|
|
1007
1019
|
"category": "easing",
|
|
1008
1020
|
"name": "--helix-easing-cycle",
|
package/package.json
CHANGED