Add focus-outline mixin to global set

pull/12895/head
Thibaud Colas 2025-02-18 15:59:31 +00:00 zatwierdzone przez Sage Abdullah
rodzic 2d2953a28a
commit 21b5e3114f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
4 zmienionych plików z 5 dodań i 6 usunięć

Wyświetl plik

@ -2,7 +2,6 @@
@use 'sass:map';
@use 'sass:math';
@use '../tools' as *;
@use '../../src/components/CommentApp/main.scss' as *;
.side-panel-open {
@apply w-overflow-y-hidden sm:w-overflow-y-auto;

Wyświetl plik

@ -1,5 +1,4 @@
@use '../tools' as *;
@use '../../src/components/CommentApp/main.scss' as *;
.w-preview {
--w-preview-background-color: var(--w-color-white);

Wyświetl plik

@ -169,3 +169,7 @@
}
}
}
@mixin focus-outline {
outline: $focus-outline-width solid theme('colors.focus');
}

Wyświetl plik

@ -1,4 +1,5 @@
@use '../../../scss/settings/variables' as *;
@use '../../../scss/tools' as *;
$color-comment-separator: theme('colors.border-furniture');
@ -10,10 +11,6 @@ $color-box-text: theme('colors.text-context');
$box-border-radius: 5px;
$box-padding: 20px;
@mixin focus-outline {
outline: theme('colors.focus') solid 3px;
}
@mixin box {
background-color: $color-box-background;
padding: $box-padding;