@lightsparkdev/ui 1.0.2 → 1.0.4
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/CHANGELOG.md +12 -0
- package/dist/{chunk-SGSLTG65.js → chunk-242JGEN4.js} +3 -3
- package/dist/{chunk-F6EVBEMN.js → chunk-2P6TCMZN.js} +2 -2
- package/dist/{chunk-J7SV67XL.js → chunk-3R5KJDSL.js} +1 -1
- package/dist/{chunk-L6S22JUU.js → chunk-4BERRPJN.js} +3 -3
- package/dist/{chunk-AI6DCUWK.js → chunk-4KURUJD2.js} +1 -1
- package/dist/{chunk-6H7PZJ2A.js → chunk-4X67A2CS.js} +2 -1
- package/dist/{chunk-YRYVSAWS.js → chunk-5F7IOIWL.js} +1 -1
- package/dist/{chunk-EMXTALIX.js → chunk-5ON3ICVC.js} +1 -1
- package/dist/{chunk-35WJ3PKH.js → chunk-642OXLAD.js} +2 -2
- package/dist/{chunk-SKXCT2FQ.js → chunk-7BSME2ZU.js} +2 -2
- package/dist/{chunk-GNVEN6UE.js → chunk-7COKMITX.js} +2 -2
- package/dist/{chunk-LL5YLPNM.js → chunk-7OJQZEVL.js} +5 -5
- package/dist/{chunk-GGEAODIA.js → chunk-7RLDCOUT.js} +4 -4
- package/dist/{chunk-S6AOKANU.js → chunk-7RMHMFS2.js} +4 -4
- package/dist/{chunk-CMQELZES.js → chunk-AZOVE32P.js} +2 -2
- package/dist/{chunk-5H32AOXL.js → chunk-BAGRU7JE.js} +1 -1
- package/dist/{chunk-2JYYREVX.js → chunk-BPGBJRZE.js} +1 -1
- package/dist/{chunk-UNULJ3P6.js → chunk-BRRDPQWW.js} +4 -4
- package/dist/{chunk-W3BAJ3HT.js → chunk-C3YODRA3.js} +15 -15
- package/dist/{chunk-HZ63YB4Y.js → chunk-C4HNAZFZ.js} +3 -3
- package/dist/{chunk-7NPHOJXD.js → chunk-CZFFMEAS.js} +5 -5
- package/dist/{chunk-HRZNVE2K.js → chunk-DIKOS5R6.js} +2 -2
- package/dist/{chunk-BMSSV6NX.js → chunk-DNGAINGL.js} +1 -1
- package/dist/{chunk-TVLELY54.js → chunk-DWUP3RDU.js} +4 -4
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/chunk-EIFK352Q.js +27 -0
- package/dist/{chunk-OA3BZAST.js → chunk-GLEAWATH.js} +3 -3
- package/dist/{chunk-KFX7US6Y.js → chunk-GQVNE3NU.js} +1 -1
- package/dist/{chunk-UBYBILLK.js → chunk-HPZVUEDJ.js} +2 -2
- package/dist/{chunk-TM3C4LEG.js → chunk-HVDX4OZJ.js} +2 -2
- package/dist/{chunk-6JFJDBV2.js → chunk-JAPRGAB7.js} +1 -1
- package/dist/{chunk-467PLJO3.js → chunk-JH53NBOD.js} +59 -10
- package/dist/{chunk-2XRCGW74.js → chunk-KBLCFXNL.js} +3 -3
- package/dist/{chunk-NYQLPSG3.js → chunk-KJHREJHT.js} +2 -2
- package/dist/{chunk-CZQER3QD.js → chunk-LFD2KVAB.js} +1 -1
- package/dist/{chunk-DCFB5MJ7.js → chunk-LGXMGWLV.js} +17 -16
- package/dist/{chunk-37RRWSDE.js → chunk-LLGN3OM3.js} +2 -2
- package/dist/{chunk-HA4AQO3T.js → chunk-MK2JFFUG.js} +1 -1
- package/dist/{chunk-EV6PGQPM.js → chunk-MNMVZI7D.js} +11 -11
- package/dist/{chunk-HP4VPMN7.js → chunk-OMY3WTAU.js} +2 -2
- package/dist/{chunk-VUXU77SU.js → chunk-OUHQXQOJ.js} +1 -1
- package/dist/{chunk-PNSZAJL7.js → chunk-OZQ5WPLN.js} +2 -2
- package/dist/{chunk-2H7TBKII.js → chunk-PDQVYUEW.js} +6 -6
- package/dist/{chunk-DNVKN2FG.js → chunk-QCHEDM2I.js} +3 -3
- package/dist/{chunk-CHK5DOMV.js → chunk-RESJONBZ.js} +2 -2
- package/dist/{chunk-XP3BAAUO.js → chunk-SZ4KKLYJ.js} +2 -2
- package/dist/{chunk-VYTN6ASZ.js → chunk-THTKSZSR.js} +2 -2
- package/dist/{chunk-KBYU4ZQ3.js → chunk-TNDSUTUN.js} +3 -3
- package/dist/{chunk-SRHSJOES.js → chunk-TNISOOCF.js} +1 -1
- package/dist/{chunk-55M7XHBZ.js → chunk-UNFCVZ32.js} +36 -33
- package/dist/{chunk-56QJRFP2.js → chunk-V523QTZQ.js} +2 -2
- package/dist/{chunk-A4JZESAS.js → chunk-VNQE6KEX.js} +16 -3
- package/dist/{chunk-5XZJEYHG.js → chunk-VR2GLRXH.js} +1 -1
- package/dist/chunk-VWD7T5MQ.js +74 -0
- package/dist/{chunk-XUVCOSIE.js → chunk-VXH6GWGE.js} +2 -2
- package/dist/{chunk-ZNZAY47J.js → chunk-W2N5QUG6.js} +9 -6
- package/dist/{chunk-D73OOC3E.js → chunk-WDJMAZFO.js} +3 -3
- package/dist/{chunk-WV5AB4ZB.js → chunk-XS4MH3QA.js} +102 -85
- package/dist/{chunk-TM2NGRD2.js → chunk-YRFCWL73.js} +5 -2
- package/dist/{chunk-CZCPVHVB.js → chunk-YRZ3VNBI.js} +2 -2
- package/dist/{chunk-JOQCJPOA.js → chunk-ZCXGHQQF.js} +9 -9
- package/dist/{chunk-UVGBD7XM.js → chunk-ZO35RX7V.js} +21 -13
- package/dist/{chunk-27SFWLPS.js → chunk-ZS7G6WIG.js} +1 -1
- package/dist/components/Badge.cjs +7845 -7476
- package/dist/components/Badge.d.cts +146 -7
- package/dist/components/Badge.d.ts +146 -7
- package/dist/components/Badge.js +20 -23
- package/dist/components/Banner/Banner.cjs +55 -26
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +18 -18
- package/dist/components/Button.cjs +46 -28
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +20 -20
- package/dist/components/ButtonRow.cjs +49 -31
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +22 -22
- package/dist/components/CardPage.cjs +16 -3
- package/dist/components/CardPage.js +24 -24
- package/dist/components/Checkbox.cjs +3 -3
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CodeBlock.cjs +21 -7
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +17 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +82 -7
- package/dist/components/Collapsible.js +6 -6
- package/dist/components/CommaNumberInput.cjs +22 -8
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +11 -11
- package/dist/components/ContentTable.cjs +17 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +21 -7
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +17 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +293 -176
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +22 -22
- package/dist/components/Dropdown.cjs +21 -7
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +5 -5
- package/dist/components/FileInput.cjs +17 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +17 -4
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/IconWithCircleBackground.cjs +7349 -7338
- package/dist/components/IconWithCircleBackground.js +4 -73
- package/dist/components/InfoIconTooltip.cjs +62 -32
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +19 -19
- package/dist/components/LightsparkProvider.cjs +16 -3
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +17 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +297 -147
- package/dist/components/Modal.d.cts +21 -15
- package/dist/components/Modal.d.ts +21 -15
- package/dist/components/Modal.js +27 -68
- package/dist/components/PageSection/PageSection.cjs +214 -100
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +27 -31
- package/dist/components/PageSection/PageSectionNav.cjs +50 -21
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +22 -8
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +11 -11
- package/dist/components/Pill.cjs +17 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +16 -3
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +7410 -7334
- package/dist/components/Radio.js +8 -22
- package/dist/components/SecretContainer.cjs +21 -7
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +46 -17
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +19 -19
- package/dist/components/TextIconAligner.cjs +40 -11
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +17 -17
- package/dist/components/TextInput.cjs +22 -8
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +10 -10
- package/dist/components/Toasts.cjs +66 -37
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +20 -20
- package/dist/components/Toggle.cjs +108 -97
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +20 -6
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +17 -4
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +8 -8
- package/dist/components/documentation/DocsBodyParagraph.cjs +16 -3
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +6 -6
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +16 -3
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
- package/dist/components/documentation/DocsHeadline.cjs +16 -3
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +7 -7
- package/dist/components/documentation/Video.cjs +16 -0
- package/dist/components/documentation/Video.d.cts +7 -1
- package/dist/components/documentation/Video.d.ts +7 -1
- package/dist/components/documentation/Video.js +18 -2
- package/dist/components/documentation/index.cjs +17 -4
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +8 -8
- package/dist/components/index.cjs +8474 -8234
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +69 -70
- package/dist/components/typography/Article.cjs +103 -28
- package/dist/components/typography/Article.js +14 -14
- package/dist/components/typography/Body.cjs +18 -4
- package/dist/components/typography/Body.d.cts +2 -2
- package/dist/components/typography/Body.d.ts +2 -2
- package/dist/components/typography/Body.js +6 -6
- package/dist/components/typography/BodyStrong.cjs +18 -4
- package/dist/components/typography/BodyStrong.d.cts +2 -2
- package/dist/components/typography/BodyStrong.d.ts +2 -2
- package/dist/components/typography/BodyStrong.js +6 -6
- package/dist/components/typography/Code.cjs +18 -4
- package/dist/components/typography/Code.d.cts +2 -2
- package/dist/components/typography/Code.d.ts +2 -2
- package/dist/components/typography/Code.js +6 -6
- package/dist/components/typography/Display.cjs +18 -4
- package/dist/components/typography/Display.d.cts +2 -2
- package/dist/components/typography/Display.d.ts +2 -2
- package/dist/components/typography/Display.js +6 -6
- package/dist/components/typography/Headline.cjs +18 -4
- package/dist/components/typography/Headline.d.cts +2 -2
- package/dist/components/typography/Headline.d.ts +2 -2
- package/dist/components/typography/Headline.js +6 -6
- package/dist/components/typography/Label.cjs +18 -4
- package/dist/components/typography/Label.d.cts +2 -2
- package/dist/components/typography/Label.d.ts +2 -2
- package/dist/components/typography/Label.js +6 -6
- package/dist/components/typography/LabelModerate.cjs +18 -4
- package/dist/components/typography/LabelModerate.d.cts +2 -2
- package/dist/components/typography/LabelModerate.d.ts +2 -2
- package/dist/components/typography/LabelModerate.js +6 -6
- package/dist/components/typography/LabelStrong.cjs +18 -4
- package/dist/components/typography/LabelStrong.d.cts +2 -2
- package/dist/components/typography/LabelStrong.d.ts +2 -2
- package/dist/components/typography/LabelStrong.js +6 -6
- package/dist/components/typography/Overline.cjs +18 -4
- package/dist/components/typography/Overline.d.cts +2 -2
- package/dist/components/typography/Overline.d.ts +2 -2
- package/dist/components/typography/Overline.js +6 -6
- package/dist/components/typography/Title.cjs +18 -4
- package/dist/components/typography/Title.d.cts +3 -3
- package/dist/components/typography/Title.d.ts +3 -3
- package/dist/components/typography/Title.js +6 -6
- package/dist/components/typography/index.cjs +105 -29
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +22 -23
- package/dist/components/typography/renderTypography.cjs +34 -7
- package/dist/components/typography/renderTypography.d.cts +20 -20
- package/dist/components/typography/renderTypography.d.ts +20 -20
- package/dist/components/typography/renderTypography.js +16 -16
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/common.cjs +20 -6
- package/dist/styles/common.d.cts +3 -2
- package/dist/styles/common.d.ts +3 -2
- package/dist/styles/common.js +2 -2
- package/dist/styles/fields.cjs +17 -4
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +4 -4
- package/dist/styles/global.cjs +16 -3
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +3 -3
- package/dist/styles/themes.cjs +16 -3
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +1 -1
- package/dist/styles/tokens/spacing.cjs +60 -21
- package/dist/styles/tokens/spacing.d.cts +40 -20
- package/dist/styles/tokens/spacing.d.ts +40 -20
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +4 -4
- package/dist/styles/typography.cjs +16 -3
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +2 -2
- package/dist/styles/utils.js +3 -3
- package/dist/{buttons-b7f56076.d.ts → themes-37e92940.d.ts} +91 -67
- package/dist/{buttons-e4eb84a2.d.ts → themes-832e46b2.d.ts} +91 -67
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +18 -4
- package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
- package/dist/utils/toNonTypographicReactNodes.js +4 -4
- package/dist/utils/toReactNodes.cjs +59 -21
- package/dist/utils/toReactNodes.d.cts +13 -9
- package/dist/utils/toReactNodes.d.ts +13 -9
- package/dist/utils/toReactNodes.js +19 -17
- package/package.json +1 -1
- package/dist/chunk-3XSQV5U4.js +0 -26
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-RSAYBOK5.js +0 -35
|
@@ -53,8 +53,97 @@ __export(Toggle_exports, {
|
|
|
53
53
|
module.exports = __toCommonJS(Toggle_exports);
|
|
54
54
|
var import_styled3 = __toESM(require("@emotion/styled"), 1);
|
|
55
55
|
|
|
56
|
-
// src/
|
|
57
|
-
var
|
|
56
|
+
// src/styles/colors.tsx
|
|
57
|
+
var neutral = {
|
|
58
|
+
black: "#000000",
|
|
59
|
+
gray5: "#0D0D0D",
|
|
60
|
+
gray10: "#1A1A1A",
|
|
61
|
+
gray15: "#262626",
|
|
62
|
+
gray20: "#333333",
|
|
63
|
+
gray25: "#404040",
|
|
64
|
+
gray30: "#4D4D4D",
|
|
65
|
+
gray40: "#666666",
|
|
66
|
+
gray50: "#808080",
|
|
67
|
+
gray57: "#8B8E98",
|
|
68
|
+
gray60: "#999999",
|
|
69
|
+
gray70: "#B3B3B3",
|
|
70
|
+
gray80: "#CCCCCC",
|
|
71
|
+
gray85: "#D9D9D9",
|
|
72
|
+
gray90: "#E6E6E6",
|
|
73
|
+
gray91: "#171717",
|
|
74
|
+
gray95: "#F2F2F2",
|
|
75
|
+
gray98: "#F9F9F9",
|
|
76
|
+
white: "#FFFFFF"
|
|
77
|
+
};
|
|
78
|
+
var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
|
|
79
|
+
var primary = "#FFF14E";
|
|
80
|
+
var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
81
|
+
// green
|
|
82
|
+
success: "#17C27C",
|
|
83
|
+
green33: "#179257",
|
|
84
|
+
// blue
|
|
85
|
+
blue43: "#145BC6",
|
|
86
|
+
blue22: "#0E2E60",
|
|
87
|
+
blue39: "#0068C9",
|
|
88
|
+
blue37: "#21529c",
|
|
89
|
+
blue58: "#28BFFF",
|
|
90
|
+
// less than 50% saturated blue
|
|
91
|
+
grayBlue9: "#16171A",
|
|
92
|
+
grayBlue32: "#4F5156",
|
|
93
|
+
grayBlue43: "#686A72",
|
|
94
|
+
grayBlue45: "#676F80",
|
|
95
|
+
grayBlue67: "#9BA7B9",
|
|
96
|
+
grayBlue80: "#C0C9D6",
|
|
97
|
+
grayBlue88: "#DEDFE4",
|
|
98
|
+
grayBlue94: "#EBEEF2",
|
|
99
|
+
grayBlue96: "#F2F5F7",
|
|
100
|
+
// purple
|
|
101
|
+
purple43: "#820AD1",
|
|
102
|
+
purple55: "#8B38DE",
|
|
103
|
+
// red
|
|
104
|
+
red42a10: "#D800271A",
|
|
105
|
+
// yellow
|
|
106
|
+
primary,
|
|
107
|
+
warning: primary,
|
|
108
|
+
// orange
|
|
109
|
+
danger: "#FD2C0F",
|
|
110
|
+
// neutral
|
|
111
|
+
secondary: neutral.black
|
|
112
|
+
});
|
|
113
|
+
var colors = baseColors;
|
|
114
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
115
|
+
const bgRGB = hexToRGB(bgHex);
|
|
116
|
+
const hcRGB = hexToRGB(defaultHex);
|
|
117
|
+
if (!bgRGB || !hcRGB)
|
|
118
|
+
return defaultHex;
|
|
119
|
+
const c = contrast(bgRGB, hcRGB);
|
|
120
|
+
if (c < 4.5) {
|
|
121
|
+
return altHex;
|
|
122
|
+
}
|
|
123
|
+
return defaultHex;
|
|
124
|
+
}
|
|
125
|
+
function luminance(r, g, b) {
|
|
126
|
+
const a = [r, g, b].map(function(v) {
|
|
127
|
+
v /= 255;
|
|
128
|
+
return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
|
|
129
|
+
});
|
|
130
|
+
return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
|
|
131
|
+
}
|
|
132
|
+
function contrast(rgb1, rgb2) {
|
|
133
|
+
const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
|
|
134
|
+
const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
|
|
135
|
+
const brightest = Math.max(lum1, lum2);
|
|
136
|
+
const darkest = Math.min(lum1, lum2);
|
|
137
|
+
return (brightest + 0.05) / (darkest + 0.05);
|
|
138
|
+
}
|
|
139
|
+
function hexToRGB(hex) {
|
|
140
|
+
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
141
|
+
return result ? [
|
|
142
|
+
parseInt(result[1], 16),
|
|
143
|
+
parseInt(result[2], 16),
|
|
144
|
+
parseInt(result[3], 16)
|
|
145
|
+
] : [0, 0, 0];
|
|
146
|
+
}
|
|
58
147
|
|
|
59
148
|
// src/styles/common.tsx
|
|
60
149
|
var import_react4 = require("@emotion/react");
|
|
@@ -156,98 +245,6 @@ function inRange(currentBp, assertBp) {
|
|
|
156
245
|
return false;
|
|
157
246
|
}
|
|
158
247
|
|
|
159
|
-
// src/styles/colors.tsx
|
|
160
|
-
var neutral = {
|
|
161
|
-
black: "#000000",
|
|
162
|
-
gray5: "#0D0D0D",
|
|
163
|
-
gray10: "#1A1A1A",
|
|
164
|
-
gray15: "#262626",
|
|
165
|
-
gray20: "#333333",
|
|
166
|
-
gray25: "#404040",
|
|
167
|
-
gray30: "#4D4D4D",
|
|
168
|
-
gray40: "#666666",
|
|
169
|
-
gray50: "#808080",
|
|
170
|
-
gray57: "#8B8E98",
|
|
171
|
-
gray60: "#999999",
|
|
172
|
-
gray70: "#B3B3B3",
|
|
173
|
-
gray80: "#CCCCCC",
|
|
174
|
-
gray85: "#D9D9D9",
|
|
175
|
-
gray90: "#E6E6E6",
|
|
176
|
-
gray91: "#171717",
|
|
177
|
-
gray95: "#F2F2F2",
|
|
178
|
-
gray98: "#F9F9F9",
|
|
179
|
-
white: "#FFFFFF"
|
|
180
|
-
};
|
|
181
|
-
var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
|
|
182
|
-
var primary = "#FFF14E";
|
|
183
|
-
var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
184
|
-
// green
|
|
185
|
-
success: "#17C27C",
|
|
186
|
-
green33: "#179257",
|
|
187
|
-
// blue
|
|
188
|
-
blue43: "#145BC6",
|
|
189
|
-
blue22: "#0E2E60",
|
|
190
|
-
blue39: "#0068C9",
|
|
191
|
-
blue37: "#21529c",
|
|
192
|
-
blue58: "#28BFFF",
|
|
193
|
-
// less than 50% saturated blue
|
|
194
|
-
grayBlue9: "#16171A",
|
|
195
|
-
grayBlue32: "#4F5156",
|
|
196
|
-
grayBlue43: "#686A72",
|
|
197
|
-
grayBlue45: "#676F80",
|
|
198
|
-
grayBlue67: "#9BA7B9",
|
|
199
|
-
grayBlue80: "#C0C9D6",
|
|
200
|
-
grayBlue88: "#DEDFE4",
|
|
201
|
-
grayBlue94: "#EBEEF2",
|
|
202
|
-
grayBlue96: "#F2F5F7",
|
|
203
|
-
// purple
|
|
204
|
-
purple43: "#820AD1",
|
|
205
|
-
purple55: "#8B38DE",
|
|
206
|
-
// red
|
|
207
|
-
red42a10: "#D800271A",
|
|
208
|
-
// yellow
|
|
209
|
-
primary,
|
|
210
|
-
warning: primary,
|
|
211
|
-
// orange
|
|
212
|
-
danger: "#FD2C0F",
|
|
213
|
-
// neutral
|
|
214
|
-
secondary: neutral.black
|
|
215
|
-
});
|
|
216
|
-
var colors = baseColors;
|
|
217
|
-
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
218
|
-
const bgRGB = hexToRGB(bgHex);
|
|
219
|
-
const hcRGB = hexToRGB(defaultHex);
|
|
220
|
-
if (!bgRGB || !hcRGB)
|
|
221
|
-
return defaultHex;
|
|
222
|
-
const c = contrast(bgRGB, hcRGB);
|
|
223
|
-
if (c < 4.5) {
|
|
224
|
-
return altHex;
|
|
225
|
-
}
|
|
226
|
-
return defaultHex;
|
|
227
|
-
}
|
|
228
|
-
function luminance(r, g, b) {
|
|
229
|
-
const a = [r, g, b].map(function(v) {
|
|
230
|
-
v /= 255;
|
|
231
|
-
return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
|
|
232
|
-
});
|
|
233
|
-
return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
|
|
234
|
-
}
|
|
235
|
-
function contrast(rgb1, rgb2) {
|
|
236
|
-
const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
|
|
237
|
-
const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
|
|
238
|
-
const brightest = Math.max(lum1, lum2);
|
|
239
|
-
const darkest = Math.min(lum1, lum2);
|
|
240
|
-
return (brightest + 0.05) / (darkest + 0.05);
|
|
241
|
-
}
|
|
242
|
-
function hexToRGB(hex) {
|
|
243
|
-
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
244
|
-
return result ? [
|
|
245
|
-
parseInt(result[1], 16),
|
|
246
|
-
parseInt(result[2], 16),
|
|
247
|
-
parseInt(result[3], 16)
|
|
248
|
-
] : [0, 0, 0];
|
|
249
|
-
}
|
|
250
|
-
|
|
251
248
|
// src/styles/themes.tsx
|
|
252
249
|
var import_react3 = require("@emotion/react");
|
|
253
250
|
var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
@@ -3524,6 +3521,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3524
3521
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3525
3522
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3526
3523
|
buttons: defaultButtonsTheme,
|
|
3524
|
+
badge: {
|
|
3525
|
+
bg: "c05Neutral"
|
|
3526
|
+
},
|
|
3527
|
+
inputBackground: colors.white,
|
|
3527
3528
|
loading: "LoadingSpinner"
|
|
3528
3529
|
});
|
|
3529
3530
|
var lightBaseTheme = baseTheme;
|
|
@@ -3560,7 +3561,11 @@ var darkBaseTheme = {
|
|
|
3560
3561
|
vlcNeutral: colors.gray20,
|
|
3561
3562
|
warning: colors.warning,
|
|
3562
3563
|
buttons: defaultButtonsTheme,
|
|
3563
|
-
loading: "LoadingSpinner"
|
|
3564
|
+
loading: "LoadingSpinner",
|
|
3565
|
+
inputBackground: colors.black,
|
|
3566
|
+
badge: {
|
|
3567
|
+
bg: "c15Neutral"
|
|
3568
|
+
}
|
|
3564
3569
|
};
|
|
3565
3570
|
var lightTheme = extend(lightBaseTheme, {
|
|
3566
3571
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3599,6 +3604,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3599
3604
|
secondary: colors.grayBlue43,
|
|
3600
3605
|
text: colors.grayBlue9,
|
|
3601
3606
|
link: colors.blue39,
|
|
3607
|
+
inputBackground: colors.white,
|
|
3602
3608
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3603
3609
|
main: "Manrope",
|
|
3604
3610
|
code: "Monaco"
|
|
@@ -3675,7 +3681,10 @@ var bridgeBaseSettings = {
|
|
|
3675
3681
|
defaultBorderWidth: 1
|
|
3676
3682
|
}
|
|
3677
3683
|
}
|
|
3678
|
-
})
|
|
3684
|
+
}),
|
|
3685
|
+
badge: {
|
|
3686
|
+
bg: "grayBlue94"
|
|
3687
|
+
}
|
|
3679
3688
|
};
|
|
3680
3689
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3681
3690
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3683,7 +3692,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3683
3692
|
bg: colors.gray98,
|
|
3684
3693
|
smBg: colors.gray98,
|
|
3685
3694
|
text: colors.grayBlue9,
|
|
3686
|
-
secondary: colors.grayBlue43
|
|
3695
|
+
secondary: colors.grayBlue43,
|
|
3696
|
+
inputBackground: colors.white
|
|
3687
3697
|
}));
|
|
3688
3698
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3689
3699
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3791,6 +3801,7 @@ var darkGradientBg = import_react4.css`
|
|
|
3791
3801
|
`;
|
|
3792
3802
|
|
|
3793
3803
|
// src/components/UnstyledButton.tsx
|
|
3804
|
+
var import_styled2 = __toESM(require("@emotion/styled"), 1);
|
|
3794
3805
|
var UnstyledButton = import_styled2.default.button`
|
|
3795
3806
|
${standardFocusOutline}
|
|
3796
3807
|
font-family: ${({ theme }) => theme.typography.fontFamilies.main};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Toggle,
|
|
3
3
|
ToggleContainer
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4BERRPJN.js";
|
|
5
|
+
import "../chunk-JAPRGAB7.js";
|
|
6
|
+
import "../chunk-CZFFMEAS.js";
|
|
7
|
+
import "../chunk-VNQE6KEX.js";
|
|
8
8
|
import "../chunk-ENBUKLVT.js";
|
|
9
9
|
import "../chunk-JSGRNWSB.js";
|
|
10
10
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3524,6 +3524,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3524
3524
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3525
3525
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3526
3526
|
buttons: defaultButtonsTheme,
|
|
3527
|
+
badge: {
|
|
3528
|
+
bg: "c05Neutral"
|
|
3529
|
+
},
|
|
3530
|
+
inputBackground: colors.white,
|
|
3527
3531
|
loading: "LoadingSpinner"
|
|
3528
3532
|
});
|
|
3529
3533
|
var lightBaseTheme = baseTheme;
|
|
@@ -3560,7 +3564,11 @@ var darkBaseTheme = {
|
|
|
3560
3564
|
vlcNeutral: colors.gray20,
|
|
3561
3565
|
warning: colors.warning,
|
|
3562
3566
|
buttons: defaultButtonsTheme,
|
|
3563
|
-
loading: "LoadingSpinner"
|
|
3567
|
+
loading: "LoadingSpinner",
|
|
3568
|
+
inputBackground: colors.black,
|
|
3569
|
+
badge: {
|
|
3570
|
+
bg: "c15Neutral"
|
|
3571
|
+
}
|
|
3564
3572
|
};
|
|
3565
3573
|
var lightTheme = extend(lightBaseTheme, {
|
|
3566
3574
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3599,6 +3607,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3599
3607
|
secondary: colors.grayBlue43,
|
|
3600
3608
|
text: colors.grayBlue9,
|
|
3601
3609
|
link: colors.blue39,
|
|
3610
|
+
inputBackground: colors.white,
|
|
3602
3611
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3603
3612
|
main: "Manrope",
|
|
3604
3613
|
code: "Monaco"
|
|
@@ -3675,7 +3684,10 @@ var bridgeBaseSettings = {
|
|
|
3675
3684
|
defaultBorderWidth: 1
|
|
3676
3685
|
}
|
|
3677
3686
|
}
|
|
3678
|
-
})
|
|
3687
|
+
}),
|
|
3688
|
+
badge: {
|
|
3689
|
+
bg: "grayBlue94"
|
|
3690
|
+
}
|
|
3679
3691
|
};
|
|
3680
3692
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3681
3693
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3683,7 +3695,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3683
3695
|
bg: colors.gray98,
|
|
3684
3696
|
smBg: colors.gray98,
|
|
3685
3697
|
text: colors.grayBlue9,
|
|
3686
|
-
secondary: colors.grayBlue43
|
|
3698
|
+
secondary: colors.grayBlue43,
|
|
3699
|
+
inputBackground: colors.white
|
|
3687
3700
|
}));
|
|
3688
3701
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3689
3702
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3782,11 +3795,12 @@ var overlaySurfaceBorderColor = ({
|
|
|
3782
3795
|
`;
|
|
3783
3796
|
var overlaySurface = ({
|
|
3784
3797
|
theme,
|
|
3785
|
-
important = false
|
|
3798
|
+
important = false,
|
|
3799
|
+
border = true
|
|
3786
3800
|
}) => import_react4.css`
|
|
3787
|
-
background-color: ${themeOr(
|
|
3801
|
+
background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
|
|
3788
3802
|
${important ? "!important" : ""};
|
|
3789
|
-
border: 0.5px solid ${important ? "!important" : ""}
|
|
3803
|
+
${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
|
|
3790
3804
|
${overlaySurfaceBorderColor({ theme, important })};
|
|
3791
3805
|
${themeOr(
|
|
3792
3806
|
`box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZS7G6WIG.js";
|
|
4
4
|
import "../chunk-55OQPFLF.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-CZFFMEAS.js";
|
|
6
|
+
import "../chunk-VNQE6KEX.js";
|
|
7
7
|
import "../chunk-ENBUKLVT.js";
|
|
8
8
|
import "../chunk-JSGRNWSB.js";
|
|
9
9
|
import "../chunk-FO7I4E45.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-JAPRGAB7.js";
|
|
4
|
+
import "../chunk-CZFFMEAS.js";
|
|
5
|
+
import "../chunk-VNQE6KEX.js";
|
|
6
6
|
import "../chunk-ENBUKLVT.js";
|
|
7
7
|
import "../chunk-JSGRNWSB.js";
|
|
8
8
|
import "../chunk-FO7I4E45.js";
|
|
@@ -7419,6 +7419,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
7419
7419
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
7420
7420
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
7421
7421
|
buttons: defaultButtonsTheme,
|
|
7422
|
+
badge: {
|
|
7423
|
+
bg: "c05Neutral"
|
|
7424
|
+
},
|
|
7425
|
+
inputBackground: colors.white,
|
|
7422
7426
|
loading: "LoadingSpinner"
|
|
7423
7427
|
});
|
|
7424
7428
|
var lightBaseTheme = baseTheme;
|
|
@@ -7455,7 +7459,11 @@ var darkBaseTheme = {
|
|
|
7455
7459
|
vlcNeutral: colors.gray20,
|
|
7456
7460
|
warning: colors.warning,
|
|
7457
7461
|
buttons: defaultButtonsTheme,
|
|
7458
|
-
loading: "LoadingSpinner"
|
|
7462
|
+
loading: "LoadingSpinner",
|
|
7463
|
+
inputBackground: colors.black,
|
|
7464
|
+
badge: {
|
|
7465
|
+
bg: "c15Neutral"
|
|
7466
|
+
}
|
|
7459
7467
|
};
|
|
7460
7468
|
var lightTheme = extend(lightBaseTheme, {
|
|
7461
7469
|
header: extendBase(lightBaseTheme, {
|
|
@@ -7494,6 +7502,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
7494
7502
|
secondary: colors.grayBlue43,
|
|
7495
7503
|
text: colors.grayBlue9,
|
|
7496
7504
|
link: colors.blue39,
|
|
7505
|
+
inputBackground: colors.white,
|
|
7497
7506
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
7498
7507
|
main: "Manrope",
|
|
7499
7508
|
code: "Monaco"
|
|
@@ -7570,7 +7579,10 @@ var bridgeBaseSettings = {
|
|
|
7570
7579
|
defaultBorderWidth: 1
|
|
7571
7580
|
}
|
|
7572
7581
|
}
|
|
7573
|
-
})
|
|
7582
|
+
}),
|
|
7583
|
+
badge: {
|
|
7584
|
+
bg: "grayBlue94"
|
|
7585
|
+
}
|
|
7574
7586
|
};
|
|
7575
7587
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7576
7588
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -7578,7 +7590,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
7578
7590
|
bg: colors.gray98,
|
|
7579
7591
|
smBg: colors.gray98,
|
|
7580
7592
|
text: colors.grayBlue9,
|
|
7581
|
-
secondary: colors.grayBlue43
|
|
7593
|
+
secondary: colors.grayBlue43,
|
|
7594
|
+
inputBackground: colors.white
|
|
7582
7595
|
}));
|
|
7583
7596
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7584
7597
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7734,7 +7747,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7734
7747
|
${({ theme, fontColor }) => {
|
|
7735
7748
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7736
7749
|
return `
|
|
7737
|
-
|
|
7750
|
+
svg, path {
|
|
7738
7751
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7739
7752
|
|
|
7740
7753
|
/*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { DocsHeadline } from './DocsHeadline.cjs';
|
|
4
|
-
import '../../
|
|
4
|
+
import '../../themes-37e92940.js';
|
|
5
5
|
import '@emotion/react';
|
|
6
6
|
import '../../styles/tokens/typography.cjs';
|
|
7
7
|
import '@emotion/css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { DocsHeadline } from './DocsHeadline.js';
|
|
4
|
-
import '../../
|
|
4
|
+
import '../../themes-832e46b2.js';
|
|
5
5
|
import '@emotion/react';
|
|
6
6
|
import '../../styles/tokens/typography.js';
|
|
7
7
|
import '@emotion/css';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AnchorLinkHeader
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-LLGN3OM3.js";
|
|
5
|
+
import "../../chunk-5ON3ICVC.js";
|
|
6
6
|
import "../../chunk-2NT4RAQ3.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-OZQ5WPLN.js";
|
|
8
8
|
import "../../chunk-YMNSXZ5D.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-4X67A2CS.js";
|
|
10
10
|
import "../../chunk-OPV246QW.js";
|
|
11
11
|
import "../../chunk-AAFUVYVP.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-OUHQXQOJ.js";
|
|
13
|
+
import "../../chunk-TNDSUTUN.js";
|
|
14
14
|
import "../../chunk-EDN2QDCB.js";
|
|
15
15
|
import "../../chunk-FT62PIPN.js";
|
|
16
16
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -125,8 +125,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
125
125
|
import "../../chunk-QW2INB5A.js";
|
|
126
126
|
import "../../chunk-JLD7MGLC.js";
|
|
127
127
|
import "../../chunk-DW6LFUI2.js";
|
|
128
|
-
import "../../chunk-
|
|
129
|
-
import "../../chunk-
|
|
128
|
+
import "../../chunk-CZFFMEAS.js";
|
|
129
|
+
import "../../chunk-VNQE6KEX.js";
|
|
130
130
|
import "../../chunk-ENBUKLVT.js";
|
|
131
131
|
import "../../chunk-JSGRNWSB.js";
|
|
132
132
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3585,6 +3585,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3585
3585
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3586
3586
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3587
3587
|
buttons: defaultButtonsTheme,
|
|
3588
|
+
badge: {
|
|
3589
|
+
bg: "c05Neutral"
|
|
3590
|
+
},
|
|
3591
|
+
inputBackground: colors.white,
|
|
3588
3592
|
loading: "LoadingSpinner"
|
|
3589
3593
|
});
|
|
3590
3594
|
var lightBaseTheme = baseTheme;
|
|
@@ -3621,7 +3625,11 @@ var darkBaseTheme = {
|
|
|
3621
3625
|
vlcNeutral: colors.gray20,
|
|
3622
3626
|
warning: colors.warning,
|
|
3623
3627
|
buttons: defaultButtonsTheme,
|
|
3624
|
-
loading: "LoadingSpinner"
|
|
3628
|
+
loading: "LoadingSpinner",
|
|
3629
|
+
inputBackground: colors.black,
|
|
3630
|
+
badge: {
|
|
3631
|
+
bg: "c15Neutral"
|
|
3632
|
+
}
|
|
3625
3633
|
};
|
|
3626
3634
|
var lightTheme = extend(lightBaseTheme, {
|
|
3627
3635
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3660,6 +3668,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3660
3668
|
secondary: colors.grayBlue43,
|
|
3661
3669
|
text: colors.grayBlue9,
|
|
3662
3670
|
link: colors.blue39,
|
|
3671
|
+
inputBackground: colors.white,
|
|
3663
3672
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3664
3673
|
main: "Manrope",
|
|
3665
3674
|
code: "Monaco"
|
|
@@ -3736,7 +3745,10 @@ var bridgeBaseSettings = {
|
|
|
3736
3745
|
defaultBorderWidth: 1
|
|
3737
3746
|
}
|
|
3738
3747
|
}
|
|
3739
|
-
})
|
|
3748
|
+
}),
|
|
3749
|
+
badge: {
|
|
3750
|
+
bg: "grayBlue94"
|
|
3751
|
+
}
|
|
3740
3752
|
};
|
|
3741
3753
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3742
3754
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3744,7 +3756,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3744
3756
|
bg: colors.gray98,
|
|
3745
3757
|
smBg: colors.gray98,
|
|
3746
3758
|
text: colors.grayBlue9,
|
|
3747
|
-
secondary: colors.grayBlue43
|
|
3759
|
+
secondary: colors.grayBlue43,
|
|
3760
|
+
inputBackground: colors.white
|
|
3748
3761
|
}));
|
|
3749
3762
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3750
3763
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBody } from '../typography/Body.cjs';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../themes-37e92940.js';
|
|
8
8
|
import '../../styles/tokens/typography.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.cjs';
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBody } from '../typography/Body.js';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../themes-832e46b2.js';
|
|
8
8
|
import '../../styles/tokens/typography.js';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
StyledBody
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-HVDX4OZJ.js";
|
|
5
|
+
import "../../chunk-4X67A2CS.js";
|
|
6
6
|
import "../../chunk-OPV246QW.js";
|
|
7
7
|
import "../../chunk-AAFUVYVP.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-OUHQXQOJ.js";
|
|
9
|
+
import "../../chunk-TNDSUTUN.js";
|
|
10
10
|
import "../../chunk-EDN2QDCB.js";
|
|
11
11
|
import "../../chunk-FT62PIPN.js";
|
|
12
12
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -121,8 +121,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
121
121
|
import "../../chunk-QW2INB5A.js";
|
|
122
122
|
import "../../chunk-JLD7MGLC.js";
|
|
123
123
|
import "../../chunk-DW6LFUI2.js";
|
|
124
|
-
import "../../chunk-
|
|
125
|
-
import "../../chunk-
|
|
124
|
+
import "../../chunk-CZFFMEAS.js";
|
|
125
|
+
import "../../chunk-VNQE6KEX.js";
|
|
126
126
|
import "../../chunk-ENBUKLVT.js";
|
|
127
127
|
import "../../chunk-JSGRNWSB.js";
|
|
128
128
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3586,6 +3586,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3586
3586
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3587
3587
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3588
3588
|
buttons: defaultButtonsTheme,
|
|
3589
|
+
badge: {
|
|
3590
|
+
bg: "c05Neutral"
|
|
3591
|
+
},
|
|
3592
|
+
inputBackground: colors.white,
|
|
3589
3593
|
loading: "LoadingSpinner"
|
|
3590
3594
|
});
|
|
3591
3595
|
var lightBaseTheme = baseTheme;
|
|
@@ -3622,7 +3626,11 @@ var darkBaseTheme = {
|
|
|
3622
3626
|
vlcNeutral: colors.gray20,
|
|
3623
3627
|
warning: colors.warning,
|
|
3624
3628
|
buttons: defaultButtonsTheme,
|
|
3625
|
-
loading: "LoadingSpinner"
|
|
3629
|
+
loading: "LoadingSpinner",
|
|
3630
|
+
inputBackground: colors.black,
|
|
3631
|
+
badge: {
|
|
3632
|
+
bg: "c15Neutral"
|
|
3633
|
+
}
|
|
3626
3634
|
};
|
|
3627
3635
|
var lightTheme = extend(lightBaseTheme, {
|
|
3628
3636
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3661,6 +3669,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3661
3669
|
secondary: colors.grayBlue43,
|
|
3662
3670
|
text: colors.grayBlue9,
|
|
3663
3671
|
link: colors.blue39,
|
|
3672
|
+
inputBackground: colors.white,
|
|
3664
3673
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3665
3674
|
main: "Manrope",
|
|
3666
3675
|
code: "Monaco"
|
|
@@ -3737,7 +3746,10 @@ var bridgeBaseSettings = {
|
|
|
3737
3746
|
defaultBorderWidth: 1
|
|
3738
3747
|
}
|
|
3739
3748
|
}
|
|
3740
|
-
})
|
|
3749
|
+
}),
|
|
3750
|
+
badge: {
|
|
3751
|
+
bg: "grayBlue94"
|
|
3752
|
+
}
|
|
3741
3753
|
};
|
|
3742
3754
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3743
3755
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3745,7 +3757,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3745
3757
|
bg: colors.gray98,
|
|
3746
3758
|
smBg: colors.gray98,
|
|
3747
3759
|
text: colors.grayBlue9,
|
|
3748
|
-
secondary: colors.grayBlue43
|
|
3760
|
+
secondary: colors.grayBlue43,
|
|
3761
|
+
inputBackground: colors.white
|
|
3749
3762
|
}));
|
|
3750
3763
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3751
3764
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBodyStrong } from '../typography/BodyStrong.cjs';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../themes-37e92940.js';
|
|
8
8
|
import '../../styles/tokens/typography.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.cjs';
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBodyStrong } from '../typography/BodyStrong.js';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../themes-832e46b2.js';
|
|
8
8
|
import '../../styles/tokens/typography.js';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.js';
|