Table of Contents
colorswatch Plugin
Compatible with DokuWiki
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" unknown
- 2018-04-22 "Greebo" yes
- 2017-02-19 "Frusterick Manners" unknown
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
<colorswatch #FFFF00>
displays a color swatch for #FFFF00
. Additionally, you can provide a name for the color like
<colorswatch #FFFF00:some yellow>
This plugin only works with hexadecimal color codes (the ones starting with #
). Functions like rgb()
or hsla()
or keywords like lightgrey
or fuchsia
are not supported.
Configuration and Settings
In the plugin's settings, you can choose between small, middle sized and large color swatches. That setting is global for the whole wiki. Changes get applied the next time you save the wiki page where you used the <colorswatch>
tag.
Change Log
- Update date of latest change in metadata by henning.kockerbeck@isatis-online.de (2019-05-19 02:42)
- Introduce CSS variables for easier maintenance by henning.kockerbeck@isatis-online.de (2019-05-19 02:38)
- Fix narrow swatches by henning.kockerbeck@isatis-online.de (2019-05-19 02:26)
- Update test cases by henning.kockerbeck@isatis-online.de (2019-05-19 02:14)
- Merge pull request #1 from fortian/master by hkockerbeck (2019-05-19 01:10)
Known Bugs and Issues
None as of now
ToDo/Wish List
None as of now
FAQ
None as of now
Discussion
See discussion page