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 full color palette for fill/stroke #5933

Merged
merged 1 commit into from
Nov 3, 2021
Merged

Commits on Oct 29, 2021

  1. Add full color palette for fill/stroke

    Historically we've only included `fill-current` and `stroke-current` due to file size considerations, and recommended combining them with text color utilities like this:
    
    ```html
    <svg class="fill-current text-blue-500">
    ```
    
    With the JIT engine, there's no real reason for this anymore, so this PR enables all colors by default, allowing you to write this out of the box instead:
    
    ```html
    <svg class="fill-blue-500">
    ```
    
    Giddy up.
    adamwathan committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    50c0b57 View commit details
    Browse the repository at this point in the history