plugin:fontawesome
Table of Contents
fontawesome Plugin
Compatible with DokuWiki
Weatherwax, Hrun, Detritus
Installation
External requirements: This plugin requires the following additional components that must be installed separately:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
With FontAwesome >= 4.0:
<faicon fa fa-phone>
With FontAwesome < 4.0:
<faicon icon-phone>
Change Log
- Merge pull request #2 from splitbrain-forks/php7-signature (2016-02-03 04:07)
- Adjust method signatures to match parent (2016-02-02 13:10)
- README: Fix the syntax (thanks VioletVivirand) (2014-02-06 20:46)
- README: Add usage depending on FontAwesome version (2014-02-06 19:50)
- README: Add usage example (2014-02-06 19:34)
- Fix url (2014-02-06 19:23)
- Update plugin.info.txt (2014-02-06 19:11)
- Change tag to <fa ..> (2013-10-10 05:14)
Known Bugs and Issues
- Have to use different syntax for different versions of Font Awesome
ToDo/Wish List
- Wish: some kind of selection menu/dropdown would be nice
FAQ
Discussion
Adding color through CSS
The following simple all.css
file lets change color.
/******************************************************************** Screen and Print Styles for the FontAwsome Plugin ********************************************************************/ /* color class for fontawsome */ .dokuwiki .fa-black { color:black;} .dokuwiki .fa-green { color:green;} .dokuwiki .fa-blue { color:blue;} .dokuwiki .fa-yellow { color:yellow;} .dokuwiki .fa-red{ color:red;} .dokuwiki .fa-cyan { color:cyan;}
Now you can use this plugin like below
<faicon fa fa-google-plus fa-green>
in that the color changed to green. You can add any color as you like by extending the above all.css
— atronoush 2015-09-17 13:05
plugin/fontawesome.txt · Last modified: by Klap-in