Skip to content

Commit fecc35b

Browse files
authored
fix(Guide): fix style error for demo (#3009)
* fix(Guide): fix style error for demo * fix: fix cr
1 parent 102caef commit fecc35b

File tree

6 files changed

+31
-19
lines changed

6 files changed

+31
-19
lines changed

src/guide/_example/base/index.wxss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,31 @@
22
margin: 32rpx;
33
display: inline-block;
44
}
5+
56
.title-major {
67
font-size: 48rpx;
78
font-weight: 600;
89
line-height: 72rpx;
910
}
11+
1012
.title-sub {
1113
font-size: 32rpx;
1214
font-weight: 400;
1315
line-height: 48rpx;
1416
margin-top: 8rpx;
15-
color: #0009;
1617
}
18+
1719
.action {
18-
margin: 32px;
20+
margin: 64rpx;
1921
display: grid;
2022
grid-template-columns: repeat(2, 1fr);
21-
gap: 32px;
23+
gap: 64rpx;
2224
}
2325

2426
.slot-body {
2527
margin-top: 8rpx;
2628
text-align: left;
27-
color: rgba(0, 0, 0, 0.6);
29+
color: var(--td-text-color-secondary);
2830
font-size: 28rpx;
2931
font-weight: 400;
3032
line-height: 44rpx;

src/guide/_example/content/index.wxss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@
22
margin: 32rpx;
33
display: inline-block;
44
}
5+
56
.title-major {
67
font-size: 48rpx;
78
font-weight: 600;
89
line-height: 72rpx;
910
}
11+
1012
.title-sub {
1113
font-size: 32rpx;
1214
font-weight: 400;
1315
line-height: 48rpx;
1416
margin-top: 8rpx;
15-
color: #0009;
1617
}
18+
1719
.action {
18-
margin: 32px;
20+
margin: 64rpx;
1921
display: grid;
2022
grid-template-columns: repeat(2, 1fr);
21-
gap: 32px;
23+
gap: 64rpx;
2224
}
2325

2426
.content {

src/guide/_example/dialog/index.wxss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,36 @@
22
margin: 32rpx;
33
display: inline-block;
44
}
5+
56
.title-major {
67
font-size: 48rpx;
78
font-weight: 600;
89
line-height: 72rpx;
910
}
11+
1012
.title-sub {
1113
font-size: 32rpx;
1214
font-weight: 400;
1315
line-height: 48rpx;
1416
margin-top: 8rpx;
15-
color: #0009;
1617
}
18+
1719
.action {
18-
margin: 32px;
20+
margin: 64r px;
1921
display: grid;
2022
grid-template-columns: repeat(2, 1fr);
21-
gap: 32px;
23+
gap: 64rpx;
2224
}
2325

2426
.slot-body {
2527
margin-top: 8rpx;
2628
text-align: center;
27-
color: rgba(0, 0, 0, 0.6);
29+
color: var(--td-text-color-secondary);
2830
font-size: 32rpx;
2931
font-weight: 400;
3032
line-height: 48rpx;
3133
}
34+
3235
.slot-body .guide-demo-image {
3336
margin-top: 48rpx;
3437
}

src/guide/_example/multiple/index.wxss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,36 @@
22
margin: 32rpx;
33
display: inline-block;
44
}
5+
56
.title-major {
67
font-size: 48rpx;
78
font-weight: 600;
89
line-height: 72rpx;
910
}
11+
1012
.title-sub {
1113
font-size: 32rpx;
1214
font-weight: 400;
1315
line-height: 48rpx;
1416
margin-top: 8rpx;
15-
color: #0009;
1617
}
18+
1719
.action {
18-
margin: 32px;
20+
margin: 63rpx;
1921
display: grid;
2022
grid-template-columns: repeat(2, 1fr);
21-
gap: 32px;
23+
gap: 63rpx;
2224
}
2325

2426
.slot-body {
2527
margin-top: 8rpx;
2628
text-align: center;
27-
color: rgba(0, 0, 0, 0.6);
29+
color: var(--td-text-color-secondary);
2830
font-size: 32rpx;
2931
font-weight: 400;
3032
line-height: 48rpx;
3133
}
34+
3235
.slot-body .guide-demo-image {
3336
margin-top: 48rpx;
3437
}

src/guide/_example/no-mask/index.wxss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22
margin: 32rpx;
33
display: inline-block;
44
}
5+
56
.title-major {
67
font-size: 48rpx;
78
font-weight: 600;
89
line-height: 72rpx;
910
}
11+
1012
.title-sub {
1113
font-size: 32rpx;
1214
font-weight: 400;
1315
line-height: 48rpx;
1416
margin-top: 8rpx;
15-
color: #0009;
1617
}
18+
1719
.action {
18-
margin: 32px;
20+
margin: 64rpx;
1921
display: grid;
2022
grid-template-columns: repeat(2, 1fr);
21-
gap: 32px;
23+
gap: 64rpx;
2224
}

src/guide/guide.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../common/style/index.less';
22

3-
@guide-reference-mask-color: var(--td-guide-reference-mask-color, @text-color-secondary);
3+
@guide-reference-mask-color: var(--td-guide-reference-mask-color, @font-gray-2);
44
@guide-reference-border-radius: var(--td-guide-reference-border-radius, @radius-default);
55
@guide-reference-border: var(--td-guide-reference-border, 4rpx solid @brand-color);
66

0 commit comments

Comments
 (0)