summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-04-28 14:21:40 -0600
committerGitHub <noreply@github.com>2022-04-28 14:21:40 -0600
commit306b4162bab904e7ce8522819c6f1c648f5ca13a (patch)
tree5a4336e67f766fce527275b6acf6d7a00e63712c /data
parent1bf99be6bd73649bfa4cca026b4e77fb8e8cef9a (diff)
resolves #2095 separate align and text-align keys in theme schema and update docs (PR #2096)
Diffstat (limited to 'data')
-rw-r--r--data/themes/base-theme.yml4
-rw-r--r--data/themes/default-theme.yml10
2 files changed, 7 insertions, 7 deletions
diff --git a/data/themes/base-theme.yml b/data/themes/base-theme.yml
index 6bdb0887..e187dd8b 100644
--- a/data/themes/base-theme.yml
+++ b/data/themes/base-theme.yml
@@ -7,7 +7,7 @@ page_margin: 36
page_margin_inner: 48
page_margin_outer: 24
page_size: A4
-base_align: left
+base_text_align: left
#base_font_color: '333333'
base_font_color: '000000'
#base_font_family: Times-Roman
@@ -46,7 +46,7 @@ heading_line_height: 1.15
heading_margin_top: 4
heading_margin_bottom: 12
heading_min_height_after: 20
-title_page_align: center
+title_page_text_align: center
title_page_line_height: 1.15
title_page_logo_top: 10%
title_page_title_top: 40%
diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml
index 85ec3141..0df087c6 100644
--- a/data/themes/default-theme.yml
+++ b/data/themes/default-theme.yml
@@ -22,7 +22,7 @@ page:
margin_outer: 0.59in
size: A4
base:
- align: justify
+ text_align: justify
# color as hex string (leading # is optional)
font_color: 333333
# color as RGB array
@@ -96,7 +96,7 @@ menu:
caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
font_style: bold
heading:
- align: left
+ text_align: left
font_color: $base_font_color
font_style: bold
# h1 is used for part titles (book doctype) or the doctitle (article doctype)
@@ -114,7 +114,7 @@ heading:
margin_bottom: $vertical_rhythm * 0.9
min_height_after: $base_line_height_length * 1.5
title_page:
- align: right
+ text_align: right
logo:
top: 10%
title:
@@ -148,7 +148,7 @@ abstract:
font_style: italic
first_line_font_style: bold
title:
- align: center
+ text_align: center
font_color: $heading_font_color
font_size: $heading_h4_font_size
font_style: $heading_font_style
@@ -218,7 +218,7 @@ sidebar:
border_width: $base_border_width
padding: [$vertical_rhythm, $vertical_rhythm * 1.25, $vertical_rhythm, $vertical_rhythm * 1.25]
title:
- align: center
+ text_align: center
font_color: $heading_font_color
font_size: $heading_h4_font_size
font_style: $heading_font_style