Skip to content

Commit b480118

Browse files
committed
langref: dark style. easier on the eyes
1 parent d7cec5b commit b480118

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

doc/langref.html.in

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
66
<title>Documentation - The Zig Programming Language</title>
77
<style type="text/css">
8+
body{
9+
background-color:#111;
10+
color: #bbb;
11+
}
12+
a {
13+
color: #88f;
14+
text-decoration: none;
15+
}
816
table, th, td {
917
border-collapse: collapse;
1018
border: 1px solid grey;
@@ -39,40 +47,40 @@
3947

4048
overflow-x: auto;
4149
padding: 0.5em;
42-
color: #333;
43-
background: #f8f8f8;
50+
color: #ccc;
51+
background: #222;
4452
}
4553
.table-wrapper {
4654
width: 100%;
4755
overflow-y: auto;
4856
}
4957

5058
.tok-kw {
51-
color: #333;
59+
color: #eee;
5260
font-weight: bold;
5361
}
5462
.tok-str {
55-
color: #d14;
63+
color: #2e5;
5664
}
5765
.tok-builtin {
58-
color: #0086b3;
66+
color: #ff894c;
5967
}
6068
.tok-comment {
61-
color: #998;
69+
color: #aa7;
6270
font-style: italic;
6371
}
6472
.tok-fn {
65-
color: #900;
73+
color: #e33;
6674
font-weight: bold;
6775
}
6876
.tok-null {
69-
color: #008080;
77+
color: #ff8080;
7078
}
7179
.tok-number {
72-
color: #008080;
80+
color: #ff8080;
7381
}
7482
.tok-type {
75-
color: #458;
83+
color: #68f;
7684
font-weight: bold;
7785
}
7886

@@ -103,6 +111,14 @@
103111
border-bottom: 1px solid grey;
104112
}
105113
}
114+
h1 a, h2 a, h3 a, h4 a, h5 a {
115+
text-decoration: none;
116+
color: #aaa;
117+
}
118+
#nav a {
119+
color: #aaa;
120+
text-decoration: none;
121+
}
106122
</style>
107123
</head>
108124
<body>

0 commit comments

Comments
 (0)