@chengzhao-dev/dsh-quarto-book 0.4.3 → 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.
Files changed (55) hide show
  1. package/README.en.md +2 -2
  2. package/README.md +2 -2
  3. package/package.json +5 -2
  4. package/skills/designing-theme/SKILL.md +2 -2
  5. package/skills/designing-theme/assets/theme/css/base.css +216 -55
  6. package/skills/designing-theme/assets/theme/css/callouts.css +32 -23
  7. package/skills/designing-theme/assets/theme/css/code.css +84 -2
  8. package/skills/designing-theme/assets/theme/css/content.css +152 -36
  9. package/skills/designing-theme/assets/theme/css/landing.css +150 -52
  10. package/skills/designing-theme/assets/theme/css/nav.css +462 -35
  11. package/skills/designing-theme/assets/theme/css/sidebar.css +76 -31
  12. package/skills/designing-theme/assets/theme/css/tokens.css +34 -16
  13. package/skills/designing-theme/assets/theme/includes/fonts.html +1 -1
  14. package/skills/designing-theme/assets/theme/includes/footer.html +16 -7
  15. package/skills/designing-theme/assets/theme/includes/palette.html +420 -0
  16. package/skills/designing-theme/assets/theme/palettes/flexoki/brand-mark.svg +3 -0
  17. package/skills/designing-theme/assets/theme/palettes/flexoki/favicon-dark.svg +5 -0
  18. package/skills/designing-theme/assets/theme/palettes/flexoki/favicon-light.svg +5 -0
  19. package/skills/designing-theme/assets/theme/palettes/flexoki/highlight-dark.theme +214 -0
  20. package/skills/designing-theme/assets/theme/palettes/flexoki/highlight-light.theme +214 -0
  21. package/skills/designing-theme/assets/theme/palettes/flexoki/meta.md +53 -0
  22. package/skills/designing-theme/assets/theme/palettes/flexoki/theme-dark.scss +43 -0
  23. package/skills/designing-theme/assets/theme/palettes/flexoki/theme-light.scss +40 -0
  24. package/skills/designing-theme/assets/theme/palettes/flexoki/tokens.css +156 -0
  25. package/skills/designing-theme/assets/theme/palettes/hill-light/brand-mark.svg +3 -0
  26. package/skills/designing-theme/assets/theme/palettes/hill-light/favicon-dark.svg +5 -0
  27. package/skills/designing-theme/assets/theme/palettes/hill-light/favicon-light.svg +5 -0
  28. package/skills/designing-theme/assets/theme/palettes/hill-light/meta.md +78 -0
  29. package/skills/designing-theme/assets/theme/palettes/hill-light/syntax.css +150 -0
  30. package/skills/designing-theme/assets/theme/palettes/hill-light/tokens.css +322 -0
  31. package/skills/designing-theme/assets/theme/palettes/solarized/brand-mark.svg +3 -0
  32. package/skills/designing-theme/assets/theme/palettes/solarized/favicon-dark.svg +5 -0
  33. package/skills/designing-theme/assets/theme/palettes/solarized/favicon-light.svg +5 -0
  34. package/skills/designing-theme/assets/theme/palettes/solarized/highlight-dark.theme +214 -0
  35. package/skills/designing-theme/assets/theme/palettes/solarized/highlight-light.theme +214 -0
  36. package/skills/designing-theme/assets/theme/palettes/solarized/meta.md +66 -0
  37. package/skills/designing-theme/assets/theme/palettes/solarized/syntax.css +67 -0
  38. package/skills/designing-theme/assets/theme/palettes/solarized/theme-dark.scss +43 -0
  39. package/skills/designing-theme/assets/theme/palettes/solarized/theme-light.scss +41 -0
  40. package/skills/designing-theme/assets/theme/palettes/solarized/tokens.css +154 -0
  41. package/skills/designing-theme/knowledge/reading-surface.md +27 -15
  42. package/skills/designing-theme/references/theme-spine.md +2 -2
  43. package/skills/designing-theme/references/theme-system.md +82 -36
  44. package/skills/designing-theme/scripts/checking-layout.py +306 -48
  45. package/skills/designing-theme/scripts/measuring-pages.mjs +40 -3
  46. package/skills/writing-quarto/quarto/render.md +2 -2
  47. package/skills/writing-quarto/scripts/checking-dom.py +14 -7
  48. package/skills/designing-theme/assets/theme/assets/brand-mark.svg +0 -4
  49. package/skills/designing-theme/assets/theme/assets/favicon.svg +0 -9
  50. package/skills/designing-theme/assets/theme/palettes/github/highlight-dark.theme +0 -213
  51. package/skills/designing-theme/assets/theme/palettes/github/highlight-light.theme +0 -213
  52. package/skills/designing-theme/assets/theme/palettes/github/meta.md +0 -38
  53. package/skills/designing-theme/assets/theme/palettes/github/theme-dark.scss +0 -35
  54. package/skills/designing-theme/assets/theme/palettes/github/theme-light.scss +0 -34
  55. package/skills/designing-theme/assets/theme/palettes/github/tokens.css +0 -160
