Skip to content
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

Misc tailwindcss syncs v3-3.0.24 #674

Merged
merged 7 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions __fixtures__/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import tw from './macro'
* Test the config matching is working correctly
*/

tw`animate-zoom-.5`

tw`text-number`
tw`text-purple`
tw`text-purple-hyphen`
Expand Down
3 changes: 3 additions & 0 deletions __fixtures__/config/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
theme: {
animation: {
'zoom-.5': 'zoom-.5 2s',
},
colors: {
number: 0,
purple: 'purple',
Expand Down
3 changes: 3 additions & 0 deletions __fixtures__/!screens.js → __fixtures__/screens/screens.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ tw`md:block`
tw`lg:block`
tw`xl:block`
tw`2xl:block`
tw`2xl:block`

tw`<sm:underline md>:font-bold`
10 changes: 10 additions & 0 deletions __fixtures__/screens/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
theme: {
extend: {
screens: {
'<sm': { max: '399px' },
'md>': { min: '500px' },
},
},
},
}
3 changes: 3 additions & 0 deletions __fixtures__/utiltiesSizing/height.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ tw`h-[32rem]`
tw`h-[3.23rem]`
tw`h-[calc(100%+1rem)]`
tw`h-[var(--height)]`

tw`h-[calc(100%-theme('spacing.16'))]`
tw`h-[calc(100%-theme("spacing.16"))]`
6 changes: 6 additions & 0 deletions __fixtures__/visitedOpacity/visitedOpacity.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import tw from './macro'

tw`visited:border-red-500 visited:bg-red-500 visited:text-red-500`
tw`visited:border-red-500/20 visited:bg-red-500/20 visited:text-red-500/20`
tw`visited:border-red-500/[20] visited:bg-red-500/[20] visited:text-red-500/[20]`
tw`visited:(border-red-500 border-opacity-50) visited:(bg-red-500 bg-opacity-50) visited:(text-red-500 text-opacity-50)`
Loading