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 xl, 2xl, and 3xl border radius values #165

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

ben-rogerson
Copy link
Owner

This PR adds tests for the new border-radius values in [email protected]. 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`rounded-xl`
tw`rounded-2xl`
tw`rounded-3xl`

tw`rounded-t-xl`
tw`rounded-r-xl`
tw`rounded-b-xl`
tw`rounded-l-xl`

tw`rounded-t-2xl`
tw`rounded-r-2xl`
tw`rounded-b-2xl`
tw`rounded-l-2xl`

tw`rounded-t-3xl`
tw`rounded-r-3xl`
tw`rounded-b-3xl`
tw`rounded-l-3xl`

tw`rounded-tl-lg`
tw`rounded-tr-lg`
tw`rounded-br-lg`
tw`rounded-bl-lg`

tw`rounded-tl-xl`
tw`rounded-tr-xl`
tw`rounded-br-xl`
tw`rounded-bl-xl`

tw`rounded-tl-2xl`
tw`rounded-tr-2xl`
tw`rounded-br-2xl`
tw`rounded-bl-2xl`

tw`rounded-tl-3xl`
tw`rounded-tr-3xl`
tw`rounded-br-3xl`
tw`rounded-bl-3xl`

// ↓ ↓ ↓ ↓ ↓ ↓

({
  "borderRadius": "0.75rem"
});
({
  "borderRadius": "1rem"
});
({
  "borderRadius": "1.5rem"
});
({
  "borderTopLeftRadius": "0.75rem",
  "borderTopRightRadius": "0.75rem"
});
({
  "borderTopRightRadius": "0.75rem",
  "borderBottomRightRadius": "0.75rem"
});
({
  "borderBottomLeftRadius": "0.75rem",
  "borderBottomRightRadius": "0.75rem"
});
({
  "borderTopLeftRadius": "0.75rem",
  "borderBottomLeftRadius": "0.75rem"
});
({
  "borderTopLeftRadius": "1rem",
  "borderTopRightRadius": "1rem"
});
({
  "borderTopRightRadius": "1rem",
  "borderBottomRightRadius": "1rem"
});
({
  "borderBottomLeftRadius": "1rem",
  "borderBottomRightRadius": "1rem"
});
({
  "borderTopLeftRadius": "1rem",
  "borderBottomLeftRadius": "1rem"
});
({
  "borderTopLeftRadius": "1.5rem",
  "borderTopRightRadius": "1.5rem"
});
({
  "borderTopRightRadius": "1.5rem",
  "borderBottomRightRadius": "1.5rem"
});
({
  "borderBottomLeftRadius": "1.5rem",
  "borderBottomRightRadius": "1.5rem"
});
({
  "borderTopLeftRadius": "1.5rem",
  "borderBottomLeftRadius": "1.5rem"
});
({
  "borderTopLeftRadius": "0.5rem"
});
({
  "borderTopRightRadius": "0.5rem"
});
({
  "borderBottomRightRadius": "0.5rem"
});
({
  "borderBottomLeftRadius": "0.5rem"
});
({
  "borderTopLeftRadius": "0.75rem"
});
({
  "borderTopRightRadius": "0.75rem"
});
({
  "borderBottomRightRadius": "0.75rem"
});
({
  "borderBottomLeftRadius": "0.75rem"
});
({
  "borderTopLeftRadius": "1rem"
});
({
  "borderTopRightRadius": "1rem"
});
({
  "borderBottomRightRadius": "1rem"
});
({
  "borderBottomLeftRadius": "1rem"
});
({
  "borderTopLeftRadius": "1.5rem"
});
({
  "borderTopRightRadius": "1.5rem"
});
({
  "borderBottomRightRadius": "1.5rem"
});
({
  "borderBottomLeftRadius": "1.5rem"
});

@ben-rogerson ben-rogerson merged commit b2f4c3b into release/1.11.0 Oct 17, 2020
@ben-rogerson ben-rogerson deleted the feature/extra-border-radius 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