UNPKG

1.23 kBSCSSView Raw
1////
2/// @module line: 线条
3/// @type String
4/// @category style
5////
6
7// Line
8// 根据 Alibaba Base DPL(BASE DPL)
9// 边框主要用于呈现元素内容区域,显示元素的操作区域;线主要用于管理和分隔列表和页面布局内的内容。以便让内容生成更好的视觉效果及空间感。
10
11// ************************** 公共变量, 供开发者和设计师引用 *********************** //
12
13/// line-zero
14/// @semantic 无
15/// @export size
16/// @group size
17/// @type Length
18/// @unconfigurable
19$line-zero: 0px !default;
20
21/// line-1
22/// @semantic 细
23/// @export size
24/// @group size
25/// @type Length
26$line-1: 1px !default;
27
28/// line-2
29/// @semantic 常规
30/// @export size
31/// @group size
32/// @type Length
33$line-2: 2px !default;
34
35/// line-3
36/// @semantic 粗
37/// @export size
38/// @group size
39/// @type Length
40$line-3: 3px !default;
41
42/// line-solid
43/// @export style
44/// @group style
45/// @unconfigurable
46$line-solid: solid !default;
47
48/// line-dashed
49/// @export style
50/// @group style
51/// @unconfigurable
52$line-dashed: dashed !default;
53
54/// line-dotted
55/// @export style
56/// @group style
57/// @unconfigurable
58$line-dotted: dotted !default;
59
60// ----------- patch ----------- //
61$line-0: $line-zero;