@alifd/theme-panda 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alifd/theme-panda",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "author": "taobao2440443844",
5
5
  "scripts": {
6
6
  "build-theme": "tnpm run sass2less && node bin/build.js",
package/variables.css CHANGED
@@ -1,6 +1,125 @@
1
1
  :root {
2
2
 
3
3
 
4
+ /* ------------------------ font ------------------------ */
5
+
6
+
7
+
8
+ --font-size-caption: 12px;
9
+
10
+
11
+
12
+ --font-name-bold: "";
13
+
14
+
15
+
16
+ --font-name-medium: "";
17
+
18
+
19
+
20
+ --font-name-regular: "";
21
+
22
+
23
+
24
+ --font-name-light: "";
25
+
26
+
27
+
28
+ --font-name-thin: "";
29
+
30
+
31
+
32
+ --font-custom-name: "";
33
+
34
+
35
+
36
+ --font-custom-path: "";
37
+
38
+
39
+
40
+ --font-size-body-1: 14px;
41
+
42
+
43
+
44
+ --font-size-body-2: 16px;
45
+
46
+
47
+
48
+ --font-size-subhead: 18px;
49
+
50
+
51
+
52
+ --font-family-base: "Helvetica Neue",Helvetica,Tahoma,Arial,"PingFang SC","Microsoft YaHei";
53
+
54
+
55
+
56
+ --font-weight-ultra-bold: 900;
57
+
58
+
59
+
60
+ --font-weight-extra-bold: 800;
61
+
62
+
63
+
64
+ --font-weight-3: bold;
65
+
66
+
67
+
68
+ --font-weight-semi-bold: 600;
69
+
70
+
71
+
72
+ --font-weight-medium: 500;
73
+
74
+
75
+
76
+ --font-weight-2: normal;
77
+
78
+
79
+
80
+ --font-weight-light: 300;
81
+
82
+
83
+
84
+ --font-weight-thin: 200;
85
+
86
+
87
+
88
+ --font-weight-1: lighter;
89
+
90
+
91
+
92
+ --font-size-title: 20px;
93
+
94
+
95
+
96
+ --font-size-headline: 24px;
97
+
98
+
99
+
100
+ --font-size-display-1: 36px;
101
+
102
+
103
+
104
+ --font-size-display-2: 48px;
105
+
106
+
107
+
108
+ --font-size-display-3: 56px;
109
+
110
+
111
+
112
+ --font-lineheight-3: 1.7;
113
+
114
+
115
+
116
+ --font-lineheight-2: 1.5;
117
+
118
+
119
+
120
+ --font-lineheight-1: 1.3;
121
+
122
+
4
123
  /* ------------------------ color ------------------------ */
5
124
 
6
125
 
@@ -2875,125 +2994,6 @@
2875
2994
  --icon-font-name: "icon";
2876
2995
 
2877
2996
 
2878
- /* ------------------------ font ------------------------ */
2879
-
2880
-
2881
-
2882
- --font-name-bold: "";
2883
-
2884
-
2885
-
2886
- --font-name-medium: "";
2887
-
2888
-
2889
-
2890
- --font-name-regular: "";
2891
-
2892
-
2893
-
2894
- --font-name-light: "";
2895
-
2896
-
2897
-
2898
- --font-name-thin: "";
2899
-
2900
-
2901
-
2902
- --font-custom-name: "";
2903
-
2904
-
2905
-
2906
- --font-custom-path: "";
2907
-
2908
-
2909
-
2910
- --font-size-caption: 14px;
2911
-
2912
-
2913
-
2914
- --font-size-body-1: 14px;
2915
-
2916
-
2917
-
2918
- --font-size-body-2: 16px;
2919
-
2920
-
2921
-
2922
- --font-size-subhead: 18px;
2923
-
2924
-
2925
-
2926
- --font-family-base: "Helvetica Neue",Helvetica,Tahoma,Arial,"PingFang SC","Microsoft YaHei";
2927
-
2928
-
2929
-
2930
- --font-weight-ultra-bold: 900;
2931
-
2932
-
2933
-
2934
- --font-weight-extra-bold: 800;
2935
-
2936
-
2937
-
2938
- --font-weight-3: bold;
2939
-
2940
-
2941
-
2942
- --font-weight-semi-bold: 600;
2943
-
2944
-
2945
-
2946
- --font-weight-medium: 500;
2947
-
2948
-
2949
-
2950
- --font-weight-2: normal;
2951
-
2952
-
2953
-
2954
- --font-weight-light: 300;
2955
-
2956
-
2957
-
2958
- --font-weight-thin: 200;
2959
-
2960
-
2961
-
2962
- --font-weight-1: lighter;
2963
-
2964
-
2965
-
2966
- --font-size-title: 20px;
2967
-
2968
-
2969
-
2970
- --font-size-headline: 24px;
2971
-
2972
-
2973
-
2974
- --font-size-display-1: 36px;
2975
-
2976
-
2977
-
2978
- --font-size-display-2: 48px;
2979
-
2980
-
2981
-
2982
- --font-size-display-3: 56px;
2983
-
2984
-
2985
-
2986
- --font-lineheight-3: 1.7;
2987
-
2988
-
2989
-
2990
- --font-lineheight-2: 1.5;
2991
-
2992
-
2993
-
2994
- --font-lineheight-1: 1.3;
2995
-
2996
-
2997
2997
  /* ------------------------ popup ------------------------ */
2998
2998
 
2999
2999
 
@@ -3124,11 +3124,11 @@
3124
3124
 
3125
3125
 
3126
3126
 
3127
- --form-element-small-preview-font-size: var(--font-size-caption, 14px);
3127
+ --form-element-small-preview-font-size: var(--font-size-caption, 12px);
3128
3128
 
3129
3129
 
3130
3130
 
3131
- --form-element-small-preview-label-font-size: var(--font-size-caption, 14px);
3131
+ --form-element-small-preview-label-font-size: var(--font-size-caption, 12px);
3132
3132
 
3133
3133
 
3134
3134
 
@@ -3144,7 +3144,7 @@
3144
3144
 
3145
3145
 
3146
3146
 
3147
- --form-element-small-font-size: var(--font-size-caption, 14px);
3147
+ --form-element-small-font-size: var(--font-size-caption, 12px);
3148
3148
 
3149
3149
 
3150
3150
 
@@ -3697,7 +3697,7 @@
3697
3697
 
3698
3698
 
3699
3699
 
3700
- --timeline-item-custom-node-font-size: var(--font-size-caption, 14px);
3700
+ --timeline-item-custom-node-font-size: var(--font-size-caption, 12px);
3701
3701
 
3702
3702
 
3703
3703
 
@@ -3749,19 +3749,19 @@
3749
3749
 
3750
3750
 
3751
3751
 
3752
- --timeline-item-body-font-size: var(--font-size-caption, 14px);
3752
+ --timeline-item-body-font-size: var(--font-size-caption, 12px);
3753
3753
 
3754
3754
 
3755
3755
 
3756
- --timeline-item-left-body-font-size: var(--font-size-caption, 14px);
3756
+ --timeline-item-left-body-font-size: var(--font-size-caption, 12px);
3757
3757
 
3758
3758
 
3759
3759
 
3760
- --timeline-item-time-font-size: var(--font-size-caption, 14px);
3760
+ --timeline-item-time-font-size: var(--font-size-caption, 12px);
3761
3761
 
3762
3762
 
3763
3763
 
3764
- --timeline-item-folder-font-size: var(--font-size-caption, 14px);
3764
+ --timeline-item-folder-font-size: var(--font-size-caption, 12px);
3765
3765
 
3766
3766
 
3767
3767
 
@@ -4085,7 +4085,7 @@
4085
4085
 
4086
4086
 
4087
4087
 
4088
- --rating-small-font-size: var(--font-size-caption, 14px);
4088
+ --rating-small-font-size: var(--font-size-caption, 12px);
4089
4089
 
4090
4090
 
4091
4091
 
@@ -4713,7 +4713,7 @@
4713
4713
 
4714
4714
 
4715
4715
 
4716
- --card-sub-title-font-size: var(--font-size-caption, 14px);
4716
+ --card-sub-title-font-size: var(--font-size-caption, 12px);
4717
4717
 
4718
4718
 
4719
4719
 
@@ -5097,7 +5097,7 @@
5097
5097
 
5098
5098
 
5099
5099
 
5100
- --btn-size-s-font: var(--font-size-caption, 14px);
5100
+ --btn-size-s-font: var(--font-size-caption, 12px);
5101
5101
 
5102
5102
 
5103
5103
 
@@ -5465,7 +5465,7 @@
5465
5465
 
5466
5466
 
5467
5467
 
5468
- --btn-text-size-s-font: var(--font-size-caption, 14px);
5468
+ --btn-text-size-s-font: var(--font-size-caption, 12px);
5469
5469
 
5470
5470
 
5471
5471
 
@@ -5680,7 +5680,7 @@
5680
5680
 
5681
5681
 
5682
5682
 
5683
- --tag-size-s-text-size: var(--font-size-caption, 14px);
5683
+ --tag-size-s-text-size: var(--font-size-caption, 12px);
5684
5684
 
5685
5685
 
5686
5686
 
@@ -6351,7 +6351,7 @@
6351
6351
 
6352
6352
 
6353
6353
 
6354
- --input-maxlen-font-size: var(--font-size-caption, 14px);
6354
+ --input-maxlen-font-size: var(--font-size-caption, 12px);
6355
6355
 
6356
6356
 
6357
6357
 
@@ -6907,7 +6907,7 @@
6907
6907
 
6908
6908
 
6909
6909
 
6910
- --upload-card-list-thumbnail-font-size: var(--font-size-caption, 14px);
6910
+ --upload-card-list-thumbnail-font-size: var(--font-size-caption, 12px);
6911
6911
 
6912
6912
 
6913
6913
 
@@ -6919,7 +6919,7 @@
6919
6919
 
6920
6920
 
6921
6921
 
6922
- --upload-card-list-name-font-size: var(--font-size-caption, 14px);
6922
+ --upload-card-list-name-font-size: var(--font-size-caption, 12px);
6923
6923
 
6924
6924
 
6925
6925
 
@@ -6959,7 +6959,7 @@
6959
6959
 
6960
6960
 
6961
6961
 
6962
- --upload-drag-zone-hint-font-size: var(--font-size-caption, 14px);
6962
+ --upload-drag-zone-hint-font-size: var(--font-size-caption, 12px);
6963
6963
 
6964
6964
 
6965
6965
 
@@ -7018,7 +7018,7 @@
7018
7018
 
7019
7019
 
7020
7020
 
7021
- --badge-size-count-font: var(--font-size-caption, 14px);
7021
+ --badge-size-count-font: var(--font-size-caption, 12px);
7022
7022
 
7023
7023
 
7024
7024
 
@@ -8111,11 +8111,11 @@
8111
8111
 
8112
8112
 
8113
8113
 
8114
- --progress-line-font-m: var(--font-size-caption, 14px);
8114
+ --progress-line-font-m: var(--font-size-caption, 12px);
8115
8115
 
8116
8116
 
8117
8117
 
8118
- --progress-line-font-s: var(--font-size-caption, 14px);
8118
+ --progress-line-font-s: var(--font-size-caption, 12px);
8119
8119
 
8120
8120
 
8121
8121
 
@@ -9379,11 +9379,11 @@
9379
9379
 
9380
9380
 
9381
9381
 
9382
- --pagination-small-current-font-size: var(--font-size-caption, 14px);
9382
+ --pagination-small-current-font-size: var(--font-size-caption, 12px);
9383
9383
 
9384
9384
 
9385
9385
 
9386
- --pagination-small-total-font-size: var(--font-size-caption, 14px);
9386
+ --pagination-small-total-font-size: var(--font-size-caption, 12px);
9387
9387
 
9388
9388
 
9389
9389
 
@@ -9391,7 +9391,7 @@
9391
9391
 
9392
9392
 
9393
9393
 
9394
- --pagination-small-jump-font-size: var(--font-size-caption, 14px);
9394
+ --pagination-small-jump-font-size: var(--font-size-caption, 12px);
9395
9395
 
9396
9396
 
9397
9397
 
@@ -9760,7 +9760,7 @@
9760
9760
 
9761
9761
 
9762
9762
 
9763
- --radio-button-font-size-small: var(--font-size-caption, 14px);
9763
+ --radio-button-font-size-small: var(--font-size-caption, 12px);
9764
9764
 
9765
9765
 
9766
9766
 
@@ -9867,11 +9867,11 @@
9867
9867
 
9868
9868
 
9869
9869
 
9870
- --time-picker-menu-title-font-size: var(--font-size-caption, 14px);
9870
+ --time-picker-menu-title-font-size: var(--font-size-caption, 12px);
9871
9871
 
9872
9872
 
9873
9873
 
9874
- --time-picker-menu-item-font-size: var(--font-size-caption, 14px);
9874
+ --time-picker-menu-item-font-size: var(--font-size-caption, 12px);
9875
9875
 
9876
9876
 
9877
9877
 
@@ -10221,7 +10221,7 @@
10221
10221
 
10222
10222
 
10223
10223
 
10224
- --step-circle-item-node-font-size: var(--font-size-caption, 14px);
10224
+ --step-circle-item-node-font-size: var(--font-size-caption, 12px);
10225
10225
 
10226
10226
 
10227
10227
 
@@ -10241,7 +10241,7 @@
10241
10241
 
10242
10242
 
10243
10243
 
10244
- --step-circle-item-content-font-size: var(--font-size-caption, 14px);
10244
+ --step-circle-item-content-font-size: var(--font-size-caption, 12px);
10245
10245
 
10246
10246
 
10247
10247
 
@@ -10557,7 +10557,7 @@
10557
10557
 
10558
10558
 
10559
10559
 
10560
- --step-dot-item-content-font-size: var(--font-size-caption, 14px);
10560
+ --step-dot-item-content-font-size: var(--font-size-caption, 12px);
10561
10561
 
10562
10562
 
10563
10563
 
@@ -10767,7 +10767,7 @@
10767
10767
 
10768
10768
 
10769
10769
 
10770
- --nav-ver-sub-nav-font-size: var(--font-size-caption, 14px);
10770
+ --nav-ver-sub-nav-font-size: var(--font-size-caption, 12px);
10771
10771
 
10772
10772
 
10773
10773
 
@@ -11464,7 +11464,7 @@
11464
11464
 
11465
11465
 
11466
11466
 
11467
- --tab-item-text-size-s: var(--font-size-caption, 14px);
11467
+ --tab-item-text-size-s: var(--font-size-caption, 12px);
11468
11468
 
11469
11469
 
11470
11470
 
@@ -11899,7 +11899,7 @@
11899
11899
 
11900
11900
 
11901
11901
 
11902
- --calendar-card-table-head-font-size: var(--font-size-caption, 14px);
11902
+ --calendar-card-table-head-font-size: var(--font-size-caption, 12px);
11903
11903
 
11904
11904
 
11905
11905
 
@@ -11907,7 +11907,7 @@
11907
11907
 
11908
11908
 
11909
11909
 
11910
- --calendar-card-table-cell-font-size: var(--font-size-caption, 14px);
11910
+ --calendar-card-table-cell-font-size: var(--font-size-caption, 12px);
11911
11911
 
11912
11912
 
11913
11913
 
@@ -12122,11 +12122,11 @@
12122
12122
 
12123
12123
 
12124
12124
 
12125
- --breadcrumb-size-m-font-size: var(--font-size-caption, 14px);
12125
+ --breadcrumb-size-m-font-size: var(--font-size-caption, 12px);
12126
12126
 
12127
12127
 
12128
12128
 
12129
- --breadcrumb-size-ellipsis-font-size: var(--font-size-caption, 14px);
12129
+ --breadcrumb-size-ellipsis-font-size: var(--font-size-caption, 12px);
12130
12130
 
12131
12131
 
12132
12132
 
package/variables.js CHANGED
@@ -10,7 +10,7 @@ module.exports = {
10
10
 
11
11
  "$form-element-large-height": "40px",
12
12
 
13
- "$form-element-small-font-size": "14px",
13
+ "$form-element-small-font-size": "12px",
14
14
 
15
15
  "$form-element-medium-font-size": "14px",
16
16
 
@@ -22,9 +22,9 @@ module.exports = {
22
22
 
23
23
  "$form-element-large-preview-height": "40px",
24
24
 
25
- "$form-element-small-preview-label-font-size": "14px",
25
+ "$form-element-small-preview-label-font-size": "12px",
26
26
 
27
- "$form-element-small-preview-font-size": "14px",
27
+ "$form-element-small-preview-font-size": "12px",
28
28
 
29
29
  "$form-element-medium-preview-label-font-size": "14px",
30
30
 
@@ -280,7 +280,7 @@ module.exports = {
280
280
 
281
281
  "$font-size-body-1": "14px",
282
282
 
283
- "$font-size-caption": "14px",
283
+ "$font-size-caption": "12px",
284
284
 
285
285
 
286
286