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

Remove redundant and non-existant border-border #566

Closed
wants to merge 1 commit into from

Conversation

fdietze
Copy link
Contributor

@fdietze fdietze commented Dec 16, 2023

border-border doesn't exist, this was probably meant to be border-box (https://tailwindcss.com/docs/box-sizing#including-borders-and-padding).

But even that would be redundant, since it is already the default in the preflight syles.

`border-border` doesn't exist, this was probably meant to be `border-box` (https://tailwindcss.com/docs/box-sizing#including-borders-and-padding).

But even that would be redundant, since it is already the default in the preflight syles.
@kentcdodds
Copy link
Member

Thanks. But it actually does exist in the tailwind config:

border: 'hsl(var(--border))',

@kentcdodds kentcdodds closed this Dec 18, 2023
@fdietze
Copy link
Contributor Author

fdietze commented Dec 20, 2023

Oh, sorry, I see. Why is it useful to have a border color on every single html element?

@kentcdodds
Copy link
Member

It's useful to have the border color set so when you add a border you don't need to worry about setting the color as well

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.

2 participants