Skip to content

Commit 6edd8e0

Browse files
TechQueryCopilot
andcommitted
[fix] Prettier formatting bug of LESS mixin
Co-authored-by: Copilot <copilot@github.com>
1 parent f057917 commit 6edd8e0

2 files changed

Lines changed: 28 additions & 14 deletions

File tree

components/Activity/Hackathon/TeamMember.module.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@import './theme.less';
22

33
.card {
4-
;
4+
// prettier-ignore
5+
.panel-card();
56
padding: 1.35rem;
67
}
78

@@ -36,7 +37,8 @@
3637
}
3738

3839
.skill {
39-
;
40+
// prettier-ignore
41+
.chip();
4042
padding: 0.45rem 0.72rem;
4143
color: rgba(255, 255, 255, 0.8);
4244
font-size: 0.82rem;

styles/HackathonTeam.module.less

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
linear-gradient(180deg, #0b1328 0%, #091022 48%, #050814 100%);
88
}
99

10-
;
10+
// prettier-ignore
11+
.section-frame();
1112

1213
.heroSection {
1314
padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
@@ -19,12 +20,14 @@
1920
}
2021

2122
.heroShell {
22-
;
23+
// prettier-ignore
24+
.panel-card();
2325
padding: clamp(1.3rem, 2.6vw, 2rem);
2426
}
2527

2628
.heroNavLink {
27-
;
29+
// prettier-ignore
30+
.chip();
2831
padding: 0.45rem 0.8rem;
2932
color: rgba(255, 255, 255, 0.8);
3033
font-size: 0.82rem;
@@ -36,27 +39,32 @@
3639
}
3740

3841
.heroEyebrow {
39-
;
42+
// prettier-ignore
43+
.eyebrow();
4044
color: @cyan;
4145
}
4246

4347
.heroTag {
44-
;
48+
// prettier-ignore
49+
.chip();
4550
padding: 0.42rem 0.75rem;
4651
color: rgba(255, 255, 255, 0.8);
4752
font-size: 0.8rem;
4853
}
4954

5055
.primaryAction {
51-
;
56+
// prettier-ignore
57+
.button-primary();
5258
}
5359

5460
.secondaryAction {
55-
;
61+
// prettier-ignore
62+
.button-ghost();
5663
}
5764

5865
.emptyState {
59-
;
66+
// prettier-ignore
67+
.panel-card();
6068
}
6169

6270
.section {
@@ -66,7 +74,8 @@
6674
.metricCard,
6775
.summaryCard,
6876
.creatorCard {
69-
;
77+
// prettier-ignore
78+
.panel-card();
7079
}
7180

7281
.summaryCard,
@@ -116,7 +125,8 @@
116125
}
117126

118127
.metaItem {
119-
;
128+
// prettier-ignore
129+
.chip();
120130
padding: 0.55rem 0.9rem;
121131
color: rgba(255, 255, 255, 0.82);
122132
font-size: 0.88rem;
@@ -129,7 +139,8 @@
129139

130140
.metricLabel,
131141
.creatorLabel {
132-
;
142+
// prettier-ignore
143+
.eyebrow();
133144
display: block;
134145
}
135146

@@ -176,7 +187,8 @@
176187
}
177188

178189
.scoreButton {
179-
;
190+
// prettier-ignore
191+
.button-primary();
180192
}
181193

182194
.productCardOverride {

0 commit comments

Comments
 (0)