Skip to content

Commit 1a286e7

Browse files
committed
update site
1 parent 8e6f376 commit 1a286e7

File tree

15 files changed

+645
-189
lines changed

15 files changed

+645
-189
lines changed

_quarto.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,12 @@ format:
2424
html:
2525
citations-hover: false
2626
citation-location: margin
27-
code-block-bg: "#f8f5f0"
2827
code-copy: hover
2928
code-tools:
3029
source: repo
3130
# TODO move includes to scss
32-
header-includes: |
33-
<link rel="preconnect" href="https://fonts.googleapis.com">
34-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
35-
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans&display=swap" rel="stylesheet">
36-
highlight-style: monochrome
37-
mainfont: Fira Sans
38-
monofont: Fira Code
31+
highlight-style: assets/custom.theme.json
32+
reference-location: margin
3933
theme:
4034
- sandstone
4135
- assets/custom.scss

assets/custom.scss

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*-- scss:defaults --*/
22

3-
//
4-
// Color system
5-
//
3+
@import "https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans&display=swap";
4+
65
$white: #fff !default;
76
$gray-100: #f8f9fa !default;
87
$gray-200: #f8f5f0 !default;
@@ -38,10 +37,13 @@ $dark: $gray-800 !default;
3837
$body-bg: $white !default;
3938
$body-color: $dark !default;
4039

41-
$link-color: $primary;
42-
$link-hover-color: $primary;
40+
body {
41+
font-family: "Fira Sans";
42+
}
4343

44-
/*-- scss:rules --*/
45-
header, h1, h2, h3, h4, h5, h6, navbar, #TOC, table, th, td, tr {
44+
code, h1, h2, h3, h4, h5, h6, header, navbar, #TOC, table, td, th, tr {
4645
font-family: "Fira Code";
4746
}
47+
48+
$link-color: $primary;
49+
$link-hover-color: $primary;

assets/custom.theme

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
{
2+
"text-color": null,
3+
"background-color": "#f1f3f5",
4+
"line-number-color": "#aaaaaa",
5+
"line-number-background-color": null,
6+
"text-styles": {
7+
"Normal": {
8+
"text-color": "#3e3f3a" # ok
9+
},
10+
"Other": {
11+
"text-color": "#3e3f3a", # ok
12+
"background-color": null,
13+
"bold": false,
14+
"italic": false,
15+
"underline": false
16+
},
17+
"Attribute": {
18+
"text-color": "#657422",
19+
"background-color": null,
20+
"bold": false,
21+
"italic": false,
22+
"underline": false
23+
},
24+
"SpecialString": {
25+
"text-color": "#20794D",
26+
"background-color": null,
27+
"bold": false,
28+
"italic": false,
29+
"underline": false
30+
},
31+
"Annotation": {
32+
"text-color": "#5E5E5E",
33+
"background-color": null,
34+
"bold": false,
35+
"italic": false,
36+
"underline": false
37+
},
38+
"Function": {
39+
"text-color": "#4758AB",
40+
"background-color": null,
41+
"bold": false,
42+
"italic": false,
43+
"underline": false
44+
},
45+
"String": {
46+
"text-color": "#20794D",
47+
"background-color": null,
48+
"bold": false,
49+
"italic": false,
50+
"underline": false
51+
},
52+
"ControlFlow": {
53+
"text-color": "#3e3f3a", # ok
54+
"background-color": null,
55+
"bold": false,
56+
"italic": false,
57+
"underline": false
58+
},
59+
"Operator": {
60+
"text-color": "#5E5E5E",
61+
"background-color": null,
62+
"bold": false,
63+
"italic": false,
64+
"underline": false
65+
},
66+
"Error": {
67+
"text-color": "#AD0000",
68+
"background-color": null,
69+
"bold": false,
70+
"italic": false,
71+
"underline": false
72+
},
73+
"BaseN": {
74+
"text-color": "#AD0000",
75+
"background-color": null,
76+
"bold": false,
77+
"italic": false,
78+
"underline": false
79+
},
80+
"Alert": {
81+
"text-color": "#AD0000",
82+
"background-color": null,
83+
"bold": false,
84+
"italic": false,
85+
"underline": false
86+
},
87+
"Variable": {
88+
"text-color": "#111111",
89+
"background-color": null,
90+
"bold": false,
91+
"italic": false,
92+
"underline": false
93+
},
94+
"BuiltIn": {
95+
"text-color": null,
96+
"background-color": null,
97+
"bold": false,
98+
"italic": false,
99+
"underline": false
100+
},
101+
"Extension": {
102+
"text-color": null,
103+
"background-color": null,
104+
"bold": false,
105+
"italic": false,
106+
"underline": false
107+
},
108+
"Preprocessor": {
109+
"text-color": "#AD0000",
110+
"background-color": null,
111+
"bold": false,
112+
"italic": false,
113+
"underline": false
114+
},
115+
"Information": {
116+
"text-color": "#5E5E5E",
117+
"background-color": null,
118+
"bold": false,
119+
"italic": false,
120+
"underline": false
121+
},
122+
"VerbatimString": {
123+
"text-color": "#20794D",
124+
"background-color": null,
125+
"bold": false,
126+
"italic": false,
127+
"underline": false
128+
},
129+
"Warning": {
130+
"text-color": "#5E5E5E",
131+
"background-color": null,
132+
"bold": false,
133+
"italic": true,
134+
"underline": false
135+
},
136+
"Documentation": {
137+
"text-color": "#5E5E5E",
138+
"background-color": null,
139+
"bold": false,
140+
"italic": true,
141+
"underline": false
142+
},
143+
"Import": {
144+
"text-color": "#00769E",
145+
"background-color": null,
146+
"bold": false,
147+
"italic": false,
148+
"underline": false
149+
},
150+
"Char": {
151+
"text-color": "#20794D",
152+
"background-color": null,
153+
"bold": false,
154+
"italic": false,
155+
"underline": false
156+
},
157+
"DataType": {
158+
"text-color": "#AD0000",
159+
"background-color": null,
160+
"bold": false,
161+
"italic": false,
162+
"underline": false
163+
},
164+
"Float": {
165+
"text-color": "#AD0000",
166+
"background-color": null,
167+
"bold": false,
168+
"italic": false,
169+
"underline": false
170+
},
171+
"Comment": {
172+
"text-color": "#5E5E5E",
173+
"background-color": null,
174+
"bold": false,
175+
"italic": false,
176+
"underline": false
177+
},
178+
"CommentVar": {
179+
"text-color": "#5E5E5E",
180+
"background-color": null,
181+
"bold": false,
182+
"italic": true,
183+
"underline": false
184+
},
185+
"Constant": {
186+
"text-color": "#8f5902",
187+
"background-color": null,
188+
"bold": false,
189+
"italic": false,
190+
"underline": false
191+
},
192+
"SpecialChar": {
193+
"text-color": "#5E5E5E",
194+
"background-color": null,
195+
"bold": false,
196+
"italic": false,
197+
"underline": false
198+
},
199+
"DecVal": {
200+
"text-color": "#AD0000",
201+
"background-color": null,
202+
"bold": false,
203+
"italic": false,
204+
"underline": false
205+
},
206+
"Keyword": {
207+
"text-color": "#3e3f3a", # ok
208+
"background-color": null,
209+
"bold": false,
210+
"italic": false,
211+
"underline": false
212+
}
213+
}
214+
}

0 commit comments

Comments
 (0)