dsh-fish-ui 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -1
- package/README.md +29 -6
- package/THIRD-PARTY-NOTICES +24 -0
- package/dist/client.js +3823 -0
- package/dist/index.js +20 -0
- package/icon.png +0 -0
- package/icon.svg +15 -9
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +18 -7
- package/client.js +0 -3344
- package/index.js +0 -16
package/dist/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import Schema from '@deepseek-ai/schemastery';
|
|
2
|
+
const flags = [
|
|
3
|
+
'hero', 'field', 'wave', 'ripple', 'thinkingSphere', 'thinkingLabel',
|
|
4
|
+
'glass', 'effortBadge', 'sidebarDots', 'sidebarRail', 'bold', 'focusRing', 'diff',
|
|
5
|
+
'reading', 'code', 'fishFont', 'fishGlow', 'fishMotion', 'fishCode',
|
|
6
|
+
'catppuccin', 'aurora', 'cursor', 'textMotion', 'hostIcons',
|
|
7
|
+
];
|
|
8
|
+
export const Config = Schema.object({
|
|
9
|
+
...Object.fromEntries(flags.map(key => [key, Schema.boolean().default(true).volatile()])),
|
|
10
|
+
scene: Schema.union(['atlas', 'aurora', 'orbit', 'dunes', 'rain', 'lotus']).default('atlas').volatile(),
|
|
11
|
+
sceneMotion: Schema.union(['still', 'calm', 'flow']).default('calm').volatile(),
|
|
12
|
+
iconStyle: Schema.union(['line', 'duotone']).default('duotone').volatile(),
|
|
13
|
+
accentColor: Schema.string().pattern(/^#[0-9a-f]{6}$/i).default('#4D6BFE').volatile(),
|
|
14
|
+
settingsMigrated: Schema.boolean().default(false).volatile().hidden(),
|
|
15
|
+
});
|
|
16
|
+
export function apply(ctx) {
|
|
17
|
+
ctx.inject(['settings'], scope => {
|
|
18
|
+
scope.effect(() => scope.settings.configure({ auto: false }, ctx.fiber), 'dsh-fish-ui: preferences');
|
|
19
|
+
});
|
|
20
|
+
}
|
package/icon.png
ADDED
|
Binary file
|
package/icon.svg
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="ocean" x1=".1" y1="0" x2=".85" y2="1">
|
|
4
|
+
<stop stop-color="#718DFF"/><stop offset=".48" stop-color="#4D6BFE"/><stop offset="1" stop-color="#243EAA"/>
|
|
5
|
+
</linearGradient>
|
|
6
|
+
<linearGradient id="pearl" x1=".85" y1=".2" x2=".2" y2=".9">
|
|
7
|
+
<stop stop-color="#FFFFFF"/><stop offset="1" stop-color="#D3EDFF"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
<rect width="64" height="64" rx="16" fill="url(#ocean)"/>
|
|
11
|
+
<rect x=".5" y=".5" width="63" height="63" rx="15.5" fill="none" stroke="#BFD4FF" stroke-opacity=".42"/>
|
|
12
|
+
<path d="M27 28Q28 18 40 12L38 23ZM31 39Q29 45 32 50Q40 43 40 33Z" fill="#9DD7FF"/>
|
|
13
|
+
<path d="M18 36C25 25 39 16 54 17C52 32 39 43 21 43C16 47 11 49 6 49C9 44 12 40 15 38C11 34 9 29 10 24C15 26 18 31 18 36Z" fill="url(#pearl)"/>
|
|
14
|
+
<path d="M23 39C31 37 36 33 40 29" fill="none" stroke="#6EA4F9" stroke-width="1.8" stroke-linecap="round"/>
|
|
15
|
+
<circle cx="46.3" cy="23.4" r="1.8" fill="#243EAA"/>
|
|
16
|
+
<path d="M11 53Q18 52 24 48" fill="none" stroke="#9DD7FF" stroke-width="1.7" stroke-linecap="round"/>
|
|
11
17
|
</svg>
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Deep Fish UI",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Six animated scenes, a dot-matrix whale-girl and two icon styles. Use DeepSeek blue or choose your own accent independently of the backdrop."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/zh.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-fish-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Six illustrated scenes, DeepSeek blue or custom accents, and outline or duotone icons for DeepSeek Harness.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Guocheng Song",
|
|
8
8
|
"repository": {
|
|
@@ -14,19 +14,20 @@
|
|
|
14
14
|
"url": "https://github.com/feichai0017/dsh-fish-ui/issues"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
|
-
".": "./index.js",
|
|
18
|
-
"./client": "./client.js",
|
|
17
|
+
".": "./dist/index.js",
|
|
18
|
+
"./client": "./dist/client.js",
|
|
19
19
|
"./locale/*.json": "./locale/*.json",
|
|
20
20
|
"./icon": "./icon.svg"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
|
-
"
|
|
24
|
-
"client.js",
|
|
23
|
+
"dist/*.js",
|
|
25
24
|
"cordis.patch.yml",
|
|
26
25
|
"locale/*.json",
|
|
27
26
|
"icon.svg",
|
|
27
|
+
"icon.png",
|
|
28
28
|
"README.md",
|
|
29
|
-
"LICENSE"
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"THIRD-PARTY-NOTICES"
|
|
30
31
|
],
|
|
31
32
|
"dsh": {
|
|
32
33
|
"bundle": {
|
|
@@ -56,5 +57,15 @@
|
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"@deepseek-ai/schemastery": "~3.19.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/react": "^19.3.0",
|
|
63
|
+
"@types/react-dom": "^19.3.0",
|
|
64
|
+
"typescript": "~5.9.3"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsc -p tsconfig.json",
|
|
68
|
+
"check": "tsc -p tsconfig.json --noEmit",
|
|
69
|
+
"prepack": "npm run build"
|
|
59
70
|
}
|
|
60
71
|
}
|