-
Notifications
You must be signed in to change notification settings - Fork 71
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 width update #2448
Border width update #2448
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, although I'm wondering if we want to override our tailwind theme so that there's only 1 border
class and it applies a 1px border.
<div | ||
class="surface-primary max-w-fit rounded-lg border-2 border-secondary p-4" | ||
> | ||
<div class="surface-primary max-w-fit rounded-lg border border-secondary p-4"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we want to override our tailwind theme so that there's only 1 border class and it applies a 1px border.
@rossedfort would we still need to add a border
class to every component that needs it though? Just wondering what this would save us, besides maybe "enforcing" border width.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it'd be more about enforcing that we only use a single border width. We can always use arbitrary values if necessary, like border-[3px]
. I don't think it necessary, was just a thought.
Description & motivation 💭
Changes border width from
2px
to1px
.Screenshots (if applicable) 📸
Design Considerations 🎨
Testing 🧪
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
Docs
Any docs updates needed?