-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Upgrade to tailwind version 3 #3700
Changes from 26 commits
00d6ba6
634fde6
9a2a139
cb98925
7aca12c
b06e2b1
2c33f4f
b00d9c6
5852bd6
b480f70
0d9a369
1221063
c41087b
4078bd8
2775f11
73ce082
d25d5b2
6f93297
a078a17
5b2ce32
eb6737c
d3a7a2c
f46cd35
f9723d5
2d0ed78
dc4bdc8
b0ab948
5cd165b
f955a93
9ae5641
4dab5c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,5 +30,5 @@ h3.heading { | |
} | ||
h4.heading, | ||
h5.heading { | ||
@apply text--1h; | ||
@apply text-n1h; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,5 @@ | |
} | ||
|
||
.menu { | ||
@apply flex-col flex-no-wrap outline-none; | ||
@apply flex-col flex-nowrap outline-none; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
::slotted(calcite-action-group) { | ||
@apply border-0 | ||
p-0; | ||
border-inline-end-width: theme("borderWidth.default"); | ||
border-inline-end-width: theme("borderWidth.DEFAULT"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
justify-start | ||
m-0 | ||
relative | ||
text--2h | ||
text-n2h | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. classes that start with a dash were not working. They would either not be applied or cause a build error. I changed all of them to be |
||
font-medium | ||
text-color-3 | ||
w-auto; | ||
|
@@ -66,7 +66,7 @@ | |
|
||
:host([scale="s"]) { | ||
.button { | ||
@apply font-normal p-2 text--2h; | ||
@apply font-normal p-2 text-n2h; | ||
} | ||
.button--text-visible .icon-container { | ||
margin-inline-end: theme("spacing.2"); | ||
|
@@ -75,7 +75,7 @@ | |
|
||
:host([scale="m"]) { | ||
.button { | ||
@apply font-normal p-4 text--1h; | ||
@apply font-normal p-4 text-n1h; | ||
} | ||
.button--text-visible .icon-container { | ||
margin-inline-end: theme("spacing.3"); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tailwindlabs/tailwindcss#6599
classes that start with a dash were not working. They would either not be applied or cause a build error.
I changed all of them to be n2h instead of -2h.
tailwindlabs/tailwindcss#6599