Jump to content

Custom accentcolor?


Go to solution Solved by Happy2Play,

Recommended Posts

videopalace
Posted

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)

Posted

Have you tried targeting the custom variable in the css?

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

  • Solution
Happy2Play
Posted

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%;
}

Posted

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.

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...