|
| 1 | +@namespace MudExtensions |
| 2 | +@inherits MudComponentBase |
| 3 | + |
| 4 | +@using System.Text |
| 5 | +@using MudExtensions.Components.TypographyM3; |
| 6 | +@using MudExtensions.Enums |
| 7 | +@using MudExtensions.Utilities |
| 8 | + |
| 9 | + |
| 10 | +<style> |
| 11 | + :root { |
| 12 | + @($"--mud-typographym3-display-large-font : {string.Join(',', TypographyM3.DisplayLarge.Font)};") |
| 13 | + @($"--mud-typographym3-display-large-line-height : {TypographyM3.DisplayLarge.LineHeight}rem;") |
| 14 | + @($"--mud-typographym3-display-large-size : {TypographyM3.DisplayLarge.Size}rem;") |
| 15 | + @($"--mud-typographym3-display-large-tracking : {TypographyM3.DisplayLarge.Tracking}rem;") |
| 16 | + @($"--mud-typographym3-display-large-weight : {TypographyM3.DisplayLarge.Weight};") |
| 17 | + |
| 18 | + @($"--mud-typographym3-display-medium-font : {string.Join(',', TypographyM3.DisplayMedium.Font)};") |
| 19 | + @($"--mud-typographym3-display-medium-line-height : {TypographyM3.DisplayMedium.LineHeight}rem;") |
| 20 | + @($"--mud-typographym3-display-medium-size : {TypographyM3.DisplayMedium.Size}rem;") |
| 21 | + @($"--mud-typographym3-display-medium-tracking : {TypographyM3.DisplayMedium.Tracking}rem;") |
| 22 | + @($"--mud-typographym3-display-medium-weight : {TypographyM3.DisplayMedium.Weight};") |
| 23 | +
|
| 24 | + @($"--mud-typographym3-display-small-font : {string.Join(',', TypographyM3.DisplaySmall.Font)};") |
| 25 | + @($"--mud-typographym3-display-small-line-height : {TypographyM3.DisplaySmall.LineHeight}rem;") |
| 26 | + @($"--mud-typographym3-display-small-size : {TypographyM3.DisplaySmall.Size}rem;") |
| 27 | + @($"--mud-typographym3-display-small-tracking : {TypographyM3.DisplaySmall.Tracking}rem;") |
| 28 | + @($"--mud-typographym3-display-small-weight : {TypographyM3.DisplaySmall.Weight};") |
| 29 | +
|
| 30 | +
|
| 31 | + @($"--mud-typographym3-headline-large-font : {string.Join(',', TypographyM3.HeadlineLarge.Font)};") |
| 32 | + @($"--mud-typographym3-headline-large-line-height : {TypographyM3.HeadlineLarge.LineHeight}rem;") |
| 33 | + @($"--mud-typographym3-headline-large-size : {TypographyM3.HeadlineLarge.Size}rem;") |
| 34 | + @($"--mud-typographym3-headline-large-tracking : {TypographyM3.HeadlineLarge.Tracking}rem;") |
| 35 | + @($"--mud-typographym3-headline-large-weight : {TypographyM3.HeadlineLarge.Weight};") |
| 36 | + |
| 37 | + @($"--mud-typographym3-headline-medium-font : {string.Join(',', TypographyM3.HeadlineMedium.Font)};") |
| 38 | + @($"--mud-typographym3-headline-medium-line-height : {TypographyM3.HeadlineMedium.LineHeight}rem;") |
| 39 | + @($"--mud-typographym3-headline-medium-size : {TypographyM3.HeadlineMedium.Size}rem;") |
| 40 | + @($"--mud-typographym3-headline-medium-tracking : {TypographyM3.HeadlineMedium.Tracking}rem;") |
| 41 | + @($"--mud-typographym3-headline-medium-weight : {TypographyM3.HeadlineMedium.Weight};") |
| 42 | +
|
| 43 | + @($"--mud-typographym3-headline-small-font : {string.Join(',', TypographyM3.HeadlineSmall.Font)};") |
| 44 | + @($"--mud-typographym3-headline-small-line-height : {TypographyM3.HeadlineSmall.LineHeight}rem;") |
| 45 | + @($"--mud-typographym3-headline-small-size : {TypographyM3.HeadlineSmall.Size}rem;") |
| 46 | + @($"--mud-typographym3-headline-small-tracking : {TypographyM3.HeadlineSmall.Tracking}rem;") |
| 47 | + @($"--mud-typographym3-headline-small-weight : {TypographyM3.HeadlineSmall.Weight};") |
| 48 | +
|
| 49 | +
|
| 50 | + @($"--mud-typographym3-title-large-font : {string.Join(',', TypographyM3.TitleLarge.Font)};") |
| 51 | + @($"--mud-typographym3-title-large-line-height : {TypographyM3.TitleLarge.LineHeight}rem;") |
| 52 | + @($"--mud-typographym3-title-large-size : {TypographyM3.TitleLarge.Size}rem;") |
| 53 | + @($"--mud-typographym3-title-large-tracking : {TypographyM3.TitleLarge.Tracking}rem;") |
| 54 | + @($"--mud-typographym3-title-large-weight : {TypographyM3.TitleLarge.Weight};") |
| 55 | + |
| 56 | + @($"--mud-typographym3-title-medium-font : {string.Join(',', TypographyM3.TitleMedium.Font)};") |
| 57 | + @($"--mud-typographym3-title-medium-line-height : {TypographyM3.TitleMedium.LineHeight}rem;") |
| 58 | + @($"--mud-typographym3-title-medium-size : {TypographyM3.TitleMedium.Size}rem;") |
| 59 | + @($"--mud-typographym3-title-medium-tracking : {TypographyM3.TitleMedium.Tracking}rem;") |
| 60 | + @($"--mud-typographym3-title-medium-weight : {TypographyM3.TitleMedium.Weight};") |
| 61 | +
|
| 62 | + @($"--mud-typographym3-title-small-font : {string.Join(',', TypographyM3.TitleSmall.Font)};") |
| 63 | + @($"--mud-typographym3-title-small-line-height : {TypographyM3.TitleSmall.LineHeight}rem;") |
| 64 | + @($"--mud-typographym3-title-small-size : {TypographyM3.TitleSmall.Size}rem;") |
| 65 | + @($"--mud-typographym3-title-small-tracking : {TypographyM3.TitleSmall.Tracking}rem;") |
| 66 | + @($"--mud-typographym3-title-small-weight : {TypographyM3.TitleSmall.Weight};") |
| 67 | +
|
| 68 | +
|
| 69 | + @($"--mud-typographym3-label-large-font : {string.Join(',', TypographyM3.LabelLarge.Font)};") |
| 70 | + @($"--mud-typographym3-label-large-line-height : {TypographyM3.LabelLarge.LineHeight}rem;") |
| 71 | + @($"--mud-typographym3-label-large-size : {TypographyM3.LabelLarge.Size}rem;") |
| 72 | + @($"--mud-typographym3-label-large-tracking : {TypographyM3.LabelLarge.Tracking}rem;") |
| 73 | + @($"--mud-typographym3-label-large-weight : {TypographyM3.LabelLarge.Weight};") |
| 74 | + |
| 75 | + @($"--mud-typographym3-label-medium-font : {string.Join(',', TypographyM3.LabelMedium.Font)};") |
| 76 | + @($"--mud-typographym3-label-medium-line-height : {TypographyM3.LabelMedium.LineHeight}rem;") |
| 77 | + @($"--mud-typographym3-label-medium-size : {TypographyM3.LabelMedium.Size}rem;") |
| 78 | + @($"--mud-typographym3-label-medium-tracking : {TypographyM3.LabelMedium.Tracking}rem;") |
| 79 | + @($"--mud-typographym3-label-medium-weight : {TypographyM3.LabelMedium.Weight};") |
| 80 | +
|
| 81 | + @($"--mud-typographym3-label-small-font : {string.Join(',', TypographyM3.LabelSmall.Font)};") |
| 82 | + @($"--mud-typographym3-label-small-line-height : {TypographyM3.LabelSmall.LineHeight}rem;") |
| 83 | + @($"--mud-typographym3-label-small-size : {TypographyM3.LabelSmall.Size}rem;") |
| 84 | + @($"--mud-typographym3-label-small-tracking : {TypographyM3.LabelSmall.Tracking}rem;") |
| 85 | + @($"--mud-typographym3-label-small-weight : {TypographyM3.LabelSmall.Weight};") |
| 86 | +
|
| 87 | +
|
| 88 | + @($"--mud-typographym3-body-large-font : {string.Join(',', TypographyM3.BodyLarge.Font)};") |
| 89 | + @($"--mud-typographym3-body-large-line-height : {TypographyM3.BodyLarge.LineHeight}rem;") |
| 90 | + @($"--mud-typographym3-body-large-size : {TypographyM3.BodyLarge.Size}rem;") |
| 91 | + @($"--mud-typographym3-body-large-tracking : {TypographyM3.BodyLarge.Tracking}rem;") |
| 92 | + @($"--mud-typographym3-body-large-weight : {TypographyM3.BodyLarge.Weight};") |
| 93 | + |
| 94 | + @($"--mud-typographym3-body-medium-font : {string.Join(',', TypographyM3.BodyMedium.Font)};") |
| 95 | + @($"--mud-typographym3-body-medium-line-height : {TypographyM3.BodyMedium.LineHeight}rem;") |
| 96 | + @($"--mud-typographym3-body-medium-size : {TypographyM3.BodyMedium.Size}rem;") |
| 97 | + @($"--mud-typographym3-body-medium-tracking : {TypographyM3.BodyMedium.Tracking}rem;") |
| 98 | + @($"--mud-typographym3-body-medium-weight : {TypographyM3.BodyMedium.Weight};") |
| 99 | +
|
| 100 | + @($"--mud-typographym3-body-small-font : {string.Join(',', TypographyM3.BodySmall.Font)};") |
| 101 | + @($"--mud-typographym3-body-small-line-height : {TypographyM3.BodySmall.LineHeight}rem;") |
| 102 | + @($"--mud-typographym3-body-small-size : {TypographyM3.BodySmall.Size}rem;") |
| 103 | + @($"--mud-typographym3-body-small-tracking : {TypographyM3.BodySmall.Tracking}rem;") |
| 104 | + @($"--mud-typographym3-body-small-weight : {TypographyM3.BodySmall.Weight};") |
| 105 | + } |
| 106 | +
|
| 107 | +</style> |
0 commit comments