• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..11-Oct-2021-

conf/H23-May-2021-2510

css/H23-May-2021-4,3913,760

images/H23-May-2021-14997

lang/H23-May-2021-511325

screenshot/H23-May-2021-

LICENSEH A D22-May-202117.7 KiB340281

README.mdH A D22-May-20213.7 KiB6646

detail.phpH A D22-May-20214 KiB10677

main.phpH A D22-May-20213.6 KiB9462

mediamanager.phpH A D22-May-20211.4 KiB4532

script.jsH A D22-May-20213.6 KiB12386

style.iniH A D22-May-20215.4 KiB159123

template.info.txtH A D22-May-2021256 77

tpl_autocolor.phpH A D22-May-2021648 3118

tpl_footer.phpH A D22-May-20211.6 KiB3424

tpl_header.phpH A D22-May-20213.5 KiB10177

README.md

1# MindTheDark Template
2This template is based on the standard [DokuWiki Template](https://www.dokuwiki.org/template:dokuwiki).
3
4MindTheDark 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.
5
6If the `userChoice` option is enabled, an option to change the color scheme will appear in the header.
7
8![screenshot_toggle](screenshot/screenshot_toggle.png)
9
10If the `autoDark` option is enabled, the color scheme of the operating system is used.
11
12![screenshot](screenshot/screenshot_theme.png)
13
14If neither of the two options is selected, a static color scheme can be selected via `theme`.
15
16## Features
17* light and a dark color scheme (`theme` option in Configuration Manager)
18* automatic color scheme depending on operating system settings (`autoDark` option in Configuration Manager)
19* change of the color scheme by the user (`userChoice` option in Configuration Manager)
20* all colors of the light and dark color scheme can be set in the Configuration Manager
21* and all features the standard [DokuWiki Template](https://www.dokuwiki.org/template:dokuwiki#features) offers
22* light and dark color theme for syntax highlighting in GeShi (thx @pv2b, @asfethan)
23
24## Plugin Support
25### Note Plugin
26If [Note Plugin](https://www.dokuwiki.org/plugin:note) 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.
27
28<img src="screenshot/screenshot_note_plugin.png" height="200">
29
30## Customizing
31The MindTheDark Template offers all customizing like the standard [DokuWiki Template](https://www.dokuwiki.org/template:dokuwiki#customizing).
32
33### Changing Styles
34Additionally to the standard guaranteed [style.ini](https://www.dokuwiki.org/devel:style.ini) placeholders and the standard [DokuWiki Template customizing](https://www.dokuwiki.org/template:dokuwiki#customizing), the template uses the following variables:
35
36| placeholder variable | meaning |
37|----------------------|---------|
38| `__pre_text_color__`                  | text color of inline code formating|
39| `__pre_background_color__`            | backgroung color of inline code formating|
40| `__selection_color__`                 | text color of selection|
41| `__selection_background_color__`      | backgroung color of selection|
42| `__scrollbar_track__`                 | color of the scrollbar|
43| `__scrollbar_thumb__`                 | color of the scrollbar button|
44| `__note_plugin_classic_color__`       | base color for note plugin `<classic>`|
45| `__note_plugin_important_color__`     | base color for note plugin `<important>`|
46| `__note_plugin_warning_color__`       | base color for note plugin `<warning>`|
47| `__note_plugin_tip_color__`           | base color for note plugin `<tip>`|
48
49## Localization
50The texts are translated into German and English. Contributions are welcome.
51
52## Status
53The plugin is currently used in about ~1% of DokuWiki installations. Almost no problems are reported. The current version is stable.
54
55Issues and improvements can be reported [here](https://github.com/MrReSc/MindTheDark).
56
57[MindTheDark popularity](https://dokuwiki.org/lib/plugins/pluginrepo/popularity.php?key=conf_template&output=pie&limit=8&d=20&x=.png)
58
59## Installation
60
61Refer to [template](https://www.dokuwiki.org/template) on how to install and use templates in DokuWiki.
62
63
64## Remarks
65* The `autoDark` option only works with modern browsers. The compatibility can be checked [here](https://caniuse.com/#feat=prefers-color-scheme).
66* GeShi dark mode style sheet provided by @asfethan [https://cyberasylum.eu/how-to-change-geshi-stylesheet](https://cyberasylum.eu/how-to-change-geshi-stylesheet)