UNPKG

@hitachivantara/uikit-react-core

Version:
30 lines (29 loc) 742 B
import { theme } from "@hitachivantara/uikit-styles"; import { createClasses } from "@hitachivantara/uikit-react-utils"; //#region src/ScrollToHorizontal/ScrollToHorizontal.styles.tsx var { staticClasses, useClasses } = createClasses("HvScrollToHorizontal", { root: { display: "flex", padding: "0 30px", listStyleType: "none", flexWrap: "wrap", backdropFilter: `blur(4px)`, backgroundColor: theme.alpha("bgPage", .9) }, positionSticky: { position: "sticky", zIndex: `calc(${theme.zIndices.banner} - 2)`, top: 0, left: 0 }, positionFixed: { position: "fixed", zIndex: `calc(${theme.zIndices.banner} - 2)`, top: 0, left: 0 }, item: {}, itemSelected: {} }); //#endregion export { staticClasses, useClasses };