~emersion/sinwon#28: 
Dark theme

Status
RESOLVED CLOSED
Submitter
~emersion
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
No labels applied.

~ckyb 7 months ago

Throwing this at the bottom of static/style.css fulfilled my needs - it uses the sourcehut color background/nav colors. Not sure if this is what you had in mind.

If this is sufficient, I'd be happy to throw up a patch - anyone else is free to commit this too.

@media (prefers-color-scheme: dark) {
  body {
    background: #212529;
    color: #f8f9fa;
  }

  body a {
    color: #809fff;
  }
	
  button {
    color: #f8f9fa;
  }

  nav {
    background: #131618;
  }
}

~emersion REPORTED CLOSED 7 months ago

Simon Ser referenced this ticket in commit d9c1ec8.

~emersion 7 months ago

Tweaked a few things and pushed, thanks!

Register here or Log in to comment, or comment via email.