From 984db9844bb62ba7905a96eb0ffecd7fd5a06d1c Mon Sep 17 00:00:00 2001 From: AndrewFenriz <78079974+AndrewFenriz@users.noreply.github.com> Date: Sun, 16 Aug 2026 18:20:42 +0000 Subject: [PATCH] Replace repeated #1B1B1E panel backgrounds with shared styles (#45336) * new styles * migrate all hardcoded BackgroundColor to new style * no hardcode? * sheet --- .../Atmos/Monitor/UI/AirAlarmWindow.xaml | 16 ++-------- Content.Client/Cargo/UI/CargoBountyMenu.xaml | 6 +--- .../Cargo/UI/FundingAllocationMenu.xaml | 6 +--- .../Chemistry/UI/ChemMasterWindow.xaml | 21 +++---------- .../Chemistry/UI/ReagentDispenserWindow.xaml | 7 +---- .../Construction/UI/FlatpackCreatorMenu.xaml | 11 ++----- Content.Client/Humanoid/LayerMarkingItem.xaml | 6 +--- Content.Client/Lathe/UI/LatheMenu.xaml | 11 ++----- .../Lobby/UI/Loadouts/LoadoutContainer.xaml | 6 +--- .../Lobby/UI/Loadouts/LoadoutWindow.xaml | 6 +--- Content.Client/Materials/UI/OreSiloMenu.xaml | 11 ++----- Content.Client/Mech/Ui/MechMenu.xaml | 6 +--- .../Research/UI/ResearchConsoleMenu.xaml | 16 ++-------- .../Salvage/UI/SalvageJobBoardMenu.xaml | 5 +--- Content.Client/Silicons/Borgs/BorgMenu.xaml | 11 ++----- .../Silicons/Laws/Ui/SiliconLawMenu.xaml | 6 +--- .../StationAiFixerConsoleWindow.xaml | 5 +--- .../Stylesheets/CommonStylesheet.cs | 2 ++ .../SheetletConfigs/IPanelConfig.cs | 2 ++ .../Stylesheets/Sheetlets/PanelSheetlet.cs | 30 ++++++++++++------- Content.Client/Stylesheets/StyleClass.cs | 2 ++ 21 files changed, 54 insertions(+), 138 deletions(-) diff --git a/Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml b/Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml index dc547dda6b..3e45ba44ea 100644 --- a/Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml +++ b/Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml @@ -1,7 +1,6 @@ @@ -41,30 +40,21 @@ - - - - + - - - - + - - - - + diff --git a/Content.Client/Cargo/UI/CargoBountyMenu.xaml b/Content.Client/Cargo/UI/CargoBountyMenu.xaml index 526ba69129..7d53ccf16e 100644 --- a/Content.Client/Cargo/UI/CargoBountyMenu.xaml +++ b/Content.Client/Cargo/UI/CargoBountyMenu.xaml @@ -1,5 +1,4 @@  - - - - +