diff --git a/MLEM.Ui/Elements/Paragraph.cs b/MLEM.Ui/Elements/Paragraph.cs index bfe6b68..c4037a9 100644 --- a/MLEM.Ui/Elements/Paragraph.cs +++ b/MLEM.Ui/Elements/Paragraph.cs @@ -118,6 +118,7 @@ namespace MLEM.Ui.Elements { base.InitStyle(style); this.TextScale.SetFromStyle(style.TextScale); this.RegularFont.SetFromStyle(style.Font); + this.TextColor.SetFromStyle(style.TextColor); } /// diff --git a/MLEM.Ui/Style/UiStyle.cs b/MLEM.Ui/Style/UiStyle.cs index 58c1b26..9d0c501 100644 --- a/MLEM.Ui/Style/UiStyle.cs +++ b/MLEM.Ui/Style/UiStyle.cs @@ -133,6 +133,10 @@ namespace MLEM.Ui.Style { /// public float TextScale = 1; /// + /// The color that the text of a should have + /// + public Color TextColor = Color.White; + /// /// The that should be played when an element's and events are called. /// Note that this sound is only played if the callbacks have any subscribers. ///