Editing User talk:Derf
Jump to navigation
Jump to search
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 57: | Line 57: | ||
In the meantime i figured another alternative way to improve it that should work fine and should give a bit of consistency with what we already did, take a look at this, in the official page there is a [http://qbnz.com/highlighter/demo.php live demo] where it can be seen that it was intended to be configured by using '''only 11 colors !!!''' (and we already changed 3 of them), the weird detail is the file [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/SyntaxHighlight_GeSHi/+/refs/heads/REL1_35/modules/pygments.generated.css pygments.generated.css] contains a lot more color definitions, but most of them are repeated for different programming languages<br> | In the meantime i figured another alternative way to improve it that should work fine and should give a bit of consistency with what we already did, take a look at this, in the official page there is a [http://qbnz.com/highlighter/demo.php live demo] where it can be seen that it was intended to be configured by using '''only 11 colors !!!''' (and we already changed 3 of them), the weird detail is the file [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/SyntaxHighlight_GeSHi/+/refs/heads/REL1_35/modules/pygments.generated.css pygments.generated.css] contains a lot more color definitions, but most of them are repeated for different programming languages<br> | ||
So... following that concept of using only 11 colors shared by all programming languages... i figured we could replace all apparences of #008000 by #0000FF (repeated 10 times), #7D9029 by #FF0000 (repeated 1 time), and #BA2121 by #8000FF (repeated 9 times) in [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/SyntaxHighlight_GeSHi/+/refs/heads/REL1_35/modules/pygments.generated.css pygments.generated.css]. This should replace most of the default "vegetal" colors by the new colors we used for xml<br> | So... following that concept of using only 11 colors shared by all programming languages... i figured we could replace all apparences of #008000 by #0000FF (repeated 10 times), #7D9029 by #FF0000 (repeated 1 time), and #BA2121 by #8000FF (repeated 9 times) in [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/SyntaxHighlight_GeSHi/+/refs/heads/REL1_35/modules/pygments.generated.css pygments.generated.css]. This should replace most of the default "vegetal" colors by the new colors we used for xml<br> | ||
Im not sure about the results, but i guess it worths a try. For the tests... there is a sample of javascript in [[Coldboot.raf#Script]], python in [[CXML_Containers#CXML_decompiler]], C++ in [[Syscon_Thermal_Configs/structs | Im not sure about the results, but i guess it worths a try. For the tests... there is a sample of javascript in [[Coldboot.raf#Script]], python in [[CXML_Containers#CXML_decompiler]], and C++ in [[Syscon_Thermal_Configs/structs]]<br> | ||
Bonus: in one of the random google searches i found [https://myridia.com/dev_posts/view/2125 a dark theme], is mostly a curiosity because most probably doesnt matches at all with the vector-white skin we are using (the contrast in between white and black is going to be too much disturbing), but if at some point you implement the vector-dark skin or any other dark skin it could fit<br>--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 19:45, 5 May 2023 (CEST) | Bonus: in one of the random google searches i found [https://myridia.com/dev_posts/view/2125 a dark theme], is mostly a curiosity because most probably doesnt matches at all with the vector-white skin we are using (the contrast in between white and black is going to be too much disturbing), but if at some point you implement the vector-dark skin or any other dark skin it could fit<br>--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 19:45, 5 May 2023 (CEST) | ||
---- | ---- | ||