dart-lang / api.dart.dev

Dart API docs
https://api.dart.dev
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Multiple color schemes... #57

Open jtmcdole opened 8 years ago

jtmcdole commented 8 years ago

Would be nice to be able to switch to a "dark" mode without using plugins. Small stylish example:

body {
  background: #202020;
  color: #d0d0d0;
}

.sidebar {
  background: #606060;
}

.sidebar a {
  color: rgb(182, 182, 182);
}

section.summary h2,
.signature,
dd {
  color: rgb(190, 190, 190);  
}

code {
  background: #404040;
}
sethladd commented 8 years ago

Would using --header work? You can insert random HTML, which would also include <link> to CSS if you like.

jtmcdole commented 8 years ago

I was talking mostly about the public facing dardoc. I generally have it open in spare tab for reference and the other night it was a bit glaring.

NANASHI0X74 commented 1 year ago

I believe api.{flutter,dart}.dev need this in 2022 ^^