/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
core/src/components/badge/badge.ios.scss
18 строк
592 B
Liam DeBeasi
feat(a11y): add dynamic font scaling (#28314)
11 окт 2023, 00:38
Не верифицирован
11 окт 2023, 00:38
f806781
Код
Авторство
О чём код?
@import "./badge"; @import "./badge.ios.vars"; // iOS Badge // -------------------------------------------------- :host { @include border-radius($badge-ios-border-radius); /** * "-apple-system-body" on iOS never goes smaller than * 14px according to https://developer.apple.com/design/human-interface-guidelines/typography#Specifications. * However, we still keep the max() usage here for consistency * with other components and in case "-apple-system-body" does * go smaller than 14px in the future. */ font-size: dynamic-font-min(1, $badge-baseline-font-size); }