dsh-theme-endfield 1.1.9 → 1.2.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/README.md +118 -118
- package/client.js +10152 -10063
- package/docs/PR-description.md +141 -141
- package/docs/audio-notifications.md +133 -133
- package/docs/contour-scan-bounds.md +24 -24
- package/docs/contour-trail.md +61 -61
- package/docs/contour-worker.md +38 -38
- package/docs/design-language.md +212 -212
- package/docs/engineering-notes.md +1147 -1147
- package/docs/features.md +295 -295
- package/docs/glass.md +32 -32
- package/docs/testing.md +427 -427
- package/index.js +1403 -1403
- package/lib/audio.js +426 -426
- package/lib/slots.js +97 -97
- package/lib/tone.js +216 -216
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +113 -105
package/docs/glass.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# Optional frosted glass
|
|
2
|
-
|
|
3
|
-
The `glass` setting is `off` by default. `subtle`, `standard` and `strong` add
|
|
4
|
-
bounded local blur (8/14/22 px) to the docked right panel. The composer card
|
|
5
|
-
receives the same opaque glass fill **without** the backdrop filter, and the
|
|
6
|
-
sidebar receives a static tint/sheen only. Text, native geometry and the selected
|
|
7
|
-
palette remain under the theme's existing control. Dark surfaces use their own
|
|
8
|
-
opacity levels. Fullscreen panels, dialogs, code blocks and menus are excluded.
|
|
9
|
-
|
|
10
|
-
The composer card deliberately keeps no `backdrop-filter`: a backdrop filter
|
|
11
|
-
(like any filter) makes the element the containing block for `position: fixed`
|
|
12
|
-
descendants. The send-button tooltip is fixed-positioned from viewport
|
|
13
|
-
coordinates, so blurring the card resolved the tooltip's coords against the
|
|
14
|
-
shrunk card box — clipping it past the card's right edge and making its
|
|
15
|
-
ResizeObserver re-measure in a loop (visible layout jitter). Reported in
|
|
16
|
-
issue #19; keeping the opaque tint preserves the glass look at none of the cost.
|
|
17
|
-
|
|
18
|
-
Unsupported backdrop filters use a .96 opaque fill; reduced-transparency uses
|
|
19
|
-
an opaque fill and removes blur. Disabling the theme removes the material
|
|
20
|
-
attribute and stylesheet. Stronger tiers increase opacity as well as blur, so
|
|
21
|
-
background motion competes less with foreground text. Blur still has a GPU cost;
|
|
22
|
-
this feature is not a performance optimization and does not promise video FPS.
|
|
23
|
-
|
|
24
|
-
Table hover now uses a 15% accent tint over the base surface with normal text,
|
|
25
|
-
while text selection retains the full accent with black text. This addresses
|
|
26
|
-
issue #18 independently of whether glass is enabled.
|
|
27
|
-
|
|
28
|
-
Validation: `npm run test:glass` (Node 22+, Chrome/Edge; `CHROME_PATH` supported)
|
|
29
|
-
checks four light/dark × valley/Wuling combinations, all opacity/blur tiers,
|
|
30
|
-
stable geometry, AA text contrast on hovered/selected cells, reduced-transparency,
|
|
31
|
-
fullscreen exclusion and teardown. The browser fixture uses isolated temporary
|
|
32
|
-
profiles and no account or model requests.
|
|
1
|
+
# Optional frosted glass
|
|
2
|
+
|
|
3
|
+
The `glass` setting is `off` by default. `subtle`, `standard` and `strong` add
|
|
4
|
+
bounded local blur (8/14/22 px) to the docked right panel. The composer card
|
|
5
|
+
receives the same opaque glass fill **without** the backdrop filter, and the
|
|
6
|
+
sidebar receives a static tint/sheen only. Text, native geometry and the selected
|
|
7
|
+
palette remain under the theme's existing control. Dark surfaces use their own
|
|
8
|
+
opacity levels. Fullscreen panels, dialogs, code blocks and menus are excluded.
|
|
9
|
+
|
|
10
|
+
The composer card deliberately keeps no `backdrop-filter`: a backdrop filter
|
|
11
|
+
(like any filter) makes the element the containing block for `position: fixed`
|
|
12
|
+
descendants. The send-button tooltip is fixed-positioned from viewport
|
|
13
|
+
coordinates, so blurring the card resolved the tooltip's coords against the
|
|
14
|
+
shrunk card box — clipping it past the card's right edge and making its
|
|
15
|
+
ResizeObserver re-measure in a loop (visible layout jitter). Reported in
|
|
16
|
+
issue #19; keeping the opaque tint preserves the glass look at none of the cost.
|
|
17
|
+
|
|
18
|
+
Unsupported backdrop filters use a .96 opaque fill; reduced-transparency uses
|
|
19
|
+
an opaque fill and removes blur. Disabling the theme removes the material
|
|
20
|
+
attribute and stylesheet. Stronger tiers increase opacity as well as blur, so
|
|
21
|
+
background motion competes less with foreground text. Blur still has a GPU cost;
|
|
22
|
+
this feature is not a performance optimization and does not promise video FPS.
|
|
23
|
+
|
|
24
|
+
Table hover now uses a 15% accent tint over the base surface with normal text,
|
|
25
|
+
while text selection retains the full accent with black text. This addresses
|
|
26
|
+
issue #18 independently of whether glass is enabled.
|
|
27
|
+
|
|
28
|
+
Validation: `npm run test:glass` (Node 22+, Chrome/Edge; `CHROME_PATH` supported)
|
|
29
|
+
checks four light/dark × valley/Wuling combinations, all opacity/blur tiers,
|
|
30
|
+
stable geometry, AA text contrast on hovered/selected cells, reduced-transparency,
|
|
31
|
+
fullscreen exclusion and teardown. The browser fixture uses isolated temporary
|
|
32
|
+
profiles and no account or model requests.
|