@fangxinyan/lumina 0.6.3 → 0.6.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/dist/{Alert-QBKIDY5H.css → Alert-HVPI6L4V.css} +2 -2
- package/dist/Alert.cjs +3 -3
- package/dist/Alert.js +2 -2
- package/dist/{AppShell-RCALXUCZ.css → AppShell-FZCD4C56.css} +4 -4
- package/dist/AppShell.cjs +5 -5
- package/dist/AppShell.js +1 -1
- package/dist/{AutoComplete-P5KZMZO5.css → AutoComplete-4YZBMW4E.css} +2 -2
- package/dist/AutoComplete.cjs +5 -5
- package/dist/AutoComplete.js +4 -4
- package/dist/{Avatar-R5A4AFKZ.css → Avatar-TNPOHVY5.css} +1 -1
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +2 -2
- package/dist/Badge.js +1 -1
- package/dist/{Button-4Z3Q6KII.css → Button-TUMZUQLI.css} +11 -11
- package/dist/Button.cjs +3 -3
- package/dist/Button.js +2 -2
- package/dist/{Calendar-LHZELUDL.css → Calendar-RUTPKREW.css} +4 -4
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/{Card-6RMVIHWX.css → Card-MA6SV7D5.css} +6 -6
- package/dist/Card.cjs +2 -2
- package/dist/Card.js +1 -1
- package/dist/{Cascader-3BLLA7EN.css → Cascader-ANEQUPMI.css} +8 -8
- package/dist/Cascader.cjs +5 -5
- package/dist/Cascader.js +4 -4
- package/dist/{Checkbox-U5EUDSYS.css → Checkbox-EDNPZRIP.css} +3 -3
- package/dist/Checkbox.cjs +3 -3
- package/dist/Checkbox.js +2 -2
- package/dist/{Collapse-66U5YJFY.css → Collapse-UNBHEPYP.css} +2 -2
- package/dist/Collapse.cjs +3 -3
- package/dist/Collapse.js +2 -2
- package/dist/{ColorPicker-SDDQGHCM.css → ColorPicker-LPG6QPYF.css} +7 -7
- package/dist/ColorPicker.cjs +2 -2
- package/dist/ColorPicker.js +1 -1
- package/dist/{CommandPalette-T45DBMPY.css → CommandPalette-RTKWNH2D.css} +3 -3
- package/dist/CommandPalette.cjs +5 -5
- package/dist/CommandPalette.js +4 -4
- package/dist/{ContextMenu-FKW6CQW4.css → ContextMenu-WRR2SSWL.css} +3 -3
- package/dist/ContextMenu.cjs +2 -2
- package/dist/ContextMenu.js +1 -1
- package/dist/{Divider-OEE4Q2KS.css → Divider-RPQCVH3J.css} +2 -2
- package/dist/Divider.cjs +2 -2
- package/dist/Divider.js +1 -1
- package/dist/{Drawer-IPGB4CXH.css → Drawer-7N3URAJ6.css} +8 -5
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/{Empty-DC2LPORC.css → Empty-CZTRZMZQ.css} +1 -1
- package/dist/Empty.cjs +2 -2
- package/dist/Empty.js +1 -1
- package/dist/{Form-5GRVZNDO.css → Form-NGCQWTMZ.css} +1 -1
- package/dist/Form.cjs +4 -4
- package/dist/Form.js +1 -1
- package/dist/Icon.cjs +49 -49
- package/dist/Icon.js +1 -1
- package/dist/{Image-MRYQCRQ5.css → Image-SGSRTHQX.css} +5 -5
- package/dist/Image.cjs +6 -6
- package/dist/Image.js +2 -2
- package/dist/{Input-HUBJ55OH.css → Input-7GDPGP3E.css} +12 -12
- package/dist/Input.cjs +5 -5
- package/dist/Input.js +3 -3
- package/dist/InputNumber.cjs +5 -5
- package/dist/InputNumber.js +4 -4
- package/dist/{List-W5BW4D2P.css → List-LSMU5QAC.css} +3 -3
- package/dist/List.cjs +2 -2
- package/dist/List.js +1 -1
- package/dist/{Message-2MZ3LFPU.css → Message-H222YGR6.css} +1 -1
- package/dist/Message.cjs +6 -6
- package/dist/Message.js +2 -2
- package/dist/{Modal-2QNDW4SO.css → Modal-MCFDYVUQ.css} +3 -3
- package/dist/Modal.cjs +4 -4
- package/dist/Modal.js +3 -3
- package/dist/{Pagination-YIRYJUXP.css → Pagination-YSZSNFHG.css} +5 -5
- package/dist/Pagination.cjs +7 -7
- package/dist/Pagination.js +6 -6
- package/dist/{Popover-DVGQGWX6.css → Popover-Y3LDCJPW.css} +1 -1
- package/dist/Popover.cjs +2 -2
- package/dist/Popover.js +1 -1
- package/dist/{Progress-CHV7DN6Y.css → Progress-CZNXCYGW.css} +1 -1
- package/dist/Progress.cjs +2 -2
- package/dist/Progress.js +1 -1
- package/dist/{Radio-GVFDPAZM.css → Radio-IQKASYDF.css} +4 -4
- package/dist/Radio.cjs +3 -3
- package/dist/Radio.js +1 -1
- package/dist/{Select-Z5VYPEEY.css → Select-YZ2NUJSX.css} +18 -18
- package/dist/Select.cjs +6 -6
- package/dist/Select.js +5 -5
- package/dist/Skeleton.cjs +2 -2
- package/dist/Skeleton.js +1 -1
- package/dist/{Slider-3JKA5EW6.css → Slider-UM2IZZBH.css} +7 -7
- package/dist/Slider.cjs +2 -2
- package/dist/Slider.js +1 -1
- package/dist/{Spin-3GJNMSIH.css → Spin-GONGPV4Q.css} +1 -1
- package/dist/Spin.cjs +2 -2
- package/dist/Spin.js +1 -1
- package/dist/Splitter.cjs +2 -2
- package/dist/Splitter.js +1 -1
- package/dist/{StatusBar-CDS2GPSI.css → StatusBar-FJKEEPXU.css} +3 -7
- package/dist/StatusBar.cjs +3 -3
- package/dist/StatusBar.js +1 -1
- package/dist/Surface-UDDN3DGL.css +42 -0
- package/dist/Surface.cjs +16 -0
- package/dist/Surface.d.cts +60 -0
- package/dist/Surface.d.ts +60 -0
- package/dist/Surface.js +3 -0
- package/dist/{Switch-36KJNDXM.css → Switch-COAQIOMH.css} +8 -5
- package/dist/Switch.cjs +2 -2
- package/dist/Switch.js +1 -1
- package/dist/{Table-ATJJQLKU.css → Table-IYJTPY6J.css} +16 -16
- package/dist/Table.cjs +9 -9
- package/dist/Table.js +8 -8
- package/dist/{TablePro-3XVHYLSL.css → TablePro-JRSBPXB5.css} +1 -1
- package/dist/TablePro.cjs +10 -10
- package/dist/TablePro.js +9 -9
- package/dist/{Tabs-BLSNI2T5.css → Tabs-X5U5PCPV.css} +2 -2
- package/dist/Tabs.cjs +2 -2
- package/dist/Tabs.js +1 -1
- package/dist/{Tag-HDYCDPFS.css → Tag-G2XWAL7A.css} +1 -1
- package/dist/Tag.cjs +3 -3
- package/dist/Tag.js +2 -2
- package/dist/{Textarea-YNET7IBH.css → Textarea-YHWKHIFE.css} +3 -3
- package/dist/Textarea.cjs +4 -4
- package/dist/Textarea.js +2 -2
- package/dist/Theme.cjs +11 -11
- package/dist/Theme.d.cts +5 -1
- package/dist/Theme.d.ts +5 -1
- package/dist/Theme.js +1 -1
- package/dist/ThemePanel-76LB3YA5.css +509 -0
- package/dist/ThemePanel.cjs +29 -0
- package/dist/ThemePanel.d.cts +80 -0
- package/dist/ThemePanel.d.ts +80 -0
- package/dist/ThemePanel.js +12 -0
- package/dist/{Timeline-3ZHOHPXT.css → Timeline-ZIM7QFQC.css} +1 -1
- package/dist/Timeline.cjs +3 -3
- package/dist/Timeline.js +2 -2
- package/dist/{Tooltip-DMKUPC24.css → Tooltip-WI23DSRQ.css} +1 -1
- package/dist/Tooltip.cjs +2 -2
- package/dist/Tooltip.js +1 -1
- package/dist/{Typography-NKPWTJCV.css → Typography-GQNIJ4XD.css} +5 -5
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.js +2 -2
- package/dist/{chunk-DWAN57G4.js → chunk-2NT5QKEX.js} +3 -3
- package/dist/{chunk-6BWELOCT.js → chunk-2SCXQ7QS.js} +2 -2
- package/dist/{chunk-TP567B3L.cjs → chunk-2ZADGBUN.cjs} +5 -5
- package/dist/{chunk-CETNCRZ4.js → chunk-2ZFJTMEF.js} +4 -4
- package/dist/{chunk-I5WTQ5Y3.js → chunk-3YP7CBJT.js} +3 -3
- package/dist/{chunk-UUHFKIWP.cjs → chunk-4UKM4KAC.cjs} +2 -2
- package/dist/{chunk-HLFH5HWR.js → chunk-56PHETWO.js} +3 -3
- package/dist/{chunk-R2TEDH2F.cjs → chunk-5JPAUQ5H.cjs} +7 -7
- package/dist/{chunk-MPVCYU2K.cjs → chunk-5NFSDFBB.cjs} +4 -4
- package/dist/{chunk-P6P4DGLF.cjs → chunk-66GXZQKL.cjs} +4 -4
- package/dist/{chunk-QP3VCSRY.cjs → chunk-66T76GII.cjs} +6 -6
- package/dist/chunk-6EOSMK34.cjs +194 -0
- package/dist/{chunk-WNM5RVXR.cjs → chunk-6GQPF3EI.cjs} +2 -2
- package/dist/{chunk-V272XR3F.cjs → chunk-6LARTGLP.cjs} +1 -1
- package/dist/chunk-6SPMHY54.js +191 -0
- package/dist/{chunk-YLIQ37KY.cjs → chunk-6XVLERA3.cjs} +2 -2
- package/dist/{chunk-FBYUZOZP.js → chunk-7D76MI37.js} +5 -5
- package/dist/{chunk-J5ZGYQZK.js → chunk-7NZ2A4MA.js} +155 -29
- package/dist/{chunk-KLEKKZ73.js → chunk-7ZNGHWVS.js} +1 -1
- package/dist/{chunk-7AG524YZ.cjs → chunk-ACQSRMLF.cjs} +5 -5
- package/dist/{chunk-JVUVOR6S.js → chunk-AJH2O4WC.js} +3 -3
- package/dist/{chunk-ET6DYQVZ.js → chunk-BCFCSVGJ.js} +3 -3
- package/dist/{chunk-NTS5L4NQ.cjs → chunk-BJ6WUVEG.cjs} +4 -4
- package/dist/{chunk-S3VXH5L4.cjs → chunk-C24W6PTJ.cjs} +2 -2
- package/dist/{chunk-GMN74OEY.cjs → chunk-CBKJXKVI.cjs} +2 -2
- package/dist/{chunk-FWPBORRB.js → chunk-CEZ2DR4R.js} +3 -3
- package/dist/{chunk-SQGPSMSK.js → chunk-CNGKJYGZ.js} +3 -3
- package/dist/{chunk-PULGVK2I.cjs → chunk-D5PCIVID.cjs} +4 -4
- package/dist/{chunk-DG5VQ6BO.cjs → chunk-D64IPDUE.cjs} +4 -4
- package/dist/{chunk-VFFIE2VO.cjs → chunk-DYHNOYRC.cjs} +7 -7
- package/dist/{chunk-P6EZG2R7.cjs → chunk-DYSGXQUK.cjs} +7 -7
- package/dist/{chunk-3YJU3D5S.cjs → chunk-F3LHLYX6.cjs} +2 -2
- package/dist/{chunk-H4LGWZMH.cjs → chunk-GBKUGKIY.cjs} +11 -11
- package/dist/{chunk-J2HZTJO6.js → chunk-GUZ2DNDC.js} +3 -3
- package/dist/{chunk-K6F25JXT.js → chunk-GZCU6HXD.js} +2 -2
- package/dist/{chunk-USQ43DJ5.js → chunk-HFUHQUPQ.js} +2 -2
- package/dist/{chunk-7JN6FJ55.js → chunk-HU7T64Y3.js} +2 -2
- package/dist/{chunk-X5GCOMC3.cjs → chunk-IDJCFYPP.cjs} +15 -15
- package/dist/{chunk-KD4YYIIO.cjs → chunk-IHK2FRTS.cjs} +2 -2
- package/dist/{chunk-Q5SZIU7Z.cjs → chunk-JFQ53MO4.cjs} +1 -1
- package/dist/{chunk-7PQJCLIR.js → chunk-KMG7OMOS.js} +2 -2
- package/dist/{chunk-2HQCUBA7.cjs → chunk-L27C5O4W.cjs} +4 -4
- package/dist/chunk-LFTCK2VM.cjs +1194 -0
- package/dist/{chunk-BVQ77VRY.js → chunk-LI4XJTEA.js} +3 -3
- package/dist/{chunk-45VJGBGN.js → chunk-LQLOOUS3.js} +2 -2
- package/dist/{chunk-PL6DRFUO.cjs → chunk-MOMLQP7B.cjs} +2 -2
- package/dist/{chunk-OF7JIYBY.cjs → chunk-MYHBC3HA.cjs} +2 -2
- package/dist/{chunk-LKK2AA7W.js → chunk-MYRLCN6V.js} +2 -2
- package/dist/{chunk-ZKE73UQF.cjs → chunk-N2BTMKF2.cjs} +5 -5
- package/dist/{chunk-6ZXQJRAT.cjs → chunk-N2COYOXE.cjs} +155 -29
- package/dist/{chunk-2TL37AP5.cjs → chunk-N3OLFKV5.cjs} +1 -1
- package/dist/{chunk-5JSDQ6QQ.cjs → chunk-NDO22RER.cjs} +2 -2
- package/dist/{chunk-ME5BZ2WA.js → chunk-NE7IUGMK.js} +3 -3
- package/dist/{chunk-F6RYCBQG.js → chunk-NFXHIO3G.js} +1 -1
- package/dist/chunk-NJCHFXGC.js +1170 -0
- package/dist/chunk-NT6CJYI3.cjs +129 -0
- package/dist/chunk-O43DOE7V.js +106 -0
- package/dist/{chunk-GNEZD7KE.cjs → chunk-O4BOBOYV.cjs} +2 -2
- package/dist/{chunk-XSN4TLN5.cjs → chunk-OGPDCBPD.cjs} +12 -12
- package/dist/{chunk-6YQTMI55.js → chunk-OHFZ7L4T.js} +2 -2
- package/dist/{chunk-7IYKKLV3.js → chunk-OHIFKN4E.js} +4 -4
- package/dist/{chunk-46VXFTEC.js → chunk-OQU3TJCF.js} +3 -3
- package/dist/{chunk-5TKC6IEN.js → chunk-PEJLXJQD.js} +1 -1
- package/dist/{chunk-HWFM4MAT.js → chunk-PKHITACT.js} +2 -2
- package/dist/{chunk-JCEHZ336.js → chunk-PNZJFLMY.js} +3 -3
- package/dist/{chunk-XRR3CYQL.js → chunk-QP7RXZES.js} +2 -2
- package/dist/{chunk-5MN3PMF4.cjs → chunk-QY76WTO5.cjs} +9 -9
- package/dist/{chunk-FGW5GJ22.cjs → chunk-R74TZKJS.cjs} +4 -4
- package/dist/{chunk-TGL5BGMR.js → chunk-REMJWNAT.js} +4 -4
- package/dist/{chunk-SWBWZIL4.cjs → chunk-S6OKX4H7.cjs} +2 -2
- package/dist/{chunk-EC4WGEAJ.js → chunk-SABWUELE.js} +2 -2
- package/dist/{chunk-QKQHZIF3.cjs → chunk-SG42F5VB.cjs} +2 -2
- package/dist/{chunk-5C2AI2SD.js → chunk-SQIWPU6V.js} +2 -2
- package/dist/{chunk-5DKRY67M.cjs → chunk-SYWTT5TY.cjs} +5 -5
- package/dist/{chunk-OBEKX4VR.js → chunk-TVUBGXWA.js} +2 -2
- package/dist/{chunk-7PNJI5UE.cjs → chunk-U2H4DRMV.cjs} +2 -2
- package/dist/{chunk-HKF2V5MM.cjs → chunk-VAXWWJJP.cjs} +9 -9
- package/dist/{chunk-5H5YP2TB.js → chunk-VNNQYJLT.js} +3 -3
- package/dist/{chunk-KGSADAOD.cjs → chunk-VSUMJX6Z.cjs} +2 -2
- package/dist/{chunk-K5IGFBDR.js → chunk-W5CJC7S7.js} +3 -3
- package/dist/{chunk-AXZ7ELMA.js → chunk-WEJKY3DF.js} +2 -2
- package/dist/{chunk-GIZU3H6H.js → chunk-WXWFMWWF.js} +3 -3
- package/dist/{chunk-TEEFR2FD.js → chunk-XHQGMMH7.js} +2 -2
- package/dist/{chunk-UKS23N3L.js → chunk-XVP7IKLZ.js} +4 -4
- package/dist/{chunk-ELNT3CFO.js → chunk-Y5F7ZTBH.js} +2 -2
- package/dist/{chunk-QCILPZWP.js → chunk-YJEXAO2I.js} +2 -2
- package/dist/{chunk-7ABFUIOB.cjs → chunk-YNCDTKAE.cjs} +2 -2
- package/dist/{chunk-K7FV7W6U.cjs → chunk-YSCIMHOI.cjs} +5 -5
- package/dist/{chunk-BPOOVO5T.js → chunk-YSXD344H.js} +5 -5
- package/dist/{chunk-47VG2P34.js → chunk-YT5NLCRC.js} +1 -1
- package/dist/{chunk-HZSIUOCN.cjs → chunk-YUKXNWVE.cjs} +1 -1
- package/dist/{chunk-65FIH5A3.js → chunk-YVTLHTG6.js} +2 -2
- package/dist/{chunk-GENABQYA.cjs → chunk-Z4PZ2ZHI.cjs} +2 -2
- package/dist/{chunk-6HMTV6P4.cjs → chunk-ZPKHGKVL.cjs} +4 -4
- package/dist/{chunk-AAGF7K3L.js → chunk-ZPP7LTHP.js} +3 -3
- package/dist/{chunk-IZOHYJUQ.cjs → chunk-ZWCDB5PP.cjs} +2 -2
- package/dist/index.cjs +214 -191
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +49 -46
- package/dist/styles.css +677 -168
- package/dist/{tokens-BIIUTPKN.css → tokens-EF34LSWI.css} +42 -17
- package/dist/tokens.css +42 -17
- package/docs/llms/surface.md +90 -0
- package/docs/llms/theme.md +24 -2
- package/docs/llms/themepanel.md +128 -0
- package/docs/llms.md +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/components/Theme/presets.ts
|
|
4
|
+
var LUMINA_THEME_PRESETS = {
|
|
5
|
+
light: {
|
|
6
|
+
base: "light",
|
|
7
|
+
accent: "sky",
|
|
8
|
+
density: "comfortable",
|
|
9
|
+
intensity: 5,
|
|
10
|
+
radius: 20,
|
|
11
|
+
font: "sf",
|
|
12
|
+
tokens: {
|
|
13
|
+
bg: "#e8eef5",
|
|
14
|
+
"bg-raised": "#edf2f8",
|
|
15
|
+
"bg-sunken": "#dde4ed",
|
|
16
|
+
fg: "#3a4558",
|
|
17
|
+
"fg-muted": "#7b8599",
|
|
18
|
+
"fg-subtle": "#9ca7ba",
|
|
19
|
+
border: "rgba(130, 148, 175, 0.14)",
|
|
20
|
+
divider: "rgba(130, 148, 175, 0.18)",
|
|
21
|
+
"shadow-dark": "rgba(163, 177, 198, 0.55)",
|
|
22
|
+
"shadow-light": "rgba(255, 255, 255, 0.95)",
|
|
23
|
+
"shadow-scale": "1",
|
|
24
|
+
"shadow-float-scale": "1"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
dark: {
|
|
28
|
+
base: "dark",
|
|
29
|
+
accent: "sky",
|
|
30
|
+
density: "comfortable",
|
|
31
|
+
intensity: 5,
|
|
32
|
+
radius: 20,
|
|
33
|
+
font: "sf",
|
|
34
|
+
tokens: {
|
|
35
|
+
bg: "#1b2030",
|
|
36
|
+
"bg-raised": "#242a3c",
|
|
37
|
+
"bg-sunken": "#151a27",
|
|
38
|
+
fg: "#d8deeb",
|
|
39
|
+
"fg-muted": "#8b94ab",
|
|
40
|
+
"fg-subtle": "#5f6a82",
|
|
41
|
+
border: "rgba(0, 0, 0, 0.35)",
|
|
42
|
+
divider: "rgba(255, 255, 255, 0.06)",
|
|
43
|
+
"shadow-dark": "rgba(0, 0, 0, 0.55)",
|
|
44
|
+
"shadow-light": "rgba(130, 145, 180, 0.06)",
|
|
45
|
+
"shadow-scale": "1",
|
|
46
|
+
"shadow-float-scale": "1"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
porcelain: {
|
|
50
|
+
base: "light",
|
|
51
|
+
accent: {
|
|
52
|
+
accent: "oklch(66% 0.14 175)",
|
|
53
|
+
ink: "oklch(39% 0.11 175)",
|
|
54
|
+
soft: "oklch(92% 0.04 175)",
|
|
55
|
+
glow: "oklch(66% 0.14 175 / 0.32)"
|
|
56
|
+
},
|
|
57
|
+
density: "comfortable",
|
|
58
|
+
intensity: 6,
|
|
59
|
+
radius: 24,
|
|
60
|
+
font: "sf",
|
|
61
|
+
tokens: {
|
|
62
|
+
bg: "#edf3f1",
|
|
63
|
+
"bg-raised": "#f5faf8",
|
|
64
|
+
"bg-sunken": "#dfe8e5",
|
|
65
|
+
fg: "#33434a",
|
|
66
|
+
"fg-muted": "#75868c",
|
|
67
|
+
"fg-subtle": "#9aa8ad",
|
|
68
|
+
border: "rgba(101, 134, 139, 0.13)",
|
|
69
|
+
divider: "rgba(101, 134, 139, 0.18)",
|
|
70
|
+
"shadow-dark": "rgba(143, 163, 168, 0.45)",
|
|
71
|
+
"shadow-light": "rgba(255, 255, 255, 0.96)",
|
|
72
|
+
"shadow-scale": "1",
|
|
73
|
+
"shadow-float-scale": "1"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
graphite: {
|
|
77
|
+
base: "dark",
|
|
78
|
+
accent: {
|
|
79
|
+
accent: "oklch(72% 0.13 190)",
|
|
80
|
+
ink: "oklch(85% 0.1 190)",
|
|
81
|
+
soft: "oklch(31% 0.05 190)",
|
|
82
|
+
glow: "oklch(72% 0.13 190 / 0.18)"
|
|
83
|
+
},
|
|
84
|
+
intensity: 4,
|
|
85
|
+
radius: 18,
|
|
86
|
+
tokens: {
|
|
87
|
+
bg: "#181b22",
|
|
88
|
+
"bg-raised": "#20242d",
|
|
89
|
+
"bg-sunken": "#11141a",
|
|
90
|
+
fg: "#edf1f7",
|
|
91
|
+
"fg-muted": "#a3adbd",
|
|
92
|
+
"fg-subtle": "#667285",
|
|
93
|
+
border: "rgba(255, 255, 255, 0.07)",
|
|
94
|
+
divider: "rgba(255, 255, 255, 0.08)",
|
|
95
|
+
"shadow-dark": "rgba(0, 0, 0, 0.58)",
|
|
96
|
+
"shadow-light": "rgba(128, 146, 166, 0.07)",
|
|
97
|
+
"shadow-scale": "1",
|
|
98
|
+
"shadow-float-scale": "1"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
ember: {
|
|
102
|
+
base: "dark",
|
|
103
|
+
accent: {
|
|
104
|
+
accent: "oklch(76% 0.15 62)",
|
|
105
|
+
ink: "oklch(86% 0.11 62)",
|
|
106
|
+
soft: "oklch(34% 0.07 62)",
|
|
107
|
+
glow: "oklch(76% 0.15 62 / 0.18)"
|
|
108
|
+
},
|
|
109
|
+
intensity: 5,
|
|
110
|
+
radius: 16,
|
|
111
|
+
tokens: {
|
|
112
|
+
bg: "#201a18",
|
|
113
|
+
"bg-raised": "#2a221f",
|
|
114
|
+
"bg-sunken": "#171211",
|
|
115
|
+
fg: "#f0e7df",
|
|
116
|
+
"fg-muted": "#b09f93",
|
|
117
|
+
"fg-subtle": "#78695f",
|
|
118
|
+
border: "rgba(255, 233, 212, 0.08)",
|
|
119
|
+
divider: "rgba(255, 233, 212, 0.09)",
|
|
120
|
+
"shadow-dark": "rgba(0, 0, 0, 0.54)",
|
|
121
|
+
"shadow-light": "rgba(232, 172, 118, 0.07)",
|
|
122
|
+
"shadow-scale": "1",
|
|
123
|
+
"shadow-float-scale": "1"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
assistant: {
|
|
127
|
+
base: "light",
|
|
128
|
+
accent: {
|
|
129
|
+
accent: "#646cff",
|
|
130
|
+
ink: "#4f56d8",
|
|
131
|
+
soft: "rgba(100, 108, 255, 0.12)",
|
|
132
|
+
glow: "rgba(100, 108, 255, 0.26)"
|
|
133
|
+
},
|
|
134
|
+
density: "comfortable",
|
|
135
|
+
intensity: 4,
|
|
136
|
+
radius: 16,
|
|
137
|
+
font: "system",
|
|
138
|
+
tokens: {
|
|
139
|
+
bg: "#e6eaf4",
|
|
140
|
+
"bg-raised": "#f9f9f9",
|
|
141
|
+
"bg-sunken": "#d7dce8",
|
|
142
|
+
fg: "#213547",
|
|
143
|
+
"fg-muted": "#68768a",
|
|
144
|
+
"fg-subtle": "#9aa6b8",
|
|
145
|
+
border: "rgba(240, 247, 255, 0.72)",
|
|
146
|
+
divider: "rgba(33, 53, 71, 0.12)",
|
|
147
|
+
"shadow-dark": "#d1d5de",
|
|
148
|
+
"shadow-light": "#fbffff",
|
|
149
|
+
"shadow-scale": "1",
|
|
150
|
+
"shadow-float-scale": "1"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
assistantDark: {
|
|
154
|
+
base: "dark",
|
|
155
|
+
accent: {
|
|
156
|
+
accent: "#818cf8",
|
|
157
|
+
ink: "#c4c9ff",
|
|
158
|
+
soft: "rgba(129, 140, 248, 0.17)",
|
|
159
|
+
glow: "rgba(129, 140, 248, 0.18)"
|
|
160
|
+
},
|
|
161
|
+
density: "comfortable",
|
|
162
|
+
intensity: 4,
|
|
163
|
+
radius: 16,
|
|
164
|
+
font: "system",
|
|
165
|
+
tokens: {
|
|
166
|
+
bg: "#2a2a36",
|
|
167
|
+
"bg-raised": "#33333f",
|
|
168
|
+
"bg-sunken": "#20202b",
|
|
169
|
+
fg: "#d4d7e0",
|
|
170
|
+
"fg-muted": "#9ca1b0",
|
|
171
|
+
"fg-subtle": "#6f7484",
|
|
172
|
+
border: "#3e4455",
|
|
173
|
+
divider: "rgba(255, 255, 255, 0.08)",
|
|
174
|
+
"shadow-dark": "#1a1a24",
|
|
175
|
+
"shadow-light": "#3a3a46",
|
|
176
|
+
"shadow-scale": "1",
|
|
177
|
+
"shadow-float-scale": "1"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
function cloneLuminaThemePreset(key) {
|
|
182
|
+
const preset = LUMINA_THEME_PRESETS[key];
|
|
183
|
+
return {
|
|
184
|
+
...preset,
|
|
185
|
+
accent: typeof preset.accent === "object" ? { ...preset.accent } : preset.accent,
|
|
186
|
+
tokens: { ...preset.tokens }
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
function pickLuminaThemePresets(keys) {
|
|
190
|
+
return Object.fromEntries(keys.map((key) => [key, cloneLuminaThemePreset(key)]));
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
exports.cloneLuminaThemePreset = cloneLuminaThemePreset;
|
|
194
|
+
exports.pickLuminaThemePresets = pickLuminaThemePresets;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./tokens-
|
|
3
|
+
require('./tokens-EF34LSWI.css');
|
|
4
4
|
require('./shared-NJHRNLRH.css');
|
|
5
|
-
require('./Switch-
|
|
5
|
+
require('./Switch-COAQIOMH.css');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
8
|
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
// src/components/Theme/presets.ts
|
|
2
|
+
var LUMINA_THEME_PRESETS = {
|
|
3
|
+
light: {
|
|
4
|
+
base: "light",
|
|
5
|
+
accent: "sky",
|
|
6
|
+
density: "comfortable",
|
|
7
|
+
intensity: 5,
|
|
8
|
+
radius: 20,
|
|
9
|
+
font: "sf",
|
|
10
|
+
tokens: {
|
|
11
|
+
bg: "#e8eef5",
|
|
12
|
+
"bg-raised": "#edf2f8",
|
|
13
|
+
"bg-sunken": "#dde4ed",
|
|
14
|
+
fg: "#3a4558",
|
|
15
|
+
"fg-muted": "#7b8599",
|
|
16
|
+
"fg-subtle": "#9ca7ba",
|
|
17
|
+
border: "rgba(130, 148, 175, 0.14)",
|
|
18
|
+
divider: "rgba(130, 148, 175, 0.18)",
|
|
19
|
+
"shadow-dark": "rgba(163, 177, 198, 0.55)",
|
|
20
|
+
"shadow-light": "rgba(255, 255, 255, 0.95)",
|
|
21
|
+
"shadow-scale": "1",
|
|
22
|
+
"shadow-float-scale": "1"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
dark: {
|
|
26
|
+
base: "dark",
|
|
27
|
+
accent: "sky",
|
|
28
|
+
density: "comfortable",
|
|
29
|
+
intensity: 5,
|
|
30
|
+
radius: 20,
|
|
31
|
+
font: "sf",
|
|
32
|
+
tokens: {
|
|
33
|
+
bg: "#1b2030",
|
|
34
|
+
"bg-raised": "#242a3c",
|
|
35
|
+
"bg-sunken": "#151a27",
|
|
36
|
+
fg: "#d8deeb",
|
|
37
|
+
"fg-muted": "#8b94ab",
|
|
38
|
+
"fg-subtle": "#5f6a82",
|
|
39
|
+
border: "rgba(0, 0, 0, 0.35)",
|
|
40
|
+
divider: "rgba(255, 255, 255, 0.06)",
|
|
41
|
+
"shadow-dark": "rgba(0, 0, 0, 0.55)",
|
|
42
|
+
"shadow-light": "rgba(130, 145, 180, 0.06)",
|
|
43
|
+
"shadow-scale": "1",
|
|
44
|
+
"shadow-float-scale": "1"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
porcelain: {
|
|
48
|
+
base: "light",
|
|
49
|
+
accent: {
|
|
50
|
+
accent: "oklch(66% 0.14 175)",
|
|
51
|
+
ink: "oklch(39% 0.11 175)",
|
|
52
|
+
soft: "oklch(92% 0.04 175)",
|
|
53
|
+
glow: "oklch(66% 0.14 175 / 0.32)"
|
|
54
|
+
},
|
|
55
|
+
density: "comfortable",
|
|
56
|
+
intensity: 6,
|
|
57
|
+
radius: 24,
|
|
58
|
+
font: "sf",
|
|
59
|
+
tokens: {
|
|
60
|
+
bg: "#edf3f1",
|
|
61
|
+
"bg-raised": "#f5faf8",
|
|
62
|
+
"bg-sunken": "#dfe8e5",
|
|
63
|
+
fg: "#33434a",
|
|
64
|
+
"fg-muted": "#75868c",
|
|
65
|
+
"fg-subtle": "#9aa8ad",
|
|
66
|
+
border: "rgba(101, 134, 139, 0.13)",
|
|
67
|
+
divider: "rgba(101, 134, 139, 0.18)",
|
|
68
|
+
"shadow-dark": "rgba(143, 163, 168, 0.45)",
|
|
69
|
+
"shadow-light": "rgba(255, 255, 255, 0.96)",
|
|
70
|
+
"shadow-scale": "1",
|
|
71
|
+
"shadow-float-scale": "1"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
graphite: {
|
|
75
|
+
base: "dark",
|
|
76
|
+
accent: {
|
|
77
|
+
accent: "oklch(72% 0.13 190)",
|
|
78
|
+
ink: "oklch(85% 0.1 190)",
|
|
79
|
+
soft: "oklch(31% 0.05 190)",
|
|
80
|
+
glow: "oklch(72% 0.13 190 / 0.18)"
|
|
81
|
+
},
|
|
82
|
+
intensity: 4,
|
|
83
|
+
radius: 18,
|
|
84
|
+
tokens: {
|
|
85
|
+
bg: "#181b22",
|
|
86
|
+
"bg-raised": "#20242d",
|
|
87
|
+
"bg-sunken": "#11141a",
|
|
88
|
+
fg: "#edf1f7",
|
|
89
|
+
"fg-muted": "#a3adbd",
|
|
90
|
+
"fg-subtle": "#667285",
|
|
91
|
+
border: "rgba(255, 255, 255, 0.07)",
|
|
92
|
+
divider: "rgba(255, 255, 255, 0.08)",
|
|
93
|
+
"shadow-dark": "rgba(0, 0, 0, 0.58)",
|
|
94
|
+
"shadow-light": "rgba(128, 146, 166, 0.07)",
|
|
95
|
+
"shadow-scale": "1",
|
|
96
|
+
"shadow-float-scale": "1"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
ember: {
|
|
100
|
+
base: "dark",
|
|
101
|
+
accent: {
|
|
102
|
+
accent: "oklch(76% 0.15 62)",
|
|
103
|
+
ink: "oklch(86% 0.11 62)",
|
|
104
|
+
soft: "oklch(34% 0.07 62)",
|
|
105
|
+
glow: "oklch(76% 0.15 62 / 0.18)"
|
|
106
|
+
},
|
|
107
|
+
intensity: 5,
|
|
108
|
+
radius: 16,
|
|
109
|
+
tokens: {
|
|
110
|
+
bg: "#201a18",
|
|
111
|
+
"bg-raised": "#2a221f",
|
|
112
|
+
"bg-sunken": "#171211",
|
|
113
|
+
fg: "#f0e7df",
|
|
114
|
+
"fg-muted": "#b09f93",
|
|
115
|
+
"fg-subtle": "#78695f",
|
|
116
|
+
border: "rgba(255, 233, 212, 0.08)",
|
|
117
|
+
divider: "rgba(255, 233, 212, 0.09)",
|
|
118
|
+
"shadow-dark": "rgba(0, 0, 0, 0.54)",
|
|
119
|
+
"shadow-light": "rgba(232, 172, 118, 0.07)",
|
|
120
|
+
"shadow-scale": "1",
|
|
121
|
+
"shadow-float-scale": "1"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
assistant: {
|
|
125
|
+
base: "light",
|
|
126
|
+
accent: {
|
|
127
|
+
accent: "#646cff",
|
|
128
|
+
ink: "#4f56d8",
|
|
129
|
+
soft: "rgba(100, 108, 255, 0.12)",
|
|
130
|
+
glow: "rgba(100, 108, 255, 0.26)"
|
|
131
|
+
},
|
|
132
|
+
density: "comfortable",
|
|
133
|
+
intensity: 4,
|
|
134
|
+
radius: 16,
|
|
135
|
+
font: "system",
|
|
136
|
+
tokens: {
|
|
137
|
+
bg: "#e6eaf4",
|
|
138
|
+
"bg-raised": "#f9f9f9",
|
|
139
|
+
"bg-sunken": "#d7dce8",
|
|
140
|
+
fg: "#213547",
|
|
141
|
+
"fg-muted": "#68768a",
|
|
142
|
+
"fg-subtle": "#9aa6b8",
|
|
143
|
+
border: "rgba(240, 247, 255, 0.72)",
|
|
144
|
+
divider: "rgba(33, 53, 71, 0.12)",
|
|
145
|
+
"shadow-dark": "#d1d5de",
|
|
146
|
+
"shadow-light": "#fbffff",
|
|
147
|
+
"shadow-scale": "1",
|
|
148
|
+
"shadow-float-scale": "1"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
assistantDark: {
|
|
152
|
+
base: "dark",
|
|
153
|
+
accent: {
|
|
154
|
+
accent: "#818cf8",
|
|
155
|
+
ink: "#c4c9ff",
|
|
156
|
+
soft: "rgba(129, 140, 248, 0.17)",
|
|
157
|
+
glow: "rgba(129, 140, 248, 0.18)"
|
|
158
|
+
},
|
|
159
|
+
density: "comfortable",
|
|
160
|
+
intensity: 4,
|
|
161
|
+
radius: 16,
|
|
162
|
+
font: "system",
|
|
163
|
+
tokens: {
|
|
164
|
+
bg: "#2a2a36",
|
|
165
|
+
"bg-raised": "#33333f",
|
|
166
|
+
"bg-sunken": "#20202b",
|
|
167
|
+
fg: "#d4d7e0",
|
|
168
|
+
"fg-muted": "#9ca1b0",
|
|
169
|
+
"fg-subtle": "#6f7484",
|
|
170
|
+
border: "#3e4455",
|
|
171
|
+
divider: "rgba(255, 255, 255, 0.08)",
|
|
172
|
+
"shadow-dark": "#1a1a24",
|
|
173
|
+
"shadow-light": "#3a3a46",
|
|
174
|
+
"shadow-scale": "1",
|
|
175
|
+
"shadow-float-scale": "1"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
function cloneLuminaThemePreset(key) {
|
|
180
|
+
const preset = LUMINA_THEME_PRESETS[key];
|
|
181
|
+
return {
|
|
182
|
+
...preset,
|
|
183
|
+
accent: typeof preset.accent === "object" ? { ...preset.accent } : preset.accent,
|
|
184
|
+
tokens: { ...preset.tokens }
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function pickLuminaThemePresets(keys) {
|
|
188
|
+
return Object.fromEntries(keys.map((key) => [key, cloneLuminaThemePreset(key)]));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export { cloneLuminaThemePreset, pickLuminaThemePresets };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./tokens-
|
|
3
|
+
require('./tokens-EF34LSWI.css');
|
|
4
4
|
require('./shared-NJHRNLRH.css');
|
|
5
|
-
require('./StatusBar-
|
|
5
|
+
require('./StatusBar-FJKEEPXU.css');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
8
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Tag } from './chunk-
|
|
1
|
+
import { Tag } from './chunk-VNNQYJLT.js';
|
|
2
2
|
import { useFloating } from './chunk-DUFRASGO.js';
|
|
3
|
-
import { Input } from './chunk-
|
|
4
|
-
import { Icon, renderIconSlot } from './chunk-
|
|
5
|
-
import './tokens-
|
|
3
|
+
import { Input } from './chunk-XVP7IKLZ.js';
|
|
4
|
+
import { Icon, renderIconSlot } from './chunk-YT5NLCRC.js';
|
|
5
|
+
import './tokens-EF34LSWI.css';
|
|
6
6
|
import './shared-NJHRNLRH.css';
|
|
7
|
-
import './Select-
|
|
7
|
+
import './Select-YZ2NUJSX.css';
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import { createPortal } from 'react-dom';
|
|
10
10
|
import { jsxs, jsx } from 'react/jsx-runtime';
|