1+ // Custom overrides for Jaloquent dark theme
2+ //
3+ // just-the-docs imports this file after everything else, so these
4+ // declarations win over the default Rouge syntax highlighting.
5+
6+ // ── Inline code ──────────────────────────────────────────────────────────────
7+ code {
8+ color : #e0e0e0 ;
9+ }
10+
11+ // ── Fenced code blocks: Monokai-inspired dark syntax highlighting ─────────────
12+ // Neutral base
13+ .highlight {
14+ background-color : #222222 ;
15+ color : #e0e0e0 ;
16+ }
17+
18+ // Comments — muted gray
19+ .highlight .c ,
20+ .highlight .cm ,
21+ .highlight .cp ,
22+ .highlight .c1 ,
23+ .highlight .cs { color : #6c6c6c ; font-style : italic ; }
24+
25+ // Keywords — yellow accent
26+ .highlight .k ,
27+ .highlight .kc ,
28+ .highlight .kd ,
29+ .highlight .kn ,
30+ .highlight .kr { color : #f5c518 ; font-weight : bold ; }
31+ .highlight .kp { color : #f5c518 ; }
32+
33+ // Types — light blue
34+ .highlight .kt { color : #8fbcdb ; font-weight : bold ; }
35+
36+ // Strings — sky blue
37+ .highlight .s ,
38+ .highlight .s1 ,
39+ .highlight .s2 ,
40+ .highlight .sb ,
41+ .highlight .sc ,
42+ .highlight .sd ,
43+ .highlight .sh ,
44+ .highlight .si ,
45+ .highlight .ss ,
46+ .highlight .sx { color : #87ceeb ; }
47+
48+ // Numbers — soft purple
49+ .highlight .m ,
50+ .highlight .mi ,
51+ .highlight .mf ,
52+ .highlight .mh ,
53+ .highlight .mo ,
54+ .highlight .il { color : #b5a0e8 ; }
55+
56+ // Names / identifiers — neutral light
57+ .highlight .n ,
58+ .highlight .nb ,
59+ .highlight .ni ,
60+ .highlight .nl ,
61+ .highlight .nv { color : #e0e0e0 ; }
62+
63+ // Class / function / namespace names — light blue
64+ .highlight .na ,
65+ .highlight .nc ,
66+ .highlight .ne ,
67+ .highlight .nf ,
68+ .highlight .nn ,
69+ .highlight .nx { color : #8fbcdb ; }
70+
71+ // Decorator / constant / tag names — yellow accent
72+ .highlight .nd ,
73+ .highlight .no ,
74+ .highlight .nt { color : #f5c518 ; }
75+
76+ // Operators — neutral light
77+ .highlight .o { color : #c0c0c0 ; }
78+ .highlight .ow { color : #f5c518 ; font-weight : bold ; }
79+
80+ // Punctuation — neutral light
81+ .highlight .p ,
82+ .highlight .pi { color : #c0c0c0 ; }
83+
84+ // Errors — bright red, no garish background
85+ .highlight .err { color : #ff5555 ; background-color : transparent ; border : none ; }
86+
87+ // Diff colors
88+ .highlight .gd { color : #ff5555 ; }
89+ .highlight .gi { color : #50fa7b ; }
90+ .highlight .gp { color : #f5c518 ; font-weight : bold ; }
91+ .highlight .gh { color : #e0e0e0 ; font-weight : bold ; }
92+ .highlight .gu { color : #6c6c6c ; font-weight : bold ; }
93+ .highlight .ge { font-style : italic ; }
94+ .highlight .gs { font-weight : bold ; }
95+
96+ // XML/YAML/properties literal blocks
97+ .highlight .l ,
98+ .highlight .ld { color : #87ceeb ; }
0 commit comments