Skip to content

non-neumorphic buttons #270

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

Merged
merged 1 commit into from
Oct 7, 2024
Merged

non-neumorphic buttons #270

merged 1 commit into from
Oct 7, 2024

Conversation

Rich-Harris
Copy link
Member

This implements @trueadm's idea of using 1px 2px 2px 1px borders instead of box-shadow to indicate button-ness:

image

I think it works pretty well

Copy link

vercel bot commented Oct 7, 2024

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

Name Status Preview Comments Updated (UTC)
omnisite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 5:45pm

@trueadm
Copy link
Collaborator

trueadm commented Oct 7, 2024

That looks far better IMO

@Rich-Harris Rich-Harris merged commit 7921c9e into button-styles Oct 7, 2024
3 checks passed
@Rich-Harris Rich-Harris deleted the button-styles-borders branch October 7, 2024 17:54
Rich-Harris added a commit that referenced this pull request Oct 7, 2024
* neumorphic buttons

* prettier

* round

* tweaks

* tweak filename styles

* apply to on-this-page dropdown

* add to legacy details

* active styles

* fix alignment

* prettier

* use borders instead of box-shadow (#270)
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