Skip to content
Discussion options

You must be logged in to vote

Yes, on Homepage v2.6.0 in Docker you can give good, warn, and danger different light-mode colors with custom CSS while keeping the dark-mode colors you already like.

I checked v2.6.0: each block exposes its highlight level, and Homepage puts light or dark on the HTML element. Target that class so the colors follow Homepage’s actual theme, including your macOS-driven switching.

Append this to your existing custom CSS, then reload the page:

html.light .service-block[data-highlight-level="good"] {
  background-color: #d1fae5;
  color: #064e3b;
}
html.light .service-block[data-highlight-level="warn"] {
  background-color: #fef3c7;
  color: #78350f;
}
html.light .service-block[data-highlight-…

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@doopler
Comment options

@shamoon
Comment options

Comment options

You must be logged in to vote
0 replies

This comment was marked as low quality.

Comment options

You must be logged in to vote
2 replies
@mrx-arafat

This comment was marked as low quality.

@doopler
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants