summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorzyuhel <zyuhel@users.noreply.github.com>2019-04-11 14:53:13 +0300
committerDan Allen <dan.j.allen@gmail.com>2019-04-12 23:58:47 -0600
commit2099eba9f633dbccddc7b01b6c54ac450bae752f (patch)
treef5da01c41c4ab940bb83052b21e693ccf021d861 /data
parent003fb0ffe39ed9faed849a0822e2b739a97276c2 (diff)
resolves #891 upgrade to FontAwesome 5
* Update `prawn-icon` to version `2.3.0`. This update upgrades FontAwesome from version 4 to 5. * Update the list of supported icon fonts to include the FontAwesome categories (`solid => fas`, `brands => fab` and `regular => far`). * The `fa-*` prefix may still be used to generate icons, but a deprecation warning will be printed prompting to use the Font Awesome 5 font categories. * Use `make_icon` to create an icon instance so that Prawn::Icon's FA4 => FA5 mapping functions as expected (as opposed calling Prawn::Icon::FontData.load`. * Setup `fas` to be the default font family (FontAwesome solid). * Remove all references to the `octicon` font. It is no longer included in `prawn/icon`. * Create `play_icon` helper method in the extensions module to to return a icon node when icon fonts are enabled. * Update documentation and guides that are applicable to icon styling. * Regenerate the `examples/chronicles-example.pdf` file to include new icons.
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 44dbf49b..44ceb6ce 100644
--- a/data/themes/default-theme.yml
+++ b/data/themes/default-theme.yml
@@ -144,7 +144,7 @@ admonition:
padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
#icon:
# tip:
- # name: fa-lightbulb-o
+ # name: far-lightbulb
# stroke_color: 111111
# size: 24
label: