@vygruppen/spor-react 12.4.4 → 12.4.5
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/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/index.d.mts +20 -20
- package/dist/index.d.ts +20 -20
- package/dist/index.js +187 -450
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +187 -450
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/theme/recipes/close-button.ts +2 -4
- package/src/theme/recipes/link.ts +3 -5
- package/src/theme/slot-recipes/accordion.ts +26 -21
- package/src/theme/slot-recipes/checkbox.ts +9 -15
- package/src/theme/slot-recipes/native-select.ts +1 -2
- package/src/theme/slot-recipes/pagination.ts +3 -6
- package/src/theme/slot-recipes/stepper.ts +4 -7
- package/src/theme/utils/accent-utils.ts +0 -47
- package/src/theme/utils/bg-utils.ts +0 -20
- package/src/theme/utils/brand-utils.ts +0 -29
- package/src/theme/utils/core-utils.ts +0 -101
- package/src/theme/utils/floating-utils.ts +0 -69
- package/src/theme/utils/ghost-utils.ts +0 -49
- package/src/theme/utils/input-utils.ts +0 -117
- package/src/theme/utils/outline-utils.ts +0 -22
- package/src/theme/utils/sr-utils.ts +0 -13
- package/src/theme/utils/surface-utils.ts +0 -25
package/dist/index.mjs
CHANGED
@@ -18,9 +18,9 @@ import { popoverAnatomy as popoverAnatomy$1 } from '@ark-ui/react/popover';
|
|
18
18
|
import { GregorianCalendar, createCalendar, getLocalTimeZone, endOfMonth, getWeeksInMonth, isSameMonth, isToday, parseTime } from '@internationalized/date';
|
19
19
|
export { Time } from '@internationalized/date';
|
20
20
|
import { getSupportedCallingCodes } from 'awesome-phonenumber';
|
21
|
-
import
|
22
|
-
import * as
|
23
|
-
export {
|
21
|
+
import tokens23__default from '@vygruppen/spor-design-tokens';
|
22
|
+
import * as tokens23 from '@vygruppen/spor-design-tokens';
|
23
|
+
export { tokens23 as tokens };
|
24
24
|
import { Global } from '@emotion/react';
|
25
25
|
import tokens4 from '@vygruppen/spor-design-tokens/raw-tokens';
|
26
26
|
|
@@ -3554,141 +3554,6 @@ function ListBoxSection({ section, state }) {
|
|
3554
3554
|
) })
|
3555
3555
|
] }) });
|
3556
3556
|
}
|
3557
|
-
|
3558
|
-
// src/theme/utils/brand-utils.ts
|
3559
|
-
function brandBackground(state) {
|
3560
|
-
switch (state) {
|
3561
|
-
case "active": {
|
3562
|
-
return {
|
3563
|
-
backgroundColor: "brand.surface.active"
|
3564
|
-
};
|
3565
|
-
}
|
3566
|
-
case "hover": {
|
3567
|
-
return {
|
3568
|
-
backgroundColor: "brand.surface.hover"
|
3569
|
-
};
|
3570
|
-
}
|
3571
|
-
default: {
|
3572
|
-
return {
|
3573
|
-
backgroundColor: "brand.surface"
|
3574
|
-
};
|
3575
|
-
}
|
3576
|
-
}
|
3577
|
-
}
|
3578
|
-
function brandText() {
|
3579
|
-
return {
|
3580
|
-
color: "brand.text"
|
3581
|
-
};
|
3582
|
-
}
|
3583
|
-
|
3584
|
-
// src/theme/utils/surface-utils.ts
|
3585
|
-
var surface = (surface2) => {
|
3586
|
-
switch (surface2) {
|
3587
|
-
case "default": {
|
3588
|
-
return {
|
3589
|
-
backgroundColor: "surface"
|
3590
|
-
};
|
3591
|
-
}
|
3592
|
-
case "secondary": {
|
3593
|
-
return {
|
3594
|
-
backgroundColor: "surface.secondary"
|
3595
|
-
};
|
3596
|
-
}
|
3597
|
-
case "tertiary": {
|
3598
|
-
return {
|
3599
|
-
backgroundColor: "surface.tertiary"
|
3600
|
-
};
|
3601
|
-
}
|
3602
|
-
case "disabled": {
|
3603
|
-
return {
|
3604
|
-
backgroundColor: "surface.disabled"
|
3605
|
-
};
|
3606
|
-
}
|
3607
|
-
}
|
3608
|
-
};
|
3609
|
-
|
3610
|
-
// src/theme/utils/core-utils.ts
|
3611
|
-
function coreBackground(state) {
|
3612
|
-
switch (state) {
|
3613
|
-
case "active": {
|
3614
|
-
return brandBackground("active");
|
3615
|
-
}
|
3616
|
-
case "selected": {
|
3617
|
-
return brandBackground("default");
|
3618
|
-
}
|
3619
|
-
case "disabled": {
|
3620
|
-
return surface("disabled");
|
3621
|
-
}
|
3622
|
-
default: {
|
3623
|
-
return { backgroundColor: "transparent" };
|
3624
|
-
}
|
3625
|
-
}
|
3626
|
-
}
|
3627
|
-
function coreBorder(state) {
|
3628
|
-
switch (state) {
|
3629
|
-
case "hover": {
|
3630
|
-
return {
|
3631
|
-
outline: "2px solid",
|
3632
|
-
outlineColor: "core.outline"
|
3633
|
-
};
|
3634
|
-
}
|
3635
|
-
case "disabled": {
|
3636
|
-
return {
|
3637
|
-
outline: "1px solid",
|
3638
|
-
outlineColor: "outline.disabled"
|
3639
|
-
};
|
3640
|
-
}
|
3641
|
-
case "active": {
|
3642
|
-
return {
|
3643
|
-
outline: "1px solid",
|
3644
|
-
outlineColor: "core.outline"
|
3645
|
-
};
|
3646
|
-
}
|
3647
|
-
case "invalid": {
|
3648
|
-
return {
|
3649
|
-
outline: "2px solid",
|
3650
|
-
outlineColor: "outline.error"
|
3651
|
-
};
|
3652
|
-
}
|
3653
|
-
default: {
|
3654
|
-
return {
|
3655
|
-
outline: "1px solid",
|
3656
|
-
outlineColor: "core.outline"
|
3657
|
-
};
|
3658
|
-
}
|
3659
|
-
}
|
3660
|
-
}
|
3661
|
-
function coreText(state) {
|
3662
|
-
switch (state) {
|
3663
|
-
case "selected": {
|
3664
|
-
return {
|
3665
|
-
color: "brand.text"
|
3666
|
-
};
|
3667
|
-
}
|
3668
|
-
case "active": {
|
3669
|
-
return {
|
3670
|
-
color: "brand.text"
|
3671
|
-
};
|
3672
|
-
}
|
3673
|
-
case "highlight": {
|
3674
|
-
return {
|
3675
|
-
color: "text.highlight"
|
3676
|
-
};
|
3677
|
-
}
|
3678
|
-
case "disabled": {
|
3679
|
-
return {
|
3680
|
-
color: "text.disabled"
|
3681
|
-
};
|
3682
|
-
}
|
3683
|
-
default: {
|
3684
|
-
return {
|
3685
|
-
color: "core.text"
|
3686
|
-
};
|
3687
|
-
}
|
3688
|
-
}
|
3689
|
-
}
|
3690
|
-
|
3691
|
-
// src/theme/slot-recipes/native-select.ts
|
3692
3557
|
var _a2, _b;
|
3693
3558
|
var nativeSelectSlotRecipe = defineSlotRecipe({
|
3694
3559
|
slots: NativeSelectAnatomy.keys(),
|
@@ -3720,7 +3585,7 @@ var nativeSelectSlotRecipe = defineSlotRecipe({
|
|
3720
3585
|
color: "currentColor",
|
3721
3586
|
fontSize: "sm",
|
3722
3587
|
_disabled: {
|
3723
|
-
|
3588
|
+
color: "text.disabled"
|
3724
3589
|
}
|
3725
3590
|
}
|
3726
3591
|
},
|
@@ -4576,16 +4441,16 @@ var pressableCardRecipe = defineRecipe({
|
|
4576
4441
|
},
|
4577
4442
|
core: {
|
4578
4443
|
outlineColor: "core.outline",
|
4579
|
-
outlineWidth:
|
4444
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
4580
4445
|
outlineStyle: "solid",
|
4581
4446
|
backgroundColor: "core.surface",
|
4582
4447
|
_hover: {
|
4583
4448
|
outlineColor: "core.outline.hover",
|
4584
|
-
outlineWidth:
|
4449
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
4585
4450
|
outlineStyle: "solid",
|
4586
4451
|
_active: {
|
4587
4452
|
backgroundColor: "core.surface.active",
|
4588
|
-
outlineWidth:
|
4453
|
+
outlineWidth: tokens23__default.size.stroke.sm
|
4589
4454
|
}
|
4590
4455
|
}
|
4591
4456
|
},
|
@@ -6016,7 +5881,7 @@ var texts24 = createTexts({
|
|
6016
5881
|
});
|
6017
5882
|
var fontFaces = `
|
6018
5883
|
@font-face {
|
6019
|
-
font-family: ${
|
5884
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["light"].name};
|
6020
5885
|
src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
|
6021
5886
|
url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
|
6022
5887
|
font-style: normal;
|
@@ -6024,7 +5889,7 @@ var fontFaces = `
|
|
6024
5889
|
font-display: swap
|
6025
5890
|
}
|
6026
5891
|
@font-face {
|
6027
|
-
font-family: ${
|
5892
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["light-italic"].name};
|
6028
5893
|
src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
|
6029
5894
|
format("woff2"),
|
6030
5895
|
url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
|
@@ -6033,7 +5898,7 @@ var fontFaces = `
|
|
6033
5898
|
font-display: swap
|
6034
5899
|
}
|
6035
5900
|
@font-face {
|
6036
|
-
font-family: ${
|
5901
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["medium"].name};
|
6037
5902
|
src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
|
6038
5903
|
url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
|
6039
5904
|
font-style: normal;
|
@@ -6041,7 +5906,7 @@ var fontFaces = `
|
|
6041
5906
|
font-display: swap
|
6042
5907
|
}
|
6043
5908
|
@font-face {
|
6044
|
-
font-family: ${
|
5909
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["medium-italic"].name};
|
6045
5910
|
src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
|
6046
5911
|
format("woff2"),
|
6047
5912
|
url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
|
@@ -6051,7 +5916,7 @@ var fontFaces = `
|
|
6051
5916
|
font-display: swap
|
6052
5917
|
}
|
6053
5918
|
@font-face {
|
6054
|
-
font-family: ${
|
5919
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["bold"].name};
|
6055
5920
|
src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
|
6056
5921
|
url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
|
6057
5922
|
font-style: normal;
|
@@ -6059,7 +5924,7 @@ var fontFaces = `
|
|
6059
5924
|
font-display: swap
|
6060
5925
|
}
|
6061
5926
|
@font-face {
|
6062
|
-
font-family: ${
|
5927
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["bold-italic"].name};
|
6063
5928
|
src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
|
6064
5929
|
format("woff2"),
|
6065
5930
|
url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
|
@@ -6068,7 +5933,7 @@ var fontFaces = `
|
|
6068
5933
|
font-display: swap
|
6069
5934
|
}
|
6070
5935
|
@font-face {
|
6071
|
-
font-family: ${
|
5936
|
+
font-family: ${tokens23__default.asset.font["vy-display"].name};
|
6072
5937
|
src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
|
6073
5938
|
format("woff2"),
|
6074
5939
|
url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
|
@@ -6577,7 +6442,7 @@ var buttonRecipe = defineRecipe({
|
|
6577
6442
|
background: "surface.disabled"
|
6578
6443
|
},
|
6579
6444
|
_focus: {
|
6580
|
-
outlineOffset:
|
6445
|
+
outlineOffset: tokens23__default.size.stroke.md
|
6581
6446
|
}
|
6582
6447
|
},
|
6583
6448
|
variants: {
|
@@ -6605,19 +6470,19 @@ var buttonRecipe = defineRecipe({
|
|
6605
6470
|
tertiary: {
|
6606
6471
|
color: "core.text",
|
6607
6472
|
outline: "solid",
|
6608
|
-
outlineWidth:
|
6473
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6609
6474
|
outlineColor: "core.outline",
|
6610
6475
|
_hover: {
|
6611
|
-
outlineWidth:
|
6476
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
6612
6477
|
outlineColor: "core.outline.hover",
|
6613
6478
|
_active: {
|
6614
6479
|
background: "core.surface.active",
|
6615
|
-
outlineWidth:
|
6480
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6616
6481
|
outlineColor: "core.outline"
|
6617
6482
|
}
|
6618
6483
|
},
|
6619
6484
|
_focus: {
|
6620
|
-
outlineWidth:
|
6485
|
+
outlineWidth: tokens23__default.size.stroke.sm
|
6621
6486
|
}
|
6622
6487
|
},
|
6623
6488
|
ghost: {
|
@@ -6677,34 +6542,6 @@ var buttonRecipe = defineRecipe({
|
|
6677
6542
|
size: "md"
|
6678
6543
|
}
|
6679
6544
|
});
|
6680
|
-
|
6681
|
-
// src/theme/utils/ghost-utils.ts
|
6682
|
-
function ghostBackground(state) {
|
6683
|
-
switch (state) {
|
6684
|
-
case "hover": {
|
6685
|
-
return {
|
6686
|
-
backgroundColor: "ghost.surface.hover"
|
6687
|
-
};
|
6688
|
-
}
|
6689
|
-
case "active": {
|
6690
|
-
return {
|
6691
|
-
backgroundColor: "ghost.surface.active"
|
6692
|
-
};
|
6693
|
-
}
|
6694
|
-
case "selected": {
|
6695
|
-
return {
|
6696
|
-
backgroundColor: "ghost.surface.selected"
|
6697
|
-
};
|
6698
|
-
}
|
6699
|
-
case "default": {
|
6700
|
-
return {
|
6701
|
-
backgroundColor: "transparent"
|
6702
|
-
};
|
6703
|
-
}
|
6704
|
-
}
|
6705
|
-
}
|
6706
|
-
|
6707
|
-
// src/theme/recipes/close-button.ts
|
6708
6545
|
var closeButtonRecipe = defineRecipe({
|
6709
6546
|
base: {
|
6710
6547
|
transitionProperty: "common",
|
@@ -6714,12 +6551,12 @@ var closeButtonRecipe = defineRecipe({
|
|
6714
6551
|
color: "darkGrey",
|
6715
6552
|
fontWeight: "normal",
|
6716
6553
|
_hover: {
|
6717
|
-
|
6554
|
+
background: "ghost.surface.hover",
|
6718
6555
|
_disabled: {
|
6719
6556
|
color: "dimGrey"
|
6720
6557
|
},
|
6721
6558
|
_active: {
|
6722
|
-
|
6559
|
+
background: "ghost.surface.active"
|
6723
6560
|
}
|
6724
6561
|
}
|
6725
6562
|
},
|
@@ -6781,7 +6618,7 @@ var linkRecipe = defineRecipe({
|
|
6781
6618
|
variants: {
|
6782
6619
|
variant: {
|
6783
6620
|
primary: {
|
6784
|
-
|
6621
|
+
color: "core.text",
|
6785
6622
|
_hover: {
|
6786
6623
|
color: "text.default",
|
6787
6624
|
_active: {
|
@@ -6790,10 +6627,10 @@ var linkRecipe = defineRecipe({
|
|
6790
6627
|
}
|
6791
6628
|
},
|
6792
6629
|
secondary: {
|
6793
|
-
|
6630
|
+
color: "text.hightlight",
|
6794
6631
|
padding: "2px",
|
6795
6632
|
_hover: {
|
6796
|
-
|
6633
|
+
color: "text.hightlight",
|
6797
6634
|
_active: {
|
6798
6635
|
color: "text.disabled"
|
6799
6636
|
}
|
@@ -6854,14 +6691,14 @@ var cargonetColors = defineSemanticTokens.colors({
|
|
6854
6691
|
...tokens4.color.cargonet.color.cargonet
|
6855
6692
|
});
|
6856
6693
|
var radii = defineSemanticTokens.radii({
|
6857
|
-
none: { value:
|
6858
|
-
xxs: { value:
|
6859
|
-
xs: { value:
|
6860
|
-
sm: { value:
|
6861
|
-
md: { value:
|
6862
|
-
lg: { value:
|
6863
|
-
xl: { value:
|
6864
|
-
"2xl": { value:
|
6694
|
+
none: { value: tokens23__default.size["border-radius"].none },
|
6695
|
+
xxs: { value: tokens23__default.size["border-radius"].xxs },
|
6696
|
+
xs: { value: tokens23__default.size["border-radius"].xs },
|
6697
|
+
sm: { value: tokens23__default.size["border-radius"].sm },
|
6698
|
+
md: { value: tokens23__default.size["border-radius"].md },
|
6699
|
+
lg: { value: tokens23__default.size["border-radius"].lg },
|
6700
|
+
xl: { value: tokens23__default.size["border-radius"].xl },
|
6701
|
+
"2xl": { value: tokens23__default.size["border-radius"]["2xl"] },
|
6865
6702
|
round: { value: "50%" }
|
6866
6703
|
});
|
6867
6704
|
var shadows = defineSemanticTokens.shadows({
|
@@ -6869,13 +6706,13 @@ var shadows = defineSemanticTokens.shadows({
|
|
6869
6706
|
value: "none"
|
6870
6707
|
},
|
6871
6708
|
sm: {
|
6872
|
-
value:
|
6709
|
+
value: tokens23__default.depth.shadow.sm.value
|
6873
6710
|
},
|
6874
6711
|
md: {
|
6875
|
-
value:
|
6712
|
+
value: tokens23__default.depth.shadow.md.value
|
6876
6713
|
},
|
6877
6714
|
lg: {
|
6878
|
-
value:
|
6715
|
+
value: tokens23__default.depth.shadow.lg.value
|
6879
6716
|
}
|
6880
6717
|
});
|
6881
6718
|
|
@@ -6898,66 +6735,6 @@ var semanticTokens = {
|
|
6898
6735
|
colors: vyDigitalColors
|
6899
6736
|
}
|
6900
6737
|
};
|
6901
|
-
|
6902
|
-
// src/theme/utils/floating-utils.ts
|
6903
|
-
function floatingBackground(state) {
|
6904
|
-
switch (state) {
|
6905
|
-
case "focus": {
|
6906
|
-
return brandBackground("default");
|
6907
|
-
}
|
6908
|
-
case "active": {
|
6909
|
-
return {
|
6910
|
-
backgroundColor: "floating.surface.active"
|
6911
|
-
};
|
6912
|
-
}
|
6913
|
-
case "hover": {
|
6914
|
-
return {
|
6915
|
-
backgroundColor: {
|
6916
|
-
_light: "floating.surface.hover",
|
6917
|
-
_dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
|
6918
|
-
}
|
6919
|
-
};
|
6920
|
-
}
|
6921
|
-
case "default": {
|
6922
|
-
return {
|
6923
|
-
backgroundColor: {
|
6924
|
-
_light: "bg",
|
6925
|
-
_dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
|
6926
|
-
}
|
6927
|
-
};
|
6928
|
-
}
|
6929
|
-
}
|
6930
|
-
}
|
6931
|
-
function floatingBorder(state) {
|
6932
|
-
switch (state) {
|
6933
|
-
case "hover": {
|
6934
|
-
return {
|
6935
|
-
outline: "1px solid",
|
6936
|
-
outlineColor: "floating.outline.hover"
|
6937
|
-
};
|
6938
|
-
}
|
6939
|
-
case "focus": {
|
6940
|
-
return {
|
6941
|
-
outline: "1px solid",
|
6942
|
-
outlineColor: "outline.focus"
|
6943
|
-
};
|
6944
|
-
}
|
6945
|
-
case "active": {
|
6946
|
-
return {
|
6947
|
-
outline: "1px solid",
|
6948
|
-
outlineColor: "floating.outline.active"
|
6949
|
-
};
|
6950
|
-
}
|
6951
|
-
default: {
|
6952
|
-
return {
|
6953
|
-
outline: "1px solid",
|
6954
|
-
outlineColor: "floating.outline"
|
6955
|
-
};
|
6956
|
-
}
|
6957
|
-
}
|
6958
|
-
}
|
6959
|
-
|
6960
|
-
// src/theme/slot-recipes/accordion.ts
|
6961
6738
|
var accordionSlotRecipe = defineSlotRecipe({
|
6962
6739
|
className: "spor-accordion",
|
6963
6740
|
slots: accordionAnatomy.keys(),
|
@@ -6973,7 +6750,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
6973
6750
|
borderRadius: "sm",
|
6974
6751
|
display: "flex",
|
6975
6752
|
justifyContent: "space-between",
|
6976
|
-
|
6753
|
+
color: "core.text",
|
6977
6754
|
textAlign: "left",
|
6978
6755
|
width: "full",
|
6979
6756
|
alignItems: "center",
|
@@ -7024,58 +6801,63 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
7024
6801
|
variants: {
|
7025
6802
|
variant: {
|
7026
6803
|
ghost: {
|
7027
|
-
|
6804
|
+
item: {
|
7028
6805
|
outline: "none"
|
7029
6806
|
},
|
7030
6807
|
itemTrigger: {
|
7031
6808
|
"&:hover": {
|
7032
|
-
|
6809
|
+
background: "ghost.surface.hover"
|
7033
6810
|
},
|
7034
6811
|
"&:active": {
|
7035
|
-
|
6812
|
+
backgroundColor: "ghost.surface.active"
|
7036
6813
|
}
|
7037
6814
|
}
|
7038
6815
|
},
|
7039
6816
|
core: {
|
7040
6817
|
item: {
|
7041
|
-
|
6818
|
+
outline: "solid",
|
6819
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6820
|
+
outlineColor: "core.outline"
|
7042
6821
|
},
|
7043
6822
|
itemTrigger: {
|
7044
6823
|
_expanded: {
|
7045
6824
|
borderBottomRadius: "none"
|
7046
6825
|
},
|
7047
6826
|
"&:hover": {
|
7048
|
-
|
6827
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
6828
|
+
outlineColor: "core.outline.hover",
|
6829
|
+
outline: "solid",
|
7049
6830
|
outlineOffset: 0
|
7050
6831
|
},
|
7051
6832
|
"&:active": {
|
7052
6833
|
backgroundColor: "core.surface.active",
|
7053
|
-
|
6834
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6835
|
+
outlineColor: "core.outline.active",
|
6836
|
+
outline: "solid"
|
7054
6837
|
}
|
7055
6838
|
}
|
7056
6839
|
},
|
7057
6840
|
floating: {
|
7058
6841
|
item: {
|
7059
|
-
|
7060
|
-
|
7061
|
-
|
6842
|
+
outline: "solid",
|
6843
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6844
|
+
outlineColor: "core.outline"
|
7062
6845
|
},
|
7063
6846
|
itemTrigger: {
|
7064
6847
|
_expanded: {
|
7065
6848
|
borderBottomRadius: "none"
|
7066
6849
|
},
|
7067
6850
|
"&:hover": {
|
7068
|
-
|
7069
|
-
|
7070
|
-
|
7071
|
-
|
7072
|
-
backgroundColor: "floating.surface.active",
|
7073
|
-
...floatingBorder("default")
|
7074
|
-
}
|
6851
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
6852
|
+
outlineColor: "floating.outline.hover",
|
6853
|
+
outline: "solid",
|
6854
|
+
outlineOffset: 0
|
7075
6855
|
},
|
7076
6856
|
"&:active": {
|
7077
6857
|
backgroundColor: "floating.surface.active",
|
7078
|
-
|
6858
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6859
|
+
outlineColor: "floating.outline.active",
|
6860
|
+
outline: "solid"
|
7079
6861
|
}
|
7080
6862
|
}
|
7081
6863
|
}
|
@@ -7378,7 +7160,7 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
|
|
7378
7160
|
link: {
|
7379
7161
|
_hover: {
|
7380
7162
|
outlineColor: "core.outline.hover",
|
7381
|
-
outlineWidth:
|
7163
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
7382
7164
|
outlineStyle: "solid",
|
7383
7165
|
_active: {
|
7384
7166
|
backgroundColor: "core.surface.active",
|
@@ -7412,12 +7194,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
7412
7194
|
gap: 1.5,
|
7413
7195
|
_hover: {
|
7414
7196
|
"& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
|
7415
|
-
|
7416
|
-
borderColor: brandBackground("hover").backgroundColor
|
7197
|
+
borderColor: "core.outline.hover"
|
7417
7198
|
},
|
7418
7199
|
"& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
|
7419
|
-
|
7420
|
-
borderColor: brandBackground("hover").backgroundColor
|
7200
|
+
background: "brand.surface.hover"
|
7421
7201
|
}
|
7422
7202
|
}
|
7423
7203
|
},
|
@@ -7441,17 +7221,16 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
7441
7221
|
border: "2px solid",
|
7442
7222
|
borderColor: "core.outline",
|
7443
7223
|
borderRadius: "xs",
|
7444
|
-
...coreBackground("default"),
|
7445
7224
|
_checked: {
|
7446
|
-
|
7447
|
-
|
7448
|
-
|
7225
|
+
color: "brand.icon",
|
7226
|
+
borderColor: "brand.surface",
|
7227
|
+
background: "brand.surface",
|
7449
7228
|
_focus: {
|
7450
7229
|
borderColor: "brand.surface.active"
|
7451
7230
|
},
|
7452
7231
|
_disabled: {
|
7453
|
-
|
7454
|
-
|
7232
|
+
background: "surface.disabled",
|
7233
|
+
color: "text.disabled",
|
7455
7234
|
borderColor: "currentColor"
|
7456
7235
|
},
|
7457
7236
|
_invalid: {
|
@@ -7460,20 +7239,19 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
7460
7239
|
}
|
7461
7240
|
},
|
7462
7241
|
_disabled: {
|
7463
|
-
|
7464
|
-
borderColor:
|
7242
|
+
// borderColor: coreText("disabled").color,
|
7243
|
+
borderColor: "text.disabled"
|
7465
7244
|
},
|
7466
7245
|
_invalid: {
|
7467
|
-
...coreBackground("default"),
|
7468
7246
|
borderColor: "outline.error"
|
7469
7247
|
},
|
7470
7248
|
_focus: {
|
7471
7249
|
outlineStyle: "solid",
|
7472
7250
|
outlineColor: "outline.focus",
|
7473
|
-
outlineOffset:
|
7474
|
-
outlineWidth:
|
7251
|
+
outlineOffset: tokens23__default.size.stroke.md,
|
7252
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
7475
7253
|
borderColor: "core.outline",
|
7476
|
-
borderWidth:
|
7254
|
+
borderWidth: tokens23__default.size.stroke.md
|
7477
7255
|
}
|
7478
7256
|
},
|
7479
7257
|
label: {
|
@@ -8127,7 +7905,7 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
|
|
8127
7905
|
position: "fixed",
|
8128
7906
|
zIndex: "dropdown",
|
8129
7907
|
_focus: {
|
8130
|
-
outlineOffset:
|
7908
|
+
outlineOffset: tokens23__default.size.stroke.lg,
|
8131
7909
|
outlineColor: "outline.focus"
|
8132
7910
|
},
|
8133
7911
|
_disabled: {
|
@@ -8870,13 +8648,12 @@ var paginationSlotRecipe = defineSlotRecipe({
|
|
8870
8648
|
width: "5",
|
8871
8649
|
fontSize: "xs",
|
8872
8650
|
borderRadius: "xl",
|
8873
|
-
|
8651
|
+
color: "core.text",
|
8874
8652
|
cursor: "pointer",
|
8875
|
-
...coreBackground("default"),
|
8876
8653
|
_hover: {
|
8877
|
-
|
8654
|
+
background: "ghost.surface.hover",
|
8878
8655
|
_active: {
|
8879
|
-
|
8656
|
+
background: "ghost.surface.active"
|
8880
8657
|
}
|
8881
8658
|
},
|
8882
8659
|
_selected: {
|
@@ -9132,26 +8909,26 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
9132
8909
|
core: {
|
9133
8910
|
item: {
|
9134
8911
|
outlineColor: "core.outline",
|
9135
|
-
outlineWidth:
|
8912
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
9136
8913
|
outlineStyle: "solid",
|
9137
8914
|
backgroundColor: "core.surface",
|
9138
8915
|
_hover: {
|
9139
8916
|
outlineColor: "core.outline.hover",
|
9140
|
-
outlineWidth:
|
8917
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
9141
8918
|
outlineStyle: "solid",
|
9142
8919
|
_active: {
|
9143
8920
|
backgroundColor: "core.surface.active",
|
9144
|
-
outlineWidth:
|
8921
|
+
outlineWidth: tokens23__default.size.stroke.sm
|
9145
8922
|
}
|
9146
8923
|
},
|
9147
8924
|
_checked: {
|
9148
8925
|
outlineColor: "outline.focus",
|
9149
|
-
outlineWidth:
|
8926
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
9150
8927
|
outlineStyle: "solid",
|
9151
8928
|
backgroundColor: "core.surface.active",
|
9152
8929
|
_focusVisible: {
|
9153
8930
|
outlineStyle: "double",
|
9154
|
-
outlineWidth: `calc(3 * ${
|
8931
|
+
outlineWidth: `calc(3 * ${tokens23__default.size.stroke.md})`
|
9155
8932
|
// space for double outline
|
9156
8933
|
}
|
9157
8934
|
}
|
@@ -9176,12 +8953,12 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
9176
8953
|
},
|
9177
8954
|
_checked: {
|
9178
8955
|
outlineColor: "outline.focus",
|
9179
|
-
outlineWidth:
|
8956
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
9180
8957
|
outlineStyle: "solid",
|
9181
8958
|
backgroundColor: "core.surface.active",
|
9182
8959
|
_focusVisible: {
|
9183
8960
|
outlineStyle: "double",
|
9184
|
-
outlineWidth: `calc(3 * ${
|
8961
|
+
outlineWidth: `calc(3 * ${tokens23__default.size.stroke.md})`
|
9185
8962
|
// space for double outline
|
9186
8963
|
}
|
9187
8964
|
}
|
@@ -9437,46 +9214,6 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
9437
9214
|
}
|
9438
9215
|
}
|
9439
9216
|
});
|
9440
|
-
|
9441
|
-
// src/theme/utils/accent-utils.ts
|
9442
|
-
function accentBackground(state) {
|
9443
|
-
switch (state) {
|
9444
|
-
case "selected": {
|
9445
|
-
return brandBackground("default");
|
9446
|
-
}
|
9447
|
-
case "active": {
|
9448
|
-
return {
|
9449
|
-
backgroundColor: "accent.surface.active"
|
9450
|
-
};
|
9451
|
-
}
|
9452
|
-
case "hover": {
|
9453
|
-
return {
|
9454
|
-
backgroundColor: "accent.surface.hover"
|
9455
|
-
};
|
9456
|
-
}
|
9457
|
-
default: {
|
9458
|
-
return {
|
9459
|
-
backgroundColor: "accent.surface"
|
9460
|
-
};
|
9461
|
-
}
|
9462
|
-
}
|
9463
|
-
}
|
9464
|
-
function accentText(state) {
|
9465
|
-
switch (state) {
|
9466
|
-
case "selected": {
|
9467
|
-
return {
|
9468
|
-
color: "brand.text"
|
9469
|
-
};
|
9470
|
-
}
|
9471
|
-
default: {
|
9472
|
-
return {
|
9473
|
-
color: "accent.text"
|
9474
|
-
};
|
9475
|
-
}
|
9476
|
-
}
|
9477
|
-
}
|
9478
|
-
|
9479
|
-
// src/theme/slot-recipes/stepper.ts
|
9480
9217
|
var stepperSlotRecipe = defineSlotRecipe({
|
9481
9218
|
slots: stepperAnatomy.keys(),
|
9482
9219
|
className: "spor-stepper",
|
@@ -9542,13 +9279,13 @@ var stepperSlotRecipe = defineSlotRecipe({
|
|
9542
9279
|
_dark: "whiteAlpha.900"
|
9543
9280
|
},
|
9544
9281
|
_disabled: {
|
9545
|
-
color:
|
9282
|
+
color: "core.text"
|
9546
9283
|
},
|
9547
9284
|
_currentStep: {
|
9548
|
-
color:
|
9285
|
+
color: "accent.text"
|
9549
9286
|
},
|
9550
9287
|
_hover: {
|
9551
|
-
backgroundColor:
|
9288
|
+
backgroundColor: "accent.surface.hover",
|
9552
9289
|
_disabled: {
|
9553
9290
|
backgroundColor: "transparent"
|
9554
9291
|
}
|
@@ -9556,7 +9293,7 @@ var stepperSlotRecipe = defineSlotRecipe({
|
|
9556
9293
|
},
|
9557
9294
|
backButton: {
|
9558
9295
|
_hover: {
|
9559
|
-
|
9296
|
+
backgroundColor: "brand.surface.hover"
|
9560
9297
|
}
|
9561
9298
|
}
|
9562
9299
|
}
|
@@ -9646,7 +9383,7 @@ var switchSlotRecipe = defineSlotRecipe({
|
|
9646
9383
|
backgroundColor: "brand.surface",
|
9647
9384
|
_focusVisible: {
|
9648
9385
|
outlineStyle: "double",
|
9649
|
-
outlineWidth: `calc(3 * ${
|
9386
|
+
outlineWidth: `calc(3 * ${tokens23__default.size.stroke.md})`
|
9650
9387
|
// space for double outline
|
9651
9388
|
}
|
9652
9389
|
},
|
@@ -10022,22 +9759,22 @@ var borders = defineTokens.borders({
|
|
10022
9759
|
value: "0"
|
10023
9760
|
},
|
10024
9761
|
sm: {
|
10025
|
-
value: `${
|
9762
|
+
value: `${tokens23__default.size.stroke.sm} solid`
|
10026
9763
|
},
|
10027
9764
|
"sm-dashed": {
|
10028
|
-
value: `${
|
9765
|
+
value: `${tokens23__default.size.stroke.sm} dashed`
|
10029
9766
|
},
|
10030
9767
|
md: {
|
10031
|
-
value: `${
|
9768
|
+
value: `${tokens23__default.size.stroke.md} solid`
|
10032
9769
|
},
|
10033
9770
|
"md-dashed": {
|
10034
|
-
value: `${
|
9771
|
+
value: `${tokens23__default.size.stroke.md} dashed`
|
10035
9772
|
},
|
10036
9773
|
lg: {
|
10037
|
-
value: `${
|
9774
|
+
value: `${tokens23__default.size.stroke.lg} solid`
|
10038
9775
|
},
|
10039
9776
|
"lg-dashed": {
|
10040
|
-
value: `${
|
9777
|
+
value: `${tokens23__default.size.stroke.lg} dashed`
|
10041
9778
|
}
|
10042
9779
|
});
|
10043
9780
|
var colors = defineTokens.colors({
|
@@ -10109,29 +9846,29 @@ var easings = defineTokens.easings({
|
|
10109
9846
|
}
|
10110
9847
|
});
|
10111
9848
|
var fontSizes = defineTokens.fontSizes({
|
10112
|
-
"2xs": { value:
|
10113
|
-
xs: { value:
|
10114
|
-
sm: { value:
|
10115
|
-
md: { value:
|
10116
|
-
lg: { value:
|
10117
|
-
xl: { value:
|
10118
|
-
"2xl": { value:
|
10119
|
-
"3xl": { value:
|
9849
|
+
"2xs": { value: tokens23__default.size.font.xs.mobile },
|
9850
|
+
xs: { value: tokens23__default.size.font.sm.mobile },
|
9851
|
+
sm: { value: tokens23__default.size.font.md.mobile },
|
9852
|
+
md: { value: tokens23__default.size.font.lg.mobile },
|
9853
|
+
lg: { value: tokens23__default.size.font.xl.mobile },
|
9854
|
+
xl: { value: tokens23__default.size.font.xxl.mobile },
|
9855
|
+
"2xl": { value: tokens23__default.size.font.xl.desktop },
|
9856
|
+
"3xl": { value: tokens23__default.size.font.xxl.desktop },
|
10120
9857
|
mobile: {
|
10121
|
-
xs: { value:
|
10122
|
-
sm: { value:
|
10123
|
-
md: { value:
|
10124
|
-
lg: { value:
|
10125
|
-
xl: { value:
|
10126
|
-
xxl: { value:
|
9858
|
+
xs: { value: tokens23__default.size.font.xs.mobile },
|
9859
|
+
sm: { value: tokens23__default.size.font.sm.mobile },
|
9860
|
+
md: { value: tokens23__default.size.font.md.mobile },
|
9861
|
+
lg: { value: tokens23__default.size.font.lg.mobile },
|
9862
|
+
xl: { value: tokens23__default.size.font.xl.mobile },
|
9863
|
+
xxl: { value: tokens23__default.size.font.xxl.mobile }
|
10127
9864
|
},
|
10128
9865
|
desktop: {
|
10129
|
-
xs: { value:
|
10130
|
-
sm: { value:
|
10131
|
-
md: { value:
|
10132
|
-
lg: { value:
|
10133
|
-
xl: { value:
|
10134
|
-
xxl: { value:
|
9866
|
+
xs: { value: tokens23__default.size.font.xs.desktop },
|
9867
|
+
sm: { value: tokens23__default.size.font.sm.desktop },
|
9868
|
+
md: { value: tokens23__default.size.font.md.desktop },
|
9869
|
+
lg: { value: tokens23__default.size.font.lg.desktop },
|
9870
|
+
xl: { value: tokens23__default.size.font.xl.desktop },
|
9871
|
+
xxl: { value: tokens23__default.size.font.xxl.desktop }
|
10135
9872
|
}
|
10136
9873
|
});
|
10137
9874
|
var fontWeights = defineTokens.fontWeights({
|
@@ -10164,9 +9901,9 @@ var fontWeights = defineTokens.fontWeights({
|
|
10164
9901
|
}
|
10165
9902
|
});
|
10166
9903
|
var fonts = defineTokens.fonts({
|
10167
|
-
body: { value: `${
|
10168
|
-
heading: { value: `${
|
10169
|
-
mono: { value: `${
|
9904
|
+
body: { value: `${tokens23__default.font.family.body}, arial, sans-serif` },
|
9905
|
+
heading: { value: `${tokens23__default.font.family.heading}, arial, sans-serif` },
|
9906
|
+
mono: { value: `${tokens23__default.font.family.monospace}, monospace` }
|
10170
9907
|
});
|
10171
9908
|
var letterSpacings = defineTokens.letterSpacings({
|
10172
9909
|
tighter: {
|
@@ -10203,31 +9940,31 @@ var lineHeights = defineTokens.lineHeights({
|
|
10203
9940
|
}
|
10204
9941
|
});
|
10205
9942
|
var radii2 = defineTokens.radii({
|
10206
|
-
none: { value:
|
10207
|
-
xs: { value:
|
10208
|
-
sm: { value:
|
10209
|
-
md: { value:
|
10210
|
-
lg: { value:
|
10211
|
-
xl: { value:
|
10212
|
-
"2xl": { value:
|
9943
|
+
none: { value: tokens23__default.size["border-radius"].none },
|
9944
|
+
xs: { value: tokens23__default.size["border-radius"].xs },
|
9945
|
+
sm: { value: tokens23__default.size["border-radius"].sm },
|
9946
|
+
md: { value: tokens23__default.size["border-radius"].md },
|
9947
|
+
lg: { value: tokens23__default.size["border-radius"].lg },
|
9948
|
+
xl: { value: tokens23__default.size["border-radius"].xl },
|
9949
|
+
"2xl": { value: tokens23__default.size["border-radius"]["2xl"] },
|
10213
9950
|
round: { value: "50%" }
|
10214
9951
|
});
|
10215
9952
|
var spacing = defineTokens.spacing({
|
10216
|
-
0: { value:
|
10217
|
-
0.5: { value:
|
10218
|
-
1: { value:
|
10219
|
-
1.5: { value:
|
10220
|
-
2: { value:
|
10221
|
-
3: { value:
|
10222
|
-
4: { value:
|
10223
|
-
5: { value:
|
10224
|
-
6: { value:
|
10225
|
-
7: { value:
|
10226
|
-
8: { value:
|
10227
|
-
9: { value:
|
10228
|
-
10: { value:
|
10229
|
-
11: { value:
|
10230
|
-
12: { value:
|
9953
|
+
0: { value: tokens23__default.size.spacing["0"] },
|
9954
|
+
0.5: { value: tokens23__default.size.spacing["0.5"] },
|
9955
|
+
1: { value: tokens23__default.size.spacing["1"] },
|
9956
|
+
1.5: { value: tokens23__default.size.spacing["1.5"] },
|
9957
|
+
2: { value: tokens23__default.size.spacing["2"] },
|
9958
|
+
3: { value: tokens23__default.size.spacing["3"] },
|
9959
|
+
4: { value: tokens23__default.size.spacing["4"] },
|
9960
|
+
5: { value: tokens23__default.size.spacing["5"] },
|
9961
|
+
6: { value: tokens23__default.size.spacing["6"] },
|
9962
|
+
7: { value: tokens23__default.size.spacing["7"] },
|
9963
|
+
8: { value: tokens23__default.size.spacing["8"] },
|
9964
|
+
9: { value: tokens23__default.size.spacing["9"] },
|
9965
|
+
10: { value: tokens23__default.size.spacing["10"] },
|
9966
|
+
11: { value: tokens23__default.size.spacing["11"] },
|
9967
|
+
12: { value: tokens23__default.size.spacing["12"] }
|
10231
9968
|
});
|
10232
9969
|
|
10233
9970
|
// src/theme/tokens/sizes.ts
|
@@ -10264,10 +10001,10 @@ var namedSizes = defineTokens.sizes({
|
|
10264
10001
|
});
|
10265
10002
|
var container = defineTokens.sizes({
|
10266
10003
|
base: { value: 0 },
|
10267
|
-
sm: { value:
|
10268
|
-
md: { value:
|
10269
|
-
lg: { value:
|
10270
|
-
xl: { value:
|
10004
|
+
sm: { value: tokens23__default.size.breakpoint.sm },
|
10005
|
+
md: { value: tokens23__default.size.breakpoint.md },
|
10006
|
+
lg: { value: tokens23__default.size.breakpoint.lg },
|
10007
|
+
xl: { value: tokens23__default.size.breakpoint.xl }
|
10271
10008
|
});
|
10272
10009
|
var sizes = {
|
10273
10010
|
...largeSizes,
|
@@ -10276,22 +10013,22 @@ var sizes = {
|
|
10276
10013
|
container
|
10277
10014
|
};
|
10278
10015
|
var zIndex = defineTokens.zIndex({
|
10279
|
-
hide: { value:
|
10016
|
+
hide: { value: tokens23__default.depth["z-index"].hide },
|
10280
10017
|
auto: { value: "auto" },
|
10281
|
-
base: { value:
|
10282
|
-
docked: { value:
|
10283
|
-
dropdown: { value:
|
10284
|
-
sticky: { value:
|
10285
|
-
banner: { value:
|
10286
|
-
overlay: { value:
|
10287
|
-
modal: { value:
|
10288
|
-
popover: { value:
|
10289
|
-
skipLink: { value:
|
10290
|
-
toast: { value:
|
10018
|
+
base: { value: tokens23__default.depth["z-index"].base },
|
10019
|
+
docked: { value: tokens23__default.depth["z-index"].docked },
|
10020
|
+
dropdown: { value: tokens23__default.depth["z-index"].dropdown },
|
10021
|
+
sticky: { value: tokens23__default.depth["z-index"].sticky },
|
10022
|
+
banner: { value: tokens23__default.depth["z-index"].banner },
|
10023
|
+
overlay: { value: tokens23__default.depth["z-index"].overlay },
|
10024
|
+
modal: { value: tokens23__default.depth["z-index"].modal },
|
10025
|
+
popover: { value: tokens23__default.depth["z-index"].popover },
|
10026
|
+
skipLink: { value: tokens23__default.depth["z-index"].skipLink },
|
10027
|
+
toast: { value: tokens23__default.depth["z-index"].toast }
|
10291
10028
|
});
|
10292
10029
|
|
10293
10030
|
// src/theme/tokens/index.ts
|
10294
|
-
var
|
10031
|
+
var tokens21 = {
|
10295
10032
|
aspectRatios,
|
10296
10033
|
animations,
|
10297
10034
|
blurs,
|
@@ -10360,10 +10097,10 @@ var animationStyles = defineAnimationStyles({
|
|
10360
10097
|
});
|
10361
10098
|
var breakpoints = {
|
10362
10099
|
base: "0px",
|
10363
|
-
sm:
|
10364
|
-
md:
|
10365
|
-
lg:
|
10366
|
-
xl:
|
10100
|
+
sm: tokens23__default.size.breakpoint.sm,
|
10101
|
+
md: tokens23__default.size.breakpoint.md,
|
10102
|
+
lg: tokens23__default.size.breakpoint.lg,
|
10103
|
+
xl: tokens23__default.size.breakpoint.xl
|
10367
10104
|
};
|
10368
10105
|
|
10369
10106
|
// src/theme/tokens/config.ts
|
@@ -10653,85 +10390,85 @@ var textStyles = defineTextStyles({
|
|
10653
10390
|
xxl: {
|
10654
10391
|
value: {
|
10655
10392
|
fontSize: [
|
10656
|
-
|
10393
|
+
tokens23__default.font.style.xxl["font-size"].mobile,
|
10657
10394
|
null,
|
10658
10395
|
null,
|
10659
|
-
|
10396
|
+
tokens23__default.font.style.xxl["font-size"].desktop
|
10660
10397
|
],
|
10661
|
-
fontFamily:
|
10662
|
-
lineHeight:
|
10398
|
+
fontFamily: tokens23__default.font.style.xxl["font-family"],
|
10399
|
+
lineHeight: tokens23__default.font.style.xxl["line-height"]
|
10663
10400
|
}
|
10664
10401
|
},
|
10665
10402
|
"xl-display": {
|
10666
10403
|
value: {
|
10667
10404
|
fontSize: [
|
10668
|
-
|
10405
|
+
tokens23__default.font.style["xl-display"]["font-size"].mobile,
|
10669
10406
|
null,
|
10670
10407
|
null,
|
10671
|
-
|
10408
|
+
tokens23__default.font.style["xl-display"]["font-size"].desktop
|
10672
10409
|
],
|
10673
|
-
fontFamily:
|
10674
|
-
lineHeight:
|
10410
|
+
fontFamily: tokens23__default.font.style["xl-display"]["font-family"],
|
10411
|
+
lineHeight: tokens23__default.font.style["xl-display"]["line-height"]
|
10675
10412
|
}
|
10676
10413
|
},
|
10677
10414
|
"xl-sans": {
|
10678
10415
|
value: {
|
10679
10416
|
fontSize: [
|
10680
|
-
|
10417
|
+
tokens23__default.font.style["xl-sans"]["font-size"].mobile,
|
10681
10418
|
null,
|
10682
10419
|
null,
|
10683
|
-
|
10420
|
+
tokens23__default.font.style["xl-sans"]["font-size"].desktop
|
10684
10421
|
],
|
10685
|
-
fontFamily:
|
10686
|
-
lineHeight:
|
10422
|
+
fontFamily: tokens23__default.font.style["xl-sans"]["font-family"],
|
10423
|
+
lineHeight: tokens23__default.font.style["xl-sans"]["line-height"]
|
10687
10424
|
}
|
10688
10425
|
},
|
10689
10426
|
lg: {
|
10690
10427
|
value: {
|
10691
10428
|
fontSize: [
|
10692
|
-
|
10429
|
+
tokens23__default.font.style.lg["font-size"].mobile,
|
10693
10430
|
null,
|
10694
10431
|
null,
|
10695
|
-
|
10432
|
+
tokens23__default.font.style.lg["font-size"].desktop
|
10696
10433
|
],
|
10697
|
-
fontFamily:
|
10698
|
-
lineHeight:
|
10434
|
+
fontFamily: tokens23__default.font.style.lg["font-family"],
|
10435
|
+
lineHeight: tokens23__default.font.style.lg["line-height"]
|
10699
10436
|
}
|
10700
10437
|
},
|
10701
10438
|
md: {
|
10702
10439
|
value: {
|
10703
10440
|
fontSize: [
|
10704
|
-
|
10441
|
+
tokens23__default.font.style.md["font-size"].mobile,
|
10705
10442
|
null,
|
10706
10443
|
null,
|
10707
|
-
|
10444
|
+
tokens23__default.font.style.md["font-size"].desktop
|
10708
10445
|
],
|
10709
|
-
fontFamily:
|
10710
|
-
lineHeight:
|
10446
|
+
fontFamily: tokens23__default.font.style.md["font-family"],
|
10447
|
+
lineHeight: tokens23__default.font.style.md["line-height"]
|
10711
10448
|
}
|
10712
10449
|
},
|
10713
10450
|
sm: {
|
10714
10451
|
value: {
|
10715
10452
|
fontSize: [
|
10716
|
-
|
10453
|
+
tokens23__default.font.style.sm["font-size"].mobile,
|
10717
10454
|
null,
|
10718
10455
|
null,
|
10719
|
-
|
10456
|
+
tokens23__default.font.style.sm["font-size"].desktop
|
10720
10457
|
],
|
10721
|
-
fontFamily:
|
10722
|
-
lineHeight:
|
10458
|
+
fontFamily: tokens23__default.font.style.sm["font-family"],
|
10459
|
+
lineHeight: tokens23__default.font.style.sm["line-height"]
|
10723
10460
|
}
|
10724
10461
|
},
|
10725
10462
|
xs: {
|
10726
10463
|
value: {
|
10727
10464
|
fontSize: [
|
10728
|
-
|
10465
|
+
tokens23__default.font.style.xs["font-size"].mobile,
|
10729
10466
|
null,
|
10730
10467
|
null,
|
10731
|
-
|
10468
|
+
tokens23__default.font.style.xs["font-size"].desktop
|
10732
10469
|
],
|
10733
|
-
fontFamily:
|
10734
|
-
lineHeight:
|
10470
|
+
fontFamily: tokens23__default.font.style.xs["font-family"],
|
10471
|
+
lineHeight: tokens23__default.font.style.xs["line-height"]
|
10735
10472
|
}
|
10736
10473
|
}
|
10737
10474
|
});
|
@@ -10742,7 +10479,7 @@ var generateTheme = (brand) => {
|
|
10742
10479
|
theme: {
|
10743
10480
|
breakpoints,
|
10744
10481
|
keyframes,
|
10745
|
-
tokens:
|
10482
|
+
tokens: tokens21,
|
10746
10483
|
semanticTokens: semanticTokens[brand],
|
10747
10484
|
recipes,
|
10748
10485
|
slotRecipes,
|