@netdata/netdata-ui
Version:
netdata UI kit
3 lines • 758 B
JavaScript
import { css } from "styled-components";
import { getSizeBy, getRgbColor } from "../theme/utils";
export default css(["scrollbar-width:", ";scrollbar-color:", " ", ";&::-webkit-scrollbar{width:", ";}&::-webkit-scrollbar-track{border-radius:", ";background-color:", ";}&::-webkit-scrollbar-thumb{border-radius:", ";background-color:", ";}&::-webkit-scrollbar-thumb:hover{background-color:", ";}&::-webkit-scrollbar-track-piece{background-color:", ";}&::-webkit-scrollbar-corner{background-color:", ";}"], getSizeBy(1), getRgbColor("border", 0.3), getRgbColor("border", 0.1), getSizeBy(1), getSizeBy(0.5), getRgbColor("border", 0.1), getSizeBy(1), getRgbColor("border", 0.6), getRgbColor("border", 0.9), getRgbColor("border", 0.3), getRgbColor("border", 0.3));