Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Add style support for disabled state#146

Open
pranavpandey wants to merge 2 commits intoPolymerElements:masterfrom
pranavpandey:styles
Open

Add style support for disabled state#146
pranavpandey wants to merge 2 commits intoPolymerElements:masterfrom
pranavpandey:styles

Conversation

@pranavpandey
Copy link

Currently, it shows the default colors for disabled state which is not suitable if a website has more than one theme (say dark theme).

Now, it will use the correct styles for the disabled state also.

  • Added style support for disabled state.
  • Reduced opacity for toggle button to 0.5 to make it distinguishable in disabled state.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants