Editing Module:Color/doc

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 7: Line 7:
#* Check whether the colors will look good on light or dark mode using [https://webaim.org/resources/contrastchecker/ WebAIM's Contrast Checker]. Currently, our light mode background color is <code>#fff</code> and our dark mode background color is <code>#111a20</code>. If the colors fail multiple checks on one mode, try tweaking it.
#* Check whether the colors will look good on light or dark mode using [https://webaim.org/resources/contrastchecker/ WebAIM's Contrast Checker]. Currently, our light mode background color is <code>#fff</code> and our dark mode background color is <code>#111a20</code>. If the colors fail multiple checks on one mode, try tweaking it.
#* You have to add the light mode colors to the light mode block (starts at the top) and the dark mode colors to the dark mode block (starts around line 100).
#* You have to add the light mode colors to the light mode block (starts at the top) and the dark mode colors to the dark mode block (starts around line 100).
#* Now add the rules to implement the colors to the block starting around line 260 titled <code><nowiki>/* [[Template:Color]] */</nowiki></code>. Use [https://regex101.com/r/ggG9d6/1/substitution this] to generate the code (or hit Substitution on the left sidebar of the previous link you used).
#* Now add your colors to the block starting around line 260 titled <code><nowiki>/* [[Template:Color]] */</nowiki></code>. Use [https://regex101.com/r/ggG9d6/1/substitution this] to generate the code (or hit Substitution on the left sidebar of the previous link you used).
# In this module, update <code>local colors</code> table starting at line 7 with your new color(s). ([https://regex101.com/r/T2PPB2/1/list-substitution here you go])
# In this module, update <code>local colors</code> table starting at line 7 with your new color(s). ([https://regex101.com/r/T2PPB2/1/list-substitution here you go])
Please note that all contributions to Honkai: Nexus Anima Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Honkai Nexus Anima Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template
Below are commonly used wikitext from MediaWiki:Edittools. Click on any to insert them in the edit box.

Parser Functions:{{#if:||}}
{{#ifeq:|||}}
{{#expr:}}
{{#switch:||#default=}}
{{#replace:||}}
{{#titleparts:}}
{{#tag:|}}





Pages included on this page: