From 967ea296bbac44741be46eaa5388a4ac9cfd8ab2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 26 Jan 2023 14:57:03 +0100 Subject: Updates --- src/objects/_avatar.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/objects/_avatar.scss') diff --git a/src/objects/_avatar.scss b/src/objects/_avatar.scss index 0dd7879..9be249f 100644 --- a/src/objects/_avatar.scss +++ b/src/objects/_avatar.scss @@ -51,6 +51,11 @@ --h: 354, --s: 44%, --l: 45%, + + --key-focus: ( + --border: fn.global-color(--focus --fill), + --shadow: fn.global-color(--focus --shadow), + ), ), ), 'colors'); @@ -110,5 +115,12 @@ } } } + + @include iro.bem-at-theme('keyboard') { + &:focus { + border-color: fn.color(--key-focus --border); + box-shadow: inset 0 0 0 1px fn.color(--key-focus --border), fn.color(--key-focus --shadow); + } + } } } -- cgit v1.2.3-70-g09d2