import { ComponentSlotStylesPrepared, ICSSInJSStyle } from '@fluentui/styles'; import { ProviderVariables } from './providerVariables'; export const providerStyles: ComponentSlotStylesPrepared = { root: ({ variables: v }): ICSSInJSStyle => ({ background: v.background, color: v.color, textAlign: 'left', '& ::-webkit-scrollbar': { height: v.scrollbarHeight, width: v.scrollbarWidth, ':disabled': { display: 'none', }, }, '& ::-webkit-scrollbar-thumb': { borderRadius: v.scrollbarThumbBorderRadius, border: `solid ${v.scrollbarThumbBorderSize} transparent`, backgroundClip: 'content-box', backgroundColor: v.scrollbarThumbBackgroundColor, ':hover': { backgroundColor: v.scrollbarThumbHoverBackgroundColor, border: `solid ${v.scrollbarThumbHoverBorderSize} transparent`, }, }, '& ::-webkit-scrollbar-track': { background: 'transparent', }, }), };