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; }