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

Buttons - Improve Inverted button's hover, focus and active styles #395

Open
1 of 4 tasks
blazebarsamian opened this issue Jun 21, 2019 · 0 comments
Open
1 of 4 tasks
Assignees
Labels
designy pinned tickets that shouldnt be deleted until completed and this label is removed

Comments

@blazebarsamian
Copy link
Contributor

blazebarsamian commented Jun 21, 2019

Background: inverted buttons need better hover, focus, active styles. Currently they don't change when you hover/ focus on them. makes it confusing like its not clickable

I'm submitting a ...

  • bug report
  • feature request
  • support request

What is the current behavior?
For .rev-Button--inverted, the default styles and the :hover, :focus, and :active` styles are both using the same vars to define background and color. Therefore, theres not any changes to the button when it is hovered, on focus or active which makes it look like its not clickable.
Screen Shot 2019-06-21 at 12 17 32 PM

What is the expected behavior?
When a inverted button is hovered, on focus, or active, there should be a slight but noticeable change to the button.

For feature requests: why should the behavior change?

Because inverted buttons don't look like they're clickable.

Other information (we love stack traces!)

  • If any vars are added, please update the vars table to include new vars.
@blazebarsamian blazebarsamian added designy pinned tickets that shouldnt be deleted until completed and this label is removed labels Jun 21, 2019
@blazebarsamian blazebarsamian self-assigned this Jun 21, 2019
Ryan-OToole added a commit to Ryan-OToole/harmonium that referenced this issue Oct 14, 2020
Changed some discrepancies in terms of the naming convention.   &.rev-Button--inverted &.rev-Button--secondary were not following the same pattern established in the rest of the file- they were using color variables for background and vice versa. I added several new variables and utilized them in- &.rev-Button--inverted &.rev-Button--secondary - to solve this problem. Originally was tackling issue revelrylabs#395 but realized it was solved and merged after some time- realized the naming conventions were off in the process and wanted to protect the codebase against unexpected behavior / bugs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
designy pinned tickets that shouldnt be deleted until completed and this label is removed
Projects
None yet
Development

No branches or pull requests

1 participant