From 50f6acc739f24bfa2ca080d08e90d82f8fa83543 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 17 Oct 2024 16:45:00 +0200 Subject: Revamped variable management --- src/_mixins.scss | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/_mixins.scss (limited to 'src/_mixins.scss') diff --git a/src/_mixins.scss b/src/_mixins.scss deleted file mode 100644 index dca6831..0000000 --- a/src/_mixins.scss +++ /dev/null @@ -1,38 +0,0 @@ -@use 'sass:list'; -@use 'functions' as fn; - -@mixin set-font($basis, $values: ()) { - $values: fn.set-font($basis, $values); - - @each $prop, $value in $values { - @if $value != null { - #{$prop}: $value; - } - } -} - -@mixin heading-strong($size) { - color: fn.global-color(--heading); - font-size: fn.global-dim(list.join(--heading, $size)); -} - -@mixin heading-medium($size) { - @include set-font(--standard, ( - --line-height: null, - --size: fn.global-dim(list.join(--heading, $size)), - --weight: bold - )); - - color: fn.global-color(--heading); -} - -@mixin heading-faint($size) { - @include set-font(--standard, ( - --line-height: null, - --size: fn.global-dim(list.join(--heading, $size)), - --weight: 500, - --spacing: 1px - )); - - color: fn.global-color(--text-mute); -} -- cgit v1.2.3-70-g09d2