/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/ui/src/utils/css/field.module.css
33 строки
1013 B
Marco Ciampini
DS: Name font weight tokens by intent (#80093)
13 июл 2026, 22:20
Не верифицирован
13 июл 2026, 22:20
0cf7ede
Код
Авторство
О чём код?
@layer wp-ui { @layer utilities, components, compositions, overrides; @layer utilities { .label { --wp-ui-field-label-line-height: var(--wpds-typography-line-height-xs); font-family: var(--wpds-typography-font-family-body); font-size: var(--wpds-typography-font-size-xs); line-height: var(--wp-ui-field-label-line-height); font-weight: var(--wpds-typography-font-weight-emphasis); text-transform: uppercase; color: var(--wpds-color-foreground-content-neutral); &.is-plain { font-size: var(--wpds-typography-font-size-md); text-transform: none; } } .description { --_gcd-p-font-size: var(--wpds-typography-font-size-sm); --_gcd-p-line-height: var(--wpds-typography-line-height-xs); --_gcd-p-margin: 0; font-family: var(--wpds-typography-font-family-body); font-size: var(--wpds-typography-font-size-sm); line-height: var(--wpds-typography-line-height-xs); color: var(--wpds-color-foreground-content-neutral-weak); text-wrap: pretty; } } }