Editing User talk:Derf

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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]], TCL in [[PS3MFW_Builder]], bash in [[Debian_LiveCD]]<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]], and C++ in [[Syscon_Thermal_Configs/structs]], TCL in [[PS3MFW_Builder]]<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)
----
----
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer 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!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)