Is there a way to stop active theme's colors to apply to admin dashboard?

I just customized the colors on my new Discourse install, and they are also automatically applied to the admin dashboard.

I chose 7635f3 hex color in the tertiary and quaternary options, which is fine on the front-end, but the color looks very unpleasant on the admin dashboard because it’s a very bright color.

Is there any way to keep the dashboard colors default and stop changing with the theme? Or, is it possible to customize the colors on the dashboard without changing theme colors?

1 Like

Any help or guidance would be appreciated :slight_smile:

I think the admin pages get an admin-area class you could target? My CSS is rather rudimentary though, so I would perhaps explore a bit with the browser inspector before taking it as gospel. :slightly_smiling_face:


.admin-area {
    background :blue;

Turned my admin area blue:

1 Like

Thank you for your response.

Is there any way to add this CSS only for the dashboard so that it doesn’t load on the frontend?