Dark Scroll Bar with Dark Theme

Currently, the dark theme does not also darkens the scroll bar. Wouldn’t it be more consistent and nicer to look at if it did? As far as I know it’s basically one line of CSS and probably one if of TS/JS:

:root {
  color-scheme: dark;
}

My website implements this feature, if you wish for an example. And there is this StackOverflow answer.

3 Likes

Good idea! If I’m not mistaken, no need for a TS change- Stylus handles the theme changes.

Here are relevant source files if you were interested in making a pull request:

  • global.styl: where the css would (probably) go
  • ogs.styl: where the themes (dark/light) are defined
2 Likes