dsh-fish-ui 0.2.2 → 0.3.1

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 CHANGED
@@ -1,20 +1,19 @@
1
1
  # dsh-fish-ui
2
2
 
3
- **Deep Fish UI** — a dot-matrix theme for the DeepSeek Harness Web UI: a fish drawn in dots on the blank home, whale-blue accents, a reading layout, a code palette, and a **Fish finish** layer with Maple Mono NF CN, composer glow and soft motion.
3
+ **Deep Fish UI** — a Catppuccin-themed, dot-matrix theme for the DeepSeek Harness Web UI: the whale-girl maid drawn in dots on the blank home, aurora light, pointer physics, thinking and text motion, Maple Mono NF CN type, and a switchable **Fish finish** layer.
4
4
 
5
- Everything is switchable from **Settings → Plugins → dsh-fish-ui**, or the **Deep Fish UI** action in the sidebar footer.
5
+ Everything is toggleable from **Settings → Plugins → dsh-fish-ui**, or the **Deep Fish UI** action in the sidebar footer.
6
6
 
7
7
  ## What's inside
8
8
 
9
- - **Fish hero**: the dot-matrix fish and wordmark on a blank session, plus a full-page dot field, a slow bottom wave, and pointer ripples.
10
- - **Thinking**: a rotating dot sphere beside the live status, and an optional English status label.
11
- - **Reading layout**: roomier paragraphs, headings and quotes; muted syntax colours; a re-inked diff palette.
12
- - **Whale-blue accents**: bold runs in chat prose, the composer focus ring, and sidebar details.
13
- - **Fish finish**:
14
- - **Maple Mono NF CN** across the UI, inputs, prose and code, with `ss01` / `cv01` / `liga`;
15
- - **Composer glow**: 16px radius and a soft accent ring on focus;
16
- - **Code surface**: rounded code blocks with a hairline border and tinted inline-code pills;
17
- - **Soft motion**: buttons lift 1px on hover; all motion is disabled under `prefers-reduced-motion`.
9
+ - **Catppuccin palette**: Latte / Mocha backgrounds, text, borders, sidebar and accents, plus the code and diff palettes.
10
+ - **Whale-girl hero**: the dot-matrix maid portrait and wordmark on a blank session, a full-page dot field, a slow bottom wave and pointer ripples.
11
+ - **Aurora**: slowly drifting gradient light behind the interface, breathing with the accent colour.
12
+ - **Pointer physics**: a soft glow that follows the cursor, and a subtle 3D tilt on the composer.
13
+ - **Thinking & text motion**: replies rise in, reasoning blocks shimmer gently, streaming text keeps a calm breathing rhythm.
14
+ - **Fish finish**: Maple Mono NF CN across the UI and code with `ss01` / `cv01` / `liga`, a 16px composer with accent focus glow, rounded code surfaces, and motion-safe hover.
15
+
16
+ All motion is disabled under `prefers-reduced-motion`.
18
17
 
19
18
  ## Install
20
19
 
@@ -22,35 +21,25 @@ Everything is switchable from **Settings → Plugins → dsh-fish-ui**, or the *
22
21
  dsh plugin --profile <profile> add dsh-fish-ui
23
22
  ```
24
23
 
25
- Then **fully quit and reopen DSH** (Cmd+Q on macOS, not just a page refresh) so the client half mounts.
26
-
27
- From a local checkout:
28
-
29
- ```bash
30
- dsh plugin --profile <profile> add /absolute/path/to/dsh-fish-ui
31
- ```
24
+ Then **fully quit and reopen DSH** (Cmd+Q on macOS, not just a page refresh).
32
25
 
33
26
  ## Font
34
27
 
35
- Install the font once per machine:
36
-
37
28
  ```bash
38
29
  brew install --cask font-maple-mono-nf-cn
