sphinxcontrib-waterloo-docstrings 0.3.1__tar.gz

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,24 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2026, uwe-at-sdv
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,103 @@
1
+ Metadata-Version: 2.4
2
+ Name: sphinxcontrib-waterloo-docstrings
3
+ Version: 0.3.1
4
+ Summary: Sphinx extension for Waterloo Docstrings
5
+ Author: Uwe
6
+ License-Expression: BSD-2-Clause
7
+ Project-URL: Homepage, https://github.com/uwe-at-sdv/sdv_doc_waterloo
8
+ Project-URL: Source, https://github.com/uwe-at-sdv/sdv_doc_waterloo/tree/sphinx
9
+ Project-URL: Issues, https://github.com/uwe-at-sdv/sdv_doc_waterloo/issues
10
+ Keywords: docstrings,documentation,normativity,sphinx,waterloo
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Framework :: Sphinx :: Extension
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Topic :: Documentation
23
+ Classifier: Topic :: Software Development :: Documentation
24
+ Requires-Python: >=3.10
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: sdv-doc-waterloo<0.13,>=0.12
28
+ Provides-Extra: sphinx
29
+ Requires-Dist: sphinx; extra == "sphinx"
30
+ Dynamic: license-file
31
+
32
+ <p align="center">
33
+ <img src="https://raw.githubusercontent.com/uwe-at-sdv/sdv_doc_waterloo/main/img/wtrl_logo_color.svg" alt="Waterloo Logo" width="160">
34
+ </p>
35
+
36
+ # Sphinx-Contrib Waterloo Docstrings
37
+
38
+ ![License](https://img.shields.io/badge/license-BSD--2--Clause-blue)
39
+ ![Version](https://img.shields.io/badge/version-0.3.1-orange)
40
+ ![Python](https://img.shields.io/badge/python-3.10%2B-blue)
41
+ ![Sphinx](https://img.shields.io/badge/Sphinx-extension-0A507A)
42
+ [![GitHub](https://img.shields.io/badge/GitHub-sdv_doc_waterloo%40sphinx-181717?logo=github)](https://github.com/uwe-at-sdv/sdv_doc_waterloo/tree/sphinx)
43
+
44
+ # This branch is under development
45
+
46
+ The `sphinxcontrib-waterloo-docstrings` package provides the Sphinx rendering
47
+ layer for Waterloo Docstrings.
48
+
49
+ Waterloo Docstrings define a structured docstring format with explicit section
50
+ semantics, normativity rules, and machine-readable output layers. This package
51
+ connects that format to Sphinx by providing roles, directives, and rendering
52
+ helpers for documentation projects that want to present Waterloo docstrings as
53
+ human-readable HTML.
54
+
55
+ The extension is intentionally theme-friendly. It lets Sphinx themes such as
56
+ Furo, Alabaster, and Classic provide most of the final layout, while the
57
+ extension supplies semantic CSS classes for Waterloo roles and generated
58
+ documentation structures.
59
+
60
+ ## What it provides
61
+
62
+ - Sphinx roles for Waterloo inline markup.
63
+ - Directives for rendering modules, classes, functions, methods, and context scopes.
64
+ - Static CSS for Waterloo semantic roles.
65
+ - Theme showcase sources for Furo, Alabaster, and Classic.
66
+
67
+ ## Related packages
68
+
69
+ - `sdv-doc-waterloo`: core parser, validator, renderer, `waterlint`, and MCP server.
70
+ - `python-waterloo-lexer`: Pygments lexer for Python files with Waterloo docstrings.
71
+
72
+ ## Documentation showcase
73
+
74
+ The public project documentation is published at:
75
+
76
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/>
77
+
78
+ The Sphinx extension showcase is planned under:
79
+
80
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/sphinx/furo/>
81
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/sphinx/alabaster/>
82
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/sphinx/classic/>
83
+
84
+ ## Installation
85
+
86
+ Install the Sphinx extension from PyPI:
87
+
88
+ ```bash
89
+ pip install sphinxcontrib-waterloo-docstrings
90
+ ```
91
+
92
+ The package depends on `sdv-doc-waterloo` and provides the Sphinx integration
93
+ layer for Waterloo Docstrings.
94
+
95
+ ## Quick check
96
+
97
+ After installation, add the extension to a Sphinx `conf.py`:
98
+
99
+ ```python
100
+ extensions = [
101
+ "sphinxcontrib.waterloo_docstrings",
102
+ ]
103
+ ```
@@ -0,0 +1,72 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/uwe-at-sdv/sdv_doc_waterloo/main/img/wtrl_logo_color.svg" alt="Waterloo Logo" width="160">
3
+ </p>
4
+
5
+ # Sphinx-Contrib Waterloo Docstrings
6
+
7
+ ![License](https://img.shields.io/badge/license-BSD--2--Clause-blue)
8
+ ![Version](https://img.shields.io/badge/version-0.3.1-orange)
9
+ ![Python](https://img.shields.io/badge/python-3.10%2B-blue)
10
+ ![Sphinx](https://img.shields.io/badge/Sphinx-extension-0A507A)
11
+ [![GitHub](https://img.shields.io/badge/GitHub-sdv_doc_waterloo%40sphinx-181717?logo=github)](https://github.com/uwe-at-sdv/sdv_doc_waterloo/tree/sphinx)
12
+
13
+ # This branch is under development
14
+
15
+ The `sphinxcontrib-waterloo-docstrings` package provides the Sphinx rendering
16
+ layer for Waterloo Docstrings.
17
+
18
+ Waterloo Docstrings define a structured docstring format with explicit section
19
+ semantics, normativity rules, and machine-readable output layers. This package
20
+ connects that format to Sphinx by providing roles, directives, and rendering
21
+ helpers for documentation projects that want to present Waterloo docstrings as
22
+ human-readable HTML.
23
+
24
+ The extension is intentionally theme-friendly. It lets Sphinx themes such as
25
+ Furo, Alabaster, and Classic provide most of the final layout, while the
26
+ extension supplies semantic CSS classes for Waterloo roles and generated
27
+ documentation structures.
28
+
29
+ ## What it provides
30
+
31
+ - Sphinx roles for Waterloo inline markup.
32
+ - Directives for rendering modules, classes, functions, methods, and context scopes.
33
+ - Static CSS for Waterloo semantic roles.
34
+ - Theme showcase sources for Furo, Alabaster, and Classic.
35
+
36
+ ## Related packages
37
+
38
+ - `sdv-doc-waterloo`: core parser, validator, renderer, `waterlint`, and MCP server.
39
+ - `python-waterloo-lexer`: Pygments lexer for Python files with Waterloo docstrings.
40
+
41
+ ## Documentation showcase
42
+
43
+ The public project documentation is published at:
44
+
45
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/>
46
+
47
+ The Sphinx extension showcase is planned under:
48
+
49
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/sphinx/furo/>
50
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/sphinx/alabaster/>
51
+ - <https://uwe-at-sdv.github.io/sdv_doc_waterloo/sphinx/classic/>
52
+
53
+ ## Installation
54
+
55
+ Install the Sphinx extension from PyPI:
56
+
57
+ ```bash
58
+ pip install sphinxcontrib-waterloo-docstrings
59
+ ```
60
+
61
+ The package depends on `sdv-doc-waterloo` and provides the Sphinx integration
62
+ layer for Waterloo Docstrings.
63
+
64
+ ## Quick check
65
+
66
+ After installation, add the extension to a Sphinx `conf.py`:
67
+
68
+ ```python
69
+ extensions = [
70
+ "sphinxcontrib.waterloo_docstrings",
71
+ ]
72
+ ```
@@ -0,0 +1 @@
1
+ 0.3.1
@@ -0,0 +1,55 @@
1
+ [build-system]
2
+ requires = ["setuptools>=67", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "sphinxcontrib-waterloo-docstrings"
7
+ description = "Sphinx extension for Waterloo Docstrings"
8
+ dynamic = ["version"]
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ authors = [{ name = "Uwe" }]
12
+ license = "BSD-2-Clause"
13
+ keywords = [
14
+ "docstrings",
15
+ "documentation",
16
+ "normativity",
17
+ "sphinx",
18
+ "waterloo",
19
+ ]
20
+ classifiers = [
21
+ "Development Status :: 4 - Beta",
22
+ "Environment :: Console",
23
+ "Framework :: Sphinx :: Extension",
24
+ "Intended Audience :: Developers",
25
+ "Operating System :: OS Independent",
26
+ "Programming Language :: Python :: 3",
27
+ "Programming Language :: Python :: 3.10",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13",
31
+ "Programming Language :: Python :: 3.14",
32
+ "Topic :: Documentation",
33
+ "Topic :: Software Development :: Documentation",
34
+ ]
35
+ dependencies = [
36
+ "sdv-doc-waterloo>=0.12,<0.13",
37
+ ]
38
+
39
+ [project.urls]
40
+ Homepage = "https://github.com/uwe-at-sdv/sdv_doc_waterloo"
41
+ Source = "https://github.com/uwe-at-sdv/sdv_doc_waterloo/tree/sphinx"
42
+ Issues = "https://github.com/uwe-at-sdv/sdv_doc_waterloo/issues"
43
+
44
+ [project.optional-dependencies]
45
+ sphinx = [
46
+ "sphinx"
47
+ ]
48
+
49
+ [tool.setuptools.package-data]
50
+ "sphinxcontrib.waterloo_docstrings" = [
51
+ "_static/*.css"
52
+ ]
53
+
54
+ [tool.setuptools.dynamic]
55
+ version = {file = "VERSION"}
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,17 @@
1
+ from importlib.metadata import PackageNotFoundError, version
2
+
3
+ try:
4
+ __version__ = version("sphinxcontrib-waterloo-docstrings")
5
+ except PackageNotFoundError:
6
+ __version__ = "0.0.0"
7
+
8
+
9
+ def setup(app):
10
+ # Lazy import because sphinx is marked as optional dependency
11
+ # in pyproject.toml. The user should actively install sphinx.
12
+ from .extension import setup as extension_setup
13
+
14
+ return extension_setup(app)
15
+
16
+
17
+ __all__ = ["__version__", "setup"]
@@ -0,0 +1,293 @@
1
+ /*
2
+ We define common styles across languages. Ideally these coincide
3
+ more or less with those used in markup2. This is possible because
4
+ we are moving away from highlight and implement our own stuff.
5
+ Although highlight is brilliant, we prefer the inhouse solution
6
+ becaues it allows more control and has a well-known C++ API.
7
+
8
+ Current state [2023-08-08]
9
+ - glsl
10
+ - cpp
11
+ - minil
12
+ - xml
13
+ - python
14
+ */
15
+
16
+ :root {
17
+ /* 1. Etwas kleinere Schrift macht die Box kompakter und hebt sie optisch an */
18
+ --font-size--code: 0.875em;
19
+
20
+ /* 2. Falls installiert: Furo bevorzugt eigentlich Fira Code oder JetBrains Mono.
21
+ Indem wir moderne Programmierschriften nach vorne stellen, nutzt Firefox
22
+ bessere Schriftmetriken, falls du sie auf dem System hast. */
23
+ --font-stack--monospace: "JetBrains Mono", "Fira Code", "Fira Mono", "Menlo", "Consolas", monospace;
24
+ }
25
+
26
+ /* 3. Korrektur des Innenabstands (Padding) speziell f�r Firefox/Linux */
27
+ code.docutils.literal {
28
+ vertical-align: 0.06em;
29
+ font-size:95%;
30
+ }
31
+
32
+ :root
33
+ {
34
+ --sdv-plain-color:inherit;
35
+ --sdv-plain-font-weight:normal;
36
+ --sdv-plain-font-style:normal;
37
+
38
+ --sdv-attr-color:#077;
39
+ --sdv-attr-font-weight:normal;
40
+ --sdv-attr-font-style:normal;
41
+
42
+ --sdv-cmd-color:#996600;
43
+ --sdv-cmd-font-weight:normal;
44
+ --sdv-cmd-font-style:normal;
45
+
46
+ --sdv-class-color:#770000;
47
+ --sdv-class-font-weight:normal;
48
+ --sdv-class-font-style:normal;
49
+
50
+ --sdv-comment-color:#777;
51
+ --sdv-comment-font-weight:normal;
52
+ --sdv-comment-font-style:italic;
53
+
54
+ --sdv-dfn-color:inherit;
55
+ --sdv-dfn-font-weight:inherit;
56
+ --sdv-dfn-font-style:italic;
57
+
58
+ --sdv-func-color:#3040ff;
59
+ --sdv-func-font-weight:normal;
60
+ --sdv-func-font-style:normal;
61
+
62
+ --sdv-number-color:#708238;
63
+ --sdv-number-font-weight:normal;
64
+ --sdv-number-font-style:normal;
65
+
66
+ --sdv-value-color:#004400;
67
+ --sdv-value-font-weight:normal;
68
+ --sdv-value-font-style:normal;
69
+
70
+ --sdv-preprocessor-color:#000055;
71
+ --sdv-preprocessor-font-weight:normal;
72
+ --sdv-preprocessor-font-style:normal;
73
+
74
+ --sdv-string-literal-color:#708238;
75
+ --sdv-string-literal-font-weight:normal;
76
+ --sdv-string-literal-font-style:normal;
77
+
78
+ --sdv-file-font-weight: normal;
79
+ --sdv-file-font-style: normal;
80
+ --sdv-file-color: #35f;
81
+
82
+ --sdv-key-color:inherit;
83
+ --sdv-key-font-weight:normal;
84
+ --sdv-key-font-style:normal;
85
+
86
+ --sdv-label-color:inherit;
87
+ --sdv-label-font-weight:normal;
88
+ --sdv-label-font-style:oblique;
89
+
90
+ --sdv-mod-color:#462;
91
+ --sdv-mod-font-weight:normal;
92
+ --sdv-mod-font-style:normal;
93
+
94
+ --sdv-norm-color:inherit;
95
+ --sdv-norm-font-weight:normal;
96
+ --sdv-norm-font-style:italic;
97
+
98
+ --sdv-op-color:inherit;
99
+ --sdv-op-font-weight:bold;
100
+ --sdv-op-font-style:normal;
101
+
102
+ --sdv-opt-color:inherit;
103
+ --sdv-opt-font-weight:bold;
104
+ --sdv-opt-font-style:normal;
105
+
106
+ --sdv-pkg-color:#304030;
107
+ --sdv-pkg-font-weight:normal;
108
+ --sdv-pkg-font-style:normal;
109
+
110
+ --sdv-tag-color:#900;
111
+ --sdv-tag-font-weight:normal;
112
+ --sdv-tag-font-style:normal;
113
+
114
+ --sdv-term-color:inherit;
115
+ --sdv-term-font-weight:normal;
116
+ --sdv-term-font-style:italic;
117
+
118
+ --sdv-type-color:#770000;
119
+ --sdv-type-font-weight:normal;
120
+ --sdv-type-font-style:normal;
121
+
122
+ --sdv-url-font-weight: normal;
123
+ --sdv-url-font-style: normal;
124
+ --sdv-url-color: #35f;;
125
+
126
+ --sdv-var-color:#a00;
127
+ --sdv-var-font-weight:normal;
128
+ --sdv-var-font-style:normal;
129
+
130
+ /* don't know */
131
+ --sdv-variable-color:#077;
132
+ --sdv-variable-font-weight:normal;
133
+ --sdv-variable-font-style:normal;
134
+
135
+ /* shit */
136
+ --sdv-string_literal-color:#708238;
137
+ --sdv-string_literal-font-weight:normal;
138
+ --sdv-string_literal-font-style:normal;
139
+
140
+ --sdv-keyword-color:#000000;
141
+ --sdv-keyword-font-weight:bold;
142
+ --sdv-keyword-font-style:normal;
143
+
144
+ --sdv-storage-color:#aa0000;
145
+ --sdv-storage-font-weight:normal;
146
+ --sdv-storage-font-style:normal;
147
+
148
+ --sdv-func_call-color:#00d;
149
+ --sdv-func_call-font-weight:normal;
150
+ --sdv-func_call-font-style:normal;
151
+
152
+ --sdv-builtin_func_call-color:#00d;
153
+ --sdv-builtin_func_call-font-weight:bold;
154
+ --sdv-builtin_func_call-font-style:normal;
155
+
156
+
157
+
158
+
159
+ --sdv-typedesc-color:#00f;
160
+ --sdv-typedesc-font-weight:bold;
161
+ --sdv-typedesc-font-style:normal;
162
+
163
+ --sdv-reserved-color:#aa5500;
164
+ --sdv-reserved-font-weight:normal;
165
+ --sdv-reserved-font-style:normal;
166
+
167
+ --sdv-placeholder-color:#005500;
168
+ --sdv-placeholder-font-weight:normal;
169
+ --sdv-placeholder-font-style:normal;
170
+
171
+ --sdv-decorator-color:#aa0000;
172
+ --sdv-decorator-font-weight:normal;
173
+ --sdv-decorator-font-style:normal;
174
+ /* xml */
175
+ --sdv-procinst-color:#000;
176
+ --sdv-procinst-font-weight:bold;
177
+ --sdv-procinst-font-style:normal;
178
+
179
+
180
+ --sdv-cdata-color:#000;
181
+ --sdv-cdata-font-weight:bold;
182
+ --sdv-cdata-font-style:normal;
183
+
184
+ --sdv-entity-color:#777;
185
+ --sdv-entity-font-weight:bold;
186
+ --sdv-entity-font-style:normal;
187
+ /* markup2 */
188
+ --sdv-escseq-color:#cd212a;
189
+ --sdv-escseq-font-weight:normal;
190
+ --sdv-escseq-font-style:normal;
191
+
192
+ --sdv-verbatim-color:#ff7f00;
193
+ --sdv-verbatim-font-weight:bold;
194
+ --sdv-verbatim-font-style:normal;
195
+ /* nft */
196
+ --sdv-command-color:#bb0000;
197
+ --sdv-command-font-weight:normal;
198
+ --sdv-command-font-style:normal;
199
+
200
+ --sdv-structure-color:#007700;
201
+ --sdv-structure-font-weight:normal;
202
+ --sdv-structure-font-style:normal;
203
+
204
+ --sdv-match-color:#000000;
205
+ --sdv-match-font-weight:bold;
206
+ --sdv-match-font-style:normal;
207
+
208
+ --sdv-member-color:#aaaa00;
209
+ --sdv-member-font-weight:normal;
210
+ --sdv-member-font-style:italic;
211
+
212
+ --sdv-reference-color:#aa0000;
213
+ --sdv-reference-font-weight:bold;
214
+ --sdv-reference-font-style:normal;
215
+
216
+ --sdv-address-family-color:#cc7700;
217
+ --sdv-address-family-font-weight:normal;
218
+ --sdv-address-family-font-style:normal;
219
+
220
+ --sdv-verdict-statement-color:#0077ff;
221
+ --sdv-verdict-statement-font-weight:bold;
222
+ --sdv-verdict-statement-font-style:normal;
223
+ }
224
+
225
+ /* Furo stores the active theme on body, not on :root. */
226
+ :root {
227
+ --sdv-dark-attr-color:#099;
228
+ --sdv-dark-class-color:#e66;
229
+ --sdv-dark-cmd-color:#cc8800;
230
+ --sdv-dark-comment-color:#777;
231
+ --sdv-dark-func-color:#6090ff;
232
+ --sdv-dark-number-color:#708238;
233
+ --sdv-dark-preprocessor-color:#000055;
234
+ --sdv-dark-string-literal-color:#708238;
235
+ --sdv-dark-file-color: #7af;
236
+ --sdv-dark-label-color:var(--color-foreground-primary);
237
+ --sdv-dark-mod-color:#8c4;
238
+ --sdv-dark-pkg-color:#8b8;
239
+ --sdv-dark-pkg-font-weight:normal;
240
+ --sdv-dark-pkg-font-style:normal;
241
+ --sdv-dark-tag-color:#e44;
242
+ --sdv-dark-type-color:#e66;
243
+ --sdv-dark-url-color: #7af;
244
+ --sdv-dark-value-color:#8c4;
245
+ --sdv-dark-var-color:#f34;
246
+ }
247
+
248
+ body[data-theme="dark"] {
249
+ --sdv-attr-color:var(--sdv-dark-attr-color);
250
+ --sdv-class-color:var(--sdv-dark-class-color);
251
+ --sdv-cmd-color:var(--sdv-dark-cmd-color);
252
+ --sdv-comment-color:var(--sdv-dark-comment-color);
253
+ --sdv-func-color:var(--sdv-dark-func-color);
254
+ --sdv-number-color:var(--sdv-dark-number-color);
255
+ --sdv-preprocessor-color:var(--sdv-dark-preprocessor-color);
256
+ --sdv-string-literal-color:var(--sdv-dark-string-literal-color);
257
+ --sdv-file-color:var(--sdv-dark-file-color);
258
+ --sdv-label-color:var(--sdv-dark-label-color);
259
+ --sdv-mod-color:var(--sdv-dark-mod-color);
260
+ --sdv-pkg-color:var(--sdv-dark-pkg-color);
261
+ --sdv-pkg-font-weight:var(--sdv-dark-pkg-font-weight);
262
+ --sdv-pkg-font-style:var(--sdv-dark-pkg-font-style);
263
+ --sdv-tag-color:var(--sdv-dark-tag-color);
264
+ --sdv-type-color:var(--sdv-dark-type-color);
265
+ --sdv-url-color:var(--sdv-dark-url-color);
266
+ --sdv-value-color:var(--sdv-dark-value-color);
267
+ --sdv-var-color:var(--sdv-dark-var-color);
268
+ }
269
+
270
+ @media (prefers-color-scheme: dark) {
271
+ :root,
272
+ body[data-theme="auto"] {
273
+ --sdv-attr-color:var(--sdv-dark-attr-color);
274
+ --sdv-class-color:var(--sdv-dark-class-color);
275
+ --sdv-cmd-color:var(--sdv-dark-cmd-color);
276
+ --sdv-comment-color:var(--sdv-dark-comment-color);
277
+ --sdv-func-color:var(--sdv-dark-func-color);
278
+ --sdv-number-color:var(--sdv-dark-number-color);
279
+ --sdv-preprocessor-color:var(--sdv-dark-preprocessor-color);
280
+ --sdv-string-literal-color:var(--sdv-dark-string-literal-color);
281
+ --sdv-file-color:var(--sdv-dark-file-color);
282
+ --sdv-label-color:var(--sdv-dark-label-color);
283
+ --sdv-mod-color:var(--sdv-dark-mod-color);
284
+ --sdv-pkg-color:var(--sdv-dark-pkg-color);
285
+ --sdv-pkg-font-weight:var(--sdv-dark-pkg-font-weight);
286
+ --sdv-pkg-font-style:var(--sdv-dark-pkg-font-style);
287
+ --sdv-tag-color:var(--sdv-dark-tag-color);
288
+ --sdv-type-color:var(--sdv-dark-type-color);
289
+ --sdv-url-color:var(--sdv-dark-url-color);
290
+ --sdv-value-color:var(--sdv-dark-value-color);
291
+ --sdv-var-color:var(--sdv-dark-var-color);
292
+ }
293
+ }