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

material component button highlight color #562

Closed
phisch opened this Issue Jan 2, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@phisch
Copy link

phisch commented Jan 2, 2018

Summary

When hovering a material component button, the color briefly changes to Button Highlight Color and shortly after that to Active Component Colors. The reverse happens once the cursor leaves the button (drag-out).

Expected behavior

I am not sure if some behavior has been defined for this, but i would say:
Keep the Button Highlight Color while hovering, change to Active Component Colors while the mouse button is held down.

Actual behavior

See summary

Steps to reproduce (if needed)

  1. set distinct colors for Button Highlight Color and Active Component Colors (e.g. yellow and pink)
  2. hover a material component button

material-button-hover-colors

Environment

PhpStorm 2017.3.2
Build #PS-173.4127.29
JRE: 1.8.0_152-release-1024-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.14.9-1-ARCH

Material Theme UI Version: 1.5.1.2

@mallowigi

This comment has been minimized.

Copy link
Collaborator

mallowigi commented Jan 2, 2018

Yeah the behavior is not that good. I will change the behavior soon to use a darker color of the Active Component color and maybe even introduce a better animation.

@mallowigi

This comment has been minimized.

Copy link
Collaborator

mallowigi commented Jan 2, 2018

Should be better from 1.5.2.2

haven't tested in all themes, hope it's good ^^'

@mallowigi mallowigi closed this Jan 2, 2018

@phisch

This comment has been minimized.

Copy link

phisch commented Jan 2, 2018

This is way more intuitive and polished!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment