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 width update #2448

Merged
merged 4 commits into from
Dec 5, 2024
Merged

Border width update #2448

merged 4 commits into from
Dec 5, 2024

Conversation

laurakwhit
Copy link
Contributor

Description & motivation 💭

Changes border width from 2px to 1px.

Screenshots (if applicable) 📸

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

Copy link

vercel bot commented Dec 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 6:12pm

@laurakwhit laurakwhit marked this pull request as ready for review December 2, 2024 20:33
@laurakwhit laurakwhit requested review from rossedfort and a team as code owners December 2, 2024 20:33
Copy link
Contributor

@rossedfort rossedfort left a 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">
Copy link
Contributor Author

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.

Copy link
Contributor

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.

@laurakwhit laurakwhit merged commit 7c14110 into main Dec 5, 2024
14 checks passed
@laurakwhit laurakwhit deleted the border-width-update branch December 5, 2024 16:28
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