File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,21 @@ maintain the themes:
4
4
2. Output CSS styles (https://github.com/alecthomas/chroma/tree/master/styles)
5
5
* ./chroma --html-styles --style=github
6
6
* ./chroma --html-styles --style=github-dark
7
- 3. Remove unnecessary styles like ".bg"
8
- 4. Add the style name to the code
7
+ 3. Remove unnecessary styles like ".bg", ".chroma { background-color }"
8
+ 4. Add the style name to the code comment
9
9
*/
10
10
11
11
.chroma {
12
12
background-color : var (--color-code-bg );
13
13
}
14
14
15
+ // do not want to use any Chroma font style, overwrite them
16
+ .chroma * {
17
+ font-weight : normal !important ;
18
+ font-style : normal !important ;
19
+ text-decoration : none !important ;
20
+ }
21
+
15
22
/* LineTableTD */
16
23
.chroma .lntd {
17
24
vertical-align : top ;
You can’t perform that action at this time.
0 commit comments