UNPKG

@lobehub/ui

Version:

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

1 lines 1.12 kB
{"version":3,"file":"style.mjs","names":["lobeStaticStylish","cssVar"],"sources":["../../../src/awesome/BottomGradientButton/style.ts"],"sourcesContent":["import { createStaticStyles, cx } from 'antd-style';\n\nimport { lobeStaticStylish } from '@/styles';\n\nexport const styles = createStaticStyles(({ css, cssVar }) =>\n cx(\n lobeStaticStylish.resetLinkColor,\n css`\n overflow: hidden;\n font-weight: bold;\n color: ${cssVar.colorTextSecondary};\n transition: all 0.2s ease-in-out;\n\n &::before {\n content: '';\n\n position: absolute;\n inset-block-end: 0;\n\n display: block;\n\n width: 50%;\n height: 1px;\n\n opacity: 0;\n background-image: linear-gradient(to right, transparent, ${cssVar.gold}, transparent);\n\n transition: all 0.2s ease-in-out;\n }\n\n &:hover {\n &::before {\n opacity: 1;\n }\n }\n `,\n ),\n);\n"],"mappings":";;;;AAIA,MAAa,SAAS,oBAAoB,EAAE,YAAK,uBAC/C,GACEA,cAAkB,gBAClB,KAAG;;;eAGQC,SAAO,mBAAmB;;;;;;;;;;;;;;;mEAe0BA,SAAO,KAAK;;;;;;;;;;MAW5E,CACF"}