@lightsparkdev/ui 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +23 -0
- package/dist/chunk-2RF46PE5.js +127 -0
- package/dist/chunk-4X3K3VRC.js +263 -0
- package/dist/chunk-6AV4TE6I.js +20 -0
- package/dist/chunk-6RDG2DE3.js +25 -0
- package/dist/chunk-7ENCWBAN.js +112 -0
- package/dist/chunk-7NQH4LBZ.js +25 -0
- package/dist/chunk-ACZDUWPH.js +304 -0
- package/dist/chunk-BKOTW3CK.js +51 -0
- package/dist/chunk-BZ5MKMI2.js +58 -0
- package/dist/chunk-CIGAQ47A.js +45 -0
- package/dist/chunk-CLU2FRJZ.js +29 -0
- package/dist/chunk-CQDQFIWT.js +24 -0
- package/dist/chunk-DE24BV2C.js +61 -0
- package/dist/chunk-FETTWCK3.js +101 -0
- package/dist/chunk-I4PO6FQP.js +36 -0
- package/dist/chunk-IJVWYT5G.js +8 -0
- package/dist/chunk-JSGRNWSB.js +233 -0
- package/dist/chunk-K7MPHJNG.js +66 -0
- package/dist/chunk-L7XFJWMY.js +93 -0
- package/dist/chunk-LAMQKQU3.js +56 -0
- package/dist/chunk-LJYASIJC.js +117 -0
- package/dist/chunk-LWTUQB7O.js +34 -0
- package/dist/chunk-LZHLWOXG.js +94 -0
- package/dist/chunk-NBCCPGA4.js +17 -0
- package/dist/chunk-O27TAUAS.js +76 -0
- package/dist/chunk-QR7BKTM6.js +131 -0
- package/dist/chunk-RUVXOYBL.js +19 -0
- package/dist/chunk-SVQELXFK.js +131 -0
- package/dist/chunk-W4GDCWKZ.js +86 -0
- package/dist/chunk-WOR7J4KZ.js +37 -0
- package/dist/chunk-WVEK4LFA.js +137 -0
- package/dist/chunk-WVJNZRKF.js +741 -0
- package/dist/chunk-X6BI4STY.js +23 -0
- package/dist/chunk-XTEEADPV.js +288 -0
- package/dist/chunk-Y4RJ7WS4.js +38 -0
- package/dist/components/Button.cjs +1645 -0
- package/dist/components/Button.d.cts +62 -0
- package/dist/components/Button.d.ts +62 -0
- package/dist/components/Button.js +21 -0
- package/dist/components/ButtonRow.cjs +1759 -0
- package/dist/components/ButtonRow.d.cts +24 -0
- package/dist/components/ButtonRow.d.ts +24 -0
- package/dist/components/ButtonRow.js +21 -0
- package/dist/components/Collapsible.cjs +1433 -0
- package/dist/components/Collapsible.d.cts +35 -0
- package/dist/components/Collapsible.d.ts +35 -0
- package/dist/components/Collapsible.js +21 -0
- package/dist/components/CommandKey.cjs +72 -0
- package/dist/components/CommandKey.d.cts +12 -0
- package/dist/components/CommandKey.d.ts +12 -0
- package/dist/components/CommandKey.js +8 -0
- package/dist/components/CopyToClipboardButton.cjs +1346 -0
- package/dist/components/CopyToClipboardButton.d.cts +18 -0
- package/dist/components/CopyToClipboardButton.d.ts +18 -0
- package/dist/components/CopyToClipboardButton.js +15 -0
- package/dist/components/CurrencyAmount.cjs +1355 -0
- package/dist/components/CurrencyAmount.d.cts +24 -0
- package/dist/components/CurrencyAmount.d.ts +24 -0
- package/dist/components/CurrencyAmount.js +16 -0
- package/dist/components/Icon.cjs +1265 -0
- package/dist/components/Icon.d.cts +29 -0
- package/dist/components/Icon.d.ts +29 -0
- package/dist/components/Icon.js +15 -0
- package/dist/components/LightboxImage.cjs +186 -0
- package/dist/components/LightboxImage.d.cts +8 -0
- package/dist/components/LightboxImage.d.ts +8 -0
- package/dist/components/LightboxImage.js +9 -0
- package/dist/components/LightsparkProvider.cjs +1332 -0
- package/dist/components/LightsparkProvider.d.cts +8 -0
- package/dist/components/LightsparkProvider.d.ts +8 -0
- package/dist/components/LightsparkProvider.js +14 -0
- package/dist/components/Loading.cjs +1317 -0
- package/dist/components/Loading.d.cts +27 -0
- package/dist/components/Loading.d.ts +27 -0
- package/dist/components/Loading.js +16 -0
- package/dist/components/Modal.cjs +1998 -0
- package/dist/components/Modal.d.cts +35 -0
- package/dist/components/Modal.d.ts +35 -0
- package/dist/components/Modal.js +21 -0
- package/dist/components/SecretContainer.cjs +1379 -0
- package/dist/components/SecretContainer.d.cts +10 -0
- package/dist/components/SecretContainer.d.ts +10 -0
- package/dist/components/SecretContainer.js +16 -0
- package/dist/components/TextIconAligner.cjs +1309 -0
- package/dist/components/TextIconAligner.d.cts +23 -0
- package/dist/components/TextIconAligner.d.ts +23 -0
- package/dist/components/TextIconAligner.js +14 -0
- package/dist/components/UnstyledButton.cjs +1190 -0
- package/dist/components/UnstyledButton.d.cts +10 -0
- package/dist/components/UnstyledButton.d.ts +10 -0
- package/dist/components/UnstyledButton.js +12 -0
- package/dist/components/documentation/AnchorLinkHeader.cjs +1387 -0
- package/dist/components/documentation/AnchorLinkHeader.d.cts +8 -0
- package/dist/components/documentation/AnchorLinkHeader.d.ts +8 -0
- package/dist/components/documentation/AnchorLinkHeader.js +16 -0
- package/dist/components/documentation/index.cjs +1388 -0
- package/dist/components/documentation/index.d.cts +5 -0
- package/dist/components/documentation/index.d.ts +5 -0
- package/dist/components/documentation/index.js +15 -0
- package/dist/components/index.cjs +2720 -0
- package/dist/components/index.d.cts +23 -0
- package/dist/components/index.d.ts +23 -0
- package/dist/components/index.js +82 -0
- package/dist/hooks/useLiveRef.cjs +41 -0
- package/dist/hooks/useLiveRef.d.cts +8 -0
- package/dist/hooks/useLiveRef.d.ts +8 -0
- package/dist/hooks/useLiveRef.js +7 -0
- package/dist/icons/AI.cjs +49 -0
- package/dist/icons/AI.d.cts +5 -0
- package/dist/icons/AI.d.ts +5 -0
- package/dist/icons/AI.js +30 -0
- package/dist/icons/AnchorLink.cjs +48 -0
- package/dist/icons/AnchorLink.d.cts +5 -0
- package/dist/icons/AnchorLink.d.ts +5 -0
- package/dist/icons/AnchorLink.js +29 -0
- package/dist/icons/AppIcon.cjs +88 -0
- package/dist/icons/AppIcon.d.cts +5 -0
- package/dist/icons/AppIcon.d.ts +5 -0
- package/dist/icons/AppIcon.js +69 -0
- package/dist/icons/ArrowCircleTier1.cjs +48 -0
- package/dist/icons/ArrowCircleTier1.d.cts +5 -0
- package/dist/icons/ArrowCircleTier1.d.ts +5 -0
- package/dist/icons/ArrowCircleTier1.js +29 -0
- package/dist/icons/ArrowCircleTier2.cjs +48 -0
- package/dist/icons/ArrowCircleTier2.d.cts +5 -0
- package/dist/icons/ArrowCircleTier2.d.ts +5 -0
- package/dist/icons/ArrowCircleTier2.js +29 -0
- package/dist/icons/ArrowCircleTier3.cjs +48 -0
- package/dist/icons/ArrowCircleTier3.d.cts +5 -0
- package/dist/icons/ArrowCircleTier3.d.ts +5 -0
- package/dist/icons/ArrowCircleTier3.js +29 -0
- package/dist/icons/ArrowDown.cjs +53 -0
- package/dist/icons/ArrowDown.d.cts +5 -0
- package/dist/icons/ArrowDown.d.ts +5 -0
- package/dist/icons/ArrowDown.js +30 -0
- package/dist/icons/ArrowUp.cjs +53 -0
- package/dist/icons/ArrowUp.d.cts +5 -0
- package/dist/icons/ArrowUp.d.ts +5 -0
- package/dist/icons/ArrowUp.js +30 -0
- package/dist/icons/Bell.cjs +57 -0
- package/dist/icons/Bell.d.cts +8 -0
- package/dist/icons/Bell.d.ts +8 -0
- package/dist/icons/Bell.js +38 -0
- package/dist/icons/BellOn.cjs +67 -0
- package/dist/icons/BellOn.d.cts +8 -0
- package/dist/icons/BellOn.d.ts +8 -0
- package/dist/icons/BellOn.js +48 -0
- package/dist/icons/BitcoinB.cjs +46 -0
- package/dist/icons/BitcoinB.d.cts +5 -0
- package/dist/icons/BitcoinB.d.ts +5 -0
- package/dist/icons/BitcoinB.js +27 -0
- package/dist/icons/BitcoinBOnRoundedSquare.cjs +48 -0
- package/dist/icons/BitcoinBOnRoundedSquare.d.cts +5 -0
- package/dist/icons/BitcoinBOnRoundedSquare.d.ts +5 -0
- package/dist/icons/BitcoinBOnRoundedSquare.js +29 -0
- package/dist/icons/Bolt.cjs +116 -0
- package/dist/icons/Bolt.d.cts +9 -0
- package/dist/icons/Bolt.d.ts +9 -0
- package/dist/icons/Bolt.js +97 -0
- package/dist/icons/Camera.cjs +55 -0
- package/dist/icons/Camera.d.cts +5 -0
- package/dist/icons/Camera.d.ts +5 -0
- package/dist/icons/Camera.js +36 -0
- package/dist/icons/CameraCapture.cjs +97 -0
- package/dist/icons/CameraCapture.d.cts +5 -0
- package/dist/icons/CameraCapture.d.ts +5 -0
- package/dist/icons/CameraCapture.js +78 -0
- package/dist/icons/Channel.cjs +67 -0
- package/dist/icons/Channel.d.cts +5 -0
- package/dist/icons/Channel.d.ts +5 -0
- package/dist/icons/Channel.js +48 -0
- package/dist/icons/ChannelBalance.cjs +58 -0
- package/dist/icons/ChannelBalance.d.cts +5 -0
- package/dist/icons/ChannelBalance.d.ts +5 -0
- package/dist/icons/ChannelBalance.js +39 -0
- package/dist/icons/ChannelOpen.cjs +64 -0
- package/dist/icons/ChannelOpen.d.cts +5 -0
- package/dist/icons/ChannelOpen.d.ts +5 -0
- package/dist/icons/ChannelOpen.js +45 -0
- package/dist/icons/CheckboxIcon.cjs +81 -0
- package/dist/icons/CheckboxIcon.d.cts +8 -0
- package/dist/icons/CheckboxIcon.d.ts +8 -0
- package/dist/icons/CheckboxIcon.js +62 -0
- package/dist/icons/Checkmark.cjs +47 -0
- package/dist/icons/Checkmark.d.cts +5 -0
- package/dist/icons/Checkmark.d.ts +5 -0
- package/dist/icons/Checkmark.js +28 -0
- package/dist/icons/CheckmarkCircleGreen.cjs +49 -0
- package/dist/icons/CheckmarkCircleGreen.d.cts +5 -0
- package/dist/icons/CheckmarkCircleGreen.d.ts +5 -0
- package/dist/icons/CheckmarkCircleGreen.js +30 -0
- package/dist/icons/CheckmarkCircleTier1.cjs +49 -0
- package/dist/icons/CheckmarkCircleTier1.d.cts +5 -0
- package/dist/icons/CheckmarkCircleTier1.d.ts +5 -0
- package/dist/icons/CheckmarkCircleTier1.js +30 -0
- package/dist/icons/CheckmarkCircleTier2.cjs +49 -0
- package/dist/icons/CheckmarkCircleTier2.d.cts +5 -0
- package/dist/icons/CheckmarkCircleTier2.d.ts +5 -0
- package/dist/icons/CheckmarkCircleTier2.js +30 -0
- package/dist/icons/CheckmarkCircleTier3.cjs +49 -0
- package/dist/icons/CheckmarkCircleTier3.d.cts +5 -0
- package/dist/icons/CheckmarkCircleTier3.d.ts +5 -0
- package/dist/icons/CheckmarkCircleTier3.js +30 -0
- package/dist/icons/Chevron.cjs +45 -0
- package/dist/icons/Chevron.d.cts +5 -0
- package/dist/icons/Chevron.d.ts +5 -0
- package/dist/icons/Chevron.js +26 -0
- package/dist/icons/CircleCheck.cjs +54 -0
- package/dist/icons/CircleCheck.d.cts +5 -0
- package/dist/icons/CircleCheck.d.ts +5 -0
- package/dist/icons/CircleCheck.js +31 -0
- package/dist/icons/CircleCheckOutline.cjs +51 -0
- package/dist/icons/CircleCheckOutline.d.cts +5 -0
- package/dist/icons/CircleCheckOutline.d.ts +5 -0
- package/dist/icons/CircleCheckOutline.js +28 -0
- package/dist/icons/CirclePlus.cjs +43 -0
- package/dist/icons/CirclePlus.d.cts +5 -0
- package/dist/icons/CirclePlus.d.ts +5 -0
- package/dist/icons/CirclePlus.js +20 -0
- package/dist/icons/Clock.cjs +53 -0
- package/dist/icons/Clock.d.cts +5 -0
- package/dist/icons/Clock.d.ts +5 -0
- package/dist/icons/Clock.js +30 -0
- package/dist/icons/Close.cjs +47 -0
- package/dist/icons/Close.d.cts +5 -0
- package/dist/icons/Close.d.ts +5 -0
- package/dist/icons/Close.js +28 -0
- package/dist/icons/Code.cjs +48 -0
- package/dist/icons/Code.d.cts +5 -0
- package/dist/icons/Code.d.ts +5 -0
- package/dist/icons/Code.js +29 -0
- package/dist/icons/Copy.cjs +45 -0
- package/dist/icons/Copy.d.cts +5 -0
- package/dist/icons/Copy.d.ts +5 -0
- package/dist/icons/Copy.js +26 -0
- package/dist/icons/CreditCard.cjs +52 -0
- package/dist/icons/CreditCard.d.cts +5 -0
- package/dist/icons/CreditCard.d.ts +5 -0
- package/dist/icons/CreditCard.js +33 -0
- package/dist/icons/DeleteIcon.cjs +63 -0
- package/dist/icons/DeleteIcon.d.cts +5 -0
- package/dist/icons/DeleteIcon.d.ts +5 -0
- package/dist/icons/DeleteIcon.js +44 -0
- package/dist/icons/Dollar.cjs +48 -0
- package/dist/icons/Dollar.d.cts +5 -0
- package/dist/icons/Dollar.d.ts +5 -0
- package/dist/icons/Dollar.js +29 -0
- package/dist/icons/Dots.cjs +38 -0
- package/dist/icons/Dots.d.cts +5 -0
- package/dist/icons/Dots.d.ts +5 -0
- package/dist/icons/Dots.js +19 -0
- package/dist/icons/Down.cjs +47 -0
- package/dist/icons/Down.d.cts +5 -0
- package/dist/icons/Down.d.ts +5 -0
- package/dist/icons/Down.js +28 -0
- package/dist/icons/Download.cjs +45 -0
- package/dist/icons/Download.d.cts +5 -0
- package/dist/icons/Download.d.ts +5 -0
- package/dist/icons/Download.js +26 -0
- package/dist/icons/ExclamationPoint.cjs +67 -0
- package/dist/icons/ExclamationPoint.d.cts +5 -0
- package/dist/icons/ExclamationPoint.d.ts +5 -0
- package/dist/icons/ExclamationPoint.js +48 -0
- package/dist/icons/Exit.cjs +46 -0
- package/dist/icons/Exit.d.cts +5 -0
- package/dist/icons/Exit.d.ts +5 -0
- package/dist/icons/Exit.js +27 -0
- package/dist/icons/Explorer.cjs +43 -0
- package/dist/icons/Explorer.d.cts +5 -0
- package/dist/icons/Explorer.d.ts +5 -0
- package/dist/icons/Explorer.js +24 -0
- package/dist/icons/Eye.cjs +54 -0
- package/dist/icons/Eye.d.cts +5 -0
- package/dist/icons/Eye.d.ts +5 -0
- package/dist/icons/Eye.js +35 -0
- package/dist/icons/EyeDropper.cjs +46 -0
- package/dist/icons/EyeDropper.d.cts +5 -0
- package/dist/icons/EyeDropper.d.ts +5 -0
- package/dist/icons/EyeDropper.js +27 -0
- package/dist/icons/FlutterTwoTone.cjs +70 -0
- package/dist/icons/FlutterTwoTone.d.cts +5 -0
- package/dist/icons/FlutterTwoTone.d.ts +5 -0
- package/dist/icons/FlutterTwoTone.js +51 -0
- package/dist/icons/Gear.cjs +54 -0
- package/dist/icons/Gear.d.cts +5 -0
- package/dist/icons/Gear.d.ts +5 -0
- package/dist/icons/Gear.js +35 -0
- package/dist/icons/Github.cjs +45 -0
- package/dist/icons/Github.d.cts +5 -0
- package/dist/icons/Github.d.ts +5 -0
- package/dist/icons/Github.js +26 -0
- package/dist/icons/GoTwoTone.cjs +86 -0
- package/dist/icons/GoTwoTone.d.cts +5 -0
- package/dist/icons/GoTwoTone.d.ts +5 -0
- package/dist/icons/GoTwoTone.js +67 -0
- package/dist/icons/GraphQLTwoTone.cjs +145 -0
- package/dist/icons/GraphQLTwoTone.d.cts +5 -0
- package/dist/icons/GraphQLTwoTone.d.ts +5 -0
- package/dist/icons/GraphQLTwoTone.js +126 -0
- package/dist/icons/HeartOutline.cjs +70 -0
- package/dist/icons/HeartOutline.d.cts +8 -0
- package/dist/icons/HeartOutline.d.ts +8 -0
- package/dist/icons/HeartOutline.js +51 -0
- package/dist/icons/HorizontalArrows.cjs +60 -0
- package/dist/icons/HorizontalArrows.d.cts +5 -0
- package/dist/icons/HorizontalArrows.d.ts +5 -0
- package/dist/icons/HorizontalArrows.js +41 -0
- package/dist/icons/Info.cjs +68 -0
- package/dist/icons/Info.d.cts +5 -0
- package/dist/icons/Info.d.ts +5 -0
- package/dist/icons/Info.js +49 -0
- package/dist/icons/InvoiceNew.cjs +46 -0
- package/dist/icons/InvoiceNew.d.cts +5 -0
- package/dist/icons/InvoiceNew.d.ts +5 -0
- package/dist/icons/InvoiceNew.js +27 -0
- package/dist/icons/JavaScriptTwoTone.cjs +83 -0
- package/dist/icons/JavaScriptTwoTone.d.cts +5 -0
- package/dist/icons/JavaScriptTwoTone.d.ts +5 -0
- package/dist/icons/JavaScriptTwoTone.js +64 -0
- package/dist/icons/JavaTwoTone.cjs +48 -0
- package/dist/icons/JavaTwoTone.d.cts +5 -0
- package/dist/icons/JavaTwoTone.d.ts +5 -0
- package/dist/icons/JavaTwoTone.js +29 -0
- package/dist/icons/KotlinTwoTone.cjs +62 -0
- package/dist/icons/KotlinTwoTone.d.cts +5 -0
- package/dist/icons/KotlinTwoTone.d.ts +5 -0
- package/dist/icons/KotlinTwoTone.js +43 -0
- package/dist/icons/LeftArrow.cjs +46 -0
- package/dist/icons/LeftArrow.d.cts +5 -0
- package/dist/icons/LeftArrow.d.ts +5 -0
- package/dist/icons/LeftArrow.js +27 -0
- package/dist/icons/LightningOnRoundedSquare.cjs +46 -0
- package/dist/icons/LightningOnRoundedSquare.d.cts +5 -0
- package/dist/icons/LightningOnRoundedSquare.d.ts +5 -0
- package/dist/icons/LightningOnRoundedSquare.js +27 -0
- package/dist/icons/LinkIcon.cjs +58 -0
- package/dist/icons/LinkIcon.d.cts +5 -0
- package/dist/icons/LinkIcon.d.ts +5 -0
- package/dist/icons/LinkIcon.js +39 -0
- package/dist/icons/LoadingSpinner.cjs +202 -0
- package/dist/icons/LoadingSpinner.d.cts +5 -0
- package/dist/icons/LoadingSpinner.d.ts +5 -0
- package/dist/icons/LoadingSpinner.js +183 -0
- package/dist/icons/Lock.cjs +56 -0
- package/dist/icons/Lock.d.cts +5 -0
- package/dist/icons/Lock.d.ts +5 -0
- package/dist/icons/Lock.js +37 -0
- package/dist/icons/Logo.cjs +78 -0
- package/dist/icons/Logo.d.cts +5 -0
- package/dist/icons/Logo.d.ts +5 -0
- package/dist/icons/Logo.js +33 -0
- package/dist/icons/LogoBolt.cjs +125 -0
- package/dist/icons/LogoBolt.d.cts +5 -0
- package/dist/icons/LogoBolt.d.ts +5 -0
- package/dist/icons/LogoBolt.js +106 -0
- package/dist/icons/LogoOnCircle.cjs +56 -0
- package/dist/icons/LogoOnCircle.d.cts +5 -0
- package/dist/icons/LogoOnCircle.d.ts +5 -0
- package/dist/icons/LogoOnCircle.js +37 -0
- package/dist/icons/MagicWand.cjs +75 -0
- package/dist/icons/MagicWand.d.cts +5 -0
- package/dist/icons/MagicWand.d.ts +5 -0
- package/dist/icons/MagicWand.js +56 -0
- package/dist/icons/Mail.cjs +47 -0
- package/dist/icons/Mail.d.cts +5 -0
- package/dist/icons/Mail.d.ts +5 -0
- package/dist/icons/Mail.js +28 -0
- package/dist/icons/Monitor.cjs +71 -0
- package/dist/icons/Monitor.d.cts +5 -0
- package/dist/icons/Monitor.d.ts +5 -0
- package/dist/icons/Monitor.js +52 -0
- package/dist/icons/NodeAdd.cjs +44 -0
- package/dist/icons/NodeAdd.d.cts +5 -0
- package/dist/icons/NodeAdd.d.ts +5 -0
- package/dist/icons/NodeAdd.js +25 -0
- package/dist/icons/NotEye.cjs +56 -0
- package/dist/icons/NotEye.d.cts +5 -0
- package/dist/icons/NotEye.d.ts +5 -0
- package/dist/icons/NotEye.js +37 -0
- package/dist/icons/NoteLine.cjs +44 -0
- package/dist/icons/NoteLine.d.cts +5 -0
- package/dist/icons/NoteLine.d.ts +5 -0
- package/dist/icons/NoteLine.js +25 -0
- package/dist/icons/PaperPlane.cjs +45 -0
- package/dist/icons/PaperPlane.d.cts +5 -0
- package/dist/icons/PaperPlane.d.ts +5 -0
- package/dist/icons/PaperPlane.js +26 -0
- package/dist/icons/Pencil.cjs +46 -0
- package/dist/icons/Pencil.d.cts +8 -0
- package/dist/icons/Pencil.d.ts +8 -0
- package/dist/icons/Pencil.js +27 -0
- package/dist/icons/Person.cjs +48 -0
- package/dist/icons/Person.d.cts +5 -0
- package/dist/icons/Person.d.ts +5 -0
- package/dist/icons/Person.js +29 -0
- package/dist/icons/Phone.cjs +57 -0
- package/dist/icons/Phone.d.cts +5 -0
- package/dist/icons/Phone.d.ts +5 -0
- package/dist/icons/Phone.js +38 -0
- package/dist/icons/PiggyBank.cjs +72 -0
- package/dist/icons/PiggyBank.d.cts +5 -0
- package/dist/icons/PiggyBank.d.ts +5 -0
- package/dist/icons/PiggyBank.js +49 -0
- package/dist/icons/Plus.cjs +74 -0
- package/dist/icons/Plus.d.cts +5 -0
- package/dist/icons/Plus.d.ts +5 -0
- package/dist/icons/Plus.js +55 -0
- package/dist/icons/PythonTwoTone.cjs +54 -0
- package/dist/icons/PythonTwoTone.d.cts +5 -0
- package/dist/icons/PythonTwoTone.d.ts +5 -0
- package/dist/icons/PythonTwoTone.js +35 -0
- package/dist/icons/QRCodeIcon.cjs +125 -0
- package/dist/icons/QRCodeIcon.d.cts +5 -0
- package/dist/icons/QRCodeIcon.d.ts +5 -0
- package/dist/icons/QRCodeIcon.js +106 -0
- package/dist/icons/ReactTwoTone.cjs +80 -0
- package/dist/icons/ReactTwoTone.d.cts +5 -0
- package/dist/icons/ReactTwoTone.d.ts +5 -0
- package/dist/icons/ReactTwoTone.js +61 -0
- package/dist/icons/Receive.cjs +47 -0
- package/dist/icons/Receive.d.cts +6 -0
- package/dist/icons/Receive.d.ts +6 -0
- package/dist/icons/Receive.js +28 -0
- package/dist/icons/Recycling.cjs +46 -0
- package/dist/icons/Recycling.d.cts +5 -0
- package/dist/icons/Recycling.d.ts +5 -0
- package/dist/icons/Recycling.js +27 -0
- package/dist/icons/Restart.cjs +46 -0
- package/dist/icons/Restart.d.cts +5 -0
- package/dist/icons/Restart.d.ts +5 -0
- package/dist/icons/Restart.js +27 -0
- package/dist/icons/RightArrow.cjs +46 -0
- package/dist/icons/RightArrow.d.cts +5 -0
- package/dist/icons/RightArrow.d.ts +5 -0
- package/dist/icons/RightArrow.js +27 -0
- package/dist/icons/Roadmap.cjs +46 -0
- package/dist/icons/Roadmap.d.cts +5 -0
- package/dist/icons/Roadmap.d.ts +5 -0
- package/dist/icons/Roadmap.js +27 -0
- package/dist/icons/Route.cjs +59 -0
- package/dist/icons/Route.d.cts +6 -0
- package/dist/icons/Route.d.ts +6 -0
- package/dist/icons/Route.js +40 -0
- package/dist/icons/RustTwoTone.cjs +60 -0
- package/dist/icons/RustTwoTone.d.cts +5 -0
- package/dist/icons/RustTwoTone.d.ts +5 -0
- package/dist/icons/RustTwoTone.js +41 -0
- package/dist/icons/Satoshi.cjs +59 -0
- package/dist/icons/Satoshi.d.cts +5 -0
- package/dist/icons/Satoshi.d.ts +5 -0
- package/dist/icons/Satoshi.js +40 -0
- package/dist/icons/SatoshiRounded.cjs +85 -0
- package/dist/icons/SatoshiRounded.d.cts +5 -0
- package/dist/icons/SatoshiRounded.d.ts +5 -0
- package/dist/icons/SatoshiRounded.js +66 -0
- package/dist/icons/Search.cjs +47 -0
- package/dist/icons/Search.d.cts +5 -0
- package/dist/icons/Search.d.ts +5 -0
- package/dist/icons/Search.js +28 -0
- package/dist/icons/SecurityKey.cjs +71 -0
- package/dist/icons/SecurityKey.d.cts +5 -0
- package/dist/icons/SecurityKey.d.ts +5 -0
- package/dist/icons/SecurityKey.js +52 -0
- package/dist/icons/Selector.cjs +61 -0
- package/dist/icons/Selector.d.cts +5 -0
- package/dist/icons/Selector.d.ts +5 -0
- package/dist/icons/Selector.js +42 -0
- package/dist/icons/SemiCircleOverlap.cjs +58 -0
- package/dist/icons/SemiCircleOverlap.d.cts +5 -0
- package/dist/icons/SemiCircleOverlap.d.ts +5 -0
- package/dist/icons/SemiCircleOverlap.js +39 -0
- package/dist/icons/Send.cjs +47 -0
- package/dist/icons/Send.d.cts +6 -0
- package/dist/icons/Send.d.ts +6 -0
- package/dist/icons/Send.js +28 -0
- package/dist/icons/Sidebar.cjs +48 -0
- package/dist/icons/Sidebar.d.cts +5 -0
- package/dist/icons/Sidebar.d.ts +5 -0
- package/dist/icons/Sidebar.js +29 -0
- package/dist/icons/StackedLines.cjs +52 -0
- package/dist/icons/StackedLines.d.cts +5 -0
- package/dist/icons/StackedLines.d.ts +5 -0
- package/dist/icons/StackedLines.js +29 -0
- package/dist/icons/SwiftTwoTone.cjs +59 -0
- package/dist/icons/SwiftTwoTone.d.cts +5 -0
- package/dist/icons/SwiftTwoTone.d.ts +5 -0
- package/dist/icons/SwiftTwoTone.js +40 -0
- package/dist/icons/Team.cjs +46 -0
- package/dist/icons/Team.d.cts +5 -0
- package/dist/icons/Team.d.ts +5 -0
- package/dist/icons/Team.js +27 -0
- package/dist/icons/Terminal.cjs +49 -0
- package/dist/icons/Terminal.d.cts +5 -0
- package/dist/icons/Terminal.d.ts +5 -0
- package/dist/icons/Terminal.js +30 -0
- package/dist/icons/Trash.cjs +49 -0
- package/dist/icons/Trash.d.cts +5 -0
- package/dist/icons/Trash.d.ts +5 -0
- package/dist/icons/Trash.js +30 -0
- package/dist/icons/TrashOld.cjs +53 -0
- package/dist/icons/TrashOld.d.cts +8 -0
- package/dist/icons/TrashOld.d.ts +8 -0
- package/dist/icons/TrashOld.js +34 -0
- package/dist/icons/TwoArrowsDown.cjs +53 -0
- package/dist/icons/TwoArrowsDown.d.cts +5 -0
- package/dist/icons/TwoArrowsDown.d.ts +5 -0
- package/dist/icons/TwoArrowsDown.js +30 -0
- package/dist/icons/TwoArrowsUp.cjs +53 -0
- package/dist/icons/TwoArrowsUp.d.cts +5 -0
- package/dist/icons/TwoArrowsUp.d.ts +5 -0
- package/dist/icons/TwoArrowsUp.js +30 -0
- package/dist/icons/Upload.cjs +45 -0
- package/dist/icons/Upload.d.cts +5 -0
- package/dist/icons/Upload.d.ts +5 -0
- package/dist/icons/Upload.js +26 -0
- package/dist/icons/VerticalArrows.cjs +59 -0
- package/dist/icons/VerticalArrows.d.cts +8 -0
- package/dist/icons/VerticalArrows.d.ts +8 -0
- package/dist/icons/VerticalArrows.js +40 -0
- package/dist/icons/ViewAll.cjs +45 -0
- package/dist/icons/ViewAll.d.cts +5 -0
- package/dist/icons/ViewAll.d.ts +5 -0
- package/dist/icons/ViewAll.js +26 -0
- package/dist/icons/WalletSDKIcon.cjs +59 -0
- package/dist/icons/WalletSDKIcon.d.cts +5 -0
- package/dist/icons/WalletSDKIcon.d.ts +5 -0
- package/dist/icons/WalletSDKIcon.js +40 -0
- package/dist/icons/WarningIcon.cjs +48 -0
- package/dist/icons/WarningIcon.d.cts +5 -0
- package/dist/icons/WarningIcon.d.ts +5 -0
- package/dist/icons/WarningIcon.js +29 -0
- package/dist/icons/WarningSign.cjs +57 -0
- package/dist/icons/WarningSign.d.cts +5 -0
- package/dist/icons/WarningSign.d.ts +5 -0
- package/dist/icons/WarningSign.js +38 -0
- package/dist/icons/index.cjs +1267 -0
- package/dist/icons/index.d.cts +5 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/index.js +15 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +0 -0
- package/dist/router.cjs +1082 -0
- package/dist/router.d.cts +39 -0
- package/dist/router.d.ts +39 -0
- package/dist/router.js +24 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.eot +0 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.svg +14 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.ttf +0 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.woff +0 -0
- package/dist/static/fonts/LightsparkIcons/README.md +1 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/btc.svg +3 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/margin-btc.svg +3 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/margin-sats.svg +7 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/sats.svg +7 -0
- package/dist/static/fonts.css +14 -0
- package/dist/static/images/Checkmark.svg +3 -0
- package/dist/static/images/FramedLogoOnCircle.svg +12 -0
- package/dist/static/images/Logo.svg +55 -0
- package/dist/static/images/RainLogo.png +0 -0
- package/dist/static/images/RotatedElipseGradient-2x.png +0 -0
- package/dist/static/images/RotatedElipseGradient.png +0 -0
- package/dist/static/images/country-flags/us.svg +10 -0
- package/dist/styles/breakpoints.cjs +263 -0
- package/dist/styles/breakpoints.d.cts +88 -0
- package/dist/styles/breakpoints.d.ts +88 -0
- package/dist/styles/breakpoints.js +19 -0
- package/dist/styles/colors.cjs +1177 -0
- package/dist/styles/colors.d.cts +135 -0
- package/dist/styles/colors.d.ts +135 -0
- package/dist/styles/colors.js +41 -0
- package/dist/styles/common.cjs +1248 -0
- package/dist/styles/common.d.cts +48 -0
- package/dist/styles/common.d.ts +48 -0
- package/dist/styles/common.js +59 -0
- package/dist/styles/constants.cjs +32 -0
- package/dist/styles/constants.d.cts +5 -0
- package/dist/styles/constants.d.ts +5 -0
- package/dist/styles/constants.js +7 -0
- package/dist/styles/fields.cjs +1361 -0
- package/dist/styles/fields.d.cts +67 -0
- package/dist/styles/fields.d.ts +67 -0
- package/dist/styles/fields.js +192 -0
- package/dist/styles/fonts/typography/Article.cjs +1388 -0
- package/dist/styles/fonts/typography/Article.d.cts +10 -0
- package/dist/styles/fonts/typography/Article.d.ts +10 -0
- package/dist/styles/fonts/typography/Article.js +17 -0
- package/dist/styles/fonts/typography/Body.cjs +1012 -0
- package/dist/styles/fonts/typography/Body.d.cts +23 -0
- package/dist/styles/fonts/typography/Body.d.ts +23 -0
- package/dist/styles/fonts/typography/Body.js +13 -0
- package/dist/styles/fonts/typography/Code.cjs +68 -0
- package/dist/styles/fonts/typography/Code.d.cts +10 -0
- package/dist/styles/fonts/typography/Code.d.ts +10 -0
- package/dist/styles/fonts/typography/Code.js +9 -0
- package/dist/styles/fonts/typography/Display.cjs +1022 -0
- package/dist/styles/fonts/typography/Display.d.cts +15 -0
- package/dist/styles/fonts/typography/Display.d.ts +15 -0
- package/dist/styles/fonts/typography/Display.js +15 -0
- package/dist/styles/fonts/typography/Headline.cjs +1076 -0
- package/dist/styles/fonts/typography/Headline.d.cts +18 -0
- package/dist/styles/fonts/typography/Headline.d.ts +18 -0
- package/dist/styles/fonts/typography/Headline.js +19 -0
- package/dist/styles/fonts/typography/Label.cjs +1012 -0
- package/dist/styles/fonts/typography/Label.d.cts +18 -0
- package/dist/styles/fonts/typography/Label.d.ts +18 -0
- package/dist/styles/fonts/typography/Label.js +13 -0
- package/dist/styles/fonts/typography/LabelStrong.cjs +1023 -0
- package/dist/styles/fonts/typography/LabelStrong.d.cts +18 -0
- package/dist/styles/fonts/typography/LabelStrong.d.ts +18 -0
- package/dist/styles/fonts/typography/LabelStrong.js +13 -0
- package/dist/styles/fonts/typography/Title.cjs +1011 -0
- package/dist/styles/fonts/typography/Title.d.cts +18 -0
- package/dist/styles/fonts/typography/Title.d.ts +18 -0
- package/dist/styles/fonts/typography/Title.js +13 -0
- package/dist/styles/fonts/typography/index.cjs +1513 -0
- package/dist/styles/fonts/typography/index.d.cts +13 -0
- package/dist/styles/fonts/typography/index.d.ts +13 -0
- package/dist/styles/fonts/typography/index.js +41 -0
- package/dist/styles/fonts/typographyTokens.cjs +768 -0
- package/dist/styles/fonts/typographyTokens.d.cts +723 -0
- package/dist/styles/fonts/typographyTokens.d.ts +723 -0
- package/dist/styles/fonts/typographyTokens.js +13 -0
- package/dist/styles/global.cjs +1315 -0
- package/dist/styles/global.d.cts +10 -0
- package/dist/styles/global.d.ts +10 -0
- package/dist/styles/global.js +15 -0
- package/dist/styles/type.cjs +1362 -0
- package/dist/styles/type.d.cts +28 -0
- package/dist/styles/type.d.ts +28 -0
- package/dist/styles/type.js +153 -0
- package/dist/styles/utils.cjs +1259 -0
- package/dist/styles/utils.d.cts +29 -0
- package/dist/styles/utils.d.ts +29 -0
- package/dist/styles/utils.js +38 -0
- package/dist/styles/z-index.cjs +53 -0
- package/dist/styles/z-index.d.cts +25 -0
- package/dist/styles/z-index.d.ts +25 -0
- package/dist/styles/z-index.js +7 -0
- package/dist/types/index.cjs +18 -0
- package/dist/types/index.d.cts +11 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/index.js +0 -0
- package/dist/types/utils.cjs +37 -0
- package/dist/types/utils.d.cts +16 -0
- package/dist/types/utils.d.ts +16 -0
- package/dist/types/utils.js +13 -0
- package/dist/utils/strings.cjs +87 -0
- package/dist/utils/strings.d.cts +12 -0
- package/dist/utils/strings.d.ts +12 -0
- package/dist/utils/strings.js +21 -0
- package/package.json +72 -0
package/dist/router.cjs
ADDED
|
@@ -0,0 +1,1082 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __export = (target, all) => {
|
|
24
|
+
for (var name in all)
|
|
25
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
26
|
+
};
|
|
27
|
+
var __copyProps = (to, from, except, desc) => {
|
|
28
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
29
|
+
for (let key of __getOwnPropNames(from))
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
31
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
32
|
+
}
|
|
33
|
+
return to;
|
|
34
|
+
};
|
|
35
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
|
+
|
|
37
|
+
// src/router.tsx
|
|
38
|
+
var router_exports = {};
|
|
39
|
+
__export(router_exports, {
|
|
40
|
+
Link: () => Link,
|
|
41
|
+
Navigate: () => Navigate,
|
|
42
|
+
replaceParams: () => replaceParams,
|
|
43
|
+
useCurrentRoute: () => useCurrentRoute,
|
|
44
|
+
useFindMatchingRoute: () => useFindMatchingRoute,
|
|
45
|
+
useMatchRoute: () => useMatchRoute,
|
|
46
|
+
useMatchRoutes: () => useMatchRoutes,
|
|
47
|
+
useNavigate: () => useNavigate
|
|
48
|
+
});
|
|
49
|
+
module.exports = __toCommonJS(router_exports);
|
|
50
|
+
var import_lodash_es = require("lodash-es");
|
|
51
|
+
var import_react2 = require("react");
|
|
52
|
+
var import_react_router_dom = require("react-router-dom");
|
|
53
|
+
|
|
54
|
+
// src/styles/colors.tsx
|
|
55
|
+
var import_react = require("@emotion/react");
|
|
56
|
+
|
|
57
|
+
// src/styles/fonts/typographyTokens.ts
|
|
58
|
+
var FONT_FAMILIES = {
|
|
59
|
+
main: "Montserrat",
|
|
60
|
+
code: "Monaco"
|
|
61
|
+
};
|
|
62
|
+
var LINE_HEIGHTS = {
|
|
63
|
+
"5xl": "72px",
|
|
64
|
+
"4xl": "60px",
|
|
65
|
+
"3xl": "44px",
|
|
66
|
+
"2xl": "40px",
|
|
67
|
+
xl: "36px",
|
|
68
|
+
lg: "32px",
|
|
69
|
+
md: "28px",
|
|
70
|
+
sm: "24px",
|
|
71
|
+
xs: "20px",
|
|
72
|
+
"2xs": "16px"
|
|
73
|
+
};
|
|
74
|
+
var FONT_WEIGHTS = {
|
|
75
|
+
main: {
|
|
76
|
+
Bold: 700,
|
|
77
|
+
SemiBold: 600,
|
|
78
|
+
Medium: 500
|
|
79
|
+
},
|
|
80
|
+
code: {
|
|
81
|
+
Bold: 700,
|
|
82
|
+
Regular: 400
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
var FONT_SIZE = {
|
|
86
|
+
"2xs": "11px",
|
|
87
|
+
xs: "12px",
|
|
88
|
+
sm: "14px",
|
|
89
|
+
md: "16px",
|
|
90
|
+
lg: "20px",
|
|
91
|
+
xl: "24px",
|
|
92
|
+
"2xl": "28px",
|
|
93
|
+
"3xl": "32px",
|
|
94
|
+
"4xl": "36px",
|
|
95
|
+
"5xl": "48px",
|
|
96
|
+
"6xl": "64px"
|
|
97
|
+
};
|
|
98
|
+
var LETTER_SPACING = {
|
|
99
|
+
tight: "-.02em",
|
|
100
|
+
normal: "0",
|
|
101
|
+
loose: ".1em"
|
|
102
|
+
};
|
|
103
|
+
var TEXT_CASE = {
|
|
104
|
+
none: "none",
|
|
105
|
+
uppercase: "uppercase"
|
|
106
|
+
};
|
|
107
|
+
var TEXT_DECORATION = {
|
|
108
|
+
none: "none"
|
|
109
|
+
};
|
|
110
|
+
var PARAGRAPH_INDENT = {
|
|
111
|
+
0: "0px"
|
|
112
|
+
};
|
|
113
|
+
var PARAGRAPH_SPACING = {
|
|
114
|
+
default: "default",
|
|
115
|
+
16: "16px",
|
|
116
|
+
40: "40px"
|
|
117
|
+
};
|
|
118
|
+
var getTypography = (customFontFamilies) => {
|
|
119
|
+
const fontFamilies = customFontFamilies != null ? customFontFamilies : FONT_FAMILIES;
|
|
120
|
+
return {
|
|
121
|
+
fontFamilies,
|
|
122
|
+
lineHeights: LINE_HEIGHTS,
|
|
123
|
+
fontWeights: FONT_WEIGHTS,
|
|
124
|
+
fontSize: FONT_SIZE,
|
|
125
|
+
letterSpacing: LETTER_SPACING,
|
|
126
|
+
textCase: TEXT_CASE,
|
|
127
|
+
textDecoration: TEXT_DECORATION,
|
|
128
|
+
paragraphIndent: PARAGRAPH_INDENT,
|
|
129
|
+
paragraphSpacing: PARAGRAPH_SPACING,
|
|
130
|
+
["Lightspark" /* Lightspark */]: {
|
|
131
|
+
Display: {
|
|
132
|
+
["Large" /* Large */]: {
|
|
133
|
+
"font-family": `${fontFamilies.main}`,
|
|
134
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
135
|
+
"line-height": `${LINE_HEIGHTS["5xl"]}`,
|
|
136
|
+
"font-size": `${FONT_SIZE["6xl"]}`,
|
|
137
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
138
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
139
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
140
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
141
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
142
|
+
},
|
|
143
|
+
["Medium" /* Medium */]: {
|
|
144
|
+
"font-family": `${fontFamilies.main}`,
|
|
145
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
146
|
+
"line-height": `${LINE_HEIGHTS["4xl"]}`,
|
|
147
|
+
"font-size": `${FONT_SIZE["5xl"]}`,
|
|
148
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
149
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
150
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
151
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
152
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
153
|
+
},
|
|
154
|
+
["Small" /* Small */]: {
|
|
155
|
+
"font-family": `${fontFamilies.main}`,
|
|
156
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
157
|
+
"line-height": `${LINE_HEIGHTS["3xl"]}`,
|
|
158
|
+
"font-size": `${FONT_SIZE["4xl"]}`,
|
|
159
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
160
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
161
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
162
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
163
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
Headline: {
|
|
167
|
+
["Large" /* Large */]: {
|
|
168
|
+
"font-family": `${fontFamilies.main}`,
|
|
169
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
170
|
+
"line-height": `${LINE_HEIGHTS["2xl"]}`,
|
|
171
|
+
"font-size": `${FONT_SIZE["3xl"]}`,
|
|
172
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
173
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
|
|
174
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
175
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
176
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
177
|
+
},
|
|
178
|
+
["Medium" /* Medium */]: {
|
|
179
|
+
"font-family": `${fontFamilies.main}`,
|
|
180
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
181
|
+
"line-height": `${LINE_HEIGHTS.xl}`,
|
|
182
|
+
"font-size": `${FONT_SIZE["2xl"]}`,
|
|
183
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
184
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
|
|
185
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
186
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
187
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
188
|
+
},
|
|
189
|
+
["Small" /* Small */]: {
|
|
190
|
+
"font-family": `${fontFamilies.main}`,
|
|
191
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
192
|
+
"line-height": `${LINE_HEIGHTS.lg}`,
|
|
193
|
+
"font-size": `${FONT_SIZE.xl}`,
|
|
194
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
195
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
|
|
196
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
197
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
198
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
Title: {
|
|
202
|
+
["Large" /* Large */]: {
|
|
203
|
+
"font-family": `${fontFamilies.main}`,
|
|
204
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
205
|
+
"line-height": `${LINE_HEIGHTS.md}`,
|
|
206
|
+
"font-size": `${FONT_SIZE.lg}`,
|
|
207
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
208
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
209
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
210
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
211
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
212
|
+
},
|
|
213
|
+
["Medium" /* Medium */]: {
|
|
214
|
+
"font-family": `${fontFamilies.main}`,
|
|
215
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
216
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
217
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
218
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
219
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
220
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
221
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
222
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
223
|
+
},
|
|
224
|
+
["Small" /* Small */]: {
|
|
225
|
+
"font-family": `${fontFamilies.main}`,
|
|
226
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
227
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
228
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
229
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
230
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
231
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
232
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
233
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
Body: {
|
|
237
|
+
["Large" /* Large */]: {
|
|
238
|
+
"font-family": `${fontFamilies.main}`,
|
|
239
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
240
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
241
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
242
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
243
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
244
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
245
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
246
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
247
|
+
},
|
|
248
|
+
["Medium" /* Medium */]: {
|
|
249
|
+
"font-family": `${fontFamilies.main}`,
|
|
250
|
+
"font-weight": `${FONT_WEIGHTS.main.Medium}`,
|
|
251
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
252
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
253
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
254
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
255
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
256
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
257
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
258
|
+
},
|
|
259
|
+
["Small" /* Small */]: {
|
|
260
|
+
"font-family": `${fontFamilies.main}`,
|
|
261
|
+
"font-weight": `${FONT_WEIGHTS.main.Medium}`,
|
|
262
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
263
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
264
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
265
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
266
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
267
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
268
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
Label: {
|
|
272
|
+
["Large" /* Large */]: {
|
|
273
|
+
"font-family": `${fontFamilies.main}`,
|
|
274
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
275
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
276
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
277
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
278
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
279
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
280
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
281
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
282
|
+
},
|
|
283
|
+
["Medium" /* Medium */]: {
|
|
284
|
+
"font-family": `${fontFamilies.main}`,
|
|
285
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
286
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
287
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
288
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
289
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
290
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
291
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
292
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
293
|
+
},
|
|
294
|
+
["Small" /* Small */]: {
|
|
295
|
+
"font-family": `${fontFamilies.main}`,
|
|
296
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
297
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
298
|
+
"font-size": `${FONT_SIZE["2xs"]}`,
|
|
299
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
300
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
301
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
302
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
303
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"Label Strong": {
|
|
307
|
+
["Large" /* Large */]: {
|
|
308
|
+
"font-family": `${fontFamilies.main}`,
|
|
309
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
310
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
311
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
312
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
313
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
314
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
315
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
316
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
317
|
+
},
|
|
318
|
+
["Medium" /* Medium */]: {
|
|
319
|
+
"font-family": `${fontFamilies.main}`,
|
|
320
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
321
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
322
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
323
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
324
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
325
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
326
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
327
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
328
|
+
},
|
|
329
|
+
["Small" /* Small */]: {
|
|
330
|
+
"font-family": `${fontFamilies.main}`,
|
|
331
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
332
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
333
|
+
"font-size": `${FONT_SIZE["2xs"]}`,
|
|
334
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
335
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
336
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
337
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
338
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
Overline: {
|
|
342
|
+
["Large" /* Large */]: {
|
|
343
|
+
"font-family": `${fontFamilies.code}`,
|
|
344
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
345
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
346
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
347
|
+
"letter-spacing": `${LETTER_SPACING.loose}`,
|
|
348
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
349
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
350
|
+
"text-case": `${TEXT_CASE.uppercase}`,
|
|
351
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
352
|
+
},
|
|
353
|
+
["Medium" /* Medium */]: {
|
|
354
|
+
"font-family": `${fontFamilies.code}`,
|
|
355
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
356
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
357
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
358
|
+
"letter-spacing": `${LETTER_SPACING.loose}`,
|
|
359
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
360
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
361
|
+
"text-case": `${TEXT_CASE.uppercase}`,
|
|
362
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
363
|
+
},
|
|
364
|
+
["Small" /* Small */]: {
|
|
365
|
+
"font-family": `${fontFamilies.code}`,
|
|
366
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
367
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
368
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
369
|
+
"letter-spacing": `${LETTER_SPACING.loose}`,
|
|
370
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
371
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
372
|
+
"text-case": `${TEXT_CASE.uppercase}`,
|
|
373
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
Code: {
|
|
377
|
+
["Large" /* Large */]: {
|
|
378
|
+
"font-family": `${fontFamilies.code}`,
|
|
379
|
+
"font-weight": `${FONT_WEIGHTS.code.Regular}`,
|
|
380
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
381
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
382
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
383
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
384
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
385
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
386
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
387
|
+
},
|
|
388
|
+
["Medium" /* Medium */]: {
|
|
389
|
+
"font-family": `${fontFamilies.code}`,
|
|
390
|
+
"font-weight": `${FONT_WEIGHTS.code.Regular}`,
|
|
391
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
392
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
393
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
394
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
395
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
396
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
397
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
398
|
+
},
|
|
399
|
+
["Small" /* Small */]: {
|
|
400
|
+
"font-family": `${fontFamilies.code}`,
|
|
401
|
+
"font-weight": `${FONT_WEIGHTS.code.Regular}`,
|
|
402
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
403
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
404
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
405
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
406
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
407
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
408
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"Code Strong": {
|
|
412
|
+
["Large" /* Large */]: {
|
|
413
|
+
"font-family": `${fontFamilies.code}`,
|
|
414
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
415
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
416
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
417
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
418
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
419
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
420
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
421
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
422
|
+
},
|
|
423
|
+
["Medium" /* Medium */]: {
|
|
424
|
+
"font-family": `${fontFamilies.code}`,
|
|
425
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
426
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
427
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
428
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
429
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
430
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
431
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
432
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
433
|
+
},
|
|
434
|
+
["Small" /* Small */]: {
|
|
435
|
+
"font-family": `${fontFamilies.code}`,
|
|
436
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
437
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
438
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
439
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
440
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
441
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
442
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
443
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
["UmaDocs" /* UmaDocs */]: {
|
|
448
|
+
Display: {
|
|
449
|
+
["Large" /* Large */]: {
|
|
450
|
+
"font-family": `${fontFamilies.main}`,
|
|
451
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
452
|
+
"line-height": `${LINE_HEIGHTS["5xl"]}`,
|
|
453
|
+
"font-size": `${FONT_SIZE["6xl"]}`,
|
|
454
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
455
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
456
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
457
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
458
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
459
|
+
},
|
|
460
|
+
["Medium" /* Medium */]: {
|
|
461
|
+
"font-family": `${fontFamilies.main}`,
|
|
462
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
463
|
+
"line-height": `${LINE_HEIGHTS["4xl"]}`,
|
|
464
|
+
"font-size": `${FONT_SIZE["5xl"]}`,
|
|
465
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
466
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
467
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
468
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
469
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
470
|
+
},
|
|
471
|
+
["Small" /* Small */]: {
|
|
472
|
+
"font-family": `${fontFamilies.main}`,
|
|
473
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
474
|
+
"line-height": `${LINE_HEIGHTS["3xl"]}`,
|
|
475
|
+
"font-size": `${FONT_SIZE["4xl"]}`,
|
|
476
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
477
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
478
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
479
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
480
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
Headline: {
|
|
484
|
+
["Large" /* Large */]: {
|
|
485
|
+
"font-family": `${fontFamilies.main}`,
|
|
486
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
487
|
+
"line-height": `${LINE_HEIGHTS["2xl"]}`,
|
|
488
|
+
"font-size": `${FONT_SIZE["3xl"]}`,
|
|
489
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
490
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
|
|
491
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
492
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
493
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
494
|
+
},
|
|
495
|
+
["Medium" /* Medium */]: {
|
|
496
|
+
"font-family": `${fontFamilies.main}`,
|
|
497
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
498
|
+
"line-height": `${LINE_HEIGHTS.xl}`,
|
|
499
|
+
"font-size": `${FONT_SIZE["2xl"]}`,
|
|
500
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
501
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
|
|
502
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
503
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
504
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
505
|
+
},
|
|
506
|
+
["Small" /* Small */]: {
|
|
507
|
+
"font-family": `${fontFamilies.main}`,
|
|
508
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
509
|
+
"line-height": `${LINE_HEIGHTS.lg}`,
|
|
510
|
+
"font-size": `${FONT_SIZE.xl}`,
|
|
511
|
+
"letter-spacing": `${LETTER_SPACING.tight}`,
|
|
512
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
|
|
513
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
514
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
515
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
Title: {
|
|
519
|
+
["Large" /* Large */]: {
|
|
520
|
+
"font-family": `${fontFamilies.main}`,
|
|
521
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
522
|
+
"line-height": `${LINE_HEIGHTS.md}`,
|
|
523
|
+
"font-size": `${FONT_SIZE.lg}`,
|
|
524
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
525
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
526
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
527
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
528
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
529
|
+
},
|
|
530
|
+
["Medium" /* Medium */]: {
|
|
531
|
+
"font-family": `${fontFamilies.main}`,
|
|
532
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
533
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
534
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
535
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
536
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
537
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
538
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
539
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
540
|
+
},
|
|
541
|
+
["Small" /* Small */]: {
|
|
542
|
+
"font-family": `${fontFamilies.main}`,
|
|
543
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
544
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
545
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
546
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
547
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
548
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
549
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
550
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
Body: {
|
|
554
|
+
["Large" /* Large */]: {
|
|
555
|
+
"font-family": `${fontFamilies.main}`,
|
|
556
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
557
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
558
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
559
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
560
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
561
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
562
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
563
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
564
|
+
},
|
|
565
|
+
["Medium" /* Medium */]: {
|
|
566
|
+
"font-family": `${fontFamilies.main}`,
|
|
567
|
+
"font-weight": `${FONT_WEIGHTS.main.Medium}`,
|
|
568
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
569
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
570
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
571
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
572
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
573
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
574
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
575
|
+
},
|
|
576
|
+
["Small" /* Small */]: {
|
|
577
|
+
"font-family": `${fontFamilies.main}`,
|
|
578
|
+
"font-weight": `${FONT_WEIGHTS.main.Medium}`,
|
|
579
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
580
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
581
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
582
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
583
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
584
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
585
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
Label: {
|
|
589
|
+
["Large" /* Large */]: {
|
|
590
|
+
"font-family": `${fontFamilies.main}`,
|
|
591
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
592
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
593
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
594
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
595
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
596
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
597
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
598
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
599
|
+
},
|
|
600
|
+
["Medium" /* Medium */]: {
|
|
601
|
+
"font-family": `${fontFamilies.main}`,
|
|
602
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
603
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
604
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
605
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
606
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
607
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
608
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
609
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
610
|
+
},
|
|
611
|
+
["Small" /* Small */]: {
|
|
612
|
+
"font-family": `${fontFamilies.main}`,
|
|
613
|
+
"font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
|
|
614
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
615
|
+
"font-size": `${FONT_SIZE["2xs"]}`,
|
|
616
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
617
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
618
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
619
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
620
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"Label Strong": {
|
|
624
|
+
["Large" /* Large */]: {
|
|
625
|
+
"font-family": `${fontFamilies.main}`,
|
|
626
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
627
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
628
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
629
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
630
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
631
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
632
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
633
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
634
|
+
},
|
|
635
|
+
["Medium" /* Medium */]: {
|
|
636
|
+
"font-family": `${fontFamilies.main}`,
|
|
637
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
638
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
639
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
640
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
641
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
642
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
643
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
644
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
645
|
+
},
|
|
646
|
+
["Small" /* Small */]: {
|
|
647
|
+
"font-family": `${fontFamilies.main}`,
|
|
648
|
+
"font-weight": `${FONT_WEIGHTS.main.Bold}`,
|
|
649
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
650
|
+
"font-size": `${FONT_SIZE["2xs"]}`,
|
|
651
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
652
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
653
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
654
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
655
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
Overline: {
|
|
659
|
+
["Large" /* Large */]: {
|
|
660
|
+
"font-family": `${fontFamilies.code}`,
|
|
661
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
662
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
663
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
664
|
+
"letter-spacing": `${LETTER_SPACING.loose}`,
|
|
665
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
666
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
667
|
+
"text-case": `${TEXT_CASE.uppercase}`,
|
|
668
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
669
|
+
},
|
|
670
|
+
["Medium" /* Medium */]: {
|
|
671
|
+
"font-family": `${fontFamilies.code}`,
|
|
672
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
673
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
674
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
675
|
+
"letter-spacing": `${LETTER_SPACING.loose}`,
|
|
676
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
677
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
678
|
+
"text-case": `${TEXT_CASE.uppercase}`,
|
|
679
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
680
|
+
},
|
|
681
|
+
["Small" /* Small */]: {
|
|
682
|
+
"font-family": `${fontFamilies.code}`,
|
|
683
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
684
|
+
"line-height": `${LINE_HEIGHTS["2xs"]}`,
|
|
685
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
686
|
+
"letter-spacing": `${LETTER_SPACING.loose}`,
|
|
687
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
688
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
689
|
+
"text-case": `${TEXT_CASE.uppercase}`,
|
|
690
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
Code: {
|
|
694
|
+
["Large" /* Large */]: {
|
|
695
|
+
"font-family": `${fontFamilies.code}`,
|
|
696
|
+
"font-weight": `${FONT_WEIGHTS.code.Regular}`,
|
|
697
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
698
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
699
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
700
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
701
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
702
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
703
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
704
|
+
},
|
|
705
|
+
["Medium" /* Medium */]: {
|
|
706
|
+
"font-family": `${fontFamilies.code}`,
|
|
707
|
+
"font-weight": `${FONT_WEIGHTS.code.Regular}`,
|
|
708
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
709
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
710
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
711
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
712
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
713
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
714
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
715
|
+
},
|
|
716
|
+
["Small" /* Small */]: {
|
|
717
|
+
"font-family": `${fontFamilies.code}`,
|
|
718
|
+
"font-weight": `${FONT_WEIGHTS.code.Regular}`,
|
|
719
|
+
"line-height": `${LINE_HEIGHTS.xs}`,
|
|
720
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
721
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
722
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
723
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
724
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
725
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"Code Strong": {
|
|
729
|
+
["Large" /* Large */]: {
|
|
730
|
+
"font-family": `${fontFamilies.code}`,
|
|
731
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
732
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
733
|
+
"font-size": `${FONT_SIZE.md}`,
|
|
734
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
735
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
736
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
737
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
738
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
739
|
+
},
|
|
740
|
+
["Medium" /* Medium */]: {
|
|
741
|
+
"font-family": `${fontFamilies.code}`,
|
|
742
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
743
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
744
|
+
"font-size": `${FONT_SIZE.sm}`,
|
|
745
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
746
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
747
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
748
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
749
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
750
|
+
},
|
|
751
|
+
["Small" /* Small */]: {
|
|
752
|
+
"font-family": `${fontFamilies.code}`,
|
|
753
|
+
"font-weight": `${FONT_WEIGHTS.code.Bold}`,
|
|
754
|
+
"line-height": `${LINE_HEIGHTS.sm}`,
|
|
755
|
+
"font-size": `${FONT_SIZE.xs}`,
|
|
756
|
+
"letter-spacing": `${LETTER_SPACING.normal}`,
|
|
757
|
+
"paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
|
|
758
|
+
"paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
|
|
759
|
+
"text-case": `${TEXT_CASE.none}`,
|
|
760
|
+
"text-decoration": `${TEXT_DECORATION.none}`
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
// src/styles/colors.tsx
|
|
768
|
+
var neutral = {
|
|
769
|
+
black: "#000000",
|
|
770
|
+
gray5: "#0D0D0D",
|
|
771
|
+
gray10: "#1A1A1A",
|
|
772
|
+
gray15: "#262626",
|
|
773
|
+
gray20: "#333333",
|
|
774
|
+
gray25: "#404040",
|
|
775
|
+
gray30: "#4D4D4D",
|
|
776
|
+
gray40: "#666666",
|
|
777
|
+
gray50: "#808080",
|
|
778
|
+
gray60: "#999999",
|
|
779
|
+
gray70: "#B3B3B3",
|
|
780
|
+
gray80: "#CCCCCC",
|
|
781
|
+
gray85: "#D9D9D9",
|
|
782
|
+
gray90: "#E6E6E6",
|
|
783
|
+
gray95: "#F2F2F2",
|
|
784
|
+
white: "#FFFFFF"
|
|
785
|
+
};
|
|
786
|
+
var uma = {
|
|
787
|
+
background: "#F9F9F9",
|
|
788
|
+
black: "#16171A",
|
|
789
|
+
blue: "#0068C9",
|
|
790
|
+
blue50: "#C0C9D6",
|
|
791
|
+
blue80: "#DCE2EA",
|
|
792
|
+
blue90: "#EBEEF2",
|
|
793
|
+
blue95: "#F2F5F7",
|
|
794
|
+
grey300: "#DEDFE4",
|
|
795
|
+
secondary: "#686A72",
|
|
796
|
+
stroke: "#C0C9D6",
|
|
797
|
+
strokeProminent: "#9BA7B9",
|
|
798
|
+
fill: "#EBEEF2"
|
|
799
|
+
};
|
|
800
|
+
var primary = "#FFF14E";
|
|
801
|
+
var colors = __spreadProps(__spreadValues({}, neutral), {
|
|
802
|
+
uma,
|
|
803
|
+
// green
|
|
804
|
+
success: "#17C27C",
|
|
805
|
+
// blue
|
|
806
|
+
blue43: "#145BC6",
|
|
807
|
+
blue22: "#0E2E60",
|
|
808
|
+
blue58: "#28BFFF",
|
|
809
|
+
blue95: "#EBEEF2",
|
|
810
|
+
// yellow
|
|
811
|
+
primary,
|
|
812
|
+
warning: primary,
|
|
813
|
+
// orange
|
|
814
|
+
danger: "#FD2C0F",
|
|
815
|
+
// neutral
|
|
816
|
+
secondary: neutral.black,
|
|
817
|
+
// billing
|
|
818
|
+
tier1: "#179257",
|
|
819
|
+
tier2: "#8B38DE",
|
|
820
|
+
tier3: "#0048F7"
|
|
821
|
+
});
|
|
822
|
+
function extend(obj, rest) {
|
|
823
|
+
return __spreadValues(__spreadValues({}, obj), rest);
|
|
824
|
+
}
|
|
825
|
+
function extendBase(obj, rest) {
|
|
826
|
+
return __spreadValues(__spreadValues({}, obj), rest);
|
|
827
|
+
}
|
|
828
|
+
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
829
|
+
const bgRGB = hexToRGB(bgHex);
|
|
830
|
+
const hcRGB = hexToRGB(defaultHex);
|
|
831
|
+
if (!bgRGB || !hcRGB)
|
|
832
|
+
return defaultHex;
|
|
833
|
+
const c = contrast(bgRGB, hcRGB);
|
|
834
|
+
if (c < 4.5) {
|
|
835
|
+
return altHex;
|
|
836
|
+
}
|
|
837
|
+
return defaultHex;
|
|
838
|
+
}
|
|
839
|
+
var lightBaseTheme = {
|
|
840
|
+
type: "light" /* Light */,
|
|
841
|
+
app: "Lightspark" /* Lightspark */,
|
|
842
|
+
bg: colors.white,
|
|
843
|
+
smBg: colors.white,
|
|
844
|
+
c05Neutral: neutral.gray95,
|
|
845
|
+
c1Neutral: neutral.gray90,
|
|
846
|
+
c15Neutral: neutral.gray85,
|
|
847
|
+
c2Neutral: neutral.gray80,
|
|
848
|
+
c3Neutral: neutral.gray70,
|
|
849
|
+
c4Neutral: neutral.gray60,
|
|
850
|
+
c5Neutral: neutral.gray50,
|
|
851
|
+
c6Neutral: neutral.gray40,
|
|
852
|
+
c7Neutral: neutral.gray30,
|
|
853
|
+
c8Neutral: neutral.gray20,
|
|
854
|
+
c9Neutral: neutral.gray10,
|
|
855
|
+
danger: colors.danger,
|
|
856
|
+
hcNeutral: colors.black,
|
|
857
|
+
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
858
|
+
info: colors.blue43,
|
|
859
|
+
lcNeutral: neutral.gray80,
|
|
860
|
+
link: colors.blue43,
|
|
861
|
+
mcNeutral: neutral.gray40,
|
|
862
|
+
onInfoText: colors.white,
|
|
863
|
+
onPrimaryText: colors.black,
|
|
864
|
+
onSuccessText: colors.white,
|
|
865
|
+
primary: colors.primary,
|
|
866
|
+
secondary: colors.secondary,
|
|
867
|
+
success: colors.success,
|
|
868
|
+
text: colors.black,
|
|
869
|
+
typography: getTypography(),
|
|
870
|
+
vlcNeutral: neutral.gray95,
|
|
871
|
+
warning: colors.warning
|
|
872
|
+
};
|
|
873
|
+
var darkBaseTheme = {
|
|
874
|
+
type: "dark" /* Dark */,
|
|
875
|
+
app: "Lightspark" /* Lightspark */,
|
|
876
|
+
bg: colors.black,
|
|
877
|
+
smBg: colors.black,
|
|
878
|
+
c05Neutral: neutral.gray5,
|
|
879
|
+
c1Neutral: neutral.gray10,
|
|
880
|
+
c15Neutral: neutral.gray15,
|
|
881
|
+
c2Neutral: neutral.gray20,
|
|
882
|
+
c3Neutral: neutral.gray30,
|
|
883
|
+
c4Neutral: neutral.gray40,
|
|
884
|
+
c5Neutral: neutral.gray50,
|
|
885
|
+
c6Neutral: neutral.gray60,
|
|
886
|
+
c7Neutral: neutral.gray70,
|
|
887
|
+
c8Neutral: neutral.gray80,
|
|
888
|
+
c9Neutral: neutral.gray90,
|
|
889
|
+
danger: colors.danger,
|
|
890
|
+
hcNeutral: colors.white,
|
|
891
|
+
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.white, colors.black),
|
|
892
|
+
info: colors.white,
|
|
893
|
+
lcNeutral: neutral.gray40,
|
|
894
|
+
link: colors.blue43,
|
|
895
|
+
mcNeutral: neutral.gray60,
|
|
896
|
+
onInfoText: colors.white,
|
|
897
|
+
onPrimaryText: colors.black,
|
|
898
|
+
onSuccessText: colors.white,
|
|
899
|
+
primary: colors.primary,
|
|
900
|
+
secondary: colors.secondary,
|
|
901
|
+
success: colors.success,
|
|
902
|
+
text: colors.white,
|
|
903
|
+
typography: getTypography(),
|
|
904
|
+
vlcNeutral: neutral.gray20,
|
|
905
|
+
warning: colors.warning
|
|
906
|
+
};
|
|
907
|
+
var lightTheme = extend(lightBaseTheme, {
|
|
908
|
+
header: extendBase(lightBaseTheme, {
|
|
909
|
+
text: colors.gray60
|
|
910
|
+
}),
|
|
911
|
+
nav: extendBase(lightBaseTheme, {
|
|
912
|
+
text: colors.gray10,
|
|
913
|
+
secondary: colors.secondary
|
|
914
|
+
}),
|
|
915
|
+
content: extendBase(lightBaseTheme, {
|
|
916
|
+
bg: colors.white,
|
|
917
|
+
smBg: colors.white
|
|
918
|
+
}),
|
|
919
|
+
controls: extendBase(lightBaseTheme, {
|
|
920
|
+
bg: neutral.gray95,
|
|
921
|
+
smBg: neutral.gray95,
|
|
922
|
+
text: neutral.gray60,
|
|
923
|
+
secondary: colors.secondary
|
|
924
|
+
})
|
|
925
|
+
});
|
|
926
|
+
var darkTheme = extend(darkBaseTheme, {
|
|
927
|
+
header: extendBase(darkBaseTheme, {}),
|
|
928
|
+
nav: extendBase(darkBaseTheme, {}),
|
|
929
|
+
content: extendBase(darkBaseTheme, {}),
|
|
930
|
+
controls: extendBase(darkBaseTheme, {
|
|
931
|
+
bg: neutral.gray40,
|
|
932
|
+
smBg: neutral.gray40,
|
|
933
|
+
text: neutral.white,
|
|
934
|
+
secondary: colors.secondary
|
|
935
|
+
})
|
|
936
|
+
});
|
|
937
|
+
var umaLightTheme = extend(lightTheme, {
|
|
938
|
+
app: "UmaDocs" /* UmaDocs */,
|
|
939
|
+
bg: uma.background,
|
|
940
|
+
smBg: uma.background,
|
|
941
|
+
secondary: uma.secondary,
|
|
942
|
+
text: uma.black,
|
|
943
|
+
link: uma.blue,
|
|
944
|
+
content: extendBase(lightBaseTheme, {
|
|
945
|
+
bg: uma.background,
|
|
946
|
+
smBg: uma.background,
|
|
947
|
+
text: uma.black,
|
|
948
|
+
secondary: uma.secondary
|
|
949
|
+
}),
|
|
950
|
+
controls: extendBase(lightBaseTheme, {
|
|
951
|
+
text: uma.black,
|
|
952
|
+
secondary: uma.secondary,
|
|
953
|
+
bg: uma.blue90
|
|
954
|
+
})
|
|
955
|
+
});
|
|
956
|
+
function luminance(r, g, b) {
|
|
957
|
+
const a = [r, g, b].map(function(v) {
|
|
958
|
+
v /= 255;
|
|
959
|
+
return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
|
|
960
|
+
});
|
|
961
|
+
return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
|
|
962
|
+
}
|
|
963
|
+
function contrast(rgb1, rgb2) {
|
|
964
|
+
const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
|
|
965
|
+
const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
|
|
966
|
+
const brightest = Math.max(lum1, lum2);
|
|
967
|
+
const darkest = Math.min(lum1, lum2);
|
|
968
|
+
return (brightest + 0.05) / (darkest + 0.05);
|
|
969
|
+
}
|
|
970
|
+
function hexToRGB(hex) {
|
|
971
|
+
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
972
|
+
return result ? [
|
|
973
|
+
parseInt(result[1], 16),
|
|
974
|
+
parseInt(result[2], 16),
|
|
975
|
+
parseInt(result[3], 16)
|
|
976
|
+
] : [0, 0, 0];
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
// src/router.tsx
|
|
980
|
+
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
981
|
+
function replaceParams(to, params) {
|
|
982
|
+
if (params) {
|
|
983
|
+
let toWithParams = to;
|
|
984
|
+
Object.entries((0, import_lodash_es.omit)(params, "query")).forEach(([key, value]) => {
|
|
985
|
+
if (typeof value !== "string") {
|
|
986
|
+
throw new Error(
|
|
987
|
+
`Only 'query' may be an object. Route params must be a string, but '${key}' is not.`
|
|
988
|
+
);
|
|
989
|
+
}
|
|
990
|
+
toWithParams = toWithParams.replace(`:${key}`, value);
|
|
991
|
+
});
|
|
992
|
+
if (params.query) {
|
|
993
|
+
let query = params.query;
|
|
994
|
+
if (typeof query !== "string") {
|
|
995
|
+
query = Object.entries(params.query).map(([key, value]) => `${key}${value ? `=${value}` : ""}`).join("&");
|
|
996
|
+
}
|
|
997
|
+
toWithParams = `${toWithParams}?${query}`;
|
|
998
|
+
}
|
|
999
|
+
to = toWithParams;
|
|
1000
|
+
}
|
|
1001
|
+
return to;
|
|
1002
|
+
}
|
|
1003
|
+
function Link({
|
|
1004
|
+
to,
|
|
1005
|
+
params,
|
|
1006
|
+
children,
|
|
1007
|
+
css: css2,
|
|
1008
|
+
onClick,
|
|
1009
|
+
className,
|
|
1010
|
+
hash = null,
|
|
1011
|
+
blue = false,
|
|
1012
|
+
newTab = false
|
|
1013
|
+
}) {
|
|
1014
|
+
let toStr = replaceParams(to, params);
|
|
1015
|
+
toStr += hash ? `#${hash}` : "";
|
|
1016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1017
|
+
import_react_router_dom.Link,
|
|
1018
|
+
{
|
|
1019
|
+
to: toStr,
|
|
1020
|
+
css: css2,
|
|
1021
|
+
onClick,
|
|
1022
|
+
className,
|
|
1023
|
+
style: { color: blue ? colors.blue43 : "inherit" },
|
|
1024
|
+
target: newTab ? "_blank" : void 0,
|
|
1025
|
+
rel: newTab ? "noopener noreferrer" : void 0,
|
|
1026
|
+
children
|
|
1027
|
+
}
|
|
1028
|
+
);
|
|
1029
|
+
}
|
|
1030
|
+
function Navigate({
|
|
1031
|
+
to,
|
|
1032
|
+
params,
|
|
1033
|
+
state,
|
|
1034
|
+
replace = false
|
|
1035
|
+
}) {
|
|
1036
|
+
to = replaceParams(to, params);
|
|
1037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_router_dom.Navigate, { to, state, replace });
|
|
1038
|
+
}
|
|
1039
|
+
function useNavigate() {
|
|
1040
|
+
const navigate = (0, import_react_router_dom.useNavigate)();
|
|
1041
|
+
return (0, import_react2.useCallback)(
|
|
1042
|
+
(to, params, options) => {
|
|
1043
|
+
if (typeof to === "string") {
|
|
1044
|
+
to = replaceParams(to, params);
|
|
1045
|
+
return navigate(to, options);
|
|
1046
|
+
}
|
|
1047
|
+
return navigate(to);
|
|
1048
|
+
},
|
|
1049
|
+
[navigate]
|
|
1050
|
+
);
|
|
1051
|
+
}
|
|
1052
|
+
function useMatchRoutes(routes) {
|
|
1053
|
+
const location = (0, import_react_router_dom.useLocation)();
|
|
1054
|
+
const doesMatch = routes.some((route) => (0, import_react_router_dom.matchPath)(route, location.pathname));
|
|
1055
|
+
return doesMatch;
|
|
1056
|
+
}
|
|
1057
|
+
function useFindMatchingRoute(routes) {
|
|
1058
|
+
const location = (0, import_react_router_dom.useLocation)();
|
|
1059
|
+
const matchingRoute = routes.find(
|
|
1060
|
+
(route) => (0, import_react_router_dom.matchPath)(route, location.pathname)
|
|
1061
|
+
);
|
|
1062
|
+
return matchingRoute;
|
|
1063
|
+
}
|
|
1064
|
+
function useMatchRoute(route) {
|
|
1065
|
+
const location = (0, import_react_router_dom.useLocation)();
|
|
1066
|
+
return (0, import_react_router_dom.matchPath)(route, location.pathname);
|
|
1067
|
+
}
|
|
1068
|
+
function useCurrentRoute() {
|
|
1069
|
+
const location = (0, import_react_router_dom.useLocation)();
|
|
1070
|
+
return location.pathname;
|
|
1071
|
+
}
|
|
1072
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1073
|
+
0 && (module.exports = {
|
|
1074
|
+
Link,
|
|
1075
|
+
Navigate,
|
|
1076
|
+
replaceParams,
|
|
1077
|
+
useCurrentRoute,
|
|
1078
|
+
useFindMatchingRoute,
|
|
1079
|
+
useMatchRoute,
|
|
1080
|
+
useMatchRoutes,
|
|
1081
|
+
useNavigate
|
|
1082
|
+
});
|