diff --git a/projects/core/styles/markup/tui-text.less b/projects/core/styles/markup/tui-text.less index 34e792c53779..feec7f404b14 100644 --- a/projects/core/styles/markup/tui-text.less +++ b/projects/core/styles/markup/tui-text.less @@ -31,6 +31,10 @@ .text-body-l(); } + &_body-l-2 { + .text-body-l(2); + } + &_body-l-3 { .text-body-l(3); } diff --git a/projects/core/styles/mixins/text.less b/projects/core/styles/mixins/text.less index 1cb2683d8242..e83ccc6232d7 100644 --- a/projects/core/styles/mixins/text.less +++ b/projects/core/styles/mixins/text.less @@ -98,7 +98,7 @@ letter-spacing: 0.4px; } -//tabs,tags, category +//tabs, tags, category .text-caption-l-bold() { .font(13px, 20px, bold); @@ -124,7 +124,7 @@ text-transform: uppercase; } -// mixins fot font properties +// mixins for font properties .font(@size, @line-height: 'none', @weight: normal, @color: 'none') { font-weight: @weight; font-size: @size; diff --git a/projects/demo/src/modules/markup/typography/typography.template.html b/projects/demo/src/modules/markup/typography/typography.template.html index aa7a9b36df1c..18a4a1bef646 100644 --- a/projects/demo/src/modules/markup/typography/typography.template.html +++ b/projects/demo/src/modules/markup/typography/typography.template.html @@ -157,7 +157,7 @@

- tui-text_body-xl .tui-text_bold + tui-text_body-xl tui-text_bold bold @@ -199,7 +199,7 @@

- tui-text_body-l .tui-text_bold + tui-text_body-l tui-text_bold bold @@ -208,45 +208,89 @@

0 - + + Taiga UI reveals all the potential of Angular + + + + .text-body-l() + + + + + tui-text_body-l + + + normal + 17px + 24px (1.41) + 0 + + + Taiga UI reveals all the potential of Angular - .text-body-l-bold(3) + .text-body-l-bold(2) - tui-text_body-l-3 tui-text_bold + tui-text_body-l-2 tui-text_bold bold 17px - 28px (1.65) + 20px (1.18) 0 - + Taiga UI reveals all the potential of Angular - - .text-body-l() + + .text-body-l(2) - - tui-text_body-l + + tui-text_body-l-2 normal 17px - 24px (1.41) + 20px (1.18) + 0 + + + + Taiga UI reveals all the potential of Angular + + + + .text-body-l-bold(3) + + + + + tui-text_body-l-3 tui-text_bold + + + bold + 17px + 28px (1.65) 0 @@ -313,7 +357,7 @@

0 - + Taiga UI reveals all the potential of Angular @@ -325,9 +369,9 @@

- tui-text-body-m-bold_2 + tui-text-body-m-2 tui-text_bold bold @@ -336,7 +380,7 @@

0 - + Taiga UI reveals all the potential of Angular @@ -346,9 +390,9 @@

- tui-text-body-m_2 + tui-text-body-m-2 normal @@ -357,7 +401,7 @@

0 - + Taiga UI reveals all the potential of Angular @@ -369,7 +413,7 @@

tui-text_body-s tui-text_bold @@ -399,7 +443,7 @@

0 - + Taiga UI reveals all the potential of Angular @@ -411,9 +455,9 @@

- tui-text-body-s-bold_2 + tui-text-body-s-bold-2 bold @@ -422,7 +466,7 @@

0 - + Taiga UI reveals all the potential of Angular @@ -432,9 +476,9 @@

- tui-text-body-s_2 + tui-text-body-s-2 normal