Enhancer for Youtube DeepDark Theme code example

Example: Enhancer for Youtube DeepDark Theme

html {
  scrollbar-color: var(--main-color, #c1c1c1) rgba(0, 0, 0, 0) !important;
  scrollbar-width: thin !important;
}
html:not([hide-scrollbar]) ::-webkit-scrollbar-thumb {
  background: var(--main-color, #c1c1c1) !important;
}
html:not([hide-scrollbar]) ::-webkit-scrollbar {
  width: 8px !important;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0) !important;
}
::-webkit-scrollbar-thumb {
  background: var(--main-color, #c1c1c1) !important;
}

Tags:

Css Example