Skip to content

remove all button styles#14

Merged
mayank99 merged 3 commits intomainfrom
button
Sep 23, 2023
Merged

remove all button styles#14
mayank99 merged 3 commits intomainfrom
button

Conversation

@mayank99
Copy link
Owner

it has come to my attention that some folks:

  • use divs instead of buttons because of UA styles
  • use tailwind mainly for its reset

i would say "yikes!" but instead i will do something more productive and make this reset more aggressive in removing all button UA styles. i've found that these styles are quite inconsistent anyway, even causing issues like color contrast.

my biggest hesitation with all: unset has been that it "does too much" removing even focus styles and such, but since the reset explicitly adds focus styles later, it should be fine.

@mayank99 mayank99 merged commit 02a197c into main Sep 23, 2023
@mayank99 mayank99 deleted the button branch September 23, 2023 22:56
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.

1 participant