How to make dark scrollbar in custom dark theme
Updated: 30th January 2023
Tags: css
If you have toggle dark theme, you can make scrollbars and inputs also dark.
For example you have dark theme with following markup
<body data-theme="dark">
Add this css to make scrollbars and inputs dark
[data-theme=dark] {color-scheme: dark;}