dsh-dracula-theme 0.1.5 → 1.0.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/README.md +19 -0
- package/README.zh.md +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,6 +33,25 @@ The classic Dracula canvas (`#282a36`) mapped onto the full DSH surface stack
|
|
|
33
33
|
| Orange (warn) | `#ffb86c` |
|
|
34
34
|
| Red (error) | `#ff5555` |
|
|
35
35
|
|
|
36
|
+
## Official spec alignment
|
|
37
|
+
|
|
38
|
+
The token mappings follow the official [Dracula Syntax Highlighting Specification](https://draculatheme.com/spec) and the classic [dracula/sublime](https://github.com/dracula/sublime) convention:
|
|
39
|
+
|
|
40
|
+
| Role | Color |
|
|
41
|
+
| --- | --- |
|
|
42
|
+
| Keywords & storage | Pink `#FF79C6` |
|
|
43
|
+
| Functions & methods | Green `#50FA7B` |
|
|
44
|
+
| Classes & types | Cyan `#8BE9FD` |
|
|
45
|
+
| Strings & text | Yellow `#F1FA8C` |
|
|
46
|
+
| Numbers & constants | Orange `#FFB86C` |
|
|
47
|
+
| Comments | `#6272A4` |
|
|
48
|
+
| Variables & parameters | Foreground `#F8F8F2` |
|
|
49
|
+
| Punctuation | Foreground `#F8F8F2` |
|
|
50
|
+
| Diff inserted / deleted | Green `#50FA7B` / Red `#FF5555` |
|
|
51
|
+
| Links | Cyan `#8BE9FD` |
|
|
52
|
+
|
|
53
|
+
UI surfaces follow the spec's current-line / selection distinction: text selection is `#44475A` (including the `::selection` rule), the current-line highlight uses the opaque fallback `#353747`, and floating interactive elements use `#343746` / `#424450`. Status colors (error/success/warning) deliberately follow the syntax palette like the official Dracula DeepSeek port, keeping the whole UI on one consistent palette.
|
|
54
|
+
|
|
36
55
|
## Installation
|
|
37
56
|
|
|
38
57
|
```sh
|
package/README.zh.md
CHANGED
|
@@ -32,6 +32,25 @@
|
|
|
32
32
|
| 橙色(警告) | `#ffb86c` |
|
|
33
33
|
| 红色(错误) | `#ff5555` |
|
|
34
34
|
|
|
35
|
+
## 官方规范对齐
|
|
36
|
+
|
|
37
|
+
token 映射遵循官方 [Dracula 语法高亮规范](https://draculatheme.com/spec) 与经典 [dracula/sublime](https://github.com/dracula/sublime) 惯例:
|
|
38
|
+
|
|
39
|
+
| 角色 | 颜色 |
|
|
40
|
+
| --- | --- |
|
|
41
|
+
| 关键字与存储 | 粉 `#FF79C6` |
|
|
42
|
+
| 函数与方法 | 绿 `#50FA7B` |
|
|
43
|
+
| 类与类型 | 青 `#8BE9FD` |
|
|
44
|
+
| 字符串与文本 | 黄 `#F1FA8C` |
|
|
45
|
+
| 数字与常量 | 橙 `#FFB86C` |
|
|
46
|
+
| 注释 | `#6272A4` |
|
|
47
|
+
| 变量与参数 | 前景 `#F8F8F2` |
|
|
48
|
+
| 标点 | 前景 `#F8F8F2` |
|
|
49
|
+
| diff 新增 / 删除 | 绿 `#50FA7B` / 红 `#FF5555` |
|
|
50
|
+
| 链接 | 青 `#8BE9FD` |
|
|
51
|
+
|
|
52
|
+
界面表面遵循规范中「当前行 / 选区」的区分:文本选区为 `#44475A`(含 `::selection` 规则),当前行高亮使用纯色回退 `#353747`,浮动交互元素使用 `#343746` / `#424450`。状态色(错误/成功/警告)刻意沿用语法色板,与官方 Dracula DeepSeek 移植版保持一致,让整个界面处于同一套配色体系。
|
|
53
|
+
|
|
35
54
|
## 安装
|
|
36
55
|
|
|
37
56
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-dracula-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "🧛 Dracula theme for DeepSeek Harness: the classic dark palette (plus the Soft variant) registered into the built-in theme runtime",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ossFrankFrank",
|