All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.palexdev.mfxresources.sass.components._surface.scss Maven / Gradle / Ivy

The newest version!
@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