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

border class doesn't invert color #75

Open
milan-gm opened this issue May 30, 2023 · 2 comments
Open

border class doesn't invert color #75

milan-gm opened this issue May 30, 2023 · 2 comments

Comments

@milan-gm
Copy link

The default border color does not get inverted

<div class="border">...</div>`. 

You need to specify the color additionally like so:

<div class="border border-gray-300">...</div>

It would be great if nightwind would handle that.

@RaminGe
Copy link

RaminGe commented Jun 14, 2023

An easy workaround is to add this to your global styles:

.border,
.border-t,
.border-r,
.border-b,
.border-l,
.border-x,
.border-y {
  @apply border-gray-300;
}

@macmillen
Copy link

i guess that works for now, but it would be cool if nightwind would do that for me

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

No branches or pull requests

3 participants