|
| 1 | +@use './variables' as *; |
| 2 | +@use './mixins' as *; |
| 3 | + |
| 4 | +@mixin typography-header-page { |
| 5 | + font-family: $font-family-primary; |
| 6 | + font-size: $font-size-lg; |
| 7 | + font-weight: $font-weight-bold; |
| 8 | + line-height: $line-height-lg; |
| 9 | +} |
| 10 | + |
| 11 | +@mixin typography-header-sub { |
| 12 | + font-family: $font-family-primary; |
| 13 | + font-size: $font-size-md; |
| 14 | + font-weight: $font-weight-bold; |
| 15 | + line-height: $line-height-md; |
| 16 | +} |
| 17 | + |
| 18 | +@mixin typography-title { |
| 19 | + font-family: $font-family-secondary; |
| 20 | + font-size: $font-size-sm; |
| 21 | + font-weight: $font-weight-bold; |
| 22 | + font-style: italic; |
| 23 | + line-height: normal; |
| 24 | +} |
| 25 | + |
| 26 | +@mixin typography-subtitle { |
| 27 | + font-family: $font-family-secondary; |
| 28 | + font-size: $font-size-2xs; |
| 29 | + font-weight: $font-weight-bold; |
| 30 | + line-height: normal; |
| 31 | +} |
| 32 | + |
| 33 | +@mixin typography-copy { |
| 34 | + font-family: $font-family-secondary; |
| 35 | + font-size: $font-size-sm; |
| 36 | + font-weight: $font-weight-regular; |
| 37 | + line-height: $line-height-sm; |
| 38 | +} |
| 39 | + |
| 40 | +@mixin typography-label { |
| 41 | + @include typography-copy; |
| 42 | +} |
| 43 | + |
| 44 | +@mixin typography-input { |
| 45 | + @include typography-copy; |
| 46 | +} |
| 47 | + |
| 48 | +@mixin typography-placeholder { |
| 49 | + @include typography-copy; |
| 50 | +} |
| 51 | + |
| 52 | +@mixin typography-link { |
| 53 | + font-family: $font-family-primary; |
| 54 | + font-size: $font-size-xs; |
| 55 | + font-weight: $font-weight-regular; |
| 56 | + line-height: $line-height-sm; |
| 57 | + |
| 58 | + @include desktop { |
| 59 | + font-size: $font-size-sm; |
| 60 | + } |
| 61 | +} |
| 62 | + |
| 63 | +@mixin typography-button { |
| 64 | + @include typography-copy; |
| 65 | +} |
0 commit comments