/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/timepicker/_m3-timepicker.scss
21 строка
570 B
Andrew Seguin
refactor: simplify component styles by removing use-tokens (#31146)
21 май 2025, 03:10
Не верифицирован
21 май 2025, 03:10
7b5d88b
Код
Авторство
О чём код?
@use 'sass:map'; @use '../core/style/elevation'; @use '../core/tokens/m3-utils'; @use '../core/tokens/m3'; /// Generates custom tokens for the mat-timepicker. @function get-tokens($theme: m3.$sys-theme) { $system: m3-utils.get-system($theme); @return ( base: ( timepicker-container-shape: map.get($system, corner-extra-small), ), color: ( timepicker-container-background-color: map.get($system, surface-container), timepicker-container-elevation-shadow: elevation.get-box-shadow(2), ), typography: (), density: (), ); }