diff options
| author | Volpeon <git@volpeon.ink> | 2024-10-19 19:37:18 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-10-19 19:37:18 +0200 |
| commit | 4f472e44dbd2ffa1e4e10c63b7ab74105d8e894b (patch) | |
| tree | 287b995743e5e4e4437b955df9f8cad8d2598ab0 /src_old/_mixins.scss | |
| parent | Refactoring complete (diff) | |
| download | iro-design-4f472e44dbd2ffa1e4e10c63b7ab74105d8e894b.tar.gz iro-design-4f472e44dbd2ffa1e4e10c63b7ab74105d8e894b.tar.bz2 iro-design-4f472e44dbd2ffa1e4e10c63b7ab74105d8e894b.zip | |
Remove old code
Diffstat (limited to 'src_old/_mixins.scss')
| -rw-r--r-- | src_old/_mixins.scss | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src_old/_mixins.scss b/src_old/_mixins.scss deleted file mode 100644 index dca6831..0000000 --- a/src_old/_mixins.scss +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | @use 'sass:list'; | ||
| 2 | @use 'functions' as fn; | ||
| 3 | |||
| 4 | @mixin set-font($basis, $values: ()) { | ||
| 5 | $values: fn.set-font($basis, $values); | ||
| 6 | |||
| 7 | @each $prop, $value in $values { | ||
| 8 | @if $value != null { | ||
| 9 | #{$prop}: $value; | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
| 13 | |||
| 14 | @mixin heading-strong($size) { | ||
| 15 | color: fn.global-color(--heading); | ||
| 16 | font-size: fn.global-dim(list.join(--heading, $size)); | ||
| 17 | } | ||
| 18 | |||
| 19 | @mixin heading-medium($size) { | ||
| 20 | @include set-font(--standard, ( | ||
| 21 | --line-height: null, | ||
| 22 | --size: fn.global-dim(list.join(--heading, $size)), | ||
| 23 | --weight: bold | ||
| 24 | )); | ||
| 25 | |||
| 26 | color: fn.global-color(--heading); | ||
| 27 | } | ||
| 28 | |||
| 29 | @mixin heading-faint($size) { | ||
| 30 | @include set-font(--standard, ( | ||
| 31 | --line-height: null, | ||
| 32 | --size: fn.global-dim(list.join(--heading, $size)), | ||
| 33 | --weight: 500, | ||
| 34 | --spacing: 1px | ||
| 35 | )); | ||
| 36 | |||
| 37 | color: fn.global-color(--text-mute); | ||
| 38 | } | ||
