Jump To:

  1. Variables
    1. $config
  2. Mixins
    1. set()
    2. styles()
  3. Functions
    1. get()

Basic-hero

Basic styling for a hero

Variables

$config

Variable Type: Map

Module Settings

$config: (
  "background-color" : "background-gray",
  "padding-top": 3rem,
  "padding-bottom" : 2rem,
  "gap" : (4rem 2rem),
  "main-max-width" : true,
  "main-min-width" : true,
  "media-max-width" : 20rem,
  "media-vertical-align" : center
);
File Information
  • File: _basic-hero.scss
  • Group: basic-hero
  • Type: variable
  • Lines (comments): 29-32
  • Lines (code): 34-43

Map Properties

Name Type Default Description
text-align CssValue center Alignment of text within hero.
background-color Color "color-hero-background" Background color of the hero

Mixins

set()

Mixin

Change modules $config

File Information
  • File: _basic-hero.scss
  • Group: basic-hero
  • Type: mixin
  • Lines (comments): 45-48
  • Lines (code): 50-52

Examples

@include ulu.component-basic-hero-set(( "property" : value ));

Parameters

Name Type Description
$changes Map Map of changes

Require

styles()

Mixin

Prints component styles

File Information
  • File: _basic-hero.scss
  • Group: basic-hero
  • Type: mixin
  • Lines (comments): 64-66
  • Lines (code): 68-112

Examples

@include ulu.component-basic-hero-styles();

Require

Functions

get()

Function

Get a config option

File Information
  • File: _basic-hero.scss
  • Group: basic-hero
  • Type: function
  • Lines (comments): 54-57
  • Lines (code): 59-62

Examples

@include ulu.component-basic-hero-get("property");

Parameters

Name Type Description
$name Map Name of property

Require