@floegence/floe-webapp-core 0.87.0 → 0.87.2
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/floe.css +1 -0
- package/dist/standalone.css +1 -0
- package/dist/styles/themes/presets.d.ts +7 -3
- package/dist/styles/themes/presets.js +96 -37
- package/dist/styles.css +1 -1
- package/dist/themes/porcelain-light.css +19 -0
- package/dist/themes/shell-presets.generated.css +62 -49
- package/dist/workbench-themes.css +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Porcelain's reading ramp stays opaque: attenuating secondary ink again makes
|
|
2
|
+
* small labels and placeholders unreadable on near-white surfaces. Palette
|
|
3
|
+
* values live in presets.ts; this file only maps existing component recipes. */
|
|
4
|
+
@media (forced-colors: none) {
|
|
5
|
+
:root[data-floe-shell-theme='porcelain-light']:not(.dark)
|
|
6
|
+
:is(input, textarea)::placeholder {
|
|
7
|
+
color: var(--floe-field-placeholder);
|
|
8
|
+
opacity: 1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:root[data-floe-shell-theme='porcelain-light']:not(.dark)
|
|
12
|
+
:is([class~='text-muted-foreground/40'], [class~='text-muted-foreground/45'],
|
|
13
|
+
[class~='text-muted-foreground/50'], [class~='text-muted-foreground/60'],
|
|
14
|
+
[class~='text-muted-foreground/65'], [class~='text-muted-foreground/70'],
|
|
15
|
+
[class~='text-muted-foreground/75'], [class~='text-muted-foreground/80'],
|
|
16
|
+
[class~='text-muted-foreground/90']) {
|
|
17
|
+
color: var(--muted-foreground);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -6,30 +6,30 @@
|
|
|
6
6
|
--floe-window-titlebar-background: color-mix(in srgb, var(--floe-window-background) 92%, var(--foreground));
|
|
7
7
|
--floe-window-border: color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground));
|
|
8
8
|
--floe-window-shadow: 0 1px 3px rgb(0 0 0 / 14%), 0 12px 28px -8px rgb(0 0 0 / 18%);
|
|
9
|
-
--background: #
|
|
10
|
-
--foreground: #
|
|
11
|
-
--inline-code-foreground: #
|
|
12
|
-
--inline-code-background: #
|
|
13
|
-
--primary: #
|
|
14
|
-
--primary-foreground: #
|
|
15
|
-
--secondary: #
|
|
16
|
-
--secondary-foreground: #
|
|
17
|
-
--muted: #
|
|
18
|
-
--muted-foreground: #
|
|
19
|
-
--accent: #
|
|
20
|
-
--accent-foreground: #
|
|
21
|
-
--border: #
|
|
22
|
-
--input: #
|
|
23
|
-
--ring: #
|
|
24
|
-
--chrome-border: #
|
|
25
|
-
--top-bar-border: #
|
|
26
|
-
--activity-bar-border: #
|
|
27
|
-
--bottom-bar-border: #
|
|
28
|
-
--terminal-panel-border: #
|
|
29
|
-
--card: #
|
|
30
|
-
--card-foreground: #
|
|
31
|
-
--popover: #
|
|
32
|
-
--popover-foreground: #
|
|
9
|
+
--background: #fafafa;
|
|
10
|
+
--foreground: #292929;
|
|
11
|
+
--inline-code-foreground: #674778;
|
|
12
|
+
--inline-code-background: #f0f0f0;
|
|
13
|
+
--primary: #343434;
|
|
14
|
+
--primary-foreground: #ffffff;
|
|
15
|
+
--secondary: #f4f4f4;
|
|
16
|
+
--secondary-foreground: #292929;
|
|
17
|
+
--muted: #f4f4f4;
|
|
18
|
+
--muted-foreground: #686868;
|
|
19
|
+
--accent: #eeeeee;
|
|
20
|
+
--accent-foreground: #353535;
|
|
21
|
+
--border: #dedede;
|
|
22
|
+
--input: #878787;
|
|
23
|
+
--ring: #343434;
|
|
24
|
+
--chrome-border: #dedede;
|
|
25
|
+
--top-bar-border: #dedede;
|
|
26
|
+
--activity-bar-border: #dedede;
|
|
27
|
+
--bottom-bar-border: #dedede;
|
|
28
|
+
--terminal-panel-border: #dedede;
|
|
29
|
+
--card: #ffffff;
|
|
30
|
+
--card-foreground: #292929;
|
|
31
|
+
--popover: #ffffff;
|
|
32
|
+
--popover-foreground: #292929;
|
|
33
33
|
--success: #287a4b;
|
|
34
34
|
--success-foreground: #ffffff;
|
|
35
35
|
--warning: #835800;
|
|
@@ -44,42 +44,55 @@
|
|
|
44
44
|
--highlight-block-error-accent: #b42318;
|
|
45
45
|
--highlight-block-note-accent: #6847a0;
|
|
46
46
|
--highlight-block-tip-accent: #1e6f73;
|
|
47
|
-
--sidebar: #
|
|
48
|
-
--sidebar-foreground: #
|
|
49
|
-
--sidebar-primary: #
|
|
50
|
-
--sidebar-primary-foreground: #
|
|
51
|
-
--sidebar-accent: #
|
|
52
|
-
--sidebar-accent-foreground: #
|
|
53
|
-
--sidebar-border: #
|
|
54
|
-
--sidebar-ring: #
|
|
55
|
-
--activity-bar: #
|
|
56
|
-
--activity-bar-foreground: #
|
|
57
|
-
--activity-bar-foreground-active: #
|
|
58
|
-
--activity-bar-badge: #
|
|
59
|
-
--activity-bar-badge-foreground: #
|
|
47
|
+
--sidebar: #f7f7f7;
|
|
48
|
+
--sidebar-foreground: #292929;
|
|
49
|
+
--sidebar-primary: #343434;
|
|
50
|
+
--sidebar-primary-foreground: #ffffff;
|
|
51
|
+
--sidebar-accent: #e9e9e9;
|
|
52
|
+
--sidebar-accent-foreground: #353535;
|
|
53
|
+
--sidebar-border: #dedede;
|
|
54
|
+
--sidebar-ring: #343434;
|
|
55
|
+
--activity-bar: #f7f7f7;
|
|
56
|
+
--activity-bar-foreground: #686868;
|
|
57
|
+
--activity-bar-foreground-active: #343434;
|
|
58
|
+
--activity-bar-badge: #343434;
|
|
59
|
+
--activity-bar-badge-foreground: #ffffff;
|
|
60
60
|
--terminal-background: #202a37;
|
|
61
61
|
--terminal-foreground: #ebebeb;
|
|
62
|
-
--chart-1: #
|
|
63
|
-
--chart-2: #
|
|
62
|
+
--chart-1: #343434;
|
|
63
|
+
--chart-2: #626262;
|
|
64
64
|
--chart-3: #2671d9;
|
|
65
65
|
--chart-4: #287a4b;
|
|
66
66
|
--chart-5: #835800;
|
|
67
|
-
--selection-bg: #
|
|
67
|
+
--selection-bg: #343434;
|
|
68
68
|
--selection-fg: #ffffff;
|
|
69
|
-
--selection-on-primary-bg: #
|
|
70
|
-
--selection-on-primary-fg: #
|
|
71
|
-
--selection-code-bg: #
|
|
72
|
-
--selection-code-fg: #
|
|
73
|
-
--glow: #
|
|
74
|
-
--floe-progress-text-base:
|
|
75
|
-
--floe-progress-text-peak:
|
|
76
|
-
--floe-progress-primary-base:
|
|
69
|
+
--selection-on-primary-bg: #eaeaea;
|
|
70
|
+
--selection-on-primary-fg: #292929;
|
|
71
|
+
--selection-code-bg: #eaeaea;
|
|
72
|
+
--selection-code-fg: #292929;
|
|
73
|
+
--glow: #343434;
|
|
74
|
+
--floe-progress-text-base: #292929;
|
|
75
|
+
--floe-progress-text-peak: #686868;
|
|
76
|
+
--floe-progress-primary-base: #343434;
|
|
77
77
|
--floe-progress-primary-white-mix: 28.0%;
|
|
78
|
-
--floe-file-icon-primary:
|
|
78
|
+
--floe-file-icon-primary: #343434;
|
|
79
79
|
--floe-file-icon-warning: hsl(38 92% 50%);
|
|
80
80
|
--floe-file-icon-info: hsl(217 91% 60%);
|
|
81
81
|
--floe-file-icon-success: oklch(0.68 0.16 150);
|
|
82
82
|
--floe-file-icon-error: oklch(0.65 0.2 25);
|
|
83
|
+
--floe-field-fill: #fafafa;
|
|
84
|
+
--floe-field-fill-hover: #f5f5f5;
|
|
85
|
+
--floe-field-placeholder: #686868;
|
|
86
|
+
--floe-ink-quiet: #686868;
|
|
87
|
+
--floe-ink-ghost: #686868;
|
|
88
|
+
--floe-field-edge: #c4c4c4;
|
|
89
|
+
--floe-field-edge-hover: #a3a3a3;
|
|
90
|
+
--floe-control-edge: #878787;
|
|
91
|
+
--floe-control-edge-hover: #686868;
|
|
92
|
+
--floe-well: #f6f6f6;
|
|
93
|
+
--floe-well-strong: #f0f0f0;
|
|
94
|
+
--floe-well-on-plane: #f6f6f6;
|
|
95
|
+
--floe-workbench-canvas: #f4f4f4;
|
|
83
96
|
}
|
|
84
97
|
:root[data-floe-shell-theme='cloud-white'] {
|
|
85
98
|
--floe-window-background: color-mix(in srgb, var(--card) 35%, white);
|
|
@@ -1135,6 +1135,9 @@
|
|
|
1135
1135
|
--wb-window-shadow: 0 6px 16px -8px rgb(0 0 0 / 22%);
|
|
1136
1136
|
--wb-text: var(--foreground);
|
|
1137
1137
|
}
|
|
1138
|
+
.workbench-surface[data-workbench-theme='default'] {
|
|
1139
|
+
--wb-canvas: var(--floe-workbench-canvas, oklch(from var(--background) clamp(0.78, calc(l - 0.085), 0.91) c h));
|
|
1140
|
+
}
|
|
1138
1141
|
html.dark .workbench-surface[data-workbench-theme] {
|
|
1139
1142
|
--wb-canvas: oklch(from var(--background) clamp(0.21, calc(l - 0.08), 0.28) c h);
|
|
1140
1143
|
--wb-window: color-mix(in oklab, var(--background) 94%, var(--foreground));
|