eBay / skin

Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.
https://ebay.github.io/skin/
MIT License
178 stars 67 forks source link

Toggle button: Add additional states #2315

Closed agliga closed 4 months ago

agliga commented 4 months ago

Feature Request

Description

The toggle button has states for hover, pressed, and focus to improve it's discovery as an interactive element and provide more response to the users actions.

Context

Screenshots

Gallery-1 Gallery Toggle button Gallery Toggle button List property table-1 Toggle button List property table Toggle button List Toggle button Minimal property table-1 Toggle button Minimal property table Toggle button Minimal

ArtBlue commented 4 months ago

@agliga , as far as I can tell, pressed and focus already exist. Do we just need hover? Did you create this issue with Randy? I can't tag DS folks for some reason. Did he have something else in mind?

Focus

image

Pressed

image