UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

29 lines (25 loc) 784 B
'use client'; import { createGlobalStyle, css } from "antd-style"; //#region src/ScrollArea/globalStyle.ts /** * Register animatable custom properties used by scroll-driven animations. * * Without @property registration, custom properties interpolate discretely, * which can cause visible snapping at scroll boundaries. */ const ScrollAreaGlobalStyle = createGlobalStyle(() => css` @property --lobe-scroll-area-fade-top { inherits: true; initial-value: 0; syntax: '<length>'; } @property --lobe-scroll-area-fade-bottom { inherits: true; initial-value: 0; syntax: '<length>'; } `); var globalStyle_default = ScrollAreaGlobalStyle; //#endregion export { globalStyle_default as default }; //# sourceMappingURL=globalStyle.mjs.map