dsh-shell-themes 0.1.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.
@@ -0,0 +1,19 @@
1
+ {
2
+ "id": "aurora-glass",
3
+ "name": "液态玻璃",
4
+ "description": "极光流动背景 + 磨砂玻璃面板。壳内建的新界面主题,出厂默认是「原生界面」。",
5
+ "contract": 1,
6
+ "default": false,
7
+ "palettes": ["light", "dark"],
8
+ "content": "content.css",
9
+ "boot": null,
10
+ "window": {
11
+ "background": {
12
+ "light": "#edf1fa",
13
+ "dark": "#0c101e"
14
+ },
15
+ "updater": {
16
+ "background": "#0b0f14"
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,14 @@
1
+ /*
2
+ * 原生界面(native)—— dsh 的原生外观,刻意不写任何样式规则。
3
+ *
4
+ * 主题宿主仍会把本文件作为一行 <style> 注入每次渲染的 index.html <head>,
5
+ * 所以插件日志里照样能看到 `injected theme 'native' (N bytes)`;但因为它不含
6
+ * 任何选择器,渲染结果与"未启用主题"逐像素一致。
7
+ *
8
+ * 这正是本主题存在的意义:让"用原生界面"成为一个**显式、可被记住、可被
9
+ * DSH_SHELL_THEME=native 指定**的选择,而不是只能靠"关闭主题"这种否定式表达。
10
+ * 它与窗口底色同源(theme.json 的 window.background = #ffffff / #151517),
11
+ * 因此窗口 / 启动屏 / 更新窗也一并回到改动前的纯色表现。
12
+ *
13
+ * 请不要在这里添加样式。需要视觉改动请新开一个主题文件夹(见 docs/THEMES.md §4)。
14
+ */
@@ -0,0 +1,19 @@
1
+ {
2
+ "id": "native",
3
+ "name": "原生界面",
4
+ "description": "dsh 原生界面:不注入任何主题样式,窗口沿用改动前的纯色底。壳的出厂默认主题。",
5
+ "contract": 1,
6
+ "default": true,
7
+ "palettes": ["light", "dark"],
8
+ "content": "content.css",
9
+ "boot": null,
10
+ "window": {
11
+ "background": {
12
+ "light": "#ffffff",
13
+ "dark": "#151517"
14
+ },
15
+ "updater": {
16
+ "background": "#0b0f14"
17
+ }
18
+ }
19
+ }