@@ -33,7 +33,6 @@ You can customize the colors of the symbol types (see [`show_symbol_type_heading
33
33
--doc-symbol-ts-attribute-fg-color : #6f42c1 ;
34
34
--doc-symbol-ts-class-fg-color : #22863a ;
35
35
--doc-symbol-ts-constructor-fg-color : #1f66ff ;
36
- --doc-symbol-ts-data-fg-color : #0366d6 ;
37
36
--doc-symbol-ts-enum-fg-color : #6f42c1 ;
38
37
--doc-symbol-ts-enum_member-fg-color : #f0ad4e ;
39
38
--doc-symbol-ts-interface-fg-color : #6f42c1 ;
@@ -51,7 +50,6 @@ You can customize the colors of the symbol types (see [`show_symbol_type_heading
51
50
--doc-symbol-ts-attribute-bg-color : #6f42c11a ;
52
51
--doc-symbol-ts-class-bg-color : #22863a1a ;
53
52
--doc-symbol-ts-constructor-bg-color : #1f66ff1a ;
54
- --doc-symbol-ts-data-bg-color : #0366d61a ;
55
53
--doc-symbol-ts-enum-bg-color : #6f42c11a ;
56
54
--doc-symbol-ts-enum_member-bg-color : #f0ad4e1a ;
57
55
--doc-symbol-ts-interface-bg-color : #6f42c11a ;
@@ -71,7 +69,6 @@ You can customize the colors of the symbol types (see [`show_symbol_type_heading
71
69
--doc-symbol-ts-attribute-fg-color : #d4a5f0 ;
72
70
--doc-symbol-ts-class-fg-color : #78e7d1 ;
73
71
--doc-symbol-ts-constructor-fg-color : #6ba3ff ;
74
- --doc-symbol-ts-data-fg-color : #58a6ff ;
75
72
--doc-symbol-ts-enum-fg-color : #d4a5f0 ;
76
73
--doc-symbol-ts-enum_member-fg-color : #ffb864 ;
77
74
--doc-symbol-ts-interface-fg-color : #d4a5f0 ;
@@ -89,7 +86,6 @@ You can customize the colors of the symbol types (see [`show_symbol_type_heading
89
86
--doc-symbol-ts-attribute-bg-color : #d4a5f01a ;
90
87
--doc-symbol-ts-class-bg-color : #78e7d11a ;
91
88
--doc-symbol-ts-constructor-bg-color : #6ba3ff1a ;
92
- --doc-symbol-ts-data-bg-color : #58a6ff1a ;
93
89
--doc-symbol-ts-enum-bg-color : #d4a5f01a ;
94
90
--doc-symbol-ts-enum_member-bg-color : #ffb8641a ;
95
91
--doc-symbol-ts-interface-bg-color : #d4a5f01a ;
@@ -109,8 +105,8 @@ The `[data-md-color-scheme="*"]` selectors work with the [Material for MkDocs] t
109
105
110
106
``` css title="docs/css/mkdocstrings.css"
111
107
:root {
112
- --doc-symbol-ts-data -fg-color : #d1b619 ;
113
- --doc-symbol-ts-data -bg-color : #d1b6191a ;
108
+ --doc-symbol-ts-class -fg-color : #d1b619 ;
109
+ --doc-symbol-ts-class -bg-color : #d1b6191a ;
114
110
}
115
111
```
116
112
@@ -120,18 +116,18 @@ The `[data-md-color-scheme="*"]` selectors work with the [Material for MkDocs] t
120
116
<div id =" preview-symbol-colors " >
121
117
<style >
122
118
[data-md-color-scheme = " default" ] #preview-symbol-colors {
123
- --doc-symbol-ts-data -fg-color : #d1b619 ;
124
- --doc-symbol-ts-data -bg-color : #d1b6191a ;
119
+ --doc-symbol-ts-class -fg-color : #d1b619 ;
120
+ --doc-symbol-ts-class -bg-color : #d1b6191a ;
125
121
}
126
122
127
123
[data-md-color-scheme = " slate" ] #preview-symbol-colors {
128
- --doc-symbol-ts-data -fg-color : #46c2cb ;
129
- --doc-symbol-ts-data -bg-color : #46c2cb1a ;
124
+ --doc-symbol-ts-class -fg-color : #46c2cb ;
125
+ --doc-symbol-ts-class -bg-color : #46c2cb1a ;
130
126
}
131
127
</style >
132
128
<p >
133
129
Try cycling through the themes to see the colors for each theme:
134
- <code class="doc-symbol doc-symbol-ts-data "></code
130
+ <code class="doc-symbol doc-symbol-ts-class "></code
135
131
</p >
136
132
</div >
137
133
@@ -142,8 +138,8 @@ The `[data-md-color-scheme="*"]` selectors work with the [Material for MkDocs] t
142
138
You can also change the actual symbol names. For example, to use single letters instead of truncated types:
143
139
144
140
``` css title="docs/css/mkdocstrings.css"
145
- .doc-symbol-ts-data ::after {
146
- content : " D " ;
141
+ .doc-symbol-ts-class ::after {
142
+ content : " C " ;
147
143
}
148
144
```
149
145
@@ -152,12 +148,12 @@ You can also change the actual symbol names. For example, to use single letters
152
148
153
149
<div id =" preview-symbol-names " >
154
150
<style >
155
- #preview-symbol-names .doc-symbol-ts-data ::after {
156
- content : " D " ;
151
+ #preview-symbol-names .doc-symbol-ts-class ::after {
152
+ content : " C " ;
157
153
}
158
154
</style >
159
155
<ul >
160
- <li>Data : <code class="doc-symbol doc-symbol-ts-data "></code></li>
156
+ <li>Class : <code class="doc-symbol doc-symbol-ts-class "></code></li>
161
157
</ul >
162
158
</div >
163
159
0 commit comments