/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/core/option/_m2-optgroup.scss
21 строка
635 B
Andrew Seguin
refactor: align m2 and m3 token file functions by using get-tokens (#31425)
26 июн 2025, 19:15
Не верифицирован
26 июн 2025, 19:15
3db4f23
Код
Авторство
О чём код?
@use '../tokens/m2-utils'; @use 'sass:map'; @function get-tokens($theme) { $system: m2-utils.get-system($theme); @return ( base: (), color: ( optgroup-label-text-color: map.get($system, on-surface), ), typography: ( optgroup-label-text-font: map.get($system, body-large-font), optgroup-label-text-line-height: map.get($system, body-large-line-height), optgroup-label-text-size: map.get($system, body-large-size), optgroup-label-text-tracking: map.get($system, body-large-tracking), optgroup-label-text-weight: map.get($system, body-large-weight) ), density: (), ); }