/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
core/src/components/toggle/toggle.vars.scss
16 строк
628 B
Shane
fix(checkbox,radio,toggle): add missing keyboard focus indicators (#31295)
01 авг 2026, 00:57
Не верифицирован
01 авг 2026, 00:57
2f9c0b7
Код
Авторство
О чём код?
@import "../../themes/ionic.globals"; /// @prop - Top margin of toggle's label when in an item $toggle-item-label-margin-top: 10px; /// @prop - Bottom margin of toggle's label when in an item $toggle-item-label-margin-bottom: 10px; /// @prop - Color of the focus indicator for the unchecked toggle $toggle-focus-ring-color-off: rgba(var(--ion-text-color-rgb, 0, 0, 0), .12); /// @prop - Alpha of the focus indicator for the checked toggle $toggle-focus-ring-color-alpha: .2; /// @prop - Color of the focus indicator for the checked toggle $toggle-focus-ring-color: ion-color(primary, base, $toggle-focus-ring-color-alpha);