Page 1 of 1

"Formatted" code tags' colors

Posted: Sat Oct 29, 2016 1:03
by Blue Shadow
The colors of the formatted code tags make the text between them hard to read because the colors are bit too dark:

Code: Select all

HudMessage(s:"Blah blah"; HUDMSG_PLAIN, 1, CR_GREEN, 0.5, 0.2, 10.0); 
Could the colors be changed to something a bit brighter, perhaps?

Re: "Formatted" code tags' colors

Posted: Sat Oct 29, 2016 1:11
by Rachael
Do you have any suggestions? Give me some hex triplets and I'll see about putting them in.

FYI, this is what your HTML looks like for that code block:

Code: Select all

<code>
<span class="syntaxdefault">HudMessage</span>
<span class="syntaxkeyword">(</span>
<span class="syntaxdefault">s</span>
<span class="syntaxkeyword">:</span>
<span class="syntaxstring">"Blah blah"</span>
<span class="syntaxkeyword">;</span>
<span class="syntaxdefault"> HUDMSG_PLAIN</span>
<span class="syntaxkeyword">,</span>
<span class="syntaxdefault"> 1</span>
<span class="syntaxkeyword">,</span>
<span class="syntaxdefault"> CR_GREEN</span>
<span class="syntaxkeyword">,</span>
<span class="syntaxdefault"> 0.5</span>
<span class="syntaxkeyword">,</span>
<span class="syntaxdefault"> 0.2</span>
<span class="syntaxkeyword">,</span>
<span class="syntaxdefault"> 10.0</span>
<span class="syntaxkeyword">); </span>
<span class="syntaxdefault"></span>
</code>
It should be pretty easy to CSS that up.

Re: "Formatted" code tags' colors

Posted: Sat Oct 29, 2016 7:42
by Blue Shadow
Would this color scheme work?

Image

The colors are as follows:

Code: Select all

Default: 4D97C4
Keyword: A36D7C
String:  3C993C
Comment: 808024

Re: "Formatted" code tags' colors

Posted: Sat Oct 29, 2016 14:28
by Rachael
Yeah that looks nice. It won't be until later tonight before I cen see about implementing it, sorry.

Re: "Formatted" code tags' colors

Posted: Sat Oct 29, 2016 23:35
by Blue Shadow
Eruanna wrote:It won't be until later tonight before I cen see about implementing it, sorry.
No worries. And thanks in advance.

Re: "Formatted" code tags' colors

Posted: Sun Oct 30, 2016 0:41
by Rachael
The colors are in now. Press F5 if you do not see them.