ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
2 lines (1 loc) • 612 B
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=r=>{const{componentCls:e,antCls:o}=r,l=`${e}-switch`;return{[e]:{[`&${l}-rtl`]:{direction:"rtl"},[`&${l}`]:{display:"inline-block",[`${o}-btn:not(:disabled):not(${o}-btn-disabled):hover`]:{background:r.colorFillSecondary,borderColor:r.colorBorder,color:r.colorText},[`&${l}-checked`]:{[`${o}-btn:not(:disabled):not(${o}-btn-disabled):hover`]:{background:r.colorPrimaryBgHover,borderColor:r.colorPrimary,color:r.colorPrimary},[`${l}-content`]:{background:r.colorPrimaryBg}}}}}};exports.default=c;