summaryrefslogtreecommitdiff
path: root/www/packages/fontawesome-free-7.2.0-web/scss/_core.scss
blob: 5a9d9e5a13e7d1d630a16182f9e380328f92971b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// base icon class definition
// -------------------------
@use 'variables' as v;
@use 'mixins' as m;

.#{v.$css-prefix}-solid,
.#{v.$css-prefix}-regular,
.#{v.$css-prefix}-brands,
.#{v.$css-prefix}-classic,
.fas,
.far,
.fab,
.#{v.$css-prefix} {
  @include m.fa-icon();
}

:is(
  .fas,
  .far,
  .fab,
  .#{v.$css-prefix}-solid,
  .#{v.$css-prefix}-regular,
  .#{v.$css-prefix}-brands,
  .#{v.$css-prefix}-classic,
  .fa
)::before {
  content: var(#{v.$icon-property})/"";
}

@supports not (content: ''/'') {
:is(
  .fas,
  .far,
  .fab,
  .#{v.$css-prefix}-solid,
  .#{v.$css-prefix}-regular,
  .#{v.$css-prefix}-brands,
  .#{v.$css-prefix}-classic,
  .fa
)::before {
    content: var(#{v.$icon-property});
  }
}