Skip to content

Commit a5862c4

Browse files
committed
chore: synchronizing styles with the new version of prettier-plugin-tailwindcss
1 parent ca6a3dd commit a5862c4

File tree

20 files changed

+90
-90
lines changed

20 files changed

+90
-90
lines changed

apps/site/components/Blog/BlogPostCard/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77

88
.subtitle {
9-
@apply mb-2
10-
mt-6
9+
@apply mt-6
10+
mb-2
1111
inline-block
1212
text-xs
1313
font-semibold

apps/site/components/Common/Turtle/index.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
translate-x-0
99
translate-y-0
1010
after:absolute
11-
after:-left-full
1211
after:top-[20%]
12+
after:-left-full
1313
after:-z-10
1414
after:block
1515
after:h-36
1616
after:w-36
1717
after:-rotate-90
18-
after:select-none
1918
after:bg-[url('/static/images/smoke.gif')]
2019
after:opacity-[0.15]
2120
after:content-['']
21+
after:select-none
2222
motion-reduce:animate-none
23-
after:md:-left-1/2
24-
after:md:top-1/2;
23+
after:md:top-1/2
24+
after:md:-left-1/2;
2525
}
2626

2727
.image {

apps/site/components/Downloads/Release/ReleaseCodeBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const ReleaseCodeBox: FC = () => {
128128
const isLoading = context.os === 'LOADING' || context.installMethod === '';
129129

130130
return (
131-
<div className="mb-6 mt-4 flex flex-col gap-2">
131+
<div className="mt-4 mb-6 flex flex-col gap-2">
132132
{/* NoScript warning */}
133133
<noscript>
134134
<AlertBox

apps/site/styles/locales.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* managed to avoid disrupting the layout.
55
*/
66
html[lang='ko'] {
7-
@apply break-words
8-
break-keep
9-
leading-7;
7+
@apply leading-7
8+
break-words
9+
break-keep;
1010
}

packages/ui-components/src/Common/Badge/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@reference "../../styles/index.css";
22

33
.badge {
4-
@apply whitespace-nowrap
5-
rounded-full
4+
@apply rounded-full
65
text-center
6+
whitespace-nowrap
77
text-white;
88

99
&.small {

packages/ui-components/src/Common/BadgeGroup/index.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
rounded-full
88
border
99
py-1
10-
pl-1
1110
pr-2.5
11+
pl-1
1212
text-sm
1313
font-medium;
1414

packages/ui-components/src/Common/BaseButton/index.module.css

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@reference "../../styles/index.css";
22

33
.button {
4-
@apply px-4.5
5-
relative
4+
@apply relative
65
inline-flex
76
items-center
87
justify-center
98
gap-2
9+
px-4.5
1010
py-2.5
1111
text-center
1212
font-semibold
@@ -47,12 +47,12 @@
4747
}
4848

4949
&.primary {
50-
@apply shadow-xs
51-
rounded-sm
50+
@apply rounded-sm
5251
border
5352
border-green-600
5453
bg-green-600
55-
text-white;
54+
text-white
55+
shadow-xs;
5656

5757
&:hover:not([aria-disabled='true']) {
5858
@apply border-green-700
@@ -101,16 +101,16 @@
101101

102102
&.special {
103103
@apply before:bg-gradient-glow-backdrop
104-
shadow-xs
105104
rounded-lg
106105
border
107106
border-green-600/30
108107
bg-green-600/10
109108
text-white
109+
shadow-xs
110110
before:absolute
111-
before:left-0
112-
before:right-0
113111
before:top-0
112+
before:right-0
113+
before:left-0
114114
before:-z-10
115115
before:mx-auto
116116
before:h-full
@@ -119,8 +119,8 @@
119119
before:content-['']
120120
after:absolute
121121
after:-top-px
122-
after:left-0
123122
after:right-0
123+
after:left-0
124124
after:mx-auto
125125
after:h-px
126126
after:w-2/5
@@ -144,12 +144,12 @@
144144
}
145145

146146
&.warning {
147-
@apply shadow-xs
148-
border-warning-600
147+
@apply border-warning-600
149148
bg-warning-600
150149
rounded-sm
151150
border
152-
text-white;
151+
text-white
152+
shadow-xs;
153153

154154
&:hover:not([aria-disabled='true']) {
155155
@apply border-warning-700
@@ -169,12 +169,12 @@
169169
}
170170

171171
&.info {
172-
@apply shadow-xs
173-
border-info-600
172+
@apply border-info-600
174173
bg-info-600
175174
rounded-sm
176175
border
177-
text-white;
176+
text-white
177+
shadow-xs;
178178

179179
&:hover:not([aria-disabled='true']) {
180180
@apply border-info-700

packages/ui-components/src/Common/BaseCodeBox/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636

3737
&:not(:empty:last-child)::after {
3838
@apply font-ibm-plex-mono
39-
w-4.5
4039
absolute
41-
left-0
4240
top-0
41+
left-0
4342
mr-4
43+
w-4.5
4444
text-right
4545
text-neutral-600
4646
[content:counter(line)]

packages/ui-components/src/Common/BasePagination/PaginationListItem/index.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
.listItem,
44
.listItem:link,
55
.listItem:active {
6-
@apply aria-current:bg-green-600
7-
aria-current:text-white
8-
aria-current:cursor-default
9-
flex
6+
@apply flex
107
size-10
118
cursor-pointer
129
items-center
@@ -15,6 +12,9 @@
1512
px-3
1613
py-2.5
1714
text-neutral-800
15+
aria-current:cursor-default
16+
aria-current:bg-green-600
17+
aria-current:text-white
1818
motion-safe:transition-colors
1919
dark:text-neutral-200;
2020

packages/ui-components/src/Common/ChangeHistory/index.module.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
@reference "../../styles/index.css";
22

33
.summary {
4-
@apply outline-hidden
5-
flex
4+
@apply flex
65
h-9
76
cursor-pointer
8-
select-none
97
items-center
108
gap-2
119
rounded-md
@@ -14,6 +12,8 @@
1412
p-2
1513
text-sm
1614
text-neutral-700
15+
outline-hidden
16+
select-none
1717
motion-safe:transition-colors
1818
dark:border-neutral-900
1919
dark:text-neutral-300;
@@ -27,8 +27,8 @@
2727

2828
.dropdownContentWrapper {
2929
@apply absolute
30-
right-0
3130
top-full
31+
right-0
3232
z-50
3333
mt-1
3434
max-h-80
@@ -50,14 +50,14 @@
5050
}
5151

5252
.dropdownItem {
53-
@apply outline-hidden
54-
block
53+
@apply block
5554
px-2.5
5655
py-1.5
5756
text-sm
5857
font-medium
5958
text-neutral-800
6059
no-underline
60+
outline-hidden
6161
motion-safe:transition-colors
6262
dark:text-white;
6363

@@ -71,8 +71,8 @@
7171
.dropdownLabel {
7272
@apply block
7373
text-sm
74-
font-medium
75-
leading-tight;
74+
leading-tight
75+
font-medium;
7676
}
7777

7878
.dropdownVersions {

0 commit comments

Comments
 (0)