Page 1 of 1

Where can I find this colour in the options?

Posted: Wed Oct 16, 2019 2:16 pm
by Eddie_Editor
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 958 times

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

Posted: Thu Oct 17, 2019 7:23 am
by Radu
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

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

Posted: Thu Oct 17, 2019 2:01 pm
by Eddie_Editor
Thanks Radu, that's great! If I come up with anything good, I will let you know. :)