logo

dmpop

Aircraft photography, spaghetti code, half-baked thoughts

Guestbook Reads
Currently reading: Gli occhi di Venezia, Alessandro Barbero


Tinble: Now with a dark theme

Although I don't care much for dark themes, I've added a simple dark theme to Tinble anyway. It was just a matter of adding the following to the styles.css file, after all:

@media (prefers-color-scheme: dark) {
  :root {
    --body-bg: #000000;
    --body-color: #b3b3b3;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --body-bg: #f2f2f2;
    --body-color: black;
  }
}

body {
  background: var(--body-bg);
  color: var(--body-color);
}

It's nothing fancy, but it does the job.


Published: 2024-10-08Reads: 420
Comment by emailBack
dmpop

dmpop

Linux user, amateur photographer, aviation enthusiast, clueless developer of ADS-B station, Pellicola and Tinble, author of a bunch of books. I can mix a decent Negroni, too. You can reach me at me@dmpop.xyz