Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Try a really simple button hover state #168

Closed
wants to merge 1 commit into from

Conversation

kjellr
Copy link
Collaborator

@kjellr kjellr commented Oct 27, 2021

Alternative to #162, #163.
Solves #99.

I don't really like this treatment, but it's not horrible. It's also just a couple CSS rules and it doesn't break anything. 🤷‍♂️

buttons

@kjellr kjellr added the [Type] Enhancement New feature or request label Oct 27, 2021
@kjellr kjellr requested a review from jffng October 27, 2021 17:51
Copy link
Collaborator

@jffng jffng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is mostly a design question.

From a developer perspective, it's true it will not break since we aren't changing the colors. But if I wanted to change the hover state I'd still need to edit the CSS. At that point, it seems like a nicer experience and result to just change two values in theme.json (as would be the case in #163).

@kjellr
Copy link
Collaborator Author

kjellr commented Oct 28, 2021

Yeah... I don't like it. It was worth exploring, but I'll close for now.

@kjellr kjellr closed this Oct 28, 2021
@kjellr kjellr deleted the try/simple-button-hovers branch October 28, 2021 14:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants