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

Missing -background-variant-color #121

Open
trixon opened this issue Nov 12, 2019 · 0 comments
Open

Missing -background-variant-color #121

trixon opened this issue Nov 12, 2019 · 0 comments

Comments

@trixon
Copy link

trixon commented Nov 12, 2019

I tried to set -background-variant-color in my css in order to change the background color of pressed module toolbar items but it had now effect.

For a light theme one can see the hard coded default mask in _content-view.scss

        &:pressed {
          -fx-background-color: rgba(0, 0, 0, .075);
        }

but it's invisible in a dark theme.
I added the following to my css and it works as expected

.toolbar-button:pressed{
    -fx-background-color: red;
}

I'm still a beginner of css but doesn't it make sense to expose -background-variant-color, similar to the -primary-variant-color?

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

No branches or pull requests

1 participant