summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-10-16 06:56:03 +0100
committerGitHub <noreply@github.com>2016-10-16 06:56:03 +0100
commitc97dfe84bc608d81807f494e97ada2db4aecf696 (patch)
treeb3a22a4809c3ec917d63afd4adb13d7486a61a34 /data
parent090bd6d5169f3393a4aeb580e95e380a1ccf4386 (diff)
resolves #621 use correct number of dots when font style is applied to toc level (PR #628)
- use font properties from toc for dots (not from toc levels) - calculate width of section title and page number correctly - pass all properties of dot_leader to layout_toc_level - add font_styles method to fetch font styles as a collection - simplify text for spacer - theme_font method now returns the return value of the block - consolidate code
Diffstat (limited to 'data')
-rw-r--r--data/themes/default-theme.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml
index 5698a3eb..8074c471 100644
--- a/data/themes/default-theme.yml
+++ b/data/themes/default-theme.yml
@@ -228,7 +228,7 @@ table:
# HACK accounting for line-height
cell_padding: [3, 3, 6, 3]
toc:
- dot_leader_font_color: dddddd
+ dot_leader_font_color: a9a9a9
#dot_leader_content: '. '
indent: $horizontal_rhythm
line_height: 1.4