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 caret classes #506

Merged
merged 1 commit into from Aug 18, 2021
Merged

Add caret classes #506

merged 1 commit into from Aug 18, 2021

Conversation

ben-rogerson
Copy link
Owner

This PR adds the following types of caret color classes:

tw`caret-red-500`; // Color classes
tw`caret-red-500/20`; // Color alpha classes
tw`caret-[color:blue]`; // Coerced arbitrary classes
tw`caret-[red]`; // Arbitrary classes

// ↓ ↓ ↓ ↓ ↓ ↓

({
  "caretColor": "rgba(239, 68, 68, 0.2)"
});
({
  "caretColor": "#ef4444"
});
({
  "caretColor": "blue"
});
({
  "caretColor": "red"
});

@ben-rogerson ben-rogerson mentioned this pull request Aug 11, 2021
13 tasks
@ben-rogerson ben-rogerson merged commit afffa47 into master Aug 18, 2021
@ben-rogerson ben-rogerson deleted the feature/carat-classes branch August 18, 2021 09:55
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.

None yet

1 participant