24 lines
604 B
JavaScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
import { commonLight } from "../../../_styles/common/index.mjs";
2024-08-02 18:19:39 +08:00
import { commonVars } from "./common.mjs";
export function self(vars) {
2024-01-29 09:26:07 +08:00
const {
scrollbarColor,
2024-08-02 18:19:39 +08:00
scrollbarColorHover,
scrollbarHeight,
scrollbarWidth,
scrollbarBorderRadius
2024-01-29 09:26:07 +08:00
} = vars;
2024-08-02 18:19:39 +08:00
return Object.assign(Object.assign({}, commonVars), {
height: scrollbarHeight,
width: scrollbarWidth,
borderRadius: scrollbarBorderRadius,
2024-01-29 09:26:07 +08:00
color: scrollbarColor,
colorHover: scrollbarColorHover
2024-08-02 18:19:39 +08:00
});
}
2024-01-29 09:26:07 +08:00
const scrollbarLight = {
name: 'Scrollbar',
common: commonLight,
self
};
export default scrollbarLight;