RT 5.0.0 and dark theme

Hi,

I set a new dark theme and can’t see the text if I want to add a comment.

What is the RT version shown in the footer in the web UI? Do you have any custom CSS for your RT?

Version is 5.0.0 as stated in the subject. Custom css not used.

My RT5 comment box looks like this

Could be some style caching from older RT, maybe try a hard page refresh

The text I write is visible, you can’t see the text I’m commenting on.

I performed a clean installation on the test machine and the problem is the same.

The text is white and that is a problem.

On our RT5 beta 2 install the quoted comment is visible, but it is a light grey on a peachy coloured background so not terribly good contrast.

Had a quick look: it appears you can fix this with a local CSS file. Create a directory called /opt/rt5/local/static/RichText and in there copy the file `/opt/rt5/share/static/RichText/contents-dark.css``. Then edit the new local copy and change the hex colour value in the third line. So for example I have a nice red text with:

/* main input color */                                                          
.cke_editable {
    color: #f70101 !important;
}

Flush your Mason cache, restart the web server and then take a look (you might need to shift-reload your web browser if it caches the CSS style sheet).

If you want a really Goth look, try this:

/* main input color */                                                          
.cke_editable {
    color: #ededed;
    background-color: #020202;
}

:slight_smile:

1 Like