From b566769679473b91d2f63406fba7cc3b44c4fcc1 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 25 Jun 2024 11:11:05 +0200 Subject: Update --- src/objects/_text-field.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/objects/_text-field.scss') diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index 37108ab..babec79 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss @@ -26,8 +26,9 @@ @mixin keyboard-focus { @include iro.bem-sibling-elem('bg') { - border-color: fn.color(--key-focus --border); - box-shadow: 0 0 0 fn.dim(--key-focus --border) fn.color(--key-focus --outline); + border-color: fn.color(--key-focus --border); + outline: fn.color(--key-focus --outline) solid fn.dim(--key-focus --border); + //outline-offset: fn.dim(--focus --border); } } @@ -62,11 +63,11 @@ --border: fn.global-color(--text-mute-more), ), --focus: ( - --border: fn.global-color(--accent --900), + --border: fn.global-color(--focus --1100), ), --key-focus: ( - --border: fn.global-color(--focus --1300), - --outline: fn.global-color(--focus-static --400), + --border: fn.global-color(--focus --1100), + --outline: fn.global-color(--focus --400), ), --error: ( --border: fn.global-color(--negative --700), -- cgit v1.2.3-70-g09d2