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

Some CSS not working (for ACTIVE mode) #58

Closed
TheStigh opened this issue Jun 11, 2019 · 4 comments
Closed

Some CSS not working (for ACTIVE mode) #58

TheStigh opened this issue Jun 11, 2019 · 4 comments
Labels

Comments

@TheStigh
Copy link

TheStigh commented Jun 11, 2019

Hi,

Seems '--st-mode-active-background' and '--st-mode-active-color' doesn't work? Can anybody confirm this? Quite annoying that I can't change the color of text and frame around the active mode chosen.

EDIT:
I found this code in your .js file:

            <mwc-button
              ?disabled=${e===t}
              ?outlined=${e===t}
              ?dense=${!0}
              @click=${()=>this.setMode(e)}
            >
              ${i(n.icon)} ${s(e,n)}
            </mwc-button>

Did you intent to make the non-selected modes 'disabled' and the active mode with colors?
If I go through chrome dev and remove 'disabled', the color (according to styling) is back.

@fredrike
Copy link
Contributor

I've tried to identify the CSS name of the active but without success..

@WildeRNS
Copy link

WildeRNS commented Nov 3, 2019

also found that not working. i used that code:
style: |
div.mode-item.active {
background: var(--paper-toggle-button-checked-button-color)
}
div.mode-item {
background: var(--paper-toggle-button-unchecked-button-color)
}

@github-actions
Copy link

🎉 This issue has been resolved in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mckochan
Copy link

'--st-mode-active-background' and '--st-mode-active-color' still aren't working for me. Anyone have a working config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants