Skip to content

Commit e2756d9

Browse files
committed
set link and url styles
1 parent 833894f commit e2756d9

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

book/book.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,30 @@ mainfont = "CoreSansA45.ttf"
3737
mainfontoptions = [
3838
"BoldFont=CoreSansA65.ttf",
3939
"ItalicFont=CoreSansA45It.ttf",
40-
"BoldItalicFont=CoreSansA65It.ttf"
40+
"BoldItalicFont=CoreSansA65It.ttf",
4141
]
4242
sansfont = "CoreSansA45.ttf"
4343
sansfontoptions = [
4444
"BoldFont=CoreSansA65.ttf",
4545
"ItalicFont=CoreSansA45It.ttf",
46-
"BoldItalicFont=CoreSansA65It.ttf"
46+
"BoldItalicFont=CoreSansA65It.ttf",
4747
]
4848
monofont = "Noto Sans Mono"
4949
mainfontfallback = ["Noto Color Emoji:mode=harf"]
5050
sansfontfallback = ["Noto Color Emoji:mode=harf"]
5151
monofontfallback = [
5252
"Noto Color Emoji:mode=harf",
5353
]
54-
linkcolor = "blue"
55-
urlcolor = "blue"
54+
monobackgroundcolor = "\\color[HTML]{e7e7e7}"
55+
linkcolor = "Links"
56+
urlcolor = "Links"
57+
linkstyle = "bold"
5658
urlstyle = "rm"
5759
documentclass = "book"
5860
fontsize = "11pt"
5961
geometry = "papersize={8in,10in},top=2cm,bottom=2cm,left=2.4cm,right=2.4cm"
6062
header-includes = [
63+
"\\definecolor{Links}{HTML}{6200EE}",
6164
# Reduce font size of code blocks
6265
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
6366
]
@@ -77,13 +80,13 @@ mainfont = "CoreSansA45.ttf"
7780
mainfontoptions = [
7881
"BoldFont=CoreSansA65.ttf",
7982
"ItalicFont=CoreSansA45It.ttf",
80-
"BoldItalicFont=CoreSansA65It.ttf"
83+
"BoldItalicFont=CoreSansA65It.ttf",
8184
]
8285
sansfont = "CoreSansA45.ttf"
8386
sansfontoptions = [
8487
"BoldFont=CoreSansA65.ttf",
8588
"ItalicFont=CoreSansA45It.ttf",
86-
"BoldItalicFont=CoreSansA65It.ttf"
89+
"BoldItalicFont=CoreSansA65It.ttf",
8790
]
8891
monofont = "Noto Sans Mono"
8992
mainfontfallback = ["Noto Color Emoji:mode=harf"]

0 commit comments

Comments
 (0)