Use color in color manager in custom css as variable

Hi there,
is there a possibility to use the colors, defined in the color manager as a variable in the theme css settings?
I just read about css variables. Is it already used?

:root{
–me-color: hsl(350,50%,50%);
}

.top-menu h1 {
color: var(–me-color);
}

Hey Kevin,

You can use CSS Variables in the CSS interface of X, Cornerstone and Pro. That means that if you add the root variable in Global CSS, you will be able to use the color in Content CSS. See https://youtu.be/8rJcUNQMkaU

It has no connection to the Color Manager though.

Hope that info is what you need.

1 Like

ok thank you. I thought there is already a connection somewhere with the Color Manager :slight_smile: thx

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.