@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
34 lines (30 loc) • 800 B
JavaScript
import { createStaticStyles } from "antd-style";
//#region src/Checkbox/style.ts
const styles = createStaticStyles(({ css, cssVar }) => {
return {
checked: css`
border-color: ${cssVar.colorPrimary};
color: ${cssVar.colorBgLayout};
background-color: ${cssVar.colorPrimary};
`,
disabled: css`
cursor: not-allowed;
border-color: ${cssVar.colorFill};
color: ${cssVar.colorText};
opacity: 0.25;
background-color: ${cssVar.colorFill};
`,
indeterminate: css`
border-color: ${cssVar.colorPrimary};
color: ${cssVar.colorBgLayout};
background-color: ${cssVar.colorPrimary};
`,
root: css`
cursor: pointer;
display: inline-flex;
`
};
});
//#endregion
export { styles };
//# sourceMappingURL=style.mjs.map