From e3d34a6d6ce2db04c3c898ad6a4687a0c59df996 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 18 Oct 2024 19:07:42 +0200 Subject: Update --- src/scopes/_links.vars.scss | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'src/scopes/_links.vars.scss') diff --git a/src/scopes/_links.vars.scss b/src/scopes/_links.vars.scss index 7880204..b40cae8 100644 --- a/src/scopes/_links.vars.scss +++ b/src/scopes/_links.vars.scss @@ -1,46 +1,46 @@ @use 'sass:map'; @use '../props'; -@use '../vars'; +@use '../core'; -$rounding: props.def(--s-links--rounding, props.get(vars.$rounding)) !default; -$underline-width: props.def(--s-links--underline-width, props.get(vars.$border-width--thin)) !default; -$hover--underline-width: props.def(--s-links--hover--underline-width, props.get(vars.$border-width--medium)) !default; +$rounding: props.def(--s-links--rounding, props.get(core.$rounding)) !default; +$underline-width: props.def(--s-links--underline-width, props.get(core.$border-width--thin)) !default; +$hover--underline-width: props.def(--s-links--hover--underline-width, props.get(core.$border-width--medium)) !default; -$key-focus--border-width: props.def(--s-links--key-focus--border-width, props.get(vars.$key-focus--border-width)) !default; -$key-focus--border-offset: props.def(--s-links--key-focus--border-offset, props.get(vars.$key-focus--border-offset)) !default; -$key-focus--outline-width: props.def(--s-links--key-focus--outline-width, props.get(vars.$key-focus--outline-width)) !default; +$key-focus--border-width: props.def(--s-links--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; +$key-focus--border-offset: props.def(--s-links--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; +$key-focus--outline-width: props.def(--s-links--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; -$underline-color: props.def(--s-links--underline-color, props.get(vars.$theme, --text-mute-more)) !default; +$underline-color: props.def(--s-links--underline-color, props.get(core.$theme, --text-mute-more)) !default; -$colored--text-color: props.def(--s-links--colored--text-color, props.get(vars.$theme, --accent, --1100)) !default; -$colored--underline-color: props.def(--s-links--colored--underline-color, props.get(vars.$theme, --accent, --600)) !default; -$colored--hover--text-color: props.def(--s-links--colored--hover--text-color, props.get(vars.$theme, --accent, --1300)) !default; +$colored--text-color: props.def(--s-links--colored--text-color, props.get(core.$theme, --accent, --1100)) !default; +$colored--underline-color: props.def(--s-links--colored--underline-color, props.get(core.$theme, --accent, --600)) !default; +$colored--hover--text-color: props.def(--s-links--colored--hover--text-color, props.get(core.$theme, --accent, --1300)) !default; -$colored--visited--text-color: props.def(--s-links--colored--visited--text-color, props.get(vars.$theme, --purple, --1100)) !default; -$colored--visited--underline-color: props.def(--s-links--colored--visited--underline-color, props.get(vars.$theme, --purple, --600)) !default; -$colored--visited--hover--text-color: props.def(--s-links--colored--visited--hover--text-color, props.get(vars.$theme, --purple, --1300)) !default; +$colored--visited--text-color: props.def(--s-links--colored--visited--text-color, props.get(core.$theme, --purple, --1100)) !default; +$colored--visited--underline-color: props.def(--s-links--colored--visited--underline-color, props.get(core.$theme, --purple, --600)) !default; +$colored--visited--hover--text-color: props.def(--s-links--colored--visited--hover--text-color, props.get(core.$theme, --purple, --1300)) !default; -$key-focus--text-color: props.def(--s-links--key-focus--text-color, props.get(vars.$theme, --focus, --text)) !default; -$key-focus--border-color: props.def(--s-links--key-focus--border-color, props.get(vars.$theme, --focus, --border)) !default; -$key-focus--outline-color: props.def(--s-links--key-focus--outline-color, props.get(vars.$theme, --focus, --outline)) !default; +$key-focus--text-color: props.def(--s-links--key-focus--text-color, props.get(core.$theme, --focus, --text)) !default; +$key-focus--border-color: props.def(--s-links--key-focus--border-color, props.get(core.$theme, --focus, --border)) !default; +$key-focus--outline-color: props.def(--s-links--key-focus--outline-color, props.get(core.$theme, --focus, --outline)) !default; $static-themes: props.def(--s-links); -@each $theme in map.keys(props.get(vars.$transparent-colors)) { +@each $theme in map.keys(props.get(core.$transparent-colors)) { $link-theme: #{$theme}-static; $static-themes: props.merge($static-themes, ( $link-theme: ( - --text-color: props.get(vars.$transparent-colors, $theme, --800), - --underline-color: props.get(vars.$transparent-colors, $theme, --500), + --text-color: props.get(core.$transparent-colors, $theme, --800), + --underline-color: props.get(core.$transparent-colors, $theme, --500), --hover: ( - --text-color: props.get(vars.$transparent-colors, $theme, --900), + --text-color: props.get(core.$transparent-colors, $theme, --900), ), --key-focus: ( - --text-color: props.get(vars.$transparent-colors, $theme, --900), - --border-color: props.get(vars.$transparent-colors, $theme, --900), - --outline-color: props.get(vars.$transparent-colors, $theme, --300), + --text-color: props.get(core.$transparent-colors, $theme, --900), + --border-color: props.get(core.$transparent-colors, $theme, --900), + --outline-color: props.get(core.$transparent-colors, $theme, --300), ), ) )); -- cgit v1.2.3-70-g09d2