Where can I find this colour in the options?

<oXygen/> general issues.
Eddie_Editor
Posts: 2
Joined: Wed Oct 16, 2019 1:54 pm

Where can I find this colour in the options?

Post by Eddie_Editor » Wed Oct 16, 2019 2:16 pm

Hi :)

I'd like to ask where I can find the block colour for conrefs in the options (screenshot below), so that I can change it (if that's even possible). I'm using Author 19.1. I think I've looked pretty thoroughly, but haven't seen it yet.
Thanks guys! :D
Annotation 2019-10-16 123756.png
Annotation 2019-10-16 123756.png (16.45 KiB) Viewed 63 times

Radu
Posts: 6539
Joined: Fri Jul 09, 2004 5:18 pm

Re: Where can I find this colour in the options?

Post by Radu » Thu Oct 17, 2019 7:23 am

Hi,

That particular color does not come from Oxygen's global settings, it comes from a builtin CSS stylesheet we automatically use every time content is rendered in the Author visual editing mode.
You will need to create a custom CSS to control this color:

Code: Select all

@media oxygen-high-contrast-black, oxygen-dark-theme{
    oxy|reference,
    oxy|entity {
        background-color: rgb(100, 100, 100) !important;
    }
}
and then use it for DITA editing:

https://blog.oxygenxml.com/2016/10/cust ... iting.html

If you find a color which looks better to you and you want to share it with us, we can consider changing the defaults in a future version.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Eddie_Editor
Posts: 2
Joined: Wed Oct 16, 2019 1:54 pm

Re: Where can I find this colour in the options?

Post by Eddie_Editor » Thu Oct 17, 2019 2:01 pm

Thanks Radu, that's great! If I come up with anything good, I will let you know. :)

Post Reply