From fb6cdbd27b3797c342318a3c135b7e81c844288d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 30 Jun 2024 07:41:43 +0200 Subject: Fixes --- src/objects/_card.scss | 7 ++++--- src/objects/_heading.scss | 8 ++++---- src/objects/_table.scss | 2 +- src/scopes/_tables.scss | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/objects/_card.scss b/src/objects/_card.scss index 1d2817d..f56a96c 100644 --- a/src/objects/_card.scss +++ b/src/objects/_card.scss @@ -123,7 +123,6 @@ @include iro.bem-multi('&:link, &:visited, &:enabled', 'modifier' 'interactive') { &:hover, - &:focus-visible, &:active { @include iro.bem-elem('image') { opacity: .75; @@ -136,8 +135,10 @@ box-shadow: none; @include iro.bem-elem('image') { - outline: fn.color(--key-focus --border) solid fn.dim(--key-focus --border); - box-shadow: 0 0 0 calc(fn.dim(--key-focus --border) + fn.dim(--key-focus --outline)) fn.color(--key-focus --outline); + outline: fn.color(--key-focus --border) solid fn.dim(--key-focus --border); + opacity: 1; + background-color: fn.color(--quiet --hover --image); + box-shadow: 0 0 0 calc(fn.dim(--key-focus --border) + fn.dim(--key-focus --outline)) fn.color(--key-focus --outline); } } } diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 41b33e6..ad1806e 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss @@ -40,15 +40,15 @@ $sizes: 'xxl' 'xl' 'lg' 'md' 'sm' 'xs'; } @include iro.bem-modifier('xxl') { - @include mx.heading-strong(--lg); + @include mx.heading-strong(--xxl); } @include iro.bem-modifier('xl') { - @include mx.heading-strong(--md); + @include mx.heading-strong(--xl); } @include iro.bem-modifier('lg') { - @include mx.heading-medium(--md); + @include mx.heading-medium(--lg); } @include iro.bem-modifier('md') { @@ -60,7 +60,7 @@ $sizes: 'xxl' 'xl' 'lg' 'md' 'sm' 'xs'; } @include iro.bem-modifier('xs') { - @include mx.heading-faint(--sm); + @include mx.heading-faint(--xs); } @include iro.bem-modifier('display') { diff --git a/src/objects/_table.scss b/src/objects/_table.scss index ea243a2..2c9f65b 100644 --- a/src/objects/_table.scss +++ b/src/objects/_table.scss @@ -47,7 +47,7 @@ padding-inline: fn.dim(--pad-i); padding-block: fn.dim(--pad-b); color: fn.color(--heading); - text-align: left; + text-align: start; } @include iro.bem-elem('cell') { diff --git a/src/scopes/_tables.scss b/src/scopes/_tables.scss index 016ed31..9b2124d 100644 --- a/src/scopes/_tables.scss +++ b/src/scopes/_tables.scss @@ -39,7 +39,7 @@ padding-block: fn.dim(--pad-b); padding-inline: fn.dim(--pad-i); color: fn.color(--heading); - text-align: left; + text-align: start; } td { -- cgit v1.2.3-70-g09d2