io.github.palexdev.mfxresources.themes.material.components.commons._surface.scss Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of materialfx-all Show documentation
Show all versions of materialfx-all Show documentation
Material Design/Modern components for JavaFX, now packed as a single Jar
@use "../../tokens/theme" as Theme;
/****************************************************************************************************
* Common to all components with a MaterialSurface
****************************************************************************************************/
.surface {
-mfx-hover-opacity: Theme.GetStateLayer('hover');
-mfx-focus-opacity: Theme.GetStateLayer('focus');
-mfx-press-opacity: Theme.GetStateLayer('press');
}