-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.bashmatic-pdf-theme.yml
More file actions
368 lines (368 loc) · 10.7 KB
/
.bashmatic-pdf-theme.yml
File metadata and controls
368 lines (368 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
font:
catalog:
merge: true # set value to true to merge catalog with theme you're extending
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
Noto Serif:
normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
# M+ 1mn supports ASCII and the circled numbers used for conums
M+ 1mn:
normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
Barlow:
bold: barlowcondensed-semibold.ttf
bold_italic: barlowcondensed-semibolditalic.ttf
italic: barlowcondensed-italic.ttf
normal: barlowcondensed-regular.ttf
semibold: barlowcondensed-semibold.ttf
semibold_italic: barlowcondensed-semibolditalic.ttf
Cairo:
bold: cairo-bold.ttf
bold_italic: cairo-black.ttf
italic: cairo-black.ttf
normal: cairo-regular.ttf
black: cairo-black.ttf
semibold: cairo-semibold.ttf
AdventPro:
normal: adventpro-light.ttf
bold: adventpro-bold.ttf
semibold: adventpro-semibold.ttf
italic: adventpro-semibold.ttf
bold_italic: adventpro-thin.ttf
Arvo:
bold: arvo-bold.ttf
bold_italic: arvo-bolditalic.ttf
italic: arvo-italic.ttf
normal: arvo-regular.ttf
Cascadia:
normal: cascadiamono-regular.ttf
bold: cascadiamono-bold.ttf
bold_italic: cascadiamono-semibold.ttf
italic: cascadiamono-semilight.ttf
semibold: cascadiamono-semibold.ttf
Lato:
black: lato-black.ttf
black_italic: lato-blackitalic.ttf
bold: lato-bold.ttf
bold_italic: lato-bolditalic.ttf
hairline: lato-hairline.ttf
hairline_italic: lato-hairlineitalic.ttf
heavy: lato-heavy.ttf
heavy_italic: lato-heavyitalic.ttf
italic: lato-italic.ttf
light: lato-light.ttf
light_italic: lato-lightitalic.ttf
medium: lato-medium.ttf
medium_italic: lato-mediumitalic.ttf
regular: lato-regular.ttf
semibold: lato-semibold.ttf
semibold_italic: lato-semibolditalic.ttf
thin: lato-thin.ttf
Dosis:
bold: dosis-bold.ttf
extra_bold: dosis-extrabold.ttf
extra_light: dosis-extralight.ttf
light: dosis-light.ttf
medium: dosis-medium.ttf
regular: dosis-regular.ttf
semibold: dosis-semibold.ttf
italic: dosis-extralight.ttf
bold_italic: dosis-light.ttf
VictorMono:
bold: victormono-bold.ttf
bold_italic: victormono-bolditalic.ttf
extra_light: victormono-extralight.ttf
extra_light_italic: victormono-extralightitalic.ttf
italic: victormono-italic.ttf
light: victormono-light.ttf
light_italic: victormono-lightitalic.ttf
medium: victormono-medium.ttf
medium_italic: victormono-mediumitalic.ttf
regular: victormono-regular.ttf
semibold: victormono-semibold.ttf
semibold_italic: victormono-semibolditalic.ttf
thin: victormono-thin.ttf
thin_italic: victormono-thinitalic.ttf
page:
background_color: FFFFFF
layout: portrait
initial_zoom: FitH
margin: [0.5in, 0.67in, 0.67in, 0.67in]
# margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
margin_inner: 0.75in
margin_outer: 0.59in
size: letter
base:
text_align: justify
font_color: 333333
font_family: Lato
font_size: 10.5
# line_height_length is really just a vertical spacing variable; it's not actually the height of a line
line_height_length: 11
# The Noto font family has a built-in line height of 1.36
# With this line_height, a line of text will occupy a height of 15.78pt
line_height: $base_line_height_length / 10.5
font_size_large: round($base_font_size * 1.25)
font_size_small: round($base_font_size * 0.85)
font_size_min: $base_font_size * 0.75
font_style: normal
border_color: EEEEEE
border_radius: 4
border_width: 0.5
role:
lead:
font_size: $base_font_size_large
line-through:
text_decoration: line-through
underline:
text_decoration: underline
big:
font_size: 1.2em
small:
font_size: 0.8em
subtitle:
font_color: 999999
font_size: 0.8em
font_style: normal_italic
vertical_rhythm: $base_line_height_length
horizontal_rhythm: $base_line_height_length
link:
font_color: 428BCA
# codespan is currently used for monospaced phrases and table cells
codespan:
font_color: B12146
font_family: VictorMono
font_size: 8
font_weight: 400
line_height: 9.5
button:
content: "[\u2009%s\u2009]"
font_style: bold
kbd:
background_color: F5F5F5
font_size: $codespan_font_size
border_color: CCCCCC
border_offset: 2
border_radius: 2
border_width: 0.5
font_family: $codespan_font_family
separator: "\u202f+\u202f"
mark:
background_color: FFFF00
border_offset: 1
menu:
caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
font_style: bold
heading:
text_align: left
font_color: $base_font_color
font_style: bold
font_family: Barlow
# h1 is used for part titles (book doctype) or the doctitle (article doctype)
h1_font_size: floor($base_font_size * 2.6)
# h2 is used for chapter titles (book doctype only)
h2_font_size: floor($base_font_size * 2.15)
h3_font_size: round($base_font_size * 1.7)
h4_font_size: $base_font_size_large
h5_font_size: $base_font_size
h6_font_size: $base_font_size_small
# rely on built-in line height in Noto
line_height: 1
margin_top: $vertical_rhythm * 0.4
margin_bottom: $vertical_rhythm * 0.9
min_height_after: $base_line_height_length * 1.5
title_page:
text_align: right
logo:
top: 10%
title:
top: 55%
font_size: $heading_h1_font_size
font_color: $role_subtitle_font_color
font_family: AdventPro
line_height: 0.9
font_weight: ExtraBold
subtitle:
font_size: $heading_h3_font_size
font_style: bold_italic
font_family: AdventPro
line_height: 1
authors:
margin_top: $base_font_size * 1.25
font_size: $base_font_size_large
font_color: 181818
font_family: AdventPro
revision:
margin_top: $base_font_size * 1.25
block:
margin_bottom: $vertical_rhythm
caption:
align: left
font_size: $base_font_size * 0.95
font_style: italic
# FIXME perhaps set line_height instead of / in addition to margins?
margin_inside: $vertical_rhythm / 3
margin_outside: 0
abstract:
font_color: 5C6266
font_size: $role_lead_font_size
line_height: 1.4
font_style: italic
first_line_font_style: bold
title:
text_align: center
font_color: $heading_font_color
font_size: $heading_h4_font_size
font_style: $heading_font_style
admonition:
column_rule_color: $base_border_color
column_rule_width: $base_border_width
padding:
[
$vertical_rhythm / 3.0,
$horizontal_rhythm,
$vertical_rhythm / 3.0,
$horizontal_rhythm,
]
label:
text_transform: uppercase
font_style: bold
quote:
font_size: $base_font_size_large
border_color: $base_border_color
border_width: 0
border_left_width: $horizontal_rhythm / 3
padding:
[
$vertical_rhythm / 4,
$horizontal_rhythm,
$vertical_rhythm / 4,
$horizontal_rhythm + $quote_border_left_width / 2,
]
cite:
font_size: $base_font_size_small
font_color: $role_subtitle_font_color
verse:
font_size: $quote_font_size
border_color: $quote_border_color
border_width: $quote_border_width
border_left_width: $quote_border_left_width
padding: $quote_padding
cite:
font_size: $quote_cite_font_size
font_color: $quote_cite_font_color
# code is used for literal, listing, and source blocks and literal table cells
code:
font_color: $base_font_color
font_size: $codespan_font_size
font_family: $codespan_font_family
font_size: ceil($base_font_size)
padding: $code_font_size
line_height: 1.25
# line_gap is an experimental property to control how a background color is applied to an inline block element
line_gap: 3.8
background_color: F5F5F5
border_color: CCCCCC
border_radius: $base_border_radius
border_width: 0.75
conum:
font_family: $codespan_font_family
font_color: $codespan_font_color
font_size: $base_font_size
line_height: 4 / 3
glyphs: circled
example:
font_family: $codespan_font_family
font_color: $codespan_font_color
font_size: $base_font_size
border_color: $base_border_color
border_radius: $base_border_radius
border_width: 0.75
background_color: $page_background_color
padding:
[$vertical_rhythm, $horizontal_rhythm, $vertical_rhythm, $horizontal_rhythm]
image:
align: left
prose:
margin_bottom: $block_margin_bottom
sidebar:
background_color: EEEEEE
border_color: E1E1E1
border_radius: $base_border_radius
border_width: $base_border_width
padding:
[
$vertical_rhythm,
$vertical_rhythm * 1.25,
$vertical_rhythm,
$vertical_rhythm * 1.25,
]
title:
text_align: center
font_color: $heading_font_color
font_size: $heading_h4_font_size
font_style: $heading_font_style
thematic_break:
border_color: $base_border_color
border_style: solid
border_width: $base_border_width
padding: [$vertical_rhythm * 0.5, 0]
list:
indent: $horizontal_rhythm * 1.5
#marker_font_color: 404040
# NOTE list_item_spacing only applies to list items that do not have complex content
item_spacing: $vertical_rhythm / 2
description_list:
term_font_style: bold
term_spacing: $vertical_rhythm / 4
description_indent: $horizontal_rhythm * 1.25
callout_list:
margin_top_after_code: -$block_margin_bottom / 2
table:
background_color: $page_background_color
border_color: DDDDDD
border_width: $base_border_width
grid_width: $base_border_width
cell_padding: 3
head:
font_style: bold
border_bottom_width: $base_border_width * 2.5
body:
stripe_background_color: F9F9F9
foot:
background_color: F0F0F0
toc:
indent: $horizontal_rhythm
line_height: 1.4
dot_leader:
#content: ". "
font_color: A9A9A9
#levels: 2 3
footnotes:
font_size: round($base_font_size * 0.75)
item_spacing: $list_item_spacing / 2
index:
column_gap: $vertical_rhythm
header:
font_size: $base_font_size_small
line_height: 1
vertical_align: middle
footer:
font_size: $base_font_size_small
# NOTE if background_color is set, background and border will span width of page
border_color: DDDDDD
border_width: 0.25
height: $base_line_height_length * 2.5
line_height: 1
padding: [$base_line_height_length / 2, 1, 0, 1]
vertical_align: top
recto:
right:
content: "{page-number}"
verso:
left:
content: $footer_recto_right_content