Skip to content

Commit 50942eb

Browse files
authored
Merge pull request #30 from EzFramework/docs/improved-colors
Improved documentation color scheme
2 parents 028c847 + bc08c99 commit 50942eb

2 files changed

Lines changed: 99 additions & 1 deletion

File tree

docs/_sass/custom/custom.scss

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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; }

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.github.EzFramework</groupId>
77
<artifactId>java-query-builder</artifactId>
8-
<version>1.0.5</version>
8+
<version>1.0.6</version>
99
<packaging>jar</packaging>
1010

1111
<name>JavaQueryBuilder</name>

0 commit comments

Comments
 (0)