39
30
  ```
40
31
 
41
- Without it the stack falls back to the system monospace font; everything else still works, and the font layer can be turned off in settings.
32
+ Without it the stack falls back to the system monospace font; the font layer can be turned off in settings.
42
33
 
43
- ## Settings
34
+ ## Settings groups
44
35
 
45
- The settings sheet groups preferences into **Interface & reading**, **Hero**, **Thinking**, **Composer**, **Sidebar**, **Accents**, and **Fish finish**. Changes apply immediately and are saved to the profile configuration.
36
+ **Interface & reading** · **Hero** · **Thinking** · **Composer** · **Sidebar** · **Accents** · **Fish finish** · **Catppuccin & motion**
46
37
 
47
38
  ## Compatibility
48
39
 
49
40
  - DeepSeek Harness `>=0.2.2-rc.3 <0.3.0`
50
41
  - Node.js `>=22`
51
42
 
52
- Do not install two theme plugins that own the same slots at once; disable one before enabling the other.
53
-
54
43
  ## License
55
44
 
56
45
  MIT. See [LICENSE](./LICENSE).
package/client.js CHANGED
@@ -25,13 +25,13 @@ window.__ModuleLoader__.load({
25
25
  /* ------------------------------------------------------------ hero mascot */
26
26
 
27
27
  /** Dot grid sampled from the mascot artwork: one hex digit per cell. */
28
- const FISH_COLUMNS = 104
29
- const FISH_ROWS = 73
30
- const FISH_GRID = '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066666666666666660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666666666666600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666666666666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000666666666660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066666666600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066666666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbbbbbbbbbbb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbbbb7777777777777bbbbb00000000000000004400000000000000000000000000000000000000000000000000000000000bbbb77777777777777777777777bbbb00000000000000000000000000000000000000000000000000000000000000000000000bbb77777779999999999999977777777bbb0000000000000044400000000000000000000000000000000000000000000000000bb7777779999999999999999999999777777bbb000000000000444000000000000000000000000000000000000000000000000bb77777799999999999999999999999999977777bbb000000000000000000000000000000000000000000000000000006600000bb77777999999999999999999999999999999977777bb0000044400000000000000000000000000000000000000000000666000bb7777999999999999999999999999999990999997777bb00044440000000000000000000000000000000000000000000066666bb777799999999999999999999999999990000099997777bb000040000000000000000000000000000000000000000000006666bb7777999999999999999999999999999900000099999777bb000000000000000000000000000000000000000000000000006666bb77799999999999999999999999999999000000999997777bb0000000000000000000000000000000000000000000000000666bb777799999999999999999999999999999990009999999777bb0000000000000000000000000000000000000000000000000666bb777799999999999999999999999999999999999999999777bb0000000000000000000000000000000000000000000000000666bb777799999999999999999999999999999999999999999770000000000000000000000000000000000000000000000000000666bb7777999999999999999999999999999999999999999997700000000000000000000000000000000000000000000000000006666bb77779999999999999999999999999999999999999997777bb00000000000000000000000000000000000000000000000006666bb7777999999999999999999999999999999999999997777bb0000000000000000000000000000000000000000000000000066660bb777799999999999999999999999999999999999997777bb00000000000000000000000000000000000000000000000000666000bb7777999999999999999999999999999999999977777bb0000000000000000000000000000000000000000000000000006600000bb77777999999999999999999999999999999977777bb000000000000000000000000000000000000000000000000000000000000bbb7777799999999999999999999999999977777bb0000000000000000000000000000000000000000000000000000000000000000bb7777779999999999999999999999777777bbb0000000000000000000000000000000000000000000000000000000000000000000bbb77777777999999999999977777777bbb00000000000000000000000000000000000000000000000000000000000000000000006bbbb77777777777777777777777bbb000000000000000000000000000000000000000000000000000000000000000000000000066666bbbbb777777777777bbbbbb000000000000000000000000000000000000000000000000000000000000000000000000000066666660000bbbbbbbbbbb0000000000000000000000000000000000000000000000000000000000000000000000000000000000666666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
28
+ const GIRL_COLUMNS = 104
29
+ const GIRL_ROWS = 73
30
+ const GIRL_GRID = '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013133112320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000163116400000264223200000000000000000000000000000000000000000000000000000000000000000000000000000000000326000001000000a800134000000000000000000000000000000000000000000000000000000000000000000000000000000002500000001200020000000014000000000000000000000000000000000000000000000000000000000000000000000000000000353000310023201320020000050000000000000000000000000000000000000000000000000000000000000000000000000000003000003310000000001300001b33300000000000000000000000000000000000000000000000000000000000000000000000000100010110035457764200000022002400000000000000000000000000000000000000000000000000000000000000000000000030000300006aba999accb820022000003000000000000000000000000000000000000000000000000000000000000000000000031000000224abbaa976778bca300200008900000000000000000000000000000000000000000000000000000000000000000000a1031005789787777898777679c8000000055000000000000000000000000000000000000000000000000000000000000000000b800220a98b96777777788777777ab30001008100000000000000000000000000000000000000000000000000000000000000007f00002b97b97777777777777777768c402100460000000000000000000000000000000000000000000000000000000000000000ef4000a9699777777777777778777677b600000a2000000000000000000000000000000000000000000000000000000000000000820107a68978777777777777778766788b30000c220000000000000000000000000000000000000000000000000000000000000300003b77887877777777877777787677889220af30300000000000000000000000000000000000000000000000000000000000130000897787787777777797754778877779960025d002000000000000000000000000000000000000000000000000000000000040000297777778777875878a777677977777981000870300000000000000000000000000000000000000000000000000000000003101069878778777865578779777778977778a70105a0300000000000000000000000000000000000000000000000000000000000c60288778778877744778855977777987777994004b0401000000000000000000000000000000000000000000000000000000008d00596788777777757878880497777897777888009a059800000000000000000000000000000000000000000000000000000002e00077578878668777777899203987779777778931ea57780000000000000000000000000000000000000000000000000000000aa004956788784587777777894246988789787788648688681000000000000000000000000000000000000000000000000000000ec00784679878439877777868710049888a74778877667da30000000000000000000000000000000000000000000000000000002fe20964779878408877777856800005878836877877749dd800000000000000000000000000000000000000000000000000000003c01857679879305977777762910000327985487876a7bbad90000000000000000000000000000000000000000000000000000000e00778679878433887877782610001620864877786aecbaad700000000000000000000000000000000000000000000000000002dda47786798787005868867755205cffde4587778887bbbaaad7000000000000000000000000000000000000000000000000004dccdb677778979300076788777604fc5d48fa77778868aaaaaaad50000000000000000000000000000000000000000000000003c2bcc9677778976300046677777704cb7ca0b96777796bbaaaaaaad400000000000000000000000000000000000000000000000a91ebb8777777974300002477776460abe8a02387877889acbaaaaabc2000000000000000000000000000000000000000000000009edba77777779812039a7038678400687660058787689703accbaaabc1000000000000000000000000000000000000000000000004ba977777778900dffab603624520073430087886599c00037bccbabc000000000000000000000000000000000000000000000000ba878787778908c9c89b001100000121104789756a9a900000369ccdb0000000000000000000000000000000000000000000000aca88969777893f26bbe91000111111111347a8649a98b8100000015afc000000000000000000000000000000000000000000006caa8996a877786f01a6562011111111222237a669aa888cb7414600000aa0000000000000000000000000000000000000000002daaa89b6a96777b9502742111111000111110586999998799047558778698000000000000000000000000000000000000000000bbaabaa969a77778600022011110012201100177aa7999777a400000210210000000000000000000000000000000000000000009caaadc6078b877779501112111036666010028aaa76a9a777880000000000000000000000000000000000000000000000000006daabda144a7aa778777401211105a434201000bb996699a86778400000000000000000000000000000000000000000000000005daaca4002aa7898789777532111014343101009d987769aa9677781000000000000000000000000000000000000000000000003dbcc700006c99788977a8473001110011001009db877768a9976767700000000000000000000000000000000000000000000000ddc8200005c9998789a868acb20000000011004cbb777667a9a8676786000000000000000000000000000000000000000000000bb600008867aa88977899967abc8310000000235baa7774678a99666759600000000000000000000000000000000000000000000d6269893007b9787778a788779aabcba52213425cb898536889997667509700000000000000000000000000000000000000000000562020000b97788889a967898989bb65444433278aa7647798998666810780000000000000000000000000000000000000000000000000007b7777225bca7768b989b802333331015c977677a889966777004830000000000000000000000000000000000000000000000000b7778410007c8676898ac502122222203c9877669a88a97878400096000000000000000000000000000000000000000000000006878861220003957889984001019491111ba986569a99aa447781000991000000000000000000000000000000000000000000006878785022000047576608100107e1e6000069a5458bb82000777600008a300000000000000000000000000000000000000000498787787113a00017454607a8bbac969b676067264478200000576840000995000000000000000000000000000000000000005996888788620aa0100835b607edbbdb687bdcccc6295362000000576682000198520000000000000000000000000000000000587204876892004b00214834a904fcbba9677bcbacb07a844500000098666700006965300000000000000000000000000000005740001977799000ad000077446b00cdcbada09caaae702977662001009a7666600029706200000000000000000000000000000970000088768a8102ce200085448d101cbabd706eaabb002d967885300005966665101881060000000000000000000000000001a70000078777999206cda0028435c6002babcc201dcbb7002bea6889940006a8766662588303500000000000000000000000000990000079776898a609bce005634ac006fbabbb010bbbac7002de22878a810398875555779200710000000000000000000000007a50000797777989911bbbc006348f9003bdcac60e57cabcf6008d80877984607988755545700073000000000000000000000003995003897776987a503daae81659df6000047dc30005dbbb81002dd27777906259888854545510850000000000000000000000078894688777679789006caad9593aed0001100c901001cd2000000af8677771b429888885455566740000000000000000000000098777787777787789308cab97820df4001000021000008400011004c7778726d60398888974454566400000000000000000000019665687777678778787aab768300eb00010001011200100120000158857a20cf702987876985445768740000000000000000003666668777777877767bcab8679002f40001000100013500001000000af752005f706a7789008a53450488500000000000000038867667877787787777bbab9776bb02e00000000000009e000010000002fa00009d6099877930099634303783000000000000189402766787789778778baaaa89769fa2d000000000000000000000000000dc0006dc6059877870079973530486000000000005a4000766687889777777baaaaa8b757e52d000000000000100100000000000ad003fbc606787778008889745106700000000008a1000676568888877787abaaaaa9aa77901f3000000000001001000000000008c000acba3777877900977896550070000000008b00001756568888877787baaaaaaa9baba00f8002210000000000000000000009b000cbab967678785787788966305000000007a4000046466588888777769cbaaaaaaaabd10be1123232100106a001000000000c800ccaaaa767677788777a258556400000004980000065466579888777765acbbaaaaabbcc04f9012222321107c011011122005f200dbaaab96776777777880086561000000078700001654465688887775665bbbbaaaaabcd009f702222223221012233323321ec02bcbaaaab86776777788000475620'
31
31
  const GIRL_LINES = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001221000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050551247200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e601e8000001b624620000000000000000000000000000000000000000000000000000000000000000000000000000000000061f000000000000ff00068000000000000000000000000000000000000000000000000000000000000000000000000000000004b000000004000300000000090000000000000000000000000000000000000000000000000000000000000000000000000000006c5000600015100520030000080000000000000000000000000000000000000000000000000000000000000000000000000000005000005700000000000400000f55700000000000000000000000000000000000000000000000000000000000000000000000000100020000012125521100000021002800000000000000000000000000000000000000000000000000000000000000000000000070000600003fea779dfff910011000005000000000000000000000000000000000000000000000000000000000000000000000050000000112deb98422225efe10010000ff00000000000000000000000000000000000000000000000000000000000000000000f006000259b233233353322239fb000000099000000000000000000000000000000000000000000000000000000000000000000fd00110f95f52223222233323323cf1000000f000000000000000000000000000000000000000000000000000000000000000007f00001f82a43333333332333333324f2010005c0000000000000000000000000000000000000000000000000000000000000000ff1000f9254333333333333333333223f400000f1000000000000000000000000000000000000000000000000000000000000000f10008e23433333333333333323322333f10000f110000000000000000000000000000000000000000000000000000000000000300001f3333333333333332322234223335d110ff10400000000000000000000000000000000000000000000000000000000000060000983333333333333353222323422326920012f0010000000000000000000000000000000000000000000000000000000000700001d33333333334223239232232632323990000da0300000000000000000000000000000000000000000000000000000000004000059333333333322223337333323523324b70002f0100000000000000000000000000000000000000000000000000000000000f901b5333323333212233322b333326323336c1001f010000000000000000000000000000000000000000000000000000000000cf002b22333332332224343601a333236233237800bf02ee00000000000000000000000000000000000000000000000000000001f00085233324224333332369101a43326323334910fb246d0000000000000000000000000000000000000000000000000000000ff002c22333262273333333492116b733342333452152332b0000000000000000000000000000000000000000000000000000000ff00791234337119333333327a0002c533a31233332223f810000000000000000000000000000000000000000000000000000001ff10d22234338108633332422d00002735612433323313cf300000000000000000000000000000000000000000000000000000001f00a22235339102933322321f0000011287223333273743f80000000000000000000000000000000000000000000000000000000f005242343381118533222618000002104213333324f8433f400000000000000000000000000000000000000000000000000001ff813332243288004825322522102fffff1253323333654344f2000000000000000000000000000000000000000000000000001fc9d823332342b100082453224601fd2f13f9333233234333344f20000000000000000000000000000000000000000000000001f16683233323634100013233324901f72c90f82333342894333335f100000000000000000000000000000000000000000000000f90f453233323751100001163242270bdf3c011423323347e9433336f100000000000000000000000000000000000000000000000dfd4432333326801018d201b46b200572260025333233201afc84349f0000000000000000000000000000000000000000000000001a4323333334900fff7c2017129100b1110083432243f00013dfd97bf000000000000000000000000000000000000000000000000b5333233233806f3a36f000100000010002547322739900000128ffff0000000000000000000000000000000000000000000000cb533325322361f12ccfb0000000000000124b3225733e7000000002bff000000000000000000000000000000000000000000002f4433327322342f00e2251000000000111116b22584333ff9204a00000ff0000000000000000000000000000000000000000001f54433a2642323c9201a1100000000000001023243333325b03d86fced4fe000000000000000000000000000000000000000000f943548724822224200011000000001100000043662334223d100000100100000000000000000000000000000000000000000008e444ff2023932322b20000100002babe00001896932434322780000000000000000000000000000000000000000000000000002f548fa0119276333225100110009f214200000ea33224353222a200000000000000000000000000000000000000000000000002f66eb1001b72343235325211000005343000008f3332234432224a0000000000000000000000000000000000000000000000001fbdf300002e333333239322100000000000000af932222363422226a00000000000000000000000000000000000000000000000fff5100002f434333383238ff10000000000001f8722322353532223b8000000000000000000000000000000000000000000000ff20000ff45b5333323433228bf5100000000112e73232123343422222e900000000000000000000000000000000000000000000f515fef1003a3233223533322389dfff41102612fa33321233335222420fb00000000000000000000000000000000000000000000591010000f622557477323343333be36255411134662222343333222800cf0000000000000000000000000000000000000000000000000005f2236112ff922238333c601111111002f4332227333522246003f10000000000000000000000000000000000000000000000000f3337100006f52323437f201011111101f43322245338836491000fb000000000000000000000000000000000000000000000005623440110001d2253675100000c1f0000fa542224767ef1175b0000ff0000000000000000000000000000000000000000000004734352011000015242207000004f1f2000027d2125df9100065780000ff1000000000000000000000000000000000000000002e9343376001f00009121203b3dd8f324d222022121169100000272a10000ff3000000000000000000000000000000000000006ff2633269710ff0000c12f303fc66e72338eceef21c21410000002622b10001fa6100000000000000000000000000000000009fc1026323a1001f00102c11da02f744332237754ce03f6214000000e9222900005d46200000000000000000000000000000009f50000b3228a000cf0000b7112f00fc444d803a444f30172225100000fe222470001c70a100000000000000000000000000000fc00000b522398001ff1000d2126f000c444f302f444c001f6236a2100002922246000bc00d0000000000000000000000000000fc000008822246a102efb001d112f20018447f100f8463001ff9256ab20003c42224712ab102900000000000000000000000000ff000008b322354b20899f005511af005f9446c000b644d2001ff11536fc001c542222257e100f00000000000000000000000009f200009b3223536a10d46d006113f8001ffa4e20f22c45df7007f303328815056353222129000e3000000000000000000000001d92001aa3222433a201f44f30325ff2000013ff10002faafa0001ff12322904129334422222400d500000000000000000000000995a12a7222234338002e44f62c18ff0000000fd00000ff1000000cf3233440f2195334421223659100000000000000000000000c6322452222243337103a4632910ff100000001000000d200012001f2337712f2018333493112123610000000000000000000000c222242222233333232558325100ff00010000000400000010000025322f10ff201933432ca211287dc200000000000000000017322243222323333229a463228001f10001000000002700000000000df321002f202b323900ae212201cd60000000000000002fd6622243223323332375443222cf01f0000100010000ff000010000001fb00006f20b8322b100ab212101be10000000000000ff3016223322352333237444434225fb1f000000001000000000010000000ff0002fe20284228600598212101f8000000000007f500083223333432333364443439222f21f000000001000000000000000000ef001f9c20235324b008538313009d0000000000ef0000772223333332233554443434422500f1000000000000000000000000009f00089641323422a009234922400e000000000df00001922224333322233a44344443448900f900140000000000000000000000df000d547522233252242246a24109000000009f1000056242253333222323c4433444444f00ff001324200000cf000000000000fa00fc4446222223255222c12b229300000001eb000008312223433322232249444444445cf01fb00111241000df000000133002f100f64446322222322228900c32900000000ab80000082112224333223222244444444448f007f701111224110001246323310ff01fd44444832222322248000172810'
32
32
 
33
33
  /** Grid aspect (width / height), used to keep the portrait undistorted. */
34
- const GIRL_ASPECT = FISH_COLUMNS / FISH_ROWS
34
+ const GIRL_ASPECT = GIRL_COLUMNS / GIRL_ROWS
35
35
 
36
36
  /** Wordmark set in dots on the left: two lines, sampled from live text. */
37
37
  const LOCKUP_LINES = ['deepseek', 'harness']
@@ -87,11 +87,11 @@ window.__ModuleLoader__.load({
87
87
  for (let index = 0; index < cells.length; index += 1) {
88
88
  const weight = Number.parseInt(cells[index], 16)
89
89
  if (!(weight > 0)) continue
90
- const row = Math.floor(index / FISH_COLUMNS)
91
- const column = index % FISH_COLUMNS
90
+ const row = Math.floor(index / GIRL_COLUMNS)
91
+ const column = index % GIRL_COLUMNS
92
92
  dots.push({
93
- u: (column + 0.5) / FISH_COLUMNS,
94
- v: (row + 0.5) / FISH_ROWS,
93
+ u: (column + 0.5) / GIRL_COLUMNS,
94
+ v: (row + 0.5) / GIRL_ROWS,
95
95
  a: weight / 15,
96
96
  phase: Math.random() * TAU,
97
97
  speed: 0.5 + Math.random() * 0.8,
@@ -106,7 +106,7 @@ window.__ModuleLoader__.load({
106
106
  * @returns dots in normalised space.
107
107
  */
108
108
  function mascotDots() {
109
- if (dotModel === undefined) dotModel = decodeGrid(FISH_GRID)
109
+ if (dotModel === undefined) dotModel = decodeGrid(GIRL_GRID)
110
110
  return dotModel
111
111
  }
112
112
 
@@ -120,22 +120,22 @@ window.__ModuleLoader__.load({
120
120
  */
121
121
  function invertedDots() {
122
122
  if (lineModel !== undefined) return lineModel
123
- const total = FISH_COLUMNS * FISH_ROWS
123
+ const total = GIRL_COLUMNS * GIRL_ROWS
124
124
  const occupied = new Uint8Array(total)
125
125
  const weight = new Float32Array(total)
126
- for (let index = 0; index < FISH_GRID.length && index < total; index += 1) {
127
- const value = Number.parseInt(FISH_GRID[index], 16)
126
+ for (let index = 0; index < GIRL_GRID.length && index < total; index += 1) {
127
+ const value = Number.parseInt(GIRL_GRID[index], 16)
128
128
  if (!(value > 0)) continue
129
129
  occupied[index] = 1
130
130
  weight[index] = value / 15
131
131
  }
132
- const rowFirst = new Int32Array(FISH_ROWS).fill(-1)
133
- const rowLast = new Int32Array(FISH_ROWS).fill(-1)
134
- const columnFirst = new Int32Array(FISH_COLUMNS).fill(-1)
135
- const columnLast = new Int32Array(FISH_COLUMNS).fill(-1)
136
- for (let row = 0; row < FISH_ROWS; row += 1) {
137
- for (let column = 0; column < FISH_COLUMNS; column += 1) {
138
- if (occupied[row * FISH_COLUMNS + column] === 0) continue
132
+ const rowFirst = new Int32Array(GIRL_ROWS).fill(-1)
133
+ const rowLast = new Int32Array(GIRL_ROWS).fill(-1)
134
+ const columnFirst = new Int32Array(GIRL_COLUMNS).fill(-1)
135
+ const columnLast = new Int32Array(GIRL_COLUMNS).fill(-1)
136
+ for (let row = 0; row < GIRL_ROWS; row += 1) {
137
+ for (let column = 0; column < GIRL_COLUMNS; column += 1) {
138
+ if (occupied[row * GIRL_COLUMNS + column] === 0) continue
139
139
  if (rowFirst[row] < 0) rowFirst[row] = column
140
140
  rowLast[row] = column
141
141
  if (columnFirst[column] < 0) columnFirst[column] = row
@@ -143,16 +143,16 @@ window.__ModuleLoader__.load({
143
143
  }
144
144
  }
145
145
  const dots = []
146
- for (let row = 0; row < FISH_ROWS; row += 1) {
147
- for (let column = 0; column < FISH_COLUMNS; column += 1) {
146
+ for (let row = 0; row < GIRL_ROWS; row += 1) {
147
+ for (let column = 0; column < GIRL_COLUMNS; column += 1) {
148
148
  if (row < columnFirst[column] || row > columnLast[column]) continue
149
149
  if (column < rowFirst[row] || column > rowLast[row]) continue
150
- const index = row * FISH_COLUMNS + column
150
+ const index = row * GIRL_COLUMNS + column
151
151
  const alpha = occupied[index] === 1 ? 1 - weight[index] : 1
152
152
  if (alpha < 0.45) continue
153
153
  dots.push({
154
- u: (column + 0.5) / FISH_COLUMNS,
155
- v: (row + 0.5) / FISH_ROWS,
154
+ u: (column + 0.5) / GIRL_COLUMNS,
155
+ v: (row + 0.5) / GIRL_ROWS,
156
156
  a: alpha,
157
157
  phase: Math.random() * TAU,
158
158
  speed: 0.5 + Math.random() * 0.8,
@@ -390,16 +390,16 @@ window.__ModuleLoader__.load({
390
390
  // and the space above the composer (the pair hangs above it instead of
391
391
  // being covered by it).
392
392
  const availW = limit * 0.94
393
- const pairCells = LOCKUP_COLUMNS + FISH_COLUMNS - 30
393
+ const pairCells = LOCKUP_COLUMNS + GIRL_COLUMNS - 30
394
394
  const bandTop = composerTop > 140 ? composerTop : height * 0.86
395
- const heightPitch = Math.max(1, bandTop - 8) / FISH_ROWS
395
+ const heightPitch = Math.max(1, bandTop - 8) / GIRL_ROWS
396
396
  let pitch = Math.min(DOT_PITCH, availW / pairCells, heightPitch)
397
397
  let showText = true
398
398
  if (pitch < TEXT_MIN_PITCH) {
399
399
  // Only when the type would fall below the readable floor: drop the
400
400
  // wordmark and keep the portrait as large as it can be.
401
401
  showText = false
402
- pitch = Math.min(DOT_PITCH, availW / FISH_COLUMNS, heightPitch)
402
+ pitch = Math.min(DOT_PITCH, availW / GIRL_COLUMNS, heightPitch)
403
403
  }
404
404
  if (pitch < 2.2) {
405
405
  context.setTransform(dpr, 0, 0, dpr, 0, 0)
@@ -408,8 +408,8 @@ window.__ModuleLoader__.load({
408
408
  }
409
409
  const blockW = LOCKUP_COLUMNS * pitch
410
410
  const blockH = LOCKUP_ROWS * pitch
411
- const portraitW = FISH_COLUMNS * pitch
412
- const portraitH = FISH_ROWS * pitch
411
+ const portraitW = GIRL_COLUMNS * pitch
412
+ const portraitH = GIRL_ROWS * pitch
413
413
  const overlap = Math.max(8, pitch * 30)
414
414
  const pairW = blockW + portraitW - overlap
415
415
 
@@ -2370,6 +2370,7 @@ body:not([data-ds-dark-theme]) [class*="_sessionRow"][class*="_selected"] {
2370
2370
  'hero', 'field', 'wave', 'ripple', 'thinkingSphere', 'thinkingLabel',
2371
2371
  'glass', 'effortBadge', 'sidebarDots', 'sidebarRail', 'bold', 'focusRing', 'diff',
2372
2372
  'reading', 'code', 'fishFont', 'fishGlow', 'fishMotion', 'fishCode',
2373
+ 'catppuccin', 'aurora', 'cursor', 'textMotion',
2373
2374
  ].map(key => [key, true])))
2374
2375
  const DC_OFF_CLASS = Object.freeze(Object.fromEntries(Object.keys(DC_DEFAULT_SETTINGS)
2375
2376
  .map(key => [key, 'dc-off-' + key.toLowerCase()])))
@@ -2426,10 +2427,29 @@ body:not([data-ds-dark-theme]) [class*="_sessionRow"][class*="_selected"] {
2426
2427
  '--dc-accent': dcModes('#3269B7', '#8AB6FA'),
2427
2428
  '--dc-focus': dcModes('rgb(50 105 183 / 18%)', 'rgb(138 182 250 / 18%)'),
2428
2429
  }
2430
+ const DC_CAT = {
2431
+ '--dsw-alias-bg-base': dcModes('#eff1f5', '#1e1e2e'),
2432
+ '--dsw-alias-bg-layer-1': dcModes('#e6e9ef', '#181825'),
2433
+ '--dsw-alias-bg-layer-2': dcModes('#dce0e8', '#11111b'),
2434
+ '--dsw-alias-bg-overlay': dcModes('#eff1f5', '#181825'),
2435
+ '--dsw-alias-border-l1': dcModes('#bcc0cc', '#313244'),
2436
+ '--dsw-alias-border-l2': dcModes('#acb0be', '#45475a'),
2437
+ '--dsw-alias-label-primary': dcModes('#4c4f69', '#cdd6f4'),
2438
+ '--dsw-alias-label-secondary': dcModes('#6c6f85', '#a6adc8'),
2439
+ '--dsw-specific-sidebar-fill': dcModes('#e6e9ef', '#181825'),
2440
+ '--dsw-alias-brand-primary': dcModes('#1e66f5', '#89b4fa'),
2441
+ '--dsw-alias-state-success-primary': dcModes('#40a02b', '#a6e3a1'),
2442
+ '--dsw-alias-state-warn-primary': dcModes('#df8e1d', '#f9e2af'),
2443
+ '--dsw-alias-state-error-primary': dcModes('#d20f39', '#f38ba8'),
2444
+ '--dsw-alias-state-idle-primary': dcModes('#8c8fa1', '#7f849c'),
2445
+ '--dc-accent': dcModes('#8839ef', '#cba6f7'),
2446
+ '--dc-focus': dcModes('rgb(136 57 239 / 18%)', 'rgb(203 166 247 / 18%)'),
2447
+ }
2429
2448
  function dcSyncTheme() {
2430
2449
  if (dcTheme === null) return
2431
2450
  for (const [name, enabled, tokens] of [
2432
2451
  ['identity', true, DC_IDENTITY],
2452
+ ['catppuccin', dcSettings.catppuccin, DC_CAT],
2433
2453
  ['code', dcSettings.code, DC_CODE], ['diff', dcSettings.diff, DC_DIFF],
2434
2454
  ]) {
2435
2455
  if (enabled && !dcThemeLayers.has(name)) {
@@ -2632,6 +2652,18 @@ body:not([data-ds-dark-theme]) [class*="_sessionRow"][class*="_selected"] {
2632
2652
  fishMotion: ['Soft motion', 'Buttons lift on hover and surfaces ease between states'],
2633
2653
  fishCode: ['Code surface', 'Rounded code blocks and tinted inline-code pills'],
2634
2654
  })
2655
+ Object.assign(DC_COPY.zh.items, {
2656
+ catppuccin: ['Catppuccin 配色', 'Latte / Mocha 全套背景、文字、边框与强调色'],
2657
+ aurora: ['极光背景', '缓慢流动的渐变光晕,随主题色呼吸'],
2658
+ cursor: ['指针物理', '跟随指针的柔光、输入框微倾斜'],
2659
+ textMotion: ['思考与文字动效', '回复浮入、思考块微光、流式文字呼吸感'],
2660
+ })
2661
+ Object.assign(DC_COPY.en.items, {
2662
+ catppuccin: ['Catppuccin palette', 'Latte / Mocha backgrounds, text, borders and accents'],
2663
+ aurora: ['Aurora field', 'Slow drifting gradient light that breathes with the accent'],
2664
+ cursor: ['Pointer physics', 'A cursor-following glow and a subtle composer tilt'],
2665
+ textMotion: ['Thinking & text motion', 'Replies rise in, reasoning shimmers, streaming text breathes'],
2666
+ })
2635
2667
  /** Switch drawn as SVG so the capsule ends and the knob are exact shapes. */
2636
2668
  function DcSwitchSvg({ value }) {
2637
2669
  const on = value === true
@@ -2775,6 +2807,65 @@ body:not([data-ds-dark-theme]) [class*="_sessionRow"][class*="_selected"] {
2775
2807
  }
2776
2808
  `
