io.github.palexdev.mfxresources.sass.components._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 '../abstracts/functions' as *;
@use '../abstracts/maps' as *;
@use '../themes/theme' as *;
$surface-styles: (
root: (
mfx-hover: GetStateLayer('hover'),
mfx-focus: GetStateLayer('focus'),
mfx-press: GetStateLayer('press'),
),
) !default;
@mixin Surfaces($overrides: ()) {
/*!***************************************************************************************************
* Surfaces (a.k.a fancy backgrounds)
****************************************************************************************************/
$styles: DeepMerge($surface-styles, $overrides);
.surface {
@include ApplyStyles($styles, root);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy