diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2016-10-01 03:36:55 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2016-10-01 15:56:41 -0600 |
| commit | c477aa81ebb0cefef893e451e3471202d8b96426 (patch) | |
| tree | 397676a2641adce00aeef7582dfcfa47a3b0c857 /data | |
| parent | f41a958b968e177ee5d0dedb544a23a938957d7c (diff) | |
resolves #601 add more control over vertical rule in admonition block
- add line_style (solid, double, dashed, dotted) support to stroke_vertical rule
- rename theme keys for controlling the vertical rule in an admonition block
* admonition_border_color to admonition_column_rule_color
* admonition_border_color to admonition_column_rule_width
- introduce theme key admonition_column_rule_style
- don't draw vertical rule in admonition block if color is nil or width is 0
- document new theme keys
- adjust indentation in code
Diffstat (limited to 'data')
| -rw-r--r-- | data/themes/base-theme.yml | 4 | ||||
| -rw-r--r-- | data/themes/default-theme.yml | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/data/themes/base-theme.yml b/data/themes/base-theme.yml index 95a1694a..8fd2e7e3 100644 --- a/data/themes/base-theme.yml +++ b/data/themes/base-theme.yml @@ -56,8 +56,8 @@ abstract_line_height: 1.4 abstract_padding: 0 abstract_title_align: center abstract_title_font_style: bold -admonition_border_color: 'EEEEEE' -admonition_border_width: 0.5 +admonition_column_rule_color: 'EEEEEE' +admonition_column_rule_width: 0.5 admonition_padding: [0, 12, 0, 12] admonition_label_font_style: bold admonition_label_text_transform: uppercase diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml index 73e2a0c8..367afb94 100644 --- a/data/themes/default-theme.yml +++ b/data/themes/default-theme.yml @@ -139,17 +139,17 @@ abstract: font_size: $heading_h4_font_size font_style: $heading_font_style admonition: - border_color: $base_border_color - border_width: $base_border_width + column_rule_color: $base_border_color + column_rule_width: $base_border_width padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm] + #icon: + # tip: + # name: fa-lightbulb-o + # stroke_color: 111111 + # size: 24 label: text_transform: uppercase font_style: bold -# icon: -# tip: -# name: fa-lightbulb-o -# stroke_color: 111111 -# size: 24 blockquote: font_color: $base_font_color font_size: $base_font_size_large |
