diff --git a/projects/core/styles/mixins/textfield.less b/projects/core/styles/mixins/textfield.less index bd104af2d3d3..9265ac2fcb96 100644 --- a/projects/core/styles/mixins/textfield.less +++ b/projects/core/styles/mixins/textfield.less @@ -21,7 +21,7 @@ height: var(--tui-height-l); min-height: var(--tui-height-l); max-height: var(--tui-height-l); - font-size: 0.9375rem; + font: var(--tui-font-text-m); } } @@ -138,7 +138,6 @@ .text-overflow(); display: block; width: 100%; - font-size: 0.8125rem; user-select: none; color: var(--tui-text-02); pointer-events: none; @@ -147,7 +146,7 @@ transform: translateY(-0.625rem); :host[data-size='m'] & { - font-size: 0.69rem; + font: var(--tui-font-text-xs); transform: translateY(-0.5rem); letter-spacing: 0.025rem; }