{{ define "title" }} {{ .Title }} » {{ .Site.Title }} {{ end }} {{ define "submenu" }} {{ end }} {{ define "main" }}

Color Modifiers

You can easy use a color modifier then has a css class syntax like class--color-name;
For example if You want to applicate a red color modifier to a button then have class "button" you simply add another class button--red

Palette


{{ range .Site.Params.colors }} {{ $color := . }} {{ end }}
NAME COLOR HEX VAR INVERSE VAR
{{ $color.name }} {{ $color.exadecimal }} ${{ $color.name }} ${{ $color.name }}-inverse
Special names
NAME COLOR HEX VAR INVERSE VAR
success $success $success-inverse
info $info $info-inverse
warning $warning $warning-inverse
danger $danger $danger-inverse
{{ end }}