This is an old revision of the document!
Table of Contents
MindTheDark Template
Compatible with DokuWiki
2018-04-22 Greebo
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
This template is based on the standard DokuWiki Template.
MindTheDark offers a light and a dark color scheme for your DokuWiki. The color scheme and the style are optimized for software documentation. The optics are flat.
If the userChoice
option is enabled, an option to change the color scheme will appear in the header.
If the autoDark
option is enabled, the color scheme of the operating system is used.
If neither of the two options is selected, a static color scheme can be selected via theme
.
Features
- light and a dark color scheme (
theme
option in Configuration Manager) - automatic color scheme depending on operating system settings (
autoDark
option in Configuration Manager) - change of the color scheme by the user (
userChoice
option in Configuration Manager) - all colors of the light and dark color scheme can be set in the Configuration Manager
- and all features the standard DokuWiki Template offers
Customizing
The MindTheDark Template offers all customizing like the standard DokuWiki Template.
Changing Styles
Additionally to the standard guaranteed style.ini placeholders and the standard DokuWiki Template customizing, the template uses the following variables:
placeholder variable | meaning |
---|---|
__pre_text_color__ | text color of inline code formating |
__pre_background_color__ | backgroung color of inline code formating |
__selection_color__ | text color of selection |
__selection_background_color__ | backgroung color of selection |
Localization
The texts are translated into German and English. Contributions are welcome.
Status
For now I consider this template as beta
for the following reasons:
- not heavily tested, especially not on different browsers
- not tested on mobiles
- still under construction
Issues and improvements can be reported here.
Changelog
Last 15 commits
- bump version (2023-03-05 05:34)
- Merge pull request #29 from Racso/master (2023-03-05 05:30)
- Simpler mode selection logic. Static selected mode is now used by def… (2023-03-03 15:02)
- bump version (2023-01-10 06:14)
- clean up (2023-01-10 06:09)
- Merge pull request #26 from jnv/master (2023-01-10 06:08)
- Add missing EOL (2023-01-10 01:34)
- Update Czech translation (2023-01-10 01:33)
- bump version (2022-11-20 06:48)
- fix issue #23 (2022-11-20 06:47)
- bump version (2021-12-24 05:31)
- Config page: Input elements are not styled #19 (2021-12-24 05:28)
- update readme (2021-12-17 19:43)
- bumb version (2021-12-17 19:20)
- readme adopted (2021-12-17 19:19)
Installation
Refer to template on how to install and use templates in DokuWiki.
Remarks
The autoDark
option only works with modern browsers. The compatibility can be checked here.