Jump to content

Custom accentcolor?


videopalace
Go to solution Solved by Happy2Play,

Recommended Posts

videopalace

Is there a possibility to set a custom accent color for Emby server 4.7.0.60? Or can it be adjusted via CSS? The previous tweak no longer works (by adding accent color selection option in the latest server build)

Link to comment
Share on other sites

chef

Have you tried targeting the custom variable in the css?

I think it is called "--theme-primary-color"

Link to comment
Share on other sites

  • Solution
Happy2Play

It is hsl now so override or target accent.

html:root {
    --theme-primary-color-hue: 218!important;
    --theme-primary-color-saturation: 89%!important;
    --theme-primary-color-lightness: 44%!important;

}

html.accent-blue:root {
    --theme-primary-color-hue: 218;
    --theme-primary-color-saturation: 89%;
    --theme-primary-color-lightness: 44%;
}

Link to comment
Share on other sites

chef

The dev tools in chrome do not play nicely with hsl written with custom css variables.

I'm starting to miss the little color square.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...