2777
2809
 
2810
+ const FISH_FX_CSS = `
2811
+ :root:not(.dc-off-catppuccin) {
2812
+ --fish-ink: var(--dc-accent, #cba6f7);
2813
+ }
2814
+ :root:not(.dc-off-aurora) body {
2815
+ background-image:
2816
+ radial-gradient(55% 45% at 12% 8%, color-mix(in srgb, var(--dc-accent) 14%, transparent), transparent 70%),
2817
+ radial-gradient(50% 42% at 88% 16%, color-mix(in srgb, #89b4fa 12%, transparent), transparent 70%),
2818
+ radial-gradient(45% 38% at 50% 96%, color-mix(in srgb, #cba6f7 10%, transparent), transparent 72%) !important;
2819
+ background-size: 220% 220%, 220% 220%, 220% 220% !important;
2820
+ background-repeat: no-repeat !important;
2821
+ animation: fish-aurora 26s ease-in-out infinite alternate;
2822
+ }
2823
+ @keyframes fish-aurora {
2824
+ 0% { background-position: 0% 0%, 100% 0%, 50% 100%; }
2825
+ 100% { background-position: 18% 12%, 82% 20%, 42% 78%; }
2826
+ }
2827
+ .fish-cursor-glow {
2828
+ position: fixed;
2829
+ left: 0;
2830
+ top: 0;
2831
+ width: 360px;
2832
+ height: 360px;
2833
+ margin: -180px 0 0 -180px;
2834
+ border-radius: 50%;
2835
+ pointer-events: none;
2836
+ z-index: 1;
2837
+ opacity: 0;
2838
+ transition: opacity .35s ease;
2839
+ background: radial-gradient(circle, color-mix(in srgb, var(--dc-accent, #cba6f7) 18%, transparent), transparent 66%);
2840
+ will-change: transform;
2841
+ }
2842
+ :root:not(.dc-off-cursor) .fish-cursor-glow { opacity: .55; }
2843
+ :root:not(.dc-off-cursor) [data-composer-card] {
2844
+ transition: transform .2s ease, box-shadow .25s ease;
2845
+ will-change: transform;
2846
+ }
2847
+ :root:not(.dc-off-textmotion) [data-chat-flow-kind="assistant-step"] {
2848
+ animation: fish-rise .4s cubic-bezier(.16,1,.3,1) both;
2849
+ }
2850
+ @keyframes fish-rise {
2851
+ from { opacity: 0; transform: translateY(7px); }
2852
+ to { opacity: 1; transform: none; }
2853
+ }
2854
+ :root:not(.dc-off-textmotion) [data-chat-group-part="reasoning"] {
2855
+ border-left: 2px solid color-mix(in srgb, var(--dc-accent, #cba6f7) 45%, transparent);
2856
+ padding-left: 10px;
2857
+ animation: fish-breathe 4.5s ease-in-out infinite;
2858
+ }
2859
+ @keyframes fish-breathe {
2860
+ 0%, 100% { opacity: .72; }
2861
+ 50% { opacity: 1; }
2862
+ }
2863
+ @media (prefers-reduced-motion: reduce) {
2864
+ .fish-cursor-glow { display: none; }
2865
+ :root body { animation: none !important; }
2866
+ }
2867
+ `
2868
+
2778
2869
  function DcSettingsPage() {
2779
2870
  const copy = dcUsesChinese() ? DC_COPY.zh : DC_COPY.en
2780
2871
  const settings = useDcSettings()
@@ -2826,6 +2917,9 @@ body:not([data-ds-dark-theme]) [class*="_sessionRow"][class*="_selected"] {
2826
2917
  group(zh ? 'Fish 字体与质感' : 'Fish finish', [
2827
2918
  item('fishFont'), item('fishGlow'), item('fishMotion'), item('fishCode'),
2828
2919
  ]),
2920
+ group(zh ? 'Catppuccin 与动效' : 'Catppuccin & motion', [
2921
+ item('catppuccin'), item('aurora'), item('cursor'), item('textMotion'),
2922
+ ]),
2829
2923
  h('div', { key: 'footer', className: 'dc-set-footer' }, [
2830
2924
  h('button', { key: 'reset', type: 'button', className: 'dc-set-reset', disabled, onClick: reset }, copy.reset),
2831
2925
  h('span', { key: 'note', className: 'dc-set-note' }, 'Deep Fish UI · 0.2.0'),
@@ -3128,6 +3222,62 @@ body:not([data-ds-dark-theme]) [class*="_sessionRow"][class*="_selected"] {
3128
3222
  document.head.append(style)
3129
3223
  return () => style.remove()
3130
3224
  }, 'dsh-fish-ui: finish styles')
3225
+ ctx.effect(() => {
3226
+ const style = document.createElement('style')
3227
+ style.dataset.dshPlugin = 'dsh-fish-ui: fx'
3228
+ style.textContent = FISH_FX_CSS
3229
+ document.head.append(style)
3230
+ return () => style.remove()
3231
+ }, 'dsh-fish-ui: fx styles')
3232
+ ctx.effect(() => {
3233
+ if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) return
3234
+ const glow = document.createElement('div')
3235
+ glow.className = 'fish-cursor-glow'
3236
+ document.body.append(glow)
3237
+ let tx = window.innerWidth / 2
3238
+ let ty = window.innerHeight / 2
3239
+ let x = tx
3240
+ let y = ty
3241
+ let raf = 0
3242
+ const move = event => { tx = event.clientX; ty = event.clientY }
3243
+ const loop = () => {
3244
+ x += (tx - x) * 0.12
3245
+ y += (ty - y) * 0.12
3246
+ glow.style.transform = 'translate3d(' + x.toFixed(1) + 'px,' + y.toFixed(1) + 'px,0)'
3247
+ raf = window.requestAnimationFrame(loop)
3248
+ }
3249
+ window.addEventListener('pointermove', move, { passive: true })
3250
+ raf = window.requestAnimationFrame(loop)
3251
+
3252
+ const tilt = event => {
3253
+ const card = event.currentTarget
3254
+ const rect = card.getBoundingClientRect()
3255
+ const dx = (event.clientX - rect.left) / rect.width - 0.5
3256
+ const dy = (event.clientY - rect.top) / rect.height - 0.5
3257
+ card.style.transform = 'perspective(900px) rotateX(' + (-dy * 1.6).toFixed(2) + 'deg) rotateY(' + (dx * 1.6).toFixed(2) + 'deg)'
3258
+ }
3259
+ const reset = event => { event.currentTarget.style.transform = '' }
3260
+ const cards = new Set()
3261
+ const bind = event => {
3262
+ const card = event.target.closest && event.target.closest('[data-composer-card]')
3263
+ if (!card || cards.has(card)) return
3264
+ cards.add(card)
3265
+ card.addEventListener('pointermove', tilt)
3266
+ card.addEventListener('pointerleave', reset)
3267
+ }
3268
+ document.addEventListener('pointerover', bind, { passive: true })
3269
+ return () => {
3270
+ window.cancelAnimationFrame(raf)
3271
+ window.removeEventListener('pointermove', move)
3272
+ document.removeEventListener('pointerover', bind)
3273
+ for (const card of cards) {
3274
+ card.removeEventListener('pointermove', tilt)
3275
+ card.removeEventListener('pointerleave', reset)
3276
+ card.style.transform = ''
3277
+ }
3278
+ glow.remove()
3279
+ }
3280
+ }, 'dsh-fish-ui: pointer physics')
3131
3281
  ctx.inject(['theme'], scope => {
3132
3282
  scope.effect(() => {
3133
3283
  dcTheme = scope.theme
package/icon.svg CHANGED
@@ -1,11 +1,11 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
2
- <rect width="64" height="64" rx="14" fill="#0b1118"/>
3
- <g fill="#8ab6fa">
2
+ <rect width="64" height="64" rx="14" fill="#1e1e2e"/>
3
+ <g fill="#cba6f7">
4
4
  <path d="M12 22 L22 32 L12 42 Z"/>
5
5
  <ellipse cx="37" cy="32" rx="16" ry="10"/>
6
6
  </g>
7
- <circle cx="44" cy="29" r="2.4" fill="#0b1118"/>
8
- <g fill="#8ab6fa" opacity=".55">
7
+ <circle cx="44" cy="29" r="2.4" fill="#11111b"/>
8
+ <g fill="#89b4fa" opacity=".85">
9
9
  <circle cx="52" cy="18" r="1.6"/><circle cx="57" cy="13" r="1.2"/><circle cx="56" cy="23" r="1"/>
10
10
  </g>
11
11
  </svg>
package/index.js CHANGED
@@ -4,7 +4,7 @@ import Schema from '@deepseek-ai/schemastery'
4
4
  export const Config = Schema.object(Object.fromEntries([
5
5
  'hero', 'field', 'wave', 'ripple', 'thinkingSphere', 'thinkingLabel',
6
6
  'glass', 'effortBadge', 'sidebarDots', 'sidebarRail', 'bold', 'focusRing', 'diff',
7
- 'reading', 'code', 'fishFont', 'fishGlow', 'fishMotion', 'fishCode',
7
+ 'reading', 'code', 'fishFont', 'fishGlow', 'fishMotion', 'fishCode', 'catppuccin', 'aurora', 'cursor', 'textMotion',
8
8
  ].map(key => [key, Schema.boolean().default(true).volatile()]).concat([
9
9
  ['settingsMigrated', Schema.boolean().default(false).volatile().hidden()],
10
10
  ])))
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-fish-ui",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
- "description": "Deep Fish UI — a dot-matrix theme for DeepSeek Harness: fish hero artwork, whale-blue accents, reading layout, Maple Mono NF CN type, composer glow and fish-finish toggles.",
5
+ "description": "Deep Fish UI — a Catppuccin-themed, dot-matrix DSH theme with the whale-girl maid hero artwork, aurora background, pointer physics, thinking/text motion, Maple Mono NF CN type and fish-finish toggles.",
6
6
  "license": "MIT",
7
7
  "author": "Guocheng Song",
8
8
  "repository": {