DokuWiki

It's better when it's simple

User Tools

Site Tools


template:mindthedark

MindTheDark Template

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

template MindTheDark offers a light and a dark color scheme for your DokuWiki

Last updated on
2023-03-05
Repository
Source

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 only userChoice is enabled, then the selected static mode will be used until the user makes a choice.

screenshot_toggle

If the autoDark option is enabled, the color scheme of the operating system is used.

screenshot

If neither of the two options is selected, a static color scheme can be selected via theme.

If both options are enabled, then Auto mode will be used until the user makes a choice. From this point on, only the user's choice is taken into account.

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
  • light and dark color theme for syntax highlighting in GeShi (thx @pv2b, @asfethan)

Plugin Support

Note Plugin

If Note Plugin is installed you can activate the support with the option pluginNote in the configuration manager. If the option pluginNote is enabled, the base colors of the notes can also be changed.

screenshot

Wrap Plugin

If Wrap Plugin is installed you can activate the support with the option pluginWrap in the configuration manager.

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
__scrollbar_track__ color of the scrollbar
__scrollbar_thumb__ color of the scrollbar button
__note_plugin_classic_color__ base color for note plugin <classic>
__note_plugin_important_color__ base color for note plugin <important>
__note_plugin_warning_color__ base color for note plugin <warning>
__note_plugin_tip_color__ base color for note plugin <tip>

Localization

The texts are translated into German and English. Contributions are welcome.

Status

The template is currently used in about ~1% of DokuWiki installations. Almost no problems are reported. The current version is stable.

Issues and improvements can be reported here.

Changelog

Last 15 commits

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.
  • GeShi dark mode style sheet provided by @asfethan https://cyberasylum.eu/how-to-change-geshi-stylesheet
  • Wrap plugging support was created by @Gamemap. Thanks for that!
  • Czech translation by @jvn. Thanks for that!
  • Optimization of the theme selection by @Racso. Thanks for that!
template/mindthedark.txt · Last modified: 2023-11-16 13:18 by 145.253.237.245

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki