Sha256: 15fa8ffbe49593fbfbf8f81db46d807927bf957c7fa2659771af735a6c427770

Contents?: true

Size: 806 Bytes

Versions: 8

Compression:

Stored size: 806 Bytes

Contents

@function fa-content($fa-var) {
  // Make sure FA value is wrapped in quotes
  @return unquote("\"#{ $fa-var }\"");
}

@if variable-exists(fa-var-pencil) {
  // FontAwesome 4
  $fa-var-map: (
    pencil-alt: $fa-var-pencil,
    times: $fa-var-remove,
    sort-up: $fa-var-sort-asc,
    sort-down: $fa-var-sort-desc,
  ) !global;
  $fa-class-map: (
    pencil-alt: "fa-pencil",
    times: "fa-remove",
    sort-up: "fa-sort-asc",
    sort-down: "fa-sort-desc",
  ) !global;
} @else {
  // FontAwesome 5
  $fa-var-map: (
    pencil-alt: $fa-var-pencil-alt,
    times: $fa-var-times,
    sort-up: $fa-var-sort-up,
    sort-down: $fa-var-sort-down,
  ) !global;
  $fa-class-map: (
    pencil-alt: "fa-pencil-alt",
    times: "fa-times",
    sort-up: "fa-sort-up",
    sort-down: "fa-sort-down",
  ) !global;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wallaby-6.1.5 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.1.4 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.1.3 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.1.2 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.1.1 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.1.0 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.0.2 app/assets/stylesheets/wallaby/base/_functions.scss
wallaby-6.0.1 app/assets/stylesheets/wallaby/base/_functions.scss