@lemoncat7/dsh-theme-xiaohei 0.3.0-alpha.22
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 +21 -0
- package/README.md +84 -0
- package/cordis.patch.yml +4 -0
- package/lib/appearance.d.ts +12 -0
- package/lib/appearance.d.ts.map +1 -0
- package/lib/appearance.js +26 -0
- package/lib/appearance.js.map +1 -0
- package/lib/blink.d.ts +4 -0
- package/lib/blink.d.ts.map +1 -0
- package/lib/blink.js +110 -0
- package/lib/blink.js.map +1 -0
- package/lib/boot-appearance.d.ts +10 -0
- package/lib/boot-appearance.d.ts.map +1 -0
- package/lib/boot-appearance.js +47 -0
- package/lib/boot-appearance.js.map +1 -0
- package/lib/boot-loader.d.ts +5 -0
- package/lib/boot-loader.d.ts.map +1 -0
- package/lib/boot-loader.js +158 -0
- package/lib/boot-loader.js.map +1 -0
- package/lib/chrome/accessibility.d.ts +3 -0
- package/lib/chrome/accessibility.d.ts.map +1 -0
- package/lib/chrome/accessibility.js +77 -0
- package/lib/chrome/accessibility.js.map +1 -0
- package/lib/chrome/blink.d.ts +3 -0
- package/lib/chrome/blink.d.ts.map +1 -0
- package/lib/chrome/blink.js +15 -0
- package/lib/chrome/blink.js.map +1 -0
- package/lib/chrome/composer.d.ts +3 -0
- package/lib/chrome/composer.d.ts.map +1 -0
- package/lib/chrome/composer.js +146 -0
- package/lib/chrome/composer.js.map +1 -0
- package/lib/chrome/conversation-messages.d.ts +3 -0
- package/lib/chrome/conversation-messages.d.ts.map +1 -0
- package/lib/chrome/conversation-messages.js +96 -0
- package/lib/chrome/conversation-messages.js.map +1 -0
- package/lib/chrome/conversation.d.ts +3 -0
- package/lib/chrome/conversation.d.ts.map +1 -0
- package/lib/chrome/conversation.js +61 -0
- package/lib/chrome/conversation.js.map +1 -0
- package/lib/chrome/frames.d.ts +6 -0
- package/lib/chrome/frames.d.ts.map +1 -0
- package/lib/chrome/frames.js +120 -0
- package/lib/chrome/frames.js.map +1 -0
- package/lib/chrome/gaze.d.ts +3 -0
- package/lib/chrome/gaze.d.ts.map +1 -0
- package/lib/chrome/gaze.js +103 -0
- package/lib/chrome/gaze.js.map +1 -0
- package/lib/chrome/identity.d.ts +6 -0
- package/lib/chrome/identity.d.ts.map +1 -0
- package/lib/chrome/identity.js +61 -0
- package/lib/chrome/identity.js.map +1 -0
- package/lib/chrome/overlays.d.ts +3 -0
- package/lib/chrome/overlays.d.ts.map +1 -0
- package/lib/chrome/overlays.js +104 -0
- package/lib/chrome/overlays.js.map +1 -0
- package/lib/chrome/portal.d.ts +6 -0
- package/lib/chrome/portal.d.ts.map +1 -0
- package/lib/chrome/portal.js +169 -0
- package/lib/chrome/portal.js.map +1 -0
- package/lib/chrome/reactions.d.ts +3 -0
- package/lib/chrome/reactions.d.ts.map +1 -0
- package/lib/chrome/reactions.js +85 -0
- package/lib/chrome/reactions.js.map +1 -0
- package/lib/chrome/sidebar.d.ts +3 -0
- package/lib/chrome/sidebar.d.ts.map +1 -0
- package/lib/chrome/sidebar.js +305 -0
- package/lib/chrome/sidebar.js.map +1 -0
- package/lib/chrome/tokens.d.ts +3 -0
- package/lib/chrome/tokens.d.ts.map +1 -0
- package/lib/chrome/tokens.js +171 -0
- package/lib/chrome/tokens.js.map +1 -0
- package/lib/chrome/workspace.d.ts +3 -0
- package/lib/chrome/workspace.d.ts.map +1 -0
- package/lib/chrome/workspace.js +313 -0
- package/lib/chrome/workspace.js.map +1 -0
- package/lib/chrome.d.ts +10 -0
- package/lib/chrome.d.ts.map +1 -0
- package/lib/chrome.js +40 -0
- package/lib/chrome.js.map +1 -0
- package/lib/client.d.ts +17 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +5505 -0
- package/lib/client.js.map +7 -0
- package/lib/gaze.d.ts +4 -0
- package/lib/gaze.d.ts.map +1 -0
- package/lib/gaze.js +217 -0
- package/lib/gaze.js.map +1 -0
- package/lib/generated-identity.d.ts +5 -0
- package/lib/generated-identity.d.ts.map +1 -0
- package/lib/generated-identity.js +5 -0
- package/lib/generated-identity.js.map +1 -0
- package/lib/generated-keyart.d.ts +19 -0
- package/lib/generated-keyart.d.ts.map +1 -0
- package/lib/generated-keyart.js +19 -0
- package/lib/generated-keyart.js.map +1 -0
- package/lib/generated-loading-assets.d.ts +4 -0
- package/lib/generated-loading-assets.d.ts.map +1 -0
- package/lib/generated-loading-assets.js +4 -0
- package/lib/generated-loading-assets.js.map +1 -0
- package/lib/generated-sidebar-assets.d.ts +4 -0
- package/lib/generated-sidebar-assets.d.ts.map +1 -0
- package/lib/generated-sidebar-assets.js +4 -0
- package/lib/generated-sidebar-assets.js.map +1 -0
- package/lib/heixiu-interactions.d.ts +10 -0
- package/lib/heixiu-interactions.d.ts.map +1 -0
- package/lib/heixiu-interactions.js +161 -0
- package/lib/heixiu-interactions.js.map +1 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +11 -0
- package/lib/index.js.map +1 -0
- package/lib/loading-heixiu.d.ts +8 -0
- package/lib/loading-heixiu.d.ts.map +1 -0
- package/lib/loading-heixiu.js +287 -0
- package/lib/loading-heixiu.js.map +1 -0
- package/lib/plugin.d.ts +6 -0
- package/lib/plugin.d.ts.map +1 -0
- package/lib/plugin.js +38 -0
- package/lib/plugin.js.map +1 -0
- package/lib/portal.d.ts +40 -0
- package/lib/portal.d.ts.map +1 -0
- package/lib/portal.js +224 -0
- package/lib/portal.js.map +1 -0
- package/lib/reactions.d.ts +20 -0
- package/lib/reactions.d.ts.map +1 -0
- package/lib/reactions.js +380 -0
- package/lib/reactions.js.map +1 -0
- package/lib/scene/heixiu-feedback.d.ts +3 -0
- package/lib/scene/heixiu-feedback.d.ts.map +1 -0
- package/lib/scene/heixiu-feedback.js +81 -0
- package/lib/scene/heixiu-feedback.js.map +1 -0
- package/lib/scene/heixiu-interactions.d.ts +3 -0
- package/lib/scene/heixiu-interactions.d.ts.map +1 -0
- package/lib/scene/heixiu-interactions.js +92 -0
- package/lib/scene/heixiu-interactions.js.map +1 -0
- package/lib/scene/state-transitions.d.ts +3 -0
- package/lib/scene/state-transitions.d.ts.map +1 -0
- package/lib/scene/state-transitions.js +37 -0
- package/lib/scene/state-transitions.js.map +1 -0
- package/lib/scene.d.ts +14 -0
- package/lib/scene.d.ts.map +1 -0
- package/lib/scene.js +1024 -0
- package/lib/scene.js.map +1 -0
- package/lib/sidebar-glass.d.ts +16 -0
- package/lib/sidebar-glass.d.ts.map +1 -0
- package/lib/sidebar-glass.js +105 -0
- package/lib/sidebar-glass.js.map +1 -0
- package/lib/sidebar-heixiu-escape.d.ts +44 -0
- package/lib/sidebar-heixiu-escape.d.ts.map +1 -0
- package/lib/sidebar-heixiu-escape.js +340 -0
- package/lib/sidebar-heixiu-escape.js.map +1 -0
- package/lib/sidebar-heixiu-roaming.d.ts +27 -0
- package/lib/sidebar-heixiu-roaming.d.ts.map +1 -0
- package/lib/sidebar-heixiu-roaming.js +310 -0
- package/lib/sidebar-heixiu-roaming.js.map +1 -0
- package/lib/state.d.ts +9 -0
- package/lib/state.d.ts.map +1 -0
- package/lib/state.js +114 -0
- package/lib/state.js.map +1 -0
- package/lib/theme.d.ts +19 -0
- package/lib/theme.d.ts.map +1 -0
- package/lib/theme.js +188 -0
- package/lib/theme.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
/** One glass surface over DSH's native sidebar geometry and controls. */
|
|
2
|
+
export const XIAOHEI_SIDEBAR_CSS = `
|
|
3
|
+
/* The layout column and SidebarRoot both consume the native sidebar fill.
|
|
4
|
+
* The theme token makes those surfaces transparent; this stable slot
|
|
5
|
+
* relationship removes the layout column's remaining straight divider. */
|
|
6
|
+
#root :has(> [data-slot='sidebar']) {
|
|
7
|
+
background: transparent !important;
|
|
8
|
+
border-right-color: transparent !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
#root [data-slot='sidebar'] {
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* The host shell remains paint- and filter-free because Settings is a fixed
|
|
16
|
+
* descendant. The glass itself lives outside #root in the scene layer. */
|
|
17
|
+
#root [data-slot='sidebar'] > div {
|
|
18
|
+
position: relative;
|
|
19
|
+
background: transparent !important;
|
|
20
|
+
border-right: 0;
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#dsh-theme-xiaohei\\/sidebar-glass {
|
|
25
|
+
position: absolute;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
left: var(--xiaohei-sidebar-glass-left, 7px);
|
|
28
|
+
top: var(--xiaohei-sidebar-glass-top, 8px);
|
|
29
|
+
width: var(--xiaohei-sidebar-glass-width, 0px);
|
|
30
|
+
height: var(--xiaohei-sidebar-glass-height, 0px);
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
border: 1px solid var(--xiaohei-sidebar-glass-edge);
|
|
34
|
+
border-radius: var(--xiaohei-radius-panel);
|
|
35
|
+
background:
|
|
36
|
+
radial-gradient(96% 16% at 14% 0%, var(--xiaohei-sidebar-glass-highlight), transparent 64%),
|
|
37
|
+
linear-gradient(
|
|
38
|
+
90deg,
|
|
39
|
+
var(--xiaohei-sidebar-glass-refraction),
|
|
40
|
+
transparent 6%,
|
|
41
|
+
transparent 95%,
|
|
42
|
+
var(--xiaohei-sidebar-glass-inner-edge)
|
|
43
|
+
),
|
|
44
|
+
linear-gradient(
|
|
45
|
+
180deg,
|
|
46
|
+
var(--xiaohei-sidebar-glass-refraction),
|
|
47
|
+
transparent 9%,
|
|
48
|
+
transparent 88%,
|
|
49
|
+
var(--xiaohei-sidebar-glass-inner-edge)
|
|
50
|
+
),
|
|
51
|
+
var(--xiaohei-sidebar-glass-fill);
|
|
52
|
+
box-shadow:
|
|
53
|
+
0 0 0 1px var(--xiaohei-sidebar-glass-outline),
|
|
54
|
+
inset 0 1px 0 var(--xiaohei-sidebar-glass-highlight),
|
|
55
|
+
inset 1px 0 0 var(--xiaohei-sidebar-glass-refraction),
|
|
56
|
+
inset -1px 0 0 var(--xiaohei-sidebar-glass-inner-edge),
|
|
57
|
+
inset 0 -1px 0 var(--xiaohei-sidebar-glass-inner-edge),
|
|
58
|
+
0 1px 1px rgb(255 255 255 / 4%),
|
|
59
|
+
10px 0 30px -22px var(--xiaohei-sidebar-shadow),
|
|
60
|
+
0 24px 52px -30px var(--xiaohei-sidebar-shadow);
|
|
61
|
+
-webkit-backdrop-filter:
|
|
62
|
+
blur(28px)
|
|
63
|
+
saturate(var(--xiaohei-sidebar-glass-saturation))
|
|
64
|
+
brightness(var(--xiaohei-sidebar-glass-brightness));
|
|
65
|
+
backdrop-filter:
|
|
66
|
+
blur(28px)
|
|
67
|
+
saturate(var(--xiaohei-sidebar-glass-saturation))
|
|
68
|
+
brightness(var(--xiaohei-sidebar-glass-brightness));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Specular light and the inner lens rim are independent from the tint. This
|
|
72
|
+
* keeps the surface recognisably glass without reducing control contrast. */
|
|
73
|
+
#dsh-theme-xiaohei\\/sidebar-glass::before,
|
|
74
|
+
#dsh-theme-xiaohei\\/sidebar-glass::after {
|
|
75
|
+
content: '';
|
|
76
|
+
position: absolute;
|
|
77
|
+
pointer-events: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
#dsh-theme-xiaohei\\/sidebar-glass::before {
|
|
81
|
+
inset: 0;
|
|
82
|
+
border-radius: inherit;
|
|
83
|
+
background:
|
|
84
|
+
linear-gradient(
|
|
85
|
+
112deg,
|
|
86
|
+
var(--xiaohei-sidebar-glass-specular),
|
|
87
|
+
transparent 14%,
|
|
88
|
+
transparent 78%,
|
|
89
|
+
var(--xiaohei-sidebar-glass-refraction)
|
|
90
|
+
);
|
|
91
|
+
opacity: .72;
|
|
92
|
+
-webkit-mask-image: linear-gradient(180deg, black, rgb(0 0 0 / 18%) 26%, transparent 58%);
|
|
93
|
+
mask-image: linear-gradient(180deg, black, rgb(0 0 0 / 18%) 26%, transparent 58%);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
#dsh-theme-xiaohei\\/sidebar-glass::after {
|
|
97
|
+
inset: 1px;
|
|
98
|
+
border-radius: calc(var(--xiaohei-radius-panel) - 1px);
|
|
99
|
+
box-shadow:
|
|
100
|
+
inset 0 0 0 1px var(--xiaohei-sidebar-glass-refraction),
|
|
101
|
+
inset 0 18px 24px -28px var(--xiaohei-sidebar-glass-highlight),
|
|
102
|
+
inset 0 -20px 30px -30px var(--xiaohei-sidebar-shadow);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Generated ink-space artwork supplies the complex Xiaohei identity. It is a
|
|
106
|
+
* paint-only layer inside the glass and never participates in host layout. */
|
|
107
|
+
#dsh-theme-xiaohei\\/sidebar-glass > .xiaohei-sidebar-atmosphere {
|
|
108
|
+
position: absolute;
|
|
109
|
+
z-index: 0;
|
|
110
|
+
inset: 0;
|
|
111
|
+
display: block;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
object-fit: cover;
|
|
115
|
+
object-position: left bottom;
|
|
116
|
+
pointer-events: none;
|
|
117
|
+
user-select: none;
|
|
118
|
+
opacity: var(--xiaohei-sidebar-atmosphere-opacity);
|
|
119
|
+
mix-blend-mode: screen;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
html[data-xiaohei-appearance='light']
|
|
123
|
+
#dsh-theme-xiaohei\\/sidebar-glass > .xiaohei-sidebar-atmosphere {
|
|
124
|
+
mix-blend-mode: multiply;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Header toggle and the primary action keep the host's dimensions. */
|
|
128
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > div:first-child button:last-child,
|
|
129
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话'],
|
|
130
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session'] {
|
|
131
|
+
color: var(--xiaohei-sidebar-icon);
|
|
132
|
+
transition:
|
|
133
|
+
color var(--xiaohei-motion-fast) ease,
|
|
134
|
+
background-color var(--xiaohei-motion-base) ease,
|
|
135
|
+
border-color var(--xiaohei-motion-base) ease;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > div:first-child button:last-child:hover {
|
|
139
|
+
color: var(--xiaohei-sidebar-emphasis);
|
|
140
|
+
background: var(--xiaohei-sidebar-hover);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话'],
|
|
144
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session'] {
|
|
145
|
+
position: relative;
|
|
146
|
+
isolation: isolate;
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
border-color: transparent;
|
|
149
|
+
background: transparent !important;
|
|
150
|
+
box-shadow: none;
|
|
151
|
+
justify-content: flex-start;
|
|
152
|
+
gap: 8px;
|
|
153
|
+
padding-inline: 12px;
|
|
154
|
+
text-align: start;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* One quiet horizontal ink stroke replaces the generic button card. The
|
|
158
|
+
* brush is paint-only; the native button, label and focus target stay intact. */
|
|
159
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话']::before,
|
|
160
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session']::before {
|
|
161
|
+
content: '';
|
|
162
|
+
position: absolute;
|
|
163
|
+
z-index: -1;
|
|
164
|
+
inset: 3px 7px 3px 5px;
|
|
165
|
+
border-radius: 42% 9% 37% 12% / 28% 46% 36% 58%;
|
|
166
|
+
background: linear-gradient(
|
|
167
|
+
94deg,
|
|
168
|
+
transparent 0%,
|
|
169
|
+
var(--xiaohei-sidebar-brush-ink) 5%,
|
|
170
|
+
var(--xiaohei-sidebar-brush-ink) 72%,
|
|
171
|
+
transparent 100%
|
|
172
|
+
);
|
|
173
|
+
-webkit-mask-image:
|
|
174
|
+
radial-gradient(ellipse 12px 70% at 5% 48%, black 44%, transparent 76%),
|
|
175
|
+
linear-gradient(90deg, black 5%, black 76%, transparent 100%);
|
|
176
|
+
mask-image:
|
|
177
|
+
radial-gradient(ellipse 12px 70% at 5% 48%, black 44%, transparent 76%),
|
|
178
|
+
linear-gradient(90deg, black 5%, black 76%, transparent 100%);
|
|
179
|
+
-webkit-mask-composite: source-over;
|
|
180
|
+
mask-composite: add;
|
|
181
|
+
opacity: .9;
|
|
182
|
+
transform: scaleX(.985);
|
|
183
|
+
transform-origin: left center;
|
|
184
|
+
transition:
|
|
185
|
+
background-color var(--xiaohei-motion-base) ease,
|
|
186
|
+
opacity var(--xiaohei-motion-fast) ease,
|
|
187
|
+
transform var(--xiaohei-motion-base) var(--xiaohei-motion-curve);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话']:hover,
|
|
191
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session']:hover {
|
|
192
|
+
color: var(--xiaohei-sidebar-emphasis);
|
|
193
|
+
border-color: transparent;
|
|
194
|
+
background: transparent !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话']:hover::before,
|
|
198
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session']:hover::before {
|
|
199
|
+
background: linear-gradient(
|
|
200
|
+
94deg,
|
|
201
|
+
transparent 0%,
|
|
202
|
+
var(--xiaohei-sidebar-brush-ink-hover) 5%,
|
|
203
|
+
var(--xiaohei-sidebar-brush-ink-hover) 72%,
|
|
204
|
+
transparent 100%
|
|
205
|
+
);
|
|
206
|
+
opacity: 1;
|
|
207
|
+
transform: scaleX(1);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* Footer occupants keep their native layout. Only their interaction surface
|
|
211
|
+
* is shaded, avoiding a second card inside the sidebar glass. */
|
|
212
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed'])
|
|
213
|
+
> :has(> div > [data-slot='sidebar.footer.action']) {
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
gap: 2px;
|
|
216
|
+
margin: 8px 2px 4px;
|
|
217
|
+
padding: 4px;
|
|
218
|
+
border: 1px solid var(--xiaohei-sidebar-control-edge);
|
|
219
|
+
border-radius: calc(var(--xiaohei-radius-control) + 2px);
|
|
220
|
+
background: color-mix(in srgb, var(--xiaohei-sidebar-control) 76%, transparent);
|
|
221
|
+
box-shadow: inset 0 1px 0 var(--xiaohei-sidebar-control-highlight);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
#root [data-slot='sidebar.footer.action'] > button,
|
|
225
|
+
#root [data-slot='sidebar.settings'] > button {
|
|
226
|
+
color: var(--dsw-alias-label-secondary);
|
|
227
|
+
border-radius: var(--xiaohei-radius-small) !important;
|
|
228
|
+
transition:
|
|
229
|
+
color var(--xiaohei-motion-fast) ease,
|
|
230
|
+
background-color var(--xiaohei-motion-fast) ease,
|
|
231
|
+
transform var(--xiaohei-motion-fast) var(--xiaohei-motion-curve);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
#root [data-slot='sidebar.footer.action'] > button:hover,
|
|
235
|
+
#root [data-slot='sidebar.settings'] > button:hover,
|
|
236
|
+
#root [data-slot='sidebar.footer.action'] > button[aria-expanded='true'],
|
|
237
|
+
#root [data-slot='sidebar.settings'] > button[aria-expanded='true'] {
|
|
238
|
+
color: var(--xiaohei-sidebar-emphasis);
|
|
239
|
+
background: var(--xiaohei-sidebar-hover);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
#root [data-slot='sidebar.footer.action'] > button:active,
|
|
243
|
+
#root [data-slot='sidebar.settings'] > button:active {
|
|
244
|
+
transform: translateY(1px);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
#root [data-slot='sidebar'] button:focus-visible {
|
|
248
|
+
outline: 2px solid var(--xiaohei-sidebar-emphasis);
|
|
249
|
+
outline-offset: 2px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@media (prefers-reduced-motion: reduce) {
|
|
253
|
+
#root [data-slot='sidebar'] button {
|
|
254
|
+
transition-duration: 0ms !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话']::before,
|
|
258
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session']::before {
|
|
259
|
+
transition-duration: 0ms !important;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
264
|
+
#dsh-theme-xiaohei\\/sidebar-glass {
|
|
265
|
+
background: var(--xiaohei-sidebar-glass-solid);
|
|
266
|
+
-webkit-backdrop-filter: none;
|
|
267
|
+
backdrop-filter: none;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
#dsh-theme-xiaohei\\/sidebar-glass > .xiaohei-sidebar-atmosphere {
|
|
271
|
+
opacity: var(--xiaohei-sidebar-atmosphere-solid-opacity);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
276
|
+
#dsh-theme-xiaohei\\/sidebar-glass {
|
|
277
|
+
background: var(--xiaohei-sidebar-glass-solid);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@media (forced-colors: active) {
|
|
282
|
+
#dsh-theme-xiaohei\\/sidebar-glass {
|
|
283
|
+
border-color: CanvasText;
|
|
284
|
+
background: Canvas;
|
|
285
|
+
box-shadow: none;
|
|
286
|
+
-webkit-backdrop-filter: none;
|
|
287
|
+
backdrop-filter: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
#dsh-theme-xiaohei\\/sidebar-glass > .xiaohei-sidebar-atmosphere {
|
|
291
|
+
display: none;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话'],
|
|
295
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session'] {
|
|
296
|
+
border-color: ButtonText;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='新建会话']::before,
|
|
300
|
+
#root [data-slot='sidebar'] > div:not([class*='_collapsed']) > button[aria-label='New session']::before {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
`;
|
|
305
|
+
//# sourceMappingURL=sidebar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.js","sourceRoot":"","sources":["../../src/chrome/sidebar.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8SlC,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Semantic Xiaohei identity tokens shared by every themed component layer. */
|
|
2
|
+
export declare const XIAOHEI_CHROME_TOKENS_CSS = "\nhtml {\n --xiaohei-ink: #0E1517;\n --xiaohei-ink-soft: rgb(14 21 23 / 74%);\n --xiaohei-spirit: #69B6BA;\n --xiaohei-spirit-strong: #8ACED0;\n --xiaohei-spirit-soft: rgb(105 182 186 / 12%);\n --xiaohei-spirit-faint: rgb(105 182 186 / 6%);\n --xiaohei-edge: rgb(124 189 192 / 15%);\n --xiaohei-edge-strong: rgb(138 206 208 / 30%);\n --xiaohei-surface: rgb(22 29 31 / 94%);\n --xiaohei-surface-raised: rgb(29 37 39 / 97%);\n --xiaohei-surface-muted: rgb(15 21 23 / 68%);\n --xiaohei-sidebar-emphasis: #E1E6E7;\n --xiaohei-sidebar-icon: rgb(220 227 229 / 70%);\n --xiaohei-sidebar-hover: rgb(231 238 240 / 6.5%);\n --xiaohei-sidebar-glass-fill: rgb(21 25 27 / 62%);\n --xiaohei-sidebar-glass-solid: #1B2325;\n --xiaohei-sidebar-glass-edge: rgb(238 247 249 / 18%);\n --xiaohei-sidebar-glass-outline: rgb(0 0 0 / 30%);\n --xiaohei-sidebar-glass-inner-edge: rgb(0 0 0 / 18%);\n --xiaohei-sidebar-glass-highlight: rgb(255 255 255 / 16%);\n --xiaohei-sidebar-glass-refraction: rgb(255 255 255 / 9%);\n --xiaohei-sidebar-glass-specular: rgb(255 255 255 / 13%);\n --xiaohei-sidebar-glass-saturation: 90%;\n --xiaohei-sidebar-glass-brightness: 92%;\n --xiaohei-sidebar-atmosphere-opacity: 0.36;\n --xiaohei-sidebar-atmosphere-solid-opacity: 0.22;\n --xiaohei-sidebar-control: rgb(231 238 240 / 4.5%);\n --xiaohei-sidebar-control-edge: rgb(231 238 240 / 8%);\n --xiaohei-sidebar-control-edge-hover: rgb(231 238 240 / 13%);\n --xiaohei-sidebar-control-highlight: rgb(255 255 255 / 5%);\n --xiaohei-sidebar-brush-ink: rgb(231 238 240 / 8%);\n --xiaohei-sidebar-brush-ink-hover: rgb(231 238 240 / 13%);\n --xiaohei-sidebar-shadow: rgb(0 0 0 / 24%);\n --xiaohei-workspace-label: rgb(220 227 229 / 78%);\n --xiaohei-space-frame-edge: rgb(231 238 240 / 8%);\n --xiaohei-space-frame-highlight: rgb(255 255 255 / 4%);\n --xiaohei-workspace-control-edge: rgb(231 238 240 / 8%);\n --xiaohei-workspace-path: rgb(200 211 213 / 8%);\n --xiaohei-workspace-path-active: rgb(105 182 186 / 20%);\n --xiaohei-workspace-folder-open: rgb(105 182 186 / 7%);\n --xiaohei-workspace-folder-edge: rgb(105 182 186 / 7%);\n --xiaohei-workspace-folder-shadow: rgb(0 0 0 / 2.4%);\n --xiaohei-workspace-row-hover: rgb(231 238 240 / 5.5%);\n --xiaohei-workspace-row-active: rgb(231 238 240 / 7.5%);\n --xiaohei-workspace-row-active-edge: rgb(231 238 240 / 5%);\n --xiaohei-workspace-action-hover: rgb(231 238 240 / 7%);\n --xiaohei-workspace-active-line: #69B6BA;\n --xiaohei-workspace-active-line-glow: rgb(105 182 186 / 20%);\n --xiaohei-workspace-rift-glow: rgb(105 182 186 / 12%);\n --xiaohei-frame-line: rgb(138 206 208 / 21%);\n --xiaohei-frame-line-strong: rgb(151 216 218 / 40%);\n --xiaohei-frame-fill: rgb(15 21 23 / 54%);\n --xiaohei-frame-fill-raised: rgb(24 32 34 / 78%);\n --xiaohei-frame-inner: rgb(231 252 252 / 6%);\n --xiaohei-frame-plaque: #182122;\n --xiaohei-frame-label: #B9E5E7;\n --xiaohei-frame-ink: #081011;\n --xiaohei-layer-panel: rgb(20 27 29 / 76%);\n --xiaohei-layer-panel-edge: rgb(124 189 192 / 12%);\n --xiaohei-layer-panel-shadow: rgb(0 5 8 / 26%);\n --xiaohei-conversation-text: #E0E6E4;\n --xiaohei-conversation-meta: rgb(195 205 204 / 58%);\n --xiaohei-conversation-user: rgb(117 158 154 / 13%);\n --xiaohei-conversation-user-edge: rgb(143 177 173 / 12%);\n --xiaohei-layer-content: rgb(27 35 37 / 92%);\n --xiaohei-layer-content-edge: rgb(124 189 192 / 20%);\n --xiaohei-layer-content-highlight: rgb(239 255 255 / 4%);\n --xiaohei-shadow: rgb(0 5 7 / 30%);\n --xiaohei-focus-shadow: rgb(105 182 186 / 14%);\n --xiaohei-overlay-fill: rgb(22 29 31 / 88%);\n --xiaohei-overlay-blur: 18px;\n --xiaohei-overlay-saturation: 108%;\n --xiaohei-plugin-workspace-fill: rgb(20 27 29 / 62%);\n --xiaohei-plugin-pane-fill: rgb(27 35 37 / 46%);\n --xiaohei-plugin-raised-fill: rgb(29 37 39 / 72%);\n --xiaohei-plugin-control-fill: rgb(33 42 44 / 86%);\n --xiaohei-plugin-surface-blur: 32px;\n --xiaohei-plugin-surface-saturation: 112%;\n --xiaohei-radius-panel: 16px;\n --xiaohei-radius-control: 10px;\n --xiaohei-radius-small: 8px;\n --xiaohei-motion-fast: 140ms;\n --xiaohei-motion-base: 190ms;\n --xiaohei-motion-curve: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\nhtml[data-xiaohei-appearance='light'] {\n --xiaohei-ink: #252C35;\n --xiaohei-ink-soft: rgb(37 44 53 / 72%);\n --xiaohei-spirit: #547D78;\n --xiaohei-spirit-strong: #426A65;\n --xiaohei-spirit-soft: rgb(84 125 120 / 10%);\n --xiaohei-spirit-faint: rgb(84 125 120 / 5%);\n --xiaohei-edge: rgb(84 125 120 / 19%);\n --xiaohei-edge-strong: rgb(84 125 120 / 38%);\n --xiaohei-surface: rgb(232 237 243 / 94%);\n --xiaohei-surface-raised: rgb(241 244 248 / 97%);\n --xiaohei-surface-muted: rgb(220 227 234 / 78%);\n --xiaohei-sidebar-emphasis: #3F454C;\n --xiaohei-sidebar-icon: rgb(48 54 61 / 68%);\n --xiaohei-sidebar-hover: rgb(48 54 61 / 6%);\n --xiaohei-sidebar-glass-fill: rgb(215 220 223 / 62%);\n --xiaohei-sidebar-glass-solid: #E8EDEF;\n --xiaohei-sidebar-glass-edge: rgb(255 255 255 / 88%);\n --xiaohei-sidebar-glass-outline: rgb(42 50 56 / 14%);\n --xiaohei-sidebar-glass-inner-edge: rgb(43 51 56 / 11%);\n --xiaohei-sidebar-glass-highlight: rgb(255 255 255 / 88%);\n --xiaohei-sidebar-glass-refraction: rgb(255 255 255 / 42%);\n --xiaohei-sidebar-glass-specular: rgb(255 255 255 / 72%);\n --xiaohei-sidebar-glass-saturation: 76%;\n --xiaohei-sidebar-glass-brightness: 104%;\n --xiaohei-sidebar-atmosphere-opacity: 0.28;\n --xiaohei-sidebar-atmosphere-solid-opacity: 0.16;\n --xiaohei-sidebar-control: rgb(255 255 255 / 26%);\n --xiaohei-sidebar-control-edge: rgb(46 51 58 / 8%);\n --xiaohei-sidebar-control-edge-hover: rgb(46 51 58 / 13%);\n --xiaohei-sidebar-control-highlight: rgb(255 255 255 / 48%);\n --xiaohei-sidebar-brush-ink: rgb(38 47 49 / 9%);\n --xiaohei-sidebar-brush-ink-hover: rgb(38 47 49 / 14%);\n --xiaohei-sidebar-shadow: rgb(23 30 34 / 14%);\n --xiaohei-workspace-label: rgb(48 54 61 / 76%);\n --xiaohei-space-frame-edge: rgb(46 51 58 / 8%);\n --xiaohei-space-frame-highlight: rgb(255 255 255 / 32%);\n --xiaohei-workspace-control-edge: rgb(46 51 58 / 9%);\n --xiaohei-workspace-path: rgb(45 56 57 / 9%);\n --xiaohei-workspace-path-active: rgb(84 125 120 / 22%);\n --xiaohei-workspace-folder-open: rgb(84 125 120 / 6.5%);\n --xiaohei-workspace-folder-edge: rgb(61 99 84 / 5.5%);\n --xiaohei-workspace-folder-shadow: rgb(30 50 42 / 1.8%);\n --xiaohei-workspace-row-hover: rgb(48 54 61 / 5%);\n --xiaohei-workspace-row-active: rgb(48 54 61 / 7.5%);\n --xiaohei-workspace-row-active-edge: rgb(46 51 58 / 5%);\n --xiaohei-workspace-action-hover: rgb(48 54 61 / 7%);\n --xiaohei-workspace-active-line: #547D78;\n --xiaohei-workspace-active-line-glow: rgb(84 125 120 / 20%);\n --xiaohei-workspace-rift-glow: rgb(84 125 120 / 8%);\n --xiaohei-frame-line: rgb(84 125 120 / 22%);\n --xiaohei-frame-line-strong: rgb(84 125 120 / 43%);\n --xiaohei-frame-fill: rgb(224 231 238 / 58%);\n --xiaohei-frame-fill-raised: rgb(238 242 247 / 88%);\n --xiaohei-frame-inner: rgb(255 255 255 / 72%);\n --xiaohei-frame-plaque: rgb(235 241 240 / 94%);\n --xiaohei-frame-label: #294A46;\n --xiaohei-frame-ink: #243633;\n --xiaohei-layer-panel: rgb(226 232 239 / 78%);\n --xiaohei-layer-panel-edge: rgb(84 125 120 / 11%);\n --xiaohei-layer-panel-shadow: rgb(43 55 51 / 8%);\n --xiaohei-conversation-text: #303842;\n --xiaohei-conversation-meta: rgb(76 87 99 / 56%);\n --xiaohei-conversation-user: rgb(84 125 120 / 10%);\n --xiaohei-conversation-user-edge: rgb(84 125 120 / 10%);\n --xiaohei-layer-content: rgb(238 242 247 / 94%);\n --xiaohei-layer-content-edge: rgb(84 125 120 / 20%);\n --xiaohei-layer-content-highlight: rgb(255 255 255 / 62%);\n --xiaohei-shadow: rgb(43 55 51 / 11%);\n --xiaohei-focus-shadow: rgb(84 125 120 / 13%);\n --xiaohei-overlay-fill: rgb(232 237 243 / 90%);\n --xiaohei-overlay-blur: 18px;\n --xiaohei-overlay-saturation: 106%;\n --xiaohei-plugin-workspace-fill: rgb(232 237 243 / 64%);\n --xiaohei-plugin-pane-fill: rgb(238 242 247 / 46%);\n --xiaohei-plugin-raised-fill: rgb(244 247 250 / 72%);\n --xiaohei-plugin-control-fill: rgb(248 250 252 / 86%);\n --xiaohei-plugin-surface-blur: 32px;\n --xiaohei-plugin-surface-saturation: 106%;\n}\n";
|
|
3
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/chrome/tokens.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,slQAwKrC,CAAA"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/** Semantic Xiaohei identity tokens shared by every themed component layer. */
|
|
2
|
+
export const XIAOHEI_CHROME_TOKENS_CSS = `
|
|
3
|
+
html {
|
|
4
|
+
--xiaohei-ink: #0E1517;
|
|
5
|
+
--xiaohei-ink-soft: rgb(14 21 23 / 74%);
|
|
6
|
+
--xiaohei-spirit: #69B6BA;
|
|
7
|
+
--xiaohei-spirit-strong: #8ACED0;
|
|
8
|
+
--xiaohei-spirit-soft: rgb(105 182 186 / 12%);
|
|
9
|
+
--xiaohei-spirit-faint: rgb(105 182 186 / 6%);
|
|
10
|
+
--xiaohei-edge: rgb(124 189 192 / 15%);
|
|
11
|
+
--xiaohei-edge-strong: rgb(138 206 208 / 30%);
|
|
12
|
+
--xiaohei-surface: rgb(22 29 31 / 94%);
|
|
13
|
+
--xiaohei-surface-raised: rgb(29 37 39 / 97%);
|
|
14
|
+
--xiaohei-surface-muted: rgb(15 21 23 / 68%);
|
|
15
|
+
--xiaohei-sidebar-emphasis: #E1E6E7;
|
|
16
|
+
--xiaohei-sidebar-icon: rgb(220 227 229 / 70%);
|
|
17
|
+
--xiaohei-sidebar-hover: rgb(231 238 240 / 6.5%);
|
|
18
|
+
--xiaohei-sidebar-glass-fill: rgb(21 25 27 / 62%);
|
|
19
|
+
--xiaohei-sidebar-glass-solid: #1B2325;
|
|
20
|
+
--xiaohei-sidebar-glass-edge: rgb(238 247 249 / 18%);
|
|
21
|
+
--xiaohei-sidebar-glass-outline: rgb(0 0 0 / 30%);
|
|
22
|
+
--xiaohei-sidebar-glass-inner-edge: rgb(0 0 0 / 18%);
|
|
23
|
+
--xiaohei-sidebar-glass-highlight: rgb(255 255 255 / 16%);
|
|
24
|
+
--xiaohei-sidebar-glass-refraction: rgb(255 255 255 / 9%);
|
|
25
|
+
--xiaohei-sidebar-glass-specular: rgb(255 255 255 / 13%);
|
|
26
|
+
--xiaohei-sidebar-glass-saturation: 90%;
|
|
27
|
+
--xiaohei-sidebar-glass-brightness: 92%;
|
|
28
|
+
--xiaohei-sidebar-atmosphere-opacity: 0.36;
|
|
29
|
+
--xiaohei-sidebar-atmosphere-solid-opacity: 0.22;
|
|
30
|
+
--xiaohei-sidebar-control: rgb(231 238 240 / 4.5%);
|
|
31
|
+
--xiaohei-sidebar-control-edge: rgb(231 238 240 / 8%);
|
|
32
|
+
--xiaohei-sidebar-control-edge-hover: rgb(231 238 240 / 13%);
|
|
33
|
+
--xiaohei-sidebar-control-highlight: rgb(255 255 255 / 5%);
|
|
34
|
+
--xiaohei-sidebar-brush-ink: rgb(231 238 240 / 8%);
|
|
35
|
+
--xiaohei-sidebar-brush-ink-hover: rgb(231 238 240 / 13%);
|
|
36
|
+
--xiaohei-sidebar-shadow: rgb(0 0 0 / 24%);
|
|
37
|
+
--xiaohei-workspace-label: rgb(220 227 229 / 78%);
|
|
38
|
+
--xiaohei-space-frame-edge: rgb(231 238 240 / 8%);
|
|
39
|
+
--xiaohei-space-frame-highlight: rgb(255 255 255 / 4%);
|
|
40
|
+
--xiaohei-workspace-control-edge: rgb(231 238 240 / 8%);
|
|
41
|
+
--xiaohei-workspace-path: rgb(200 211 213 / 8%);
|
|
42
|
+
--xiaohei-workspace-path-active: rgb(105 182 186 / 20%);
|
|
43
|
+
--xiaohei-workspace-folder-open: rgb(105 182 186 / 7%);
|
|
44
|
+
--xiaohei-workspace-folder-edge: rgb(105 182 186 / 7%);
|
|
45
|
+
--xiaohei-workspace-folder-shadow: rgb(0 0 0 / 2.4%);
|
|
46
|
+
--xiaohei-workspace-row-hover: rgb(231 238 240 / 5.5%);
|
|
47
|
+
--xiaohei-workspace-row-active: rgb(231 238 240 / 7.5%);
|
|
48
|
+
--xiaohei-workspace-row-active-edge: rgb(231 238 240 / 5%);
|
|
49
|
+
--xiaohei-workspace-action-hover: rgb(231 238 240 / 7%);
|
|
50
|
+
--xiaohei-workspace-active-line: #69B6BA;
|
|
51
|
+
--xiaohei-workspace-active-line-glow: rgb(105 182 186 / 20%);
|
|
52
|
+
--xiaohei-workspace-rift-glow: rgb(105 182 186 / 12%);
|
|
53
|
+
--xiaohei-frame-line: rgb(138 206 208 / 21%);
|
|
54
|
+
--xiaohei-frame-line-strong: rgb(151 216 218 / 40%);
|
|
55
|
+
--xiaohei-frame-fill: rgb(15 21 23 / 54%);
|
|
56
|
+
--xiaohei-frame-fill-raised: rgb(24 32 34 / 78%);
|
|
57
|
+
--xiaohei-frame-inner: rgb(231 252 252 / 6%);
|
|
58
|
+
--xiaohei-frame-plaque: #182122;
|
|
59
|
+
--xiaohei-frame-label: #B9E5E7;
|
|
60
|
+
--xiaohei-frame-ink: #081011;
|
|
61
|
+
--xiaohei-layer-panel: rgb(20 27 29 / 76%);
|
|
62
|
+
--xiaohei-layer-panel-edge: rgb(124 189 192 / 12%);
|
|
63
|
+
--xiaohei-layer-panel-shadow: rgb(0 5 8 / 26%);
|
|
64
|
+
--xiaohei-conversation-text: #E0E6E4;
|
|
65
|
+
--xiaohei-conversation-meta: rgb(195 205 204 / 58%);
|
|
66
|
+
--xiaohei-conversation-user: rgb(117 158 154 / 13%);
|
|
67
|
+
--xiaohei-conversation-user-edge: rgb(143 177 173 / 12%);
|
|
68
|
+
--xiaohei-layer-content: rgb(27 35 37 / 92%);
|
|
69
|
+
--xiaohei-layer-content-edge: rgb(124 189 192 / 20%);
|
|
70
|
+
--xiaohei-layer-content-highlight: rgb(239 255 255 / 4%);
|
|
71
|
+
--xiaohei-shadow: rgb(0 5 7 / 30%);
|
|
72
|
+
--xiaohei-focus-shadow: rgb(105 182 186 / 14%);
|
|
73
|
+
--xiaohei-overlay-fill: rgb(22 29 31 / 88%);
|
|
74
|
+
--xiaohei-overlay-blur: 18px;
|
|
75
|
+
--xiaohei-overlay-saturation: 108%;
|
|
76
|
+
--xiaohei-plugin-workspace-fill: rgb(20 27 29 / 62%);
|
|
77
|
+
--xiaohei-plugin-pane-fill: rgb(27 35 37 / 46%);
|
|
78
|
+
--xiaohei-plugin-raised-fill: rgb(29 37 39 / 72%);
|
|
79
|
+
--xiaohei-plugin-control-fill: rgb(33 42 44 / 86%);
|
|
80
|
+
--xiaohei-plugin-surface-blur: 32px;
|
|
81
|
+
--xiaohei-plugin-surface-saturation: 112%;
|
|
82
|
+
--xiaohei-radius-panel: 16px;
|
|
83
|
+
--xiaohei-radius-control: 10px;
|
|
84
|
+
--xiaohei-radius-small: 8px;
|
|
85
|
+
--xiaohei-motion-fast: 140ms;
|
|
86
|
+
--xiaohei-motion-base: 190ms;
|
|
87
|
+
--xiaohei-motion-curve: cubic-bezier(0.16, 1, 0.3, 1);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
html[data-xiaohei-appearance='light'] {
|
|
91
|
+
--xiaohei-ink: #252C35;
|
|
92
|
+
--xiaohei-ink-soft: rgb(37 44 53 / 72%);
|
|
93
|
+
--xiaohei-spirit: #547D78;
|
|
94
|
+
--xiaohei-spirit-strong: #426A65;
|
|
95
|
+
--xiaohei-spirit-soft: rgb(84 125 120 / 10%);
|
|
96
|
+
--xiaohei-spirit-faint: rgb(84 125 120 / 5%);
|
|
97
|
+
--xiaohei-edge: rgb(84 125 120 / 19%);
|
|
98
|
+
--xiaohei-edge-strong: rgb(84 125 120 / 38%);
|
|
99
|
+
--xiaohei-surface: rgb(232 237 243 / 94%);
|
|
100
|
+
--xiaohei-surface-raised: rgb(241 244 248 / 97%);
|
|
101
|
+
--xiaohei-surface-muted: rgb(220 227 234 / 78%);
|
|
102
|
+
--xiaohei-sidebar-emphasis: #3F454C;
|
|
103
|
+
--xiaohei-sidebar-icon: rgb(48 54 61 / 68%);
|
|
104
|
+
--xiaohei-sidebar-hover: rgb(48 54 61 / 6%);
|
|
105
|
+
--xiaohei-sidebar-glass-fill: rgb(215 220 223 / 62%);
|
|
106
|
+
--xiaohei-sidebar-glass-solid: #E8EDEF;
|
|
107
|
+
--xiaohei-sidebar-glass-edge: rgb(255 255 255 / 88%);
|
|
108
|
+
--xiaohei-sidebar-glass-outline: rgb(42 50 56 / 14%);
|
|
109
|
+
--xiaohei-sidebar-glass-inner-edge: rgb(43 51 56 / 11%);
|
|
110
|
+
--xiaohei-sidebar-glass-highlight: rgb(255 255 255 / 88%);
|
|
111
|
+
--xiaohei-sidebar-glass-refraction: rgb(255 255 255 / 42%);
|
|
112
|
+
--xiaohei-sidebar-glass-specular: rgb(255 255 255 / 72%);
|
|
113
|
+
--xiaohei-sidebar-glass-saturation: 76%;
|
|
114
|
+
--xiaohei-sidebar-glass-brightness: 104%;
|
|
115
|
+
--xiaohei-sidebar-atmosphere-opacity: 0.28;
|
|
116
|
+
--xiaohei-sidebar-atmosphere-solid-opacity: 0.16;
|
|
117
|
+
--xiaohei-sidebar-control: rgb(255 255 255 / 26%);
|
|
118
|
+
--xiaohei-sidebar-control-edge: rgb(46 51 58 / 8%);
|
|
119
|
+
--xiaohei-sidebar-control-edge-hover: rgb(46 51 58 / 13%);
|
|
120
|
+
--xiaohei-sidebar-control-highlight: rgb(255 255 255 / 48%);
|
|
121
|
+
--xiaohei-sidebar-brush-ink: rgb(38 47 49 / 9%);
|
|
122
|
+
--xiaohei-sidebar-brush-ink-hover: rgb(38 47 49 / 14%);
|
|
123
|
+
--xiaohei-sidebar-shadow: rgb(23 30 34 / 14%);
|
|
124
|
+
--xiaohei-workspace-label: rgb(48 54 61 / 76%);
|
|
125
|
+
--xiaohei-space-frame-edge: rgb(46 51 58 / 8%);
|
|
126
|
+
--xiaohei-space-frame-highlight: rgb(255 255 255 / 32%);
|
|
127
|
+
--xiaohei-workspace-control-edge: rgb(46 51 58 / 9%);
|
|
128
|
+
--xiaohei-workspace-path: rgb(45 56 57 / 9%);
|
|
129
|
+
--xiaohei-workspace-path-active: rgb(84 125 120 / 22%);
|
|
130
|
+
--xiaohei-workspace-folder-open: rgb(84 125 120 / 6.5%);
|
|
131
|
+
--xiaohei-workspace-folder-edge: rgb(61 99 84 / 5.5%);
|
|
132
|
+
--xiaohei-workspace-folder-shadow: rgb(30 50 42 / 1.8%);
|
|
133
|
+
--xiaohei-workspace-row-hover: rgb(48 54 61 / 5%);
|
|
134
|
+
--xiaohei-workspace-row-active: rgb(48 54 61 / 7.5%);
|
|
135
|
+
--xiaohei-workspace-row-active-edge: rgb(46 51 58 / 5%);
|
|
136
|
+
--xiaohei-workspace-action-hover: rgb(48 54 61 / 7%);
|
|
137
|
+
--xiaohei-workspace-active-line: #547D78;
|
|
138
|
+
--xiaohei-workspace-active-line-glow: rgb(84 125 120 / 20%);
|
|
139
|
+
--xiaohei-workspace-rift-glow: rgb(84 125 120 / 8%);
|
|
140
|
+
--xiaohei-frame-line: rgb(84 125 120 / 22%);
|
|
141
|
+
--xiaohei-frame-line-strong: rgb(84 125 120 / 43%);
|
|
142
|
+
--xiaohei-frame-fill: rgb(224 231 238 / 58%);
|
|
143
|
+
--xiaohei-frame-fill-raised: rgb(238 242 247 / 88%);
|
|
144
|
+
--xiaohei-frame-inner: rgb(255 255 255 / 72%);
|
|
145
|
+
--xiaohei-frame-plaque: rgb(235 241 240 / 94%);
|
|
146
|
+
--xiaohei-frame-label: #294A46;
|
|
147
|
+
--xiaohei-frame-ink: #243633;
|
|
148
|
+
--xiaohei-layer-panel: rgb(226 232 239 / 78%);
|
|
149
|
+
--xiaohei-layer-panel-edge: rgb(84 125 120 / 11%);
|
|
150
|
+
--xiaohei-layer-panel-shadow: rgb(43 55 51 / 8%);
|
|
151
|
+
--xiaohei-conversation-text: #303842;
|
|
152
|
+
--xiaohei-conversation-meta: rgb(76 87 99 / 56%);
|
|
153
|
+
--xiaohei-conversation-user: rgb(84 125 120 / 10%);
|
|
154
|
+
--xiaohei-conversation-user-edge: rgb(84 125 120 / 10%);
|
|
155
|
+
--xiaohei-layer-content: rgb(238 242 247 / 94%);
|
|
156
|
+
--xiaohei-layer-content-edge: rgb(84 125 120 / 20%);
|
|
157
|
+
--xiaohei-layer-content-highlight: rgb(255 255 255 / 62%);
|
|
158
|
+
--xiaohei-shadow: rgb(43 55 51 / 11%);
|
|
159
|
+
--xiaohei-focus-shadow: rgb(84 125 120 / 13%);
|
|
160
|
+
--xiaohei-overlay-fill: rgb(232 237 243 / 90%);
|
|
161
|
+
--xiaohei-overlay-blur: 18px;
|
|
162
|
+
--xiaohei-overlay-saturation: 106%;
|
|
163
|
+
--xiaohei-plugin-workspace-fill: rgb(232 237 243 / 64%);
|
|
164
|
+
--xiaohei-plugin-pane-fill: rgb(238 242 247 / 46%);
|
|
165
|
+
--xiaohei-plugin-raised-fill: rgb(244 247 250 / 72%);
|
|
166
|
+
--xiaohei-plugin-control-fill: rgb(248 250 252 / 86%);
|
|
167
|
+
--xiaohei-plugin-surface-blur: 32px;
|
|
168
|
+
--xiaohei-plugin-surface-saturation: 106%;
|
|
169
|
+
}
|
|
170
|
+
`;
|
|
171
|
+
//# sourceMappingURL=tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/chrome/tokens.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwKxC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/chrome/workspace.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,eAAO,MAAM,qBAAqB,QAqTjC,CAAA"}
|