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

Add tests for smaller rotate and skew values #164

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

ben-rogerson
Copy link
Owner

This PR adds tests for the new smaller rotate and skew classes in Tailwindcss@1.9.0. Further work isn't required as the updates come down the stream in the default config change from tailwindcss.

import tw from 'twin.macro'

tw`rotate-1`
tw`rotate-2`
tw`rotate-3`
tw`rotate-6`
tw`rotate-12`

tw`-rotate-1`
tw`-rotate-2`
tw`-rotate-3`
tw`-rotate-6`
tw`-rotate-12`

tw`skew-x-1`
tw`skew-x-2`

tw`-skew-x-1`
tw`-skew-x-2`

tw`skew-y-1`
tw`skew-y-2`

tw`-skew-y-1`
tw`-skew-y-2`


// ↓ ↓ ↓ ↓ ↓ ↓

({
  "--transform-rotate": "1deg"
});
({
  "--transform-rotate": "2deg"
});
({
  "--transform-rotate": "3deg"
});
({
  "--transform-rotate": "6deg"
});
({
  "--transform-rotate": "12deg"
});
({
  "--transform-rotate": "-1deg"
});
({
  "--transform-rotate": "-2deg"
});
({
  "--transform-rotate": "-3deg"
});
({
  "--transform-rotate": "-6deg"
});
({
  "--transform-rotate": "-12deg"
});
({
  "--transform-skew-x": "1deg"
});
({
  "--transform-skew-x": "2deg"
});
({
  "--transform-skew-x": "-1deg"
});
({
  "--transform-skew-x": "-2deg"
});
({
  "--transform-skew-y": "1deg"
});
({
  "--transform-skew-y": "2deg"
});
({
  "--transform-skew-y": "-1deg"
});
({
  "--transform-skew-y": "-2deg"
});

@ben-rogerson ben-rogerson changed the title add tests for smaller rotate and skew values Add tests for smaller rotate and skew values Oct 14, 2020
@ben-rogerson ben-rogerson merged commit 74d2916 into release/1.11.0 Oct 17, 2020
@ben-rogerson ben-rogerson deleted the feature/extended-rotate-skew branch October 17, 2020 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant