@floegence/floe-webapp-core 0.39.10 → 0.40.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/dist/components/layout/ActivityBar.js +1 -1
- package/dist/components/layout/Panel.js +14 -14
- package/dist/components/layout/TopBar.js +13 -13
- package/dist/components/notes/useNotesOverlayModel.d.ts +2 -2
- package/dist/components/ui/Card.js +60 -60
- package/dist/floe.css +15 -9
- package/dist/styles/themes/classicSemanticTokens.js +25 -23
- package/dist/styles/themes/presets.d.ts +11 -2
- package/dist/styles/themes/presets.js +85 -21
- package/dist/styles/tokens.d.ts +42 -42
- package/dist/styles/tokens.js +28 -28
- package/dist/styles.css +1 -1
- package/dist/themes/dark.css +27 -21
- package/dist/themes/light.css +13 -9
- package/dist/themes/shell-presets.generated.css +150 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/styles/tokens.js
CHANGED
|
@@ -2,7 +2,7 @@ const r = {
|
|
|
2
2
|
"--radius": "0.375rem",
|
|
3
3
|
"--font-sans": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
|
|
4
4
|
"--font-mono": "'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, Monaco, Consolas, monospace"
|
|
5
|
-
},
|
|
5
|
+
}, l = [
|
|
6
6
|
{
|
|
7
7
|
name: "Base Colors",
|
|
8
8
|
description: "Primary application surfaces and text colors.",
|
|
@@ -39,7 +39,7 @@ const r = {
|
|
|
39
39
|
name: "Secondary",
|
|
40
40
|
variable: "--secondary",
|
|
41
41
|
lightValue: "hsl(36 15% 94%)",
|
|
42
|
-
darkValue: "hsl(220
|
|
42
|
+
darkValue: "hsl(220 18% 15%)",
|
|
43
43
|
description: "Secondary surface color for lower-emphasis blocks."
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -53,21 +53,21 @@ const r = {
|
|
|
53
53
|
name: "Muted",
|
|
54
54
|
variable: "--muted",
|
|
55
55
|
lightValue: "hsl(36 15% 94%)",
|
|
56
|
-
darkValue: "hsl(220
|
|
56
|
+
darkValue: "hsl(220 16% 16%)",
|
|
57
57
|
description: "Muted surface color for subtle containers and fills."
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
name: "Muted Foreground",
|
|
61
61
|
variable: "--muted-foreground",
|
|
62
62
|
lightValue: "hsl(215 16% 42%)",
|
|
63
|
-
darkValue: "hsl(215
|
|
63
|
+
darkValue: "hsl(215 16% 56%)",
|
|
64
64
|
description: "Secondary text color for supporting copy."
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
name: "Accent",
|
|
68
68
|
variable: "--accent",
|
|
69
|
-
lightValue: "hsl(34
|
|
70
|
-
darkValue: "hsl(220
|
|
69
|
+
lightValue: "hsl(34 9% 85%)",
|
|
70
|
+
darkValue: "hsl(220 14% 19%)",
|
|
71
71
|
description: "Accent surface for hover states and light emphasis."
|
|
72
72
|
},
|
|
73
73
|
{
|
|
@@ -87,7 +87,7 @@ const r = {
|
|
|
87
87
|
name: "Card",
|
|
88
88
|
variable: "--card",
|
|
89
89
|
lightValue: "hsl(36 100% 99%)",
|
|
90
|
-
darkValue: "hsl(
|
|
90
|
+
darkValue: "hsl(220 20% 13%)",
|
|
91
91
|
description: "Card background surface."
|
|
92
92
|
},
|
|
93
93
|
{
|
|
@@ -101,7 +101,7 @@ const r = {
|
|
|
101
101
|
name: "Popover",
|
|
102
102
|
variable: "--popover",
|
|
103
103
|
lightValue: "hsl(36 100% 99%)",
|
|
104
|
-
darkValue: "hsl(
|
|
104
|
+
darkValue: "hsl(220 18% 15%)",
|
|
105
105
|
description: "Popover and floating panel background."
|
|
106
106
|
},
|
|
107
107
|
{
|
|
@@ -115,14 +115,14 @@ const r = {
|
|
|
115
115
|
name: "Border",
|
|
116
116
|
variable: "--border",
|
|
117
117
|
lightValue: "hsl(35 13% 82%)",
|
|
118
|
-
darkValue: "hsl(220
|
|
118
|
+
darkValue: "hsl(220 16% 20%)",
|
|
119
119
|
description: "Default border color."
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
name: "Input",
|
|
123
123
|
variable: "--input",
|
|
124
124
|
lightValue: "hsl(37 15% 76%)",
|
|
125
|
-
darkValue: "hsl(220
|
|
125
|
+
darkValue: "hsl(220 18% 15%)",
|
|
126
126
|
description: "Input border color."
|
|
127
127
|
},
|
|
128
128
|
{
|
|
@@ -252,7 +252,7 @@ const r = {
|
|
|
252
252
|
name: "Chrome Border",
|
|
253
253
|
variable: "--chrome-border",
|
|
254
254
|
lightValue: "hsl(33 11% 84%)",
|
|
255
|
-
darkValue: "
|
|
255
|
+
darkValue: "hsl(220 16% 13%)",
|
|
256
256
|
description: "Default shared shell divider color."
|
|
257
257
|
},
|
|
258
258
|
{
|
|
@@ -292,8 +292,8 @@ const r = {
|
|
|
292
292
|
{
|
|
293
293
|
name: "Sidebar",
|
|
294
294
|
variable: "--sidebar",
|
|
295
|
-
lightValue: "hsl(
|
|
296
|
-
darkValue: "hsl(
|
|
295
|
+
lightValue: "hsl(34 13% 90%)",
|
|
296
|
+
darkValue: "hsl(221 22% 11%)",
|
|
297
297
|
description: "Sidebar background."
|
|
298
298
|
},
|
|
299
299
|
{
|
|
@@ -320,8 +320,8 @@ const r = {
|
|
|
320
320
|
{
|
|
321
321
|
name: "Sidebar Accent",
|
|
322
322
|
variable: "--sidebar-accent",
|
|
323
|
-
lightValue: "hsl(34
|
|
324
|
-
darkValue: "hsl(220
|
|
323
|
+
lightValue: "hsl(34 9% 84%)",
|
|
324
|
+
darkValue: "hsl(220 14% 19%)",
|
|
325
325
|
description: "Accent surface used for sidebar hover and active states."
|
|
326
326
|
},
|
|
327
327
|
{
|
|
@@ -334,8 +334,8 @@ const r = {
|
|
|
334
334
|
{
|
|
335
335
|
name: "Sidebar Border",
|
|
336
336
|
variable: "--sidebar-border",
|
|
337
|
-
lightValue: "hsl(33
|
|
338
|
-
darkValue: "hsl(220
|
|
337
|
+
lightValue: "hsl(33 9% 82%)",
|
|
338
|
+
darkValue: "hsl(220 16% 13%)",
|
|
339
339
|
description: "Sidebar inner border color."
|
|
340
340
|
},
|
|
341
341
|
{
|
|
@@ -354,22 +354,22 @@ const r = {
|
|
|
354
354
|
{
|
|
355
355
|
name: "Activity Bar",
|
|
356
356
|
variable: "--activity-bar",
|
|
357
|
-
lightValue: "hsl(
|
|
358
|
-
darkValue: "hsl(222
|
|
357
|
+
lightValue: "hsl(34 11% 90%)",
|
|
358
|
+
darkValue: "hsl(222 28% 7%)",
|
|
359
359
|
description: "Activity bar background."
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
362
|
name: "Activity Bar Foreground",
|
|
363
363
|
variable: "--activity-bar-foreground",
|
|
364
|
-
lightValue: "hsl(215
|
|
365
|
-
darkValue: "hsl(215
|
|
364
|
+
lightValue: "hsl(215 14% 46%)",
|
|
365
|
+
darkValue: "hsl(215 16% 50%)",
|
|
366
366
|
description: "Default activity bar icon color."
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
name: "Activity Bar Foreground Active",
|
|
370
370
|
variable: "--activity-bar-foreground-active",
|
|
371
371
|
lightValue: "hsl(214 26% 17%)",
|
|
372
|
-
darkValue: "hsl(210 20%
|
|
372
|
+
darkValue: "hsl(210 20% 96%)",
|
|
373
373
|
description: "Active activity bar icon color."
|
|
374
374
|
},
|
|
375
375
|
{
|
|
@@ -497,7 +497,7 @@ const r = {
|
|
|
497
497
|
}
|
|
498
498
|
]
|
|
499
499
|
}
|
|
500
|
-
],
|
|
500
|
+
], i = [
|
|
501
501
|
{
|
|
502
502
|
name: "Text XS",
|
|
503
503
|
size: "11px",
|
|
@@ -615,7 +615,7 @@ const r = {
|
|
|
615
615
|
usage: "Neon and emphasis effects",
|
|
616
616
|
description: "Pulsing glow animation for elevated emphasis."
|
|
617
617
|
}
|
|
618
|
-
], d =
|
|
618
|
+
], d = l.reduce((a, e) => (a.push(...e.tokens), a), []);
|
|
619
619
|
function o(a) {
|
|
620
620
|
return Object.fromEntries(
|
|
621
621
|
d.map((e) => [
|
|
@@ -632,8 +632,8 @@ function h(a, e) {
|
|
|
632
632
|
return u[e][a];
|
|
633
633
|
}
|
|
634
634
|
const g = {
|
|
635
|
-
colors:
|
|
636
|
-
typography:
|
|
635
|
+
colors: l,
|
|
636
|
+
typography: i,
|
|
637
637
|
fonts: n,
|
|
638
638
|
spacing: s,
|
|
639
639
|
radius: t,
|
|
@@ -641,7 +641,7 @@ const g = {
|
|
|
641
641
|
shared: r
|
|
642
642
|
};
|
|
643
643
|
export {
|
|
644
|
-
|
|
644
|
+
l as floeColorTokenCategories,
|
|
645
645
|
g as floeDesignTokens,
|
|
646
646
|
n as floeFontFamilyTokens,
|
|
647
647
|
c as floeMotionTokens,
|
|
@@ -649,6 +649,6 @@ export {
|
|
|
649
649
|
r as floeSharedCssVariables,
|
|
650
650
|
s as floeSpacingTokens,
|
|
651
651
|
u as floeThemeColorVariables,
|
|
652
|
-
|
|
652
|
+
i as floeTypographyTokens,
|
|
653
653
|
h as getFloeColorTokenValue
|
|
654
654
|
};
|