tdesign-mobile-vue
Version:
tdesign-mobile-vue
24 lines (18 loc) • 760 B
text/less
// 组件变量
// 名称可按如下规则定义:
// <component>-[type]-[attrtype]-<attr>-[status]
// component:组件名,如button,
// type: 组件类型,如 button 的次要按钮(line)
// attrtype: 属性的具体应用场景。如颜色,用于背景(bg)、文本(text)、边框(border)等
// attr: 属性名称,如color、height、radius等
// status: 表示组件状态或尺寸,如 hover、disabled、s、l 等
// 如:@button-line-bg-color-hover
// 如:@button-line-height-s
@badge-text-color: @text-color-anti;
@badge-color: @error-color;
@badge-font-size: @font-size-xs;
@badge-height: 16px;
@badge-font-weight: normal;
@badge-circle-border-radius: 8px;
@badge-round-border-radius: 4px;
@badge-dot-height: 10px;