@@ -1,9 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="C++">
2
- <style>:root { --bg: #22272E; --fg: #ADBAC7; --accent: #57AB5A; } @media (prefers-color-scheme: dark) { :root { --bg: #F0F6FC; --fg: #0D1117; --accent: #1F883D; } }</style>
3
- <rect width="64" height="64" rx="15" fill="var(--bg)"/>
4
- <path fill="var(--fg)" fill-rule="evenodd" d="M28.70 41.66 A13 13 0 1 1 28.70 22.34 L23.85 27.73 A5.75 5.75 0 1 0 23.85 36.27 Z"/>
5
- <rect x="34" y="29.875" width="9" height="4.25" rx="2.125" fill="var(--accent)"/>
6
- <rect x="36.375" y="27.5" width="4.25" height="9" rx="2.125" fill="var(--accent)"/>
7
- <rect x="48" y="29.875" width="9" height="4.25" rx="2.125" fill="var(--accent)"/>
8
- <rect x="50.375" y="27.5" width="4.25" height="9" rx="2.125" fill="var(--accent)"/>
9
- </svg>
@@ -1,213 +0,0 @@
1
- {
2
- "metadata": {
3
- "name": "Quarto Book Primer Dark Dimmed",
4
- "revision": 1,
5
- "license": "SPDX-License-Identifier: MIT",
6
- "copyright": [
7
- "SPDX-FileCopyrightText: GitHub Inc. (Primer prettylights, MIT)",
8
- "SPDX-FileCopyrightText: 2020 Waqar Ahmed <waqar.17a@gmail.com> (skylighting 结构基础)"
9
- ]
10
- },
11
- "background-color": "#2d333b",
12
- "editor-colors": {
13
- "BackgroundColor": "#2d333b",
14
- "BracketMatching": "#444c56",
15
- "CodeFolding": "#373e47",
16
- "CurrentLine": "#373e47",
17
- "CurrentLineNumber": "#cdd9e5",
18
- "IconBorder": "#2d333b",
19
- "IndentationLine": "#444c56",
20
- "LineNumbers": "#778491",
21
- "MarkBookmark": "#39c5cf",
22
- "MarkBreakpointActive": "#f47067",
23
- "MarkBreakpointDisabled": "#dcbdfb",
24
- "MarkBreakpointReached": "#d0a215",
25
- "MarkError": "#f47067",
26
- "MarkExecution": "#44475a",
27
- "MarkWarning": "#f69d50",
28
- "ModifiedLines": "#f47067",
29
- "ReplaceHighlight": "#57ab5a",
30
- "SavedLines": "#57ab5a",
31
- "SearchHighlight": "#614a00",
32
- "Separator": "#444c56",
33
- "SpellChecking": "#f47067",
34
- "TabMarker": "#778491",
35
- "TextSelection": "#374563",
36
- "WordWrapMarker": "#444c56"
37
- },
38
- "text-styles": {
39
- "Alert": {
40
- "bold": true,
41
- "selected-text-color": "#f47067",
42
- "text-color": "#f47067"
43
- },
44
- "Annotation": {
45
- "selected-text-color": "#9aa1ab",
46
- "text-color": "#9aa1ab"
47
- },
48
- "Attribute": {
49
- "selected-text-color": "#ff7b72",
50
- "text-color": "#ff7b72"
51
- },
52
- "BaseN": {
53
- "selected-text-color": "#6cb6ff",
54
- "text-color": "#6cb6ff"
55
- },
56
- "BuiltIn": {
57
- "selected-text-color": "#ff7b72",
58
- "text-color": "#ff7b72"
59
- },
60
- "Char": {
61
- "selected-text-color": "#96d0ff",
62
- "text-color": "#96d0ff"
63
- },
64
- "Comment": {
65
- "selected-text-color": "#9aa1ab",
66
- "text-color": "#9aa1ab"
67
- },
68
- "CommentVar": {
69
- "selected-text-color": "#9aa1ab",
70
- "text-color": "#9aa1ab"
71
- },
72
- "Constant": {
73
- "selected-text-color": "#6cb6ff",
74
- "text-color": "#6cb6ff"
75
- },
76
- "ControlFlow": {
77
- "selected-text-color": "#ff7b72",
78
- "text-color": "#ff7b72"
79
- },
80
- "DataType": {
81
- "selected-text-color": "#ff7b72",
82
- "text-color": "#ff7b72"
83
- },
84
- "DecVal": {
85
- "selected-text-color": "#6cb6ff",
86
- "text-color": "#6cb6ff"
87
- },
88
- "Documentation": {
89
- "selected-text-color": "#9aa1ab",
90
- "text-color": "#9aa1ab"
91
- },
92
- "Error": {
93
- "selected-text-color": "#f47067",
94
- "text-color": "#f47067",
95
- "underline": true
96
- },
97
- "Extension": {
98
- "bold": true,
99
- "selected-text-color": "#ff7b72",
100
- "text-color": "#ff7b72"
101
- },
102
- "Float": {
103
- "selected-text-color": "#6cb6ff",
104
- "text-color": "#6cb6ff"
105
- },
106
- "Function": {
107
- "selected-text-color": "#dcbdfb",
108
- "text-color": "#dcbdfb"
109
- },
110
- "Import": {
111
- "selected-text-color": "#96d0ff",
112
- "text-color": "#96d0ff"
113
- },
114
- "Information": {
115
- "selected-text-color": "#9aa1ab",
116
- "text-color": "#9aa1ab"
117
- },
118
- "Keyword": {
119
- "selected-text-color": "#ff7b72",
120
- "text-color": "#ff7b72"
121
- },
122
- "Normal": {
123
- "selected-text-color": "#cdd9e5",
124
- "text-color": "#cdd9e5"
125
- },
126
- "Operator": {
127
- "selected-text-color": "#cdd9e5",
128
- "text-color": "#cdd9e5"
129
- },
130
- "Others": {
131
- "selected-text-color": "#dcbdfb",
132
- "text-color": "#dcbdfb"
133
- },
134
- "Preprocessor": {
135
- "selected-text-color": "#ff7b72",
136
- "text-color": "#ff7b72"
137
- },
138
- "RegionMarker": {
139
- "selected-text-color": "#9aa1ab",
140
- "text-color": "#9aa1ab"
141
- },
142
- "SpecialChar": {
143
- "selected-text-color": "#6cb6ff",
144
- "text-color": "#6cb6ff"
145
- },
146
- "SpecialString": {
147
- "selected-text-color": "#96d0ff",
148
- "text-color": "#96d0ff"
149
- },
150
- "String": {
151
- "selected-text-color": "#96d0ff",
152
- "text-color": "#96d0ff"
153
- },
154
- "Variable": {
155
- "selected-text-color": "#f69d50",
156
- "text-color": "#f69d50"
157
- },
158
- "VerbatimString": {
159
- "selected-text-color": "#96d0ff",
160
- "text-color": "#96d0ff"
161
- },
162
- "Warning": {
163
- "selected-text-color": "#f69d50",
164
- "text-color": "#f69d50"
165
- }
166
- },
167
- "custom-styles": {
168
- "INI Files": {
169
- "Section": {
170
- "selected-text-color": "#dcbdfb",
171
- "text-color": "#dcbdfb"
172
- }
173
- },
174
- "Python": {
175
- "Builtin Function": {
176
- "selected-text-color": "#dcbdfb",
177
- "text-color": "#dcbdfb"
178
- },
179
- "Import": {
180
- "selected-text-color": "#ff7b72",
181
- "text-color": "#ff7b72"
182
- },
183
- "Special Variable": {
184
- "selected-text-color": "#6cb6ff",
185
- "text-color": "#6cb6ff"
186
- }
187
- },
188
- "Rust": {
189
- "Attribute": {
190
- "selected-text-color": "#cdd9e5",
191
- "text-color": "#cdd9e5"
192
- },
193
- "Macro": {
194
- "selected-text-color": "#6cb6ff",
195
- "text-color": "#6cb6ff"
196
- },
197
- "Self": {
198
- "selected-text-color": "#6cb6ff",
199
- "text-color": "#6cb6ff"
200
- },
201
- "Trait": {
202
- "selected-text-color": "#cdd9e5",
203
- "text-color": "#cdd9e5"
204
- }
205
- },
206
- "XML": {
207
- "Element": {
208
- "selected-text-color": "#8ddb8c",
209
- "text-color": "#8ddb8c"
210
- }
211
- }
212
- }
213
- }
@@ -1,213 +0,0 @@
1
- {
2
- "metadata": {
3
- "name": "Quarto Book Primer Light",
4
- "revision": 1,
5
- "license": "SPDX-License-Identifier: MIT",
6
- "copyright": [
7
- "SPDX-FileCopyrightText: GitHub Inc. (Primer prettylights, MIT)",
8
- "SPDX-FileCopyrightText: 2020 Waqar Ahmed <waqar.17a@gmail.com> (skylighting 结构基础)"
9
- ]
10
- },
11
- "background-color": "#f6f8fa",
12
- "editor-colors": {
13
- "BackgroundColor": "#f6f8fa",
14
- "BracketMatching": "#bef5cb",
15
- "CodeFolding": "#f6f8fa",
16
- "CurrentLine": "#f6f8fa",
17
- "CurrentLineNumber": "#1f2328",
18
- "IconBorder": "#f6f8fa",
19
- "IndentationLine": "#d7dbe0",
20
- "LineNumbers": "#57606a",
21
- "MarkBookmark": "#8be9fd",
22
- "MarkBreakpointActive": "#cf222e",
23
- "MarkBreakpointDisabled": "#8250df",
24
- "MarkBreakpointReached": "#bf8700",
25
- "MarkError": "#82071e",
26
- "MarkExecution": "#44475a",
27
- "MarkWarning": "#953800",
28
- "ModifiedLines": "#cf222e",
29
- "ReplaceHighlight": "#1a7f37",
30
- "SavedLines": "#1a7f37",
31
- "SearchHighlight": "#ffea7f",
32
- "Separator": "#d0d7de",
33
- "SpellChecking": "#cf222e",
34
- "TabMarker": "#d1d5da",
35
- "TextSelection": "#dee6fc",
36
- "WordWrapMarker": "#d0d7de"
37
- },
38
- "text-styles": {
39
- "Alert": {
40
- "bold": true,
41
- "selected-text-color": "#82071e",
42
- "text-color": "#82071e"
43
- },
44
- "Annotation": {
45
- "selected-text-color": "#57606a",
46
- "text-color": "#57606a"
47
- },
48
- "Attribute": {
49
- "selected-text-color": "#cf222e",
50
- "text-color": "#cf222e"
51
- },
52
- "BaseN": {
53
- "selected-text-color": "#0550ae",
54
- "text-color": "#0550ae"
55
- },
56
- "BuiltIn": {
57
- "selected-text-color": "#cf222e",
58
- "text-color": "#cf222e"
59
- },
60
- "Char": {
61
- "selected-text-color": "#0a3069",
62
- "text-color": "#0a3069"
63
- },
64
- "Comment": {
65
- "selected-text-color": "#57606a",
66
- "text-color": "#57606a"
67
- },
68
- "CommentVar": {
69
- "selected-text-color": "#57606a",
70
- "text-color": "#57606a"
71
- },
72
- "Constant": {
73
- "selected-text-color": "#0550ae",
74
- "text-color": "#0550ae"
75
- },
76
- "ControlFlow": {
77
- "selected-text-color": "#cf222e",
78
- "text-color": "#cf222e"
79
- },
80
- "DataType": {
81
- "selected-text-color": "#cf222e",
82
- "text-color": "#cf222e"
83
- },
84
- "DecVal": {
85
- "selected-text-color": "#0550ae",
86
- "text-color": "#0550ae"
87
- },
88
- "Documentation": {
89
- "selected-text-color": "#57606a",
90
- "text-color": "#57606a"
91
- },
92
- "Error": {
93
- "selected-text-color": "#82071e",
94
- "text-color": "#82071e",
95
- "underline": true
96
- },
97
- "Extension": {
98
- "bold": true,
99
- "selected-text-color": "#cf222e",
100
- "text-color": "#cf222e"
101
- },
102
- "Float": {
103
- "selected-text-color": "#0550ae",
104
- "text-color": "#0550ae"
105
- },
106
- "Function": {
107
- "selected-text-color": "#8250df",
108
- "text-color": "#8250df"
109
- },
110
- "Import": {
111
- "selected-text-color": "#0a3069",
112
- "text-color": "#0a3069"
113
- },
114
- "Information": {
115
- "selected-text-color": "#57606a",
116
- "text-color": "#57606a"
117
- },
118
- "Keyword": {
119
- "selected-text-color": "#cf222e",
120
- "text-color": "#cf222e"
121
- },
122
- "Normal": {
123
- "selected-text-color": "#1f2328",
124
- "text-color": "#1f2328"
125
- },
126
- "Operator": {
127
- "selected-text-color": "#1f2328",
128
- "text-color": "#1f2328"
129
- },
130
- "Others": {
131
- "selected-text-color": "#8250df",
132
- "text-color": "#8250df"
133
- },
134
- "Preprocessor": {
135
- "selected-text-color": "#cf222e",
136
- "text-color": "#cf222e"
137
- },
138
- "RegionMarker": {
139
- "selected-text-color": "#57606a",
140
- "text-color": "#57606a"
141
- },
142
- "SpecialChar": {
143
- "selected-text-color": "#0550ae",
144
- "text-color": "#0550ae"
145
- },
146
- "SpecialString": {
147
- "selected-text-color": "#0a3069",
148
- "text-color": "#0a3069"
149
- },
150
- "String": {
151
- "selected-text-color": "#0a3069",
152
- "text-color": "#0a3069"
153
- },
154
- "Variable": {
155
- "selected-text-color": "#953800",
156
- "text-color": "#953800"
157
- },
158
- "VerbatimString": {
159
- "selected-text-color": "#0a3069",
160
- "text-color": "#0a3069"
161
- },
162
- "Warning": {
163
- "selected-text-color": "#953800",
164
- "text-color": "#953800"
165
- }
166
- },
167
- "custom-styles": {
168
- "INI Files": {
169
- "Section": {
170
- "selected-text-color": "#8250df",
171
- "text-color": "#8250df"
172
- }
173
- },
174
- "Python": {
175
- "Builtin Function": {
176
- "selected-text-color": "#8250df",
177
- "text-color": "#8250df"
178
- },
179
- "Import": {
180
- "selected-text-color": "#cf222e",
181
- "text-color": "#cf222e"
182
- },
183
- "Special Variable": {
184
- "selected-text-color": "#0550ae",
185
- "text-color": "#0550ae"
186
- }
187
- },
188
- "Rust": {
189
- "Attribute": {
190
- "selected-text-color": "#1f2328",
191
- "text-color": "#1f2328"
192
- },
193
- "Macro": {
194
- "selected-text-color": "#0550ae",
195
- "text-color": "#0550ae"
196
- },
197
- "Self": {
198
- "selected-text-color": "#0550ae",
199
- "text-color": "#0550ae"
200
- },
201
- "Trait": {
202
- "selected-text-color": "#1f2328",
203
- "text-color": "#1f2328"
204
- }
205
- },
206
- "XML": {
207
- "Element": {
208
- "selected-text-color": "#116329",
209
- "text-color": "#116329"
210
- }
211
- }
212
- }
213
- }
@@ -1,38 +0,0 @@
1
- # Palette: github
2
-
3
- 生产默认(唯一)色板。亮色对齐 GitHub Primer Light Default;暗色对齐 GitHub Primer **Dark Dimmed**(软暗色:近灰底 `#22272E`,缓解 Dark Default `#0D1117` 的偏黑与光晕)。代码语法色用色板目录里的两份 skylighting 主题 `highlight-light.theme` / `highlight-dark.theme`,取色自 Primer 当前 prettylights([primer/github-vscode-theme](https://github.com/primer/github-vscode-theme) 的 light 与 dark-dimmed),不再用 Quarto 内置的 2020 年 `github-light` / `github-dark`。两处抬色:暗色注释从官方 `#768390` 抬到 `#9AA1AB`(本书代码底上需 4.5:1),暗色关键字改用 Dark Default 的关键字红 `#FF7B72`;取舍见标识 `bg-reading-surface-v1` 的知识文件。
4
-
5
- ## 接线
6
-
7
- | 项 | 路径 / 值 |
8
- | --- | --- |
9
- | tokens | `palettes/github/tokens.css` |
10
- | SCSS light | `palettes/github/theme-light.scss` |
11
- | SCSS dark | `palettes/github/theme-dark.scss` |
12
- | highlight light | `assets/theme/palettes/github/highlight-light.theme` |
13
- | highlight dark | `assets/theme/palettes/github/highlight-dark.theme` |
14
-
15
- ## 暗色分层(Dark Dimmed)
16
-
17
- | 表面 | 色值 |
18
- | --- | --- |
19
- | page / navbar(最深) | `#22272E` |
20
- | surface-raised / code / card | `#2D333B` |
21
- | 代码标题条 | `#373E47` |
22
- | 边框 | `#444C56` |
23
- | 正文 / 次要文字 | `#CDD9E5` / `#B1BAC4` |
24
- | 链接 | `#539BF5` |
25
-
26
- 2026-09 软化:暗色自 Dark Default 迁至 Dimmed;圆角抬升(sm 8px / md·lg 12px / 代码块 8px);首页卡片亮色加轻阴影;正文与代码行高 1.75;表头去大写;品牌与卡片标题 700→600。
27
-
28
- ## 切换
29
-
30
- 生产固定本 pack,不做第二套色板。若未来换 pack:在 `_quarto.yml` 中把 theme SCSS、palette tokens 与 `highlight-style` 改成目标 pack;共享 `css/*.css`、字体与 includes 不动。
31
-
32
- ## 来源
33
-
34
- - [Primer Color usage](https://primer.style/product/getting-started/foundations/color-usage/)
35
- - [primer/github-vscode-theme](https://github.com/primer/github-vscode-theme)(prettylights 取色来源,light 与 dark-dimmed)
36
- - GitHub Light / Dark Dimmed 文档表面色
37
-
38
- 这套主题由本插件维护。项目若复制了主题资产,改动的语法色主题(`highlight-light.theme`、`highlight-dark.theme`)与 `meta.md` 接线表只同步到项目 `_quarto.yml` 实际引用的那份副本。
@@ -1,35 +0,0 @@
1
- /*-- scss:defaults --*/
2
-
3
- $font-family-sans-serif: "LXGW Bright Medium", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Apple Color Emoji", "Segoe UI Emoji", sans-serif !default;
4
-
5
- $font-family-monospace: "LXGW Bright Code", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", monospace !default;
6
-
7
- $web-font-path: false !default;
8
-
9
- $font-size-root: 16px !default;
10
- $line-height-base: 1.75 !default;
11
- $font-size-base: 1rem !default;
12
-
13
- $primary: #539BF5 !default;
14
-
15
- $body-color: #CDD9E5 !default;
16
- $link-color: #539BF5 !default;
17
-
18
- $code-bg: #2D333B !default;
19
- $code-color: #CDD9E5 !default;
20
-
21
- $body-secondary: #B1BAC4 !default;
22
-
23
- $navbar-fg: #CDD9E5 !default;
24
-
25
- $callout-color-note: #6CB6FF !default;
26
- $callout-color-tip: #57AB5A !default;
27
- $callout-color-warning: #C69026 !default;
28
- $callout-color-important: #986EE2 !default;
29
- $callout-color-caution: #E5534B !default;
30
- $callout-color-danger: #E5534B !default;
31
-
32
- $border-color: rgba(205, 217, 229, 0.1) !default;
33
- $table-bg: transparent !default;
34
-
35
- /*-- scss:rules --*/
@@ -1,34 +0,0 @@
1
- /*-- scss:defaults --*/
2
-
3
- $font-family-sans-serif: "LXGW Bright Medium", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Apple Color Emoji", "Segoe UI Emoji", sans-serif !default;
4
-
5
- $font-family-monospace: "LXGW Bright Code", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", monospace !default;
6
-
7
- $web-font-path: false !default;
8
-
9
- $font-size-root: 16px !default;
10
- $line-height-base: 1.75 !default;
11
- $font-size-base: 1rem !default;
12
-
13
- // GitHub Light:以 GitHub 蓝色链接和绿色成功状态为主
14
- $primary: #0969DA !default;
15
-
16
- $body-color: #1F2328 !default;
17
- $link-color: #0969DA !default;
18
- $code-bg: #F6F8FA !default;
19
- $code-color: #1F2328 !default;
20
- $border-color: #D0D7DE !default;
21
-
22
- $navbar-bg: #FFFFFF !default;
23
- $navbar-fg: #1F2328 !default;
24
-
25
- // Callout 语义色(与 palettes/github/tokens.css --callout-*-border 亮色一致;驱动编译期图标 data URI)
26
- // 对齐页面功能色:链接蓝/成功绿/低饱和琥珀与红/Primer done 紫
27
- $callout-color-note: #0969DA !default;
28
- $callout-color-tip: #1F883D !default;
29
- $callout-color-warning: #8A5C00 !default;
30
- $callout-color-important: #8250DF !default;
31
- $callout-color-caution: #CF222E !default;
32
- $callout-color-danger: #CF222E !default;
33
-
34
- /*-- scss:rules --*/