• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

Editing Dark Color Accent

user_767ea

Chevereto Member
Hi!

I have found the part in css to edit the blue link and icon color.
How can I edit the accent color for the dark theme option?!?

kr
Patrick
 
While you can edit the .php file, that's often not needed. It is CSS so you can inject it directly at Dashboard > Settings > Theme.

CSS:
@media (prefers-color-scheme: dark) {
    
    .palette-dark:root {
         --colorAccent: red;
    }

}
 
I've not looked at it but is it relatively easy to add a new palette. Obviously there's the CSS colours but are the files involved just a few ?
 
  • This maps the menu/options: app/src/Legacy/Classes/Palettes.php
  • This contains the actual styles: content\legacy\themes\Peafowl\snippets\theme_colors.css.php
 
Back
Top