@tectra-ng/themes 0.1.7 → 0.1.9
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.
|
@@ -555,6 +555,12 @@ const colorPickerTokens = {
|
|
|
555
555
|
swatchBorderRadius: tokenRef("radius-sm"),
|
|
556
556
|
swatchRing: `inset 0 0 0 1px ${tokenRef("surface-border")}`
|
|
557
557
|
},
|
|
558
|
+
dot: {
|
|
559
|
+
size: tokenRef("form-field-font-size"),
|
|
560
|
+
ringColor: `color-mix(in srgb, ${tokenRef("text-primary")} 30%, transparent)`,
|
|
561
|
+
emptyBorderColor: tokenRef("text-muted"),
|
|
562
|
+
focusRingColor: tokenRef("focus-ring-color")
|
|
563
|
+
},
|
|
558
564
|
panel: {
|
|
559
565
|
width: "240px",
|
|
560
566
|
padding: "12px",
|
|
@@ -604,6 +610,50 @@ const emailSuggestionTokens = { root: {
|
|
|
604
610
|
enterDistance: "6px",
|
|
605
611
|
enterDuration: "320ms"
|
|
606
612
|
} };
|
|
613
|
+
const listInputTokens = {
|
|
614
|
+
root: {
|
|
615
|
+
background: tokenRef("surface-card"),
|
|
616
|
+
borderColor: tokenRef("surface-border"),
|
|
617
|
+
borderWidth: "1px",
|
|
618
|
+
borderRadius: tokenRef("radius-lg"),
|
|
619
|
+
focusBorderColor: tokenRef("primary-base"),
|
|
620
|
+
focusBorderWidth: "2px",
|
|
621
|
+
invalidBorderColor: tokenRef("danger-base"),
|
|
622
|
+
disabledOpacity: "0.6",
|
|
623
|
+
transitionDuration: tokenRef("motion-duration")
|
|
624
|
+
},
|
|
625
|
+
field: {
|
|
626
|
+
minHeight: "128px",
|
|
627
|
+
padding: "12px 16px",
|
|
628
|
+
fontFamily: tokenRef("font-mono"),
|
|
629
|
+
fontSize: tokenRef("font-size-sm"),
|
|
630
|
+
lineHeight: "1.625",
|
|
631
|
+
color: tokenRef("text-primary"),
|
|
632
|
+
placeholderColor: tokenRef("form-field-placeholder-color")
|
|
633
|
+
},
|
|
634
|
+
footer: {
|
|
635
|
+
padding: "8px 12px",
|
|
636
|
+
gap: "8px",
|
|
637
|
+
background: tokenRef("surface-ground"),
|
|
638
|
+
borderColor: tokenRef("surface-border"),
|
|
639
|
+
statsGap: "6px",
|
|
640
|
+
statsPaddingStart: "4px",
|
|
641
|
+
actionsGap: "4px"
|
|
642
|
+
},
|
|
643
|
+
hint: {
|
|
644
|
+
fontSize: tokenRef("font-size-sm"),
|
|
645
|
+
color: tokenRef("text-muted")
|
|
646
|
+
},
|
|
647
|
+
unrecognized: {
|
|
648
|
+
padding: "10px 16px",
|
|
649
|
+
gap: "6px",
|
|
650
|
+
borderColor: tokenRef("surface-border"),
|
|
651
|
+
titleFontSize: tokenRef("font-size-sm"),
|
|
652
|
+
titleFontWeight: tokenRef("font-weight-medium"),
|
|
653
|
+
titleColor: lightDark(tokenRef("red-600"), tokenRef("red-400")),
|
|
654
|
+
titleGap: "4px"
|
|
655
|
+
}
|
|
656
|
+
};
|
|
607
657
|
function severity(group) {
|
|
608
658
|
return {
|
|
609
659
|
background: tokenRef(`${group}-base`),
|
|
@@ -1270,7 +1320,24 @@ const avatarTokens = {
|
|
|
1270
1320
|
ringWidth: "2px",
|
|
1271
1321
|
ringColor: tokenRef("surface-card"),
|
|
1272
1322
|
moreBackground: lightDark(tokenRef("surface-100"), tokenRef("surface-800")),
|
|
1273
|
-
moreColor: tokenRef("text-muted")
|
|
1323
|
+
moreColor: tokenRef("text-muted"),
|
|
1324
|
+
moreFocusRingWidth: "2px",
|
|
1325
|
+
moreFocusRingOffset: "2px",
|
|
1326
|
+
moreFocusRingColor: tokenRef("focus-ring-color"),
|
|
1327
|
+
endGap: "6px",
|
|
1328
|
+
addBackground: tokenRef("surface-ground"),
|
|
1329
|
+
addBorderColor: tokenRef("surface-border"),
|
|
1330
|
+
addHoverBorderColor: tokenRef("primary-base"),
|
|
1331
|
+
addColor: tokenRef("primary-base"),
|
|
1332
|
+
addIconScale: "0.45"
|
|
1333
|
+
},
|
|
1334
|
+
list: {
|
|
1335
|
+
padding: "0",
|
|
1336
|
+
gap: "8px",
|
|
1337
|
+
itemGap: "8px",
|
|
1338
|
+
maxHeight: "280px",
|
|
1339
|
+
nameFontSize: tokenRef("font-size-md"),
|
|
1340
|
+
nameColor: tokenRef("text-primary")
|
|
1274
1341
|
}
|
|
1275
1342
|
};
|
|
1276
1343
|
const dividerTokens = { root: {
|
|
@@ -1408,6 +1475,17 @@ const iconLinkTokens = { root: {
|
|
|
1408
1475
|
iconSize: "1em",
|
|
1409
1476
|
focusRingColor: tokenRef("focus-ring-color")
|
|
1410
1477
|
} };
|
|
1478
|
+
const truncateTextTokens = { root: {
|
|
1479
|
+
gap: "8px",
|
|
1480
|
+
linkColor: tokenRef("primary-soft-text"),
|
|
1481
|
+
linkHoverColor: tokenRef("primary-active"),
|
|
1482
|
+
copyColor: "inherit",
|
|
1483
|
+
copyHoverColor: tokenRef("primary-soft-text"),
|
|
1484
|
+
copiedColor: lightDark(tokenRef("green-700"), tokenRef("green-400")),
|
|
1485
|
+
copyIconSize: tokenRef("font-size-md"),
|
|
1486
|
+
focusRingColor: tokenRef("focus-ring-color"),
|
|
1487
|
+
transitionDuration: tokenRef("motion-duration")
|
|
1488
|
+
} };
|
|
1411
1489
|
const tooltipTokens = {
|
|
1412
1490
|
root: {
|
|
1413
1491
|
background: lightDark(tokenRef("surface-900"), tokenRef("surface-50")),
|
|
@@ -2830,7 +2908,7 @@ const editorContentTokens = {
|
|
|
2830
2908
|
color: tokenRef("text-muted")
|
|
2831
2909
|
},
|
|
2832
2910
|
code: {
|
|
2833
|
-
fontFamily: tokenRef("font-
|
|
2911
|
+
fontFamily: tokenRef("font-mono"),
|
|
2834
2912
|
fontSize: "0.875em",
|
|
2835
2913
|
padding: "0.15em 0.4em",
|
|
2836
2914
|
borderRadius: tokenRef("radius-sm"),
|
|
@@ -4340,7 +4418,8 @@ const publicHeaderTokens = {
|
|
|
4340
4418
|
linkBorderRadius: tokenRef("radius-full"),
|
|
4341
4419
|
linkFontSize: "12.25px",
|
|
4342
4420
|
linkColor: tokenRef("text-muted"),
|
|
4343
|
-
linkHoverColor: tokenRef("text-primary")
|
|
4421
|
+
linkHoverColor: tokenRef("text-primary"),
|
|
4422
|
+
linkHoverBackground: "transparent"
|
|
4344
4423
|
},
|
|
4345
4424
|
end: {
|
|
4346
4425
|
gap: "10.5px",
|
|
@@ -4452,6 +4531,200 @@ const qrCodeTokens = {
|
|
|
4452
4531
|
fontSize: "12.25px"
|
|
4453
4532
|
}
|
|
4454
4533
|
};
|
|
4534
|
+
const confettiTokens = {
|
|
4535
|
+
piece: {
|
|
4536
|
+
size: "10.5px",
|
|
4537
|
+
borderRadius: "2.625px",
|
|
4538
|
+
neutralWidth: "7px",
|
|
4539
|
+
neutralHeight: "14px"
|
|
4540
|
+
},
|
|
4541
|
+
colors: {
|
|
4542
|
+
accent: tokenRef("primary-base"),
|
|
4543
|
+
neutral: tokenRef("text-muted"),
|
|
4544
|
+
success: lightDark(tokenRef("green-600"), tokenRef("green-500"))
|
|
4545
|
+
},
|
|
4546
|
+
motion: {
|
|
4547
|
+
duration: "1.1s",
|
|
4548
|
+
easing: "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
4549
|
+
stagger: "40ms"
|
|
4550
|
+
}
|
|
4551
|
+
};
|
|
4552
|
+
const hoverEffectTokens = { root: {
|
|
4553
|
+
perspective: "100px",
|
|
4554
|
+
resetDuration: "600ms",
|
|
4555
|
+
resetEasing: "cubic-bezier(0.16, 1, 0.3, 1)"
|
|
4556
|
+
} };
|
|
4557
|
+
const mascotTokens = { root: {
|
|
4558
|
+
size: "48px",
|
|
4559
|
+
bodyColor: tokenRef("primary-base"),
|
|
4560
|
+
shadeColor: tokenRef("primary-700"),
|
|
4561
|
+
glowColor: tokenRef("primary-300"),
|
|
4562
|
+
eyeColor: tokenRef("surface-card")
|
|
4563
|
+
} };
|
|
4564
|
+
const chartTokens = {
|
|
4565
|
+
root: {
|
|
4566
|
+
fontFamily: "inherit",
|
|
4567
|
+
color: tokenRef("text-primary"),
|
|
4568
|
+
background: "transparent"
|
|
4569
|
+
},
|
|
4570
|
+
series: {
|
|
4571
|
+
color1: tokenRef("primary-500"),
|
|
4572
|
+
color2: "#14b8a6",
|
|
4573
|
+
color3: tokenRef("orange-400"),
|
|
4574
|
+
color4: "#f43f5e",
|
|
4575
|
+
color5: tokenRef("purple-500"),
|
|
4576
|
+
color6: "#06b6d4",
|
|
4577
|
+
color7: tokenRef("green-500")
|
|
4578
|
+
},
|
|
4579
|
+
grid: {
|
|
4580
|
+
color: lightDark(fade(tokenRef("surface-300"), "45%"), fade(tokenRef("surface-600"), "45%")),
|
|
4581
|
+
width: "1px",
|
|
4582
|
+
dash: "none"
|
|
4583
|
+
},
|
|
4584
|
+
zeroLine: {
|
|
4585
|
+
color: lightDark(tokenRef("surface-300"), tokenRef("surface-600")),
|
|
4586
|
+
width: "1px"
|
|
4587
|
+
},
|
|
4588
|
+
axis: {
|
|
4589
|
+
labelColor: tokenRef("text-muted"),
|
|
4590
|
+
labelFontSize: "11.5px",
|
|
4591
|
+
labelFontWeight: tokenRef("font-weight-regular"),
|
|
4592
|
+
titleColor: tokenRef("text-muted"),
|
|
4593
|
+
titleFontSize: "11.5px",
|
|
4594
|
+
titleFontWeight: tokenRef("font-weight-medium"),
|
|
4595
|
+
lineColor: tokenRef("surface-border")
|
|
4596
|
+
},
|
|
4597
|
+
legend: {
|
|
4598
|
+
gap: "10.5px",
|
|
4599
|
+
itemGap: "4px",
|
|
4600
|
+
color: tokenRef("text-primary"),
|
|
4601
|
+
mutedColor: tokenRef("text-muted"),
|
|
4602
|
+
fontSize: "12.25px",
|
|
4603
|
+
fontWeight: tokenRef("font-weight-medium"),
|
|
4604
|
+
markerSize: "8px",
|
|
4605
|
+
markerRadius: tokenRef("radius-full"),
|
|
4606
|
+
markerGap: "7px",
|
|
4607
|
+
lineWidth: "14px",
|
|
4608
|
+
lineHeight: "3px",
|
|
4609
|
+
hiddenOpacity: "0.55",
|
|
4610
|
+
borderRadius: tokenRef("radius-md"),
|
|
4611
|
+
hoverBackground: tokenRef("surface-hover"),
|
|
4612
|
+
paddingX: "7px",
|
|
4613
|
+
paddingY: "4px",
|
|
4614
|
+
sideWidth: "50%",
|
|
4615
|
+
valueColor: tokenRef("text-muted"),
|
|
4616
|
+
valueGap: "12px",
|
|
4617
|
+
percentGap: "8px",
|
|
4618
|
+
listGap: "2px",
|
|
4619
|
+
pillBorderColor: tokenRef("surface-border"),
|
|
4620
|
+
pillRadius: tokenRef("radius-full"),
|
|
4621
|
+
pillPaddingX: "10.5px",
|
|
4622
|
+
pillPaddingY: "4px",
|
|
4623
|
+
pillTint: "12%",
|
|
4624
|
+
statLabelFontSize: "12px",
|
|
4625
|
+
statValueFontSize: "19px",
|
|
4626
|
+
statValueFontWeight: tokenRef("font-weight-semibold"),
|
|
4627
|
+
statPaddingX: "10.5px",
|
|
4628
|
+
statPaddingY: "7px",
|
|
4629
|
+
statRadius: tokenRef("radius-lg"),
|
|
4630
|
+
statMinWidth: "112px"
|
|
4631
|
+
},
|
|
4632
|
+
tooltip: {
|
|
4633
|
+
background: tokenRef("surface-overlay"),
|
|
4634
|
+
borderColor: tokenRef("surface-overlay-border"),
|
|
4635
|
+
borderWidth: "1px",
|
|
4636
|
+
borderRadius: tokenRef("radius-lg"),
|
|
4637
|
+
shadow: "0 8px 24px -8px rgba(12, 16, 21, 0.18), 0 2px 6px -2px rgba(12, 16, 21, 0.08)",
|
|
4638
|
+
color: tokenRef("text-primary"),
|
|
4639
|
+
mutedColor: tokenRef("text-muted"),
|
|
4640
|
+
fontSize: "12.5px",
|
|
4641
|
+
titleFontSize: "11.5px",
|
|
4642
|
+
titleFontWeight: tokenRef("font-weight-medium"),
|
|
4643
|
+
valueFontWeight: tokenRef("font-weight-semibold"),
|
|
4644
|
+
padding: "8px 10.5px",
|
|
4645
|
+
rowGap: "4px",
|
|
4646
|
+
markerSize: "8px",
|
|
4647
|
+
markerGap: "7px",
|
|
4648
|
+
valueGap: "16px",
|
|
4649
|
+
minWidth: "132px",
|
|
4650
|
+
arrowSize: "6px",
|
|
4651
|
+
offset: "10px",
|
|
4652
|
+
totalBorderColor: tokenRef("surface-border")
|
|
4653
|
+
},
|
|
4654
|
+
crosshair: {
|
|
4655
|
+
color: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
|
|
4656
|
+
width: "1px",
|
|
4657
|
+
dash: "none"
|
|
4658
|
+
},
|
|
4659
|
+
marker: {
|
|
4660
|
+
radius: "4.5",
|
|
4661
|
+
strokeColor: tokenRef("surface-card"),
|
|
4662
|
+
strokeWidth: "2",
|
|
4663
|
+
haloRadius: "10",
|
|
4664
|
+
haloOpacity: "0.16"
|
|
4665
|
+
},
|
|
4666
|
+
line: {
|
|
4667
|
+
strokeWidth: "2",
|
|
4668
|
+
areaOpacityFrom: "0.22",
|
|
4669
|
+
areaOpacityTo: "0",
|
|
4670
|
+
stackedAreaOpacity: "0.5",
|
|
4671
|
+
pointRadius: "3",
|
|
4672
|
+
dimmedOpacity: "0.18"
|
|
4673
|
+
},
|
|
4674
|
+
bar: {
|
|
4675
|
+
radius: "5px",
|
|
4676
|
+
width: "56%",
|
|
4677
|
+
horizontalWidth: "64%",
|
|
4678
|
+
groupGap: "3px",
|
|
4679
|
+
segmentGap: "1.5px",
|
|
4680
|
+
segmentGapColor: tokenRef("surface-card"),
|
|
4681
|
+
dimmedStrength: "38%",
|
|
4682
|
+
dimmedBase: lightDark(tokenRef("surface-100"), tokenRef("surface-700")),
|
|
4683
|
+
labelColor: tokenRef("surface-0"),
|
|
4684
|
+
labelFontSize: "11px",
|
|
4685
|
+
labelFontWeight: tokenRef("font-weight-semibold"),
|
|
4686
|
+
outsideLabelColor: tokenRef("text-muted")
|
|
4687
|
+
},
|
|
4688
|
+
pie: {
|
|
4689
|
+
segmentGap: tokenRef("surface-card"),
|
|
4690
|
+
segmentRadius: "4px",
|
|
4691
|
+
hoverOffset: "6px",
|
|
4692
|
+
dimmedStrength: "42%",
|
|
4693
|
+
dimmedBase: lightDark(tokenRef("surface-100"), tokenRef("surface-700")),
|
|
4694
|
+
labelColor: tokenRef("surface-0"),
|
|
4695
|
+
labelFontSize: "11px",
|
|
4696
|
+
labelFontWeight: tokenRef("font-weight-semibold"),
|
|
4697
|
+
labelShadow: "drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25))",
|
|
4698
|
+
nameColor: tokenRef("text-muted"),
|
|
4699
|
+
nameFontSize: "12px",
|
|
4700
|
+
nameFontWeight: tokenRef("font-weight-medium"),
|
|
4701
|
+
valueColor: tokenRef("text-primary"),
|
|
4702
|
+
valueFontSize: "22px",
|
|
4703
|
+
valueFontWeight: tokenRef("font-weight-semibold"),
|
|
4704
|
+
totalLabelColor: tokenRef("text-muted")
|
|
4705
|
+
},
|
|
4706
|
+
empty: {
|
|
4707
|
+
gap: "7px",
|
|
4708
|
+
color: tokenRef("text-muted"),
|
|
4709
|
+
fontSize: tokenRef("font-size-sm"),
|
|
4710
|
+
iconSize: "35px",
|
|
4711
|
+
iconFontSize: "15.75px",
|
|
4712
|
+
iconColor: tokenRef("text-muted"),
|
|
4713
|
+
iconBackground: mix(tokenRef("surface-ground"), "70%", "transparent")
|
|
4714
|
+
},
|
|
4715
|
+
focusRing: {
|
|
4716
|
+
color: tokenRef("focus-ring-color"),
|
|
4717
|
+
width: "2px",
|
|
4718
|
+
offset: "2px"
|
|
4719
|
+
},
|
|
4720
|
+
motion: {
|
|
4721
|
+
enterDuration: "0.7s",
|
|
4722
|
+
updateDuration: "0.32s",
|
|
4723
|
+
hoverDuration: "0.18s",
|
|
4724
|
+
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
4725
|
+
stagger: "28ms"
|
|
4726
|
+
}
|
|
4727
|
+
};
|
|
4455
4728
|
const COMPONENT_TOKENS = {
|
|
4456
4729
|
icon: iconTokens,
|
|
4457
4730
|
ripple: rippleTokens,
|
|
@@ -4476,6 +4749,7 @@ const COMPONENT_TOKENS = {
|
|
|
4476
4749
|
fieldMessage: fieldMessageTokens,
|
|
4477
4750
|
field: fieldTokens,
|
|
4478
4751
|
textarea: textareaTokens,
|
|
4752
|
+
listInput: listInputTokens,
|
|
4479
4753
|
checkbox: checkboxTokens,
|
|
4480
4754
|
radioButton: radioButtonTokens,
|
|
4481
4755
|
toggleSwitch: toggleSwitchTokens,
|
|
@@ -4502,6 +4776,7 @@ const COMPONENT_TOKENS = {
|
|
|
4502
4776
|
statusIcon: statusIconTokens,
|
|
4503
4777
|
link: linkTokens,
|
|
4504
4778
|
iconLink: iconLinkTokens,
|
|
4779
|
+
truncateText: truncateTextTokens,
|
|
4505
4780
|
tooltip: tooltipTokens,
|
|
4506
4781
|
popover: popoverTokens,
|
|
4507
4782
|
toast: toastTokens,
|
|
@@ -4557,7 +4832,11 @@ const COMPONENT_TOKENS = {
|
|
|
4557
4832
|
publicHeader: publicHeaderTokens,
|
|
4558
4833
|
cookieNotice: cookieNoticeTokens,
|
|
4559
4834
|
networkStatus: networkStatusTokens,
|
|
4560
|
-
qrCode: qrCodeTokens
|
|
4835
|
+
qrCode: qrCodeTokens,
|
|
4836
|
+
confetti: confettiTokens,
|
|
4837
|
+
hoverEffect: hoverEffectTokens,
|
|
4838
|
+
mascot: mascotTokens,
|
|
4839
|
+
chart: chartTokens
|
|
4561
4840
|
};
|
|
4562
4841
|
function edgeLight({ accent, surface }) {
|
|
4563
4842
|
const base = primaryBaseStep(accent);
|
|
@@ -4586,9 +4865,9 @@ function edgeLight({ accent, surface }) {
|
|
|
4586
4865
|
function edgeDark({ accent, surface }) {
|
|
4587
4866
|
return {
|
|
4588
4867
|
primary: {
|
|
4589
|
-
base: accent[
|
|
4590
|
-
hover: accent[
|
|
4591
|
-
active: accent[
|
|
4868
|
+
base: accent[400],
|
|
4869
|
+
hover: accent[300],
|
|
4870
|
+
active: accent[200]
|
|
4592
4871
|
},
|
|
4593
4872
|
surface: {
|
|
4594
4873
|
hover: surface[700],
|
|
@@ -4773,14 +5052,20 @@ const edgeControlsTokens = {
|
|
|
4773
5052
|
lg: { padding: "0" }
|
|
4774
5053
|
}
|
|
4775
5054
|
},
|
|
4776
|
-
checkbox: {
|
|
4777
|
-
|
|
4778
|
-
checkedBackground: tokenRef("
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
5055
|
+
checkbox: {
|
|
5056
|
+
root: { borderRadius: tokenRef("radius-xs") },
|
|
5057
|
+
tile: { checkedBackground: tokenRef("primary-soft") }
|
|
5058
|
+
},
|
|
5059
|
+
radioButton: {
|
|
5060
|
+
root: {
|
|
5061
|
+
checkedBackground: tokenRef("form-field-background"),
|
|
5062
|
+
checkedHoverBackground: tokenRef("form-field-background"),
|
|
5063
|
+
checkedBorderColor: tokenRef("form-field-border-color"),
|
|
5064
|
+
checkedHoverBorderColor: tokenRef("form-field-hover-border-color"),
|
|
5065
|
+
dotColor: tokenRef("primary-base")
|
|
5066
|
+
},
|
|
5067
|
+
tile: { checkedBackground: tokenRef("primary-soft") }
|
|
5068
|
+
},
|
|
4784
5069
|
toggleSwitch: {
|
|
4785
5070
|
root: {
|
|
4786
5071
|
borderWidth: "1px",
|
|
@@ -4886,7 +5171,9 @@ const edgeDisplayTokens = {
|
|
|
4886
5171
|
legendBorderRadius: tokenRef("radius-xs"),
|
|
4887
5172
|
legendBorderColor: tokenRef("surface-border"),
|
|
4888
5173
|
legendFontWeight: tokenRef("font-weight-bold")
|
|
4889
|
-
} }
|
|
5174
|
+
} },
|
|
5175
|
+
iconLink: { root: { activeColor: tokenRef("highlight-color") } },
|
|
5176
|
+
consoleLayout: { railItem: { activeColor: tokenRef("primary-soft-text") } }
|
|
4890
5177
|
};
|
|
4891
5178
|
const radius$3 = tokenRef("radius-xs");
|
|
4892
5179
|
const listPadding = "1.75px 0";
|
|
@@ -4948,6 +5235,18 @@ const edgeOverlaysTokens = {
|
|
|
4948
5235
|
};
|
|
4949
5236
|
const radius$2 = tokenRef("radius-xs");
|
|
4950
5237
|
const edgeDataTokens = {
|
|
5238
|
+
chart: {
|
|
5239
|
+
pie: { segmentRadius: "1px" },
|
|
5240
|
+
bar: { radius: radius$2 },
|
|
5241
|
+
legend: {
|
|
5242
|
+
borderRadius: radius$2,
|
|
5243
|
+
markerRadius: "1px",
|
|
5244
|
+
pillRadius: radius$2,
|
|
5245
|
+
statRadius: radius$2
|
|
5246
|
+
},
|
|
5247
|
+
tooltip: { borderRadius: radius$2 },
|
|
5248
|
+
line: { strokeWidth: "2" }
|
|
5249
|
+
},
|
|
4951
5250
|
paginator: {
|
|
4952
5251
|
root: { borderRadius: radius$2 },
|
|
4953
5252
|
navButton: { borderRadius: radius$2 }
|
|
@@ -4985,7 +5284,11 @@ function softLight({ surface }) {
|
|
|
4985
5284
|
border: surface[100],
|
|
4986
5285
|
overlayBorder: "transparent"
|
|
4987
5286
|
},
|
|
4988
|
-
field: {
|
|
5287
|
+
field: {
|
|
5288
|
+
disabledBackground: surface[200],
|
|
5289
|
+
placeholder: surface[600],
|
|
5290
|
+
icon: surface[600]
|
|
5291
|
+
},
|
|
4989
5292
|
shadow
|
|
4990
5293
|
};
|
|
4991
5294
|
}
|
|
@@ -5011,6 +5314,8 @@ const softFormsTokens = {
|
|
|
5011
5314
|
filledBackground: softFill,
|
|
5012
5315
|
filledHoverBackground: softFillHover,
|
|
5013
5316
|
filledFocusBackground: lightDark(tokenRef("surface-0"), tokenRef("surface-900")),
|
|
5317
|
+
placeholderColor: lightDark(tokenRef("surface-600"), tokenRef("surface-400")),
|
|
5318
|
+
iconColor: lightDark(tokenRef("surface-600"), tokenRef("surface-400")),
|
|
5014
5319
|
borderColor: softFill,
|
|
5015
5320
|
hoverBorderColor: softLine,
|
|
5016
5321
|
shadow: "none",
|
|
@@ -5022,7 +5327,7 @@ const softFormsTokens = {
|
|
|
5022
5327
|
invalidFocusRing: { shadow: softFocusShadow("danger-base") }
|
|
5023
5328
|
} },
|
|
5024
5329
|
inputGroup: { addon: {
|
|
5025
|
-
background:
|
|
5330
|
+
background: lightDark(tokenRef("surface-200"), tokenRef("surface-800")),
|
|
5026
5331
|
borderColor: softFill
|
|
5027
5332
|
} },
|
|
5028
5333
|
select: {
|
|
@@ -5039,7 +5344,8 @@ const softFormsTokens = {
|
|
|
5039
5344
|
checkbox: {
|
|
5040
5345
|
borderRadius: "6px",
|
|
5041
5346
|
borderColor: softLine
|
|
5042
|
-
}
|
|
5347
|
+
},
|
|
5348
|
+
optionGroup: { color: tokenRef("text-muted") }
|
|
5043
5349
|
},
|
|
5044
5350
|
listbox: { root: { focusRingShadow: softFocusShadow() } },
|
|
5045
5351
|
chipsInput: { root: { chipBorderRadius: tokenRef("radius-full") } },
|
|
@@ -5173,6 +5479,20 @@ const softOverlaysTokens = {
|
|
|
5173
5479
|
}
|
|
5174
5480
|
};
|
|
5175
5481
|
const softDataTokens = {
|
|
5482
|
+
chart: {
|
|
5483
|
+
pie: { segmentRadius: "8px" },
|
|
5484
|
+
legend: {
|
|
5485
|
+
borderRadius: tokenRef("radius-full"),
|
|
5486
|
+
paddingX: "10px",
|
|
5487
|
+
statRadius: tokenRef("radius-xl")
|
|
5488
|
+
},
|
|
5489
|
+
tooltip: {
|
|
5490
|
+
borderRadius: tokenRef("radius-xl"),
|
|
5491
|
+
padding: "10px 14px"
|
|
5492
|
+
},
|
|
5493
|
+
bar: { radius: "9px" },
|
|
5494
|
+
line: { strokeWidth: "2.5" }
|
|
5495
|
+
},
|
|
5176
5496
|
paginator: {
|
|
5177
5497
|
root: { borderRadius: tokenRef("radius-full") },
|
|
5178
5498
|
navButton: {
|
|
@@ -5600,7 +5920,9 @@ const paperDisplayTokens = {
|
|
|
5600
5920
|
legendFocusBackground: lightDark(tokenRef("surface-200"), tokenRef("surface-700")),
|
|
5601
5921
|
focusRingWidth: "0",
|
|
5602
5922
|
focusRingOffset: "0"
|
|
5603
|
-
} }
|
|
5923
|
+
} },
|
|
5924
|
+
tabs: { badge: { solidActiveBackground: lightDark(tokenRef("primary-800"), tokenRef("primary-active")) } },
|
|
5925
|
+
editor: { ai: { color: lightDark(tokenRef("primary-700"), tokenRef("primary-hover")) } }
|
|
5604
5926
|
};
|
|
5605
5927
|
const radius$1 = tokenRef("radius-sm");
|
|
5606
5928
|
const elevatedShadow = "0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12)";
|
|
@@ -5715,6 +6037,19 @@ const noOutline = {
|
|
|
5715
6037
|
const sm = { padding: "5.25px 7px" };
|
|
5716
6038
|
const lg = { padding: "12.25px 15.75px" };
|
|
5717
6039
|
const paperDataTokens = {
|
|
6040
|
+
chart: {
|
|
6041
|
+
pie: { segmentRadius: "2px" },
|
|
6042
|
+
bar: { radius: tokenRef("radius-xs") },
|
|
6043
|
+
legend: {
|
|
6044
|
+
borderRadius: tokenRef("radius-sm"),
|
|
6045
|
+
pillRadius: tokenRef("radius-sm"),
|
|
6046
|
+
statRadius: tokenRef("radius-sm")
|
|
6047
|
+
},
|
|
6048
|
+
tooltip: {
|
|
6049
|
+
borderRadius: tokenRef("radius-sm"),
|
|
6050
|
+
shadow: "0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)"
|
|
6051
|
+
}
|
|
6052
|
+
},
|
|
5718
6053
|
paginator: {
|
|
5719
6054
|
root: {
|
|
5720
6055
|
padding: "7px 12.25px",
|
|
@@ -6096,6 +6431,6 @@ function presetToCss(preset) {
|
|
|
6096
6431
|
...preset.css ? [preset.css] : []
|
|
6097
6432
|
].join("\n");
|
|
6098
6433
|
}
|
|
6099
|
-
export { COMPONENT_TOKENS, Edge, Paper, Soft, TECTRA_STYLES, Tectra, accordionTokens, actionTileTokens, actionsMenuTokens, amountTokens, analogClockTokens, appFooterTokens, appLayoutTokens, avatarTokens, badgeTokens, breadcrumbTokens, buttonTokens, cardTokens, carouselTokens, cascadeSelectTokens, checkboxTokens, chipTokens, chipsInputTokens, colorPickerTokens, commandPaletteTokens, confirmTokens, consoleLayoutTokens, contrastWithWhite, cookieNoticeTokens, countdownTokens, countryTokens, createDarkSemantic, createLightSemantic, createTectraPreset, dataViewTokens, datePickerTokens, deepMerge, definePreset, dialogTokens, dividerTokens, editorContentTokens, editorTokens, emailSuggestionTokens, emptyStateTokens, fade, fieldMessageTokens, fieldTokens, fieldsetTokens, fileUploadTokens, filtersPanelTokens, floatLabelTokens, formFieldTokens, galleriaTokens, highlightTextTokens, iconLinkTokens, iconTokens, iftaLabelTokens, imageTokens, inputGroupTokens, inputNumberTokens, inputOtpTokens, kanbanTokens, knobTokens, labelTokens, lightDark, linkTokens, listboxTokens, mentionTokens, menuTokens, menubarTokens, messageTokens, mix, monthCalendarTokens, networkStatusTokens, noirScale, overlayBadgeTokens, pageHeaderTokens, paginatorTokens, panelMenuTokens, panelTokens, passwordTokens, pillTokens, pinnedTabsTokens, popoverTokens, presetToCss, primaryBaseStep, progressBarTokens, progressSpinnerTokens, publicHeaderTokens, qrCodeTokens, radioButtonTokens, ratingTokens, relativeLuminance, rippleTokens, scrollPanelTokens, selectTokens, skeletonTokens, sliderTokens, sparklineTokens, speedDialTokens, splitButtonTokens, splitterTokens, statTileTokens, statTilesTokens, statusIconTokens, stepperTokens, stepsTokens, switchLanguageTokens, switchThemeTokens, tableTokens, tabsTokens, tagTokens, textareaTokens, timelineTokens, toCssVariables, toStyleObject, toastTokens, toggleButtonTokens, toggleSwitchTokens, tokenRef, toolbarTokens, tooltipTokens, topbarPreferencesTokens, treeTableTokens, treeTokens, virtualScrollerTokens, wizardTokens };
|
|
6434
|
+
export { COMPONENT_TOKENS, Edge, Paper, Soft, TECTRA_STYLES, Tectra, accordionTokens, actionTileTokens, actionsMenuTokens, amountTokens, analogClockTokens, appFooterTokens, appLayoutTokens, avatarTokens, badgeTokens, breadcrumbTokens, buttonTokens, cardTokens, carouselTokens, cascadeSelectTokens, chartTokens, checkboxTokens, chipTokens, chipsInputTokens, colorPickerTokens, commandPaletteTokens, confettiTokens, confirmTokens, consoleLayoutTokens, contrastWithWhite, cookieNoticeTokens, countdownTokens, countryTokens, createDarkSemantic, createLightSemantic, createTectraPreset, dataViewTokens, datePickerTokens, deepMerge, definePreset, dialogTokens, dividerTokens, editorContentTokens, editorTokens, emailSuggestionTokens, emptyStateTokens, fade, fieldMessageTokens, fieldTokens, fieldsetTokens, fileUploadTokens, filtersPanelTokens, floatLabelTokens, formFieldTokens, galleriaTokens, highlightTextTokens, hoverEffectTokens, iconLinkTokens, iconTokens, iftaLabelTokens, imageTokens, inputGroupTokens, inputNumberTokens, inputOtpTokens, kanbanTokens, knobTokens, labelTokens, lightDark, linkTokens, listInputTokens, listboxTokens, mascotTokens, mentionTokens, menuTokens, menubarTokens, messageTokens, mix, monthCalendarTokens, networkStatusTokens, noirScale, overlayBadgeTokens, pageHeaderTokens, paginatorTokens, panelMenuTokens, panelTokens, passwordTokens, pillTokens, pinnedTabsTokens, popoverTokens, presetToCss, primaryBaseStep, progressBarTokens, progressSpinnerTokens, publicHeaderTokens, qrCodeTokens, radioButtonTokens, ratingTokens, relativeLuminance, rippleTokens, scrollPanelTokens, selectTokens, skeletonTokens, sliderTokens, sparklineTokens, speedDialTokens, splitButtonTokens, splitterTokens, statTileTokens, statTilesTokens, statusIconTokens, stepperTokens, stepsTokens, switchLanguageTokens, switchThemeTokens, tableTokens, tabsTokens, tagTokens, textareaTokens, timelineTokens, toCssVariables, toStyleObject, toastTokens, toggleButtonTokens, toggleSwitchTokens, tokenRef, toolbarTokens, tooltipTokens, topbarPreferencesTokens, treeTableTokens, treeTokens, truncateTextTokens, virtualScrollerTokens, wizardTokens };
|
|
6100
6435
|
|
|
6101
6436
|
//# sourceMappingURL=tectra-ng-themes.mjs.map
|