From 068c99751969937598c111fb1df891782b17d76c Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 18 Jul 2019 23:33:32 +0200 Subject: [PATCH] Switch to Noto Sans Display in CSS. --- Content.Client/UserInterface/NanoStyle.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Content.Client/UserInterface/NanoStyle.cs b/Content.Client/UserInterface/NanoStyle.cs index 6956ad8e17..8c2f01f9a9 100644 --- a/Content.Client/UserInterface/NanoStyle.cs +++ b/Content.Client/UserInterface/NanoStyle.cs @@ -27,6 +27,7 @@ namespace Content.Client.UserInterface { var resCache = IoCManager.Resolve(); var notoSans12 = resCache.GetFont("/Nano/NotoSans/NotoSans-Regular.ttf", 12); + var notoSansDisplayBold14 = resCache.GetFont("/Fonts/NotoSansDisplay/NotoSansDisplay-Bold.ttf", 14); var notoSans16 = resCache.GetFont("/Nano/NotoSans/NotoSans-Regular.ttf", 16); var notoSansBold16 = resCache.GetFont("/Nano/NotoSans/NotoSans-Bold.ttf", 16); var textureCloseButton = resCache.GetTexture("/Nano/cross.svg.png"); @@ -180,7 +181,7 @@ namespace Content.Client.UserInterface new[] { new StyleProperty(Label.StylePropertyFontColor, NanoGold), - new StyleProperty(Label.StylePropertyFont, notoSansBold16), + new StyleProperty(Label.StylePropertyFont, notoSansDisplayBold14), }), // Window background. new StyleRule( @@ -460,6 +461,12 @@ namespace Content.Client.UserInterface { new StyleProperty(Button.StylePropertyStyleBox, buttonHover), }), + + new StyleRule( + new SelectorElement(typeof(Label), new [] {GameHud.TopButton.StyleClassLabelTopButton}, null, null), new [] + { + new StyleProperty(Label.StylePropertyFont, notoSansDisplayBold14), + }), }); } }