import { pxToRem } from '../../../../utils'; export interface ProviderVariables { background: string; color: string; scrollbarHeight: string; scrollbarWidth: string; scrollbarThumbBackgroundColor: string; scrollbarThumbBorderRadius: string; scrollbarThumbBorderSize: string; scrollbarThumbHoverBackgroundColor: string; scrollbarThumbHoverBorderSize: string; } export const providerVariables = (siteVariables): Partial => ({ background: siteVariables.bodyBackground, color: siteVariables.bodyColor, scrollbarHeight: pxToRem(16), scrollbarWidth: pxToRem(16), scrollbarThumbBackgroundColor: siteVariables.colors.grey[250], scrollbarThumbBorderRadius: pxToRem(9), scrollbarThumbBorderSize: pxToRem(4), scrollbarThumbHoverBackgroundColor: siteVariables.colors.grey[350], scrollbarThumbHoverBorderSize: pxToRem(2), });