import { Theme } from "@unocss/preset-mini"; import { Preset } from "unocss"; //#region src/index.d.ts interface PresetScrollbarDefaultOption { /** * default scrollbar width * @default '8px' */ scrollbarWidth?: string; /** * default scrollbar height * @default '8px' */ scrollbarHeight?: string; /** * default scrollbar track radius * @default '4px' */ scrollbarTrackRadius?: string; /** * default scrollbar thumb radius * @default '4px' */ scrollbarThumbRadius?: string; /** * default scrollbar track background color * @default '#f5f5f5' */ scrollbarTrackColor?: string; /** * default scrollbar thumb background color * @default '#ddd' */ scrollbarThumbColor?: string; /** * css variable prefix * @default '' */ varPrefix?: string; /** * if true will use scrollbar-color and scrollbar-width, rounded and scrollbar-w, scrollbar-h and scrollbar-radius will not work * if false, won't have any effect in Firefox * * @default false */ compatible?: boolean; } declare function presetScrollbar(option?: PresetScrollbarDefaultOption): Preset; //#endregion export { PresetScrollbarDefaultOption, presetScrollbar };