Bilibili-Evolved/registry/lib/components/style/scrollbar/index.ts
2021-12-05 20:52:01 +08:00

19 lines
543 B
TypeScript

import { ComponentMetadata } from '@/components/types'
export const component: ComponentMetadata = {
name: 'elegantScrollbar',
entry: none,
displayName: '使用细滚动条',
description: '使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.',
tags: [
componentsTags.style,
componentsTags.general,
],
instantStyles: [
{
name: 'elegant-scrollbar',
style: () => import('./scrollbar.scss'),
},
],
}