DokuWiki

It's better when it's simple

User Tools

Site Tools


template:mindthedark

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
template:mindthedark [2019-10-19 06:21] mrresctemplate:mindthedark [2023-11-16 13:18] (current) – [Table] 145.253.237.245
Line 5: Line 5:
 author        : MrReSc author        : MrReSc
 email         : mindthedark@mailbox.org email         : mindthedark@mailbox.org
-lastupdate_dt : 2019-10-19 +lastupdate_dt : 2023-03-05 
-compatible    : 2018-04-22 Greebo+compatible    : Greebo, Hogfather, Igor
 depends       : depends       :
 conflicts     : # prefix templates by template: conflicts     : # prefix templates by template:
 similar       : similar       :
-screenshot_img: https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot.png +screenshot_img: https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot_theme.png 
-tags          : dark, light, sidebar, responsive+tags          : dark, light, sidebar, responsive, modern, clean
  
-downloadurl   : https://github.com/MrReSc/MindTheDark/archive/master.zip+downloadurl   : https://github.com/MrReSc/MindTheDark/archive/2023-03-05.zip
 bugtracker    : https://github.com/MrReSc/MindTheDark/issues bugtracker    : https://github.com/MrReSc/MindTheDark/issues
 sourcerepo    : https://github.com/MrReSc/MindTheDark sourcerepo    : https://github.com/MrReSc/MindTheDark
 ---- ----
  
-This template is based on the standard [[https://www.dokuwiki.org/template:dokuwiki|DokuWiki Template]].+This template is based on the standard [[template:dokuwiki|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. 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 ''%%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.
  
-{{https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot_toggle.png|screenshot_toggle}}+{{https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot_toggle.png?recache|screenshot_toggle}}
  
 If the ''%%autoDark%%'' option is enabled, the color scheme of the operating system is used. If the ''%%autoDark%%'' option is enabled, the color scheme of the operating system is used.
  
-{{https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot.pn|screenshot}}+{{https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot_theme.png?recache|screenshot}}
  
 If neither of the two options is selected, a static color scheme can be selected via ''%%theme%%''. 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 ===== ===== Features =====
Line 38: Line 40:
   * change of the color scheme by the user (''%%userChoice%%'' 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   * all colors of the light and dark color scheme can be set in the Configuration Manager
-  * and all features the standard [[https://www.dokuwiki.org/template:dokuwiki#features|DokuWiki Template]] offers+  * and all features the standard [[template:dokuwiki#features|DokuWiki Template]] offers
   * light and dark color theme for syntax highlighting in GeShi (thx @pv2b, @asfethan)   * light and dark color theme for syntax highlighting in GeShi (thx @pv2b, @asfethan)
  
Line 45: Line 47:
 ==== Note Plugin ==== ==== Note Plugin ====
  
-If [[https://www.dokuwiki.org/plugin:note|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.+If [[plugin:note|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.
  
-{{https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot_note_plugin.png?400|screenshot}}+{{https://raw.githubusercontent.com/MrReSc/MindTheDark/master/screenshot/screenshot_note_plugin.png?400&recache|screenshot}} 
 + 
 +==== Wrap Plugin ==== 
 +If [[plugin:wrap|Wrap Plugin]] is installed you can activate the support with the option ''%%pluginWrap%%'' in the configuration manager.
  
 ===== Customizing ===== ===== Customizing =====
  
-The MindTheDark Template offers all customizing like the standard [[https://www.dokuwiki.org/template:dokuwiki#customizing|DokuWiki Template]].+The MindTheDark Template offers all customizing like the standard [[template:dokuwiki#customizing|DokuWiki Template]].
  
 ==== Changing Styles ==== ==== Changing Styles ====
  
-Additionally to the standard guaranteed [[https://www.dokuwiki.org/devel:style.ini|style.ini]] placeholders and the standard [[https://www.dokuwiki.org/template:dokuwiki#customizing|DokuWiki Template customizing]], the template uses the following variables:+Additionally to the standard guaranteed [[devel:style.ini|style.ini]] placeholders and the standard [[template:dokuwiki#customizing|DokuWiki Template customizing]], the template uses the following variables:
  
-^placeholder variable                   ^meaning                                       +^ placeholder variable                     ^ meaning                                         
-|''%%__pre_text_color__%%''             |text color of inline code formating           +| ''%%__pre_text_color__%%''               | text color of inline code formating             
-|''%%__pre_background_color__%%''       |backgroung color of inline code formating     +| ''%%__pre_background_color__%%''         | backgroung color of inline code formating       
-|''%%__selection_color__%%''            |text color of selection                       +| ''%%__selection_color__%%''              | text color of selection                         
-|''%%__selection_background_color__%%'' |backgroung color of selection                 +| ''%%__selection_background_color__%%''   | backgroung color of selection                   | 
-|''%%__note_plugin_classic_color__%%''  |base color for note plugin ''%%<classic>%%''  +| ''%%__scrollbar_track__%%''              | color of the scrollbar                          | 
-|''%%__note_plugin_important_color__%%''|base color for note plugin ''%%<important>%%''+| ''%%__scrollbar_thumb__%%''              | color of the scrollbar button                   
-|''%%__note_plugin_warning_color__%%''  |base color for note plugin ''%%<warning>%%''  +| ''%%__note_plugin_classic_color__%%''    | base color for note plugin ''%%<classic>%%''    
-|''%%__note_plugin_tip_color__%%''      |base color for note plugin ''%%<tip>%%''      |+| ''%%__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 ===== ===== Localization =====
Line 73: Line 80:
 ===== Status ===== ===== Status =====
  
-For now I consider this template as ''%%beta%%'' for the following reasons: +The template is currently used in about ~1of DokuWiki installations. Almost no problems are reported. The current version is stable.
- +
-  * not heavily tested, especially not on different browsers +
-  * not tested on mobiles +
-  * still under construction+
  
 Issues and improvements can be reported [[https://github.com/MrReSc/MindTheDark|here]]. Issues and improvements can be reported [[https://github.com/MrReSc/MindTheDark|here]].
Line 88: Line 91:
 ===== Installation ===== ===== Installation =====
  
-Refer to [[https://www.dokuwiki.org/template|template]] on how to install and use templates in DokuWiki.+Refer to [[:template]] on how to install and use templates in DokuWiki.
  
 ===== Remarks ===== ===== Remarks =====
  
-The ''%%autoDark%%'' option only works with modern browsers. The compatibility can be checked [[https://caniuse.com/#feat=prefers-color-scheme|here]].+  * The ''%%autoDark%%'' option only works with modern browsers. The compatibility can be checked [[https://caniuse.com/#feat=prefers-color-scheme|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.1571458917.txt.gz · Last modified: 2019-10-19 06:21 by mrresc

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