]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix style classes used on monotone labels (#41969)
authoreoineoineoin <helloworld@eoinrul.es>
Sat, 3 Jan 2026 06:19:35 +0000 (06:19 +0000)
committerGitHub <noreply@github.com>
Sat, 3 Jan 2026 06:19:35 +0000 (06:19 +0000)
* Fix style classes used on monotone labels

* Heading>SubHeading

Content.Client/Stylesheets/Sheetlets/LabelSheetlet.cs
Content.Client/Stylesheets/StyleClass.cs

index 77c554a9f36ae7d40999422199128a7271e3d62c..fc23f9c7fbbf76ffe14388092cfbd951c4926ffa 100644 (file)
@@ -69,10 +69,10 @@ public sealed class LabelSheetlet : Sheetlet<PalettedStylesheet>
                 .Class(StyleClass.LabelMonospaceText)
                 .Prop(Label.StylePropertyFont, robotoMonoBold11),
             E<Label>()
-                .Class(StyleClass.LabelMonospaceHeading)
+                .Class(StyleClass.LabelMonospaceSubHeading)
                 .Prop(Label.StylePropertyFont, robotoMonoBold12),
             E<Label>()
-                .Class(StyleClass.LabelMonospaceSubHeading)
+                .Class(StyleClass.LabelMonospaceHeading)
                 .Prop(Label.StylePropertyFont, robotoMonoBold14),
         ];
     }
index 39e3ff7d94c053b0a2e6d84f62c0a6c5b304d074..e5fde69584cc728e55d40a44902cb525aea08b32 100644 (file)
@@ -41,8 +41,8 @@ public static class StyleClass
     public const string LabelKeyText = "LabelKeyText";
     public const string LabelWeak = "LabelWeak"; // replaces `LabelSecondaryColor`
     public const string LabelMonospaceText = "ConsoleText";
-    public const string LabelMonospaceHeading = "ConsoleText";
-    public const string LabelMonospaceSubHeading = "ConsoleText";
+    public const string LabelMonospaceHeading = "ConsoleHeading";
+    public const string LabelMonospaceSubHeading = "ConsoleSubHeading";
 
     public const string BackgroundPanel = "BackgroundPanel"; // replaces `AngleRect`
     public const string BackgroundPanelOpenLeft = "BackgroundPanelOpenLeft"; // replaces `BackgroundOpenLeft`