summaryrefslogtreecommitdiff
path: root/_sass/common/classes/_text.scss
blob: ac36726e8f3c40cbd8003ee90c7b56d3e0491572 (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
@mixin text-light {
  color: $text-color-theme-light;
  h1, h2, h3 {
    color: $text-color-theme-light-d;
  }
  h4, h5 {
    color: $text-color-theme-light;
  }
  h6 {
    color: $text-color-theme-light-l;
  }
  a:not(.button) {
    @include link-colors($text-color-theme-light, $main-color-1);
  }
}
@mixin text-dark {
  color: $text-color-theme-dark;
  h1, h2, h3 {
    color: $text-color-theme-dark-d;
  }
  h4, h5 {
    color: $text-color-theme-dark;
  }
  h6 {
    color: $text-color-theme-dark-l;
  }
  a:not(.button) {
    @include link-colors($text-color-theme-dark, $main-color-1);
  }
}

.text--light {
  @include text-light();
}
.text--dark {
  @include text-dark();
}