Gum.Themes.Hazard.SilkNet
2026.11.2.1
See the version list below for details.
dotnet add package Gum.Themes.Hazard.SilkNet --version 2026.11.2.1
NuGet\Install-Package Gum.Themes.Hazard.SilkNet -Version 2026.11.2.1
<PackageReference Include="Gum.Themes.Hazard.SilkNet" Version="2026.11.2.1" />
<PackageVersion Include="Gum.Themes.Hazard.SilkNet" Version="2026.11.2.1" />
<PackageReference Include="Gum.Themes.Hazard.SilkNet" />
paket add Gum.Themes.Hazard.SilkNet --version 2026.11.2.1
#r "nuget: Gum.Themes.Hazard.SilkNet, 2026.11.2.1"
#:package Gum.Themes.Hazard.SilkNet@2026.11.2.1
#addin nuget:?package=Gum.Themes.Hazard.SilkNet&version=2026.11.2.1
#tool nuget:?package=Gum.Themes.Hazard.SilkNet&version=2026.11.2.1
Gum.Themes.Hazard
An industrial space-salvage HUD theme for Gum UI — signature hazard-yellow on warm near-black, muted-gold borders, and square-cornered chrome (inspired by Hardspace: Shipbreaker). Provides styled visuals for Gum Forms controls.
The theme ships per rendering backend. Install the one matching your runtime:
- MonoGame:
dotnet add package Gum.Themes.Hazard.MonoGame - KNI:
dotnet add package Gum.Themes.Hazard.Kni - raylib:
dotnet add package Gum.Themes.Hazard.Raylib
Usage
Call the parameterless HazardTheme.Apply() once after initializing Gum — the same call on every backend:
using Gum.Themes.Hazard;
protected override void Initialize()
{
GumService.Default.Initialize(this, DefaultVisualsVersion.Newest);
HazardTheme.Apply();
var button = new Button();
button.Text = "EXTRACT";
}
On MonoGame/KNI a legacy
HazardTheme.Apply(GraphicsDevice)overload remains for source compatibility; the graphics device is now resolved internally, so preferApply().
Interactive states echo the source HUD: hover brightens the border and text, pressing a button flashes the full hazard-yellow accent with black text, and active states (a checked CheckBox, an On ToggleButton, a selected list row) fill with the accent and switch to ink-black text.
Bundled Fonts
Two fonts are embedded in the assembly and registered automatically.
"Saira Condensed" — user-facing text and labels
Saira Condensed (SIL Open Font License). Two weights:
| Gum properties | TTF |
|---|---|
| default | SairaCondensed-Regular.ttf |
IsBold = true |
SairaCondensed-SemiBold.ttf |
Saira Condensed ships no italic, and the Forms styling never requests one. SemiBold (600) is mapped to Gum's IsBold = true slot to match the design's uppercase label/heading weight. Override via KernSmithFontCreator.RegisterFont("Saira Condensed", ttfBytes, style: "Bold").
See Content/Fonts/SairaCondensed-OFL.txt for the Saira license.
"Saira Condensed Icons" — internal glyphs
DejaVu Sans Mono (Bitstream Vera / DejaVu license; redistribution permitted). Used by the theme's visuals for glyphs Saira Condensed doesn't cover — the CheckBox check (✓) and the ComboBox dropdown arrow (▼), which live in the Dingbats and Geometric Shapes Unicode blocks. The family name is also exposed as HazardStyling.ActiveStyle.Text.IconFontFamily if you need to render the same glyphs yourself.
See Content/Fonts/DejaVuSansMono-LICENSE.txt for the DejaVu license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- FlatRedBall.GumCommon (>= 2026.11.2.1)
- Gum.SilkNet (>= 2026.11.2.1)
- SkiaSharp (>= 4.153.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.11.12.1-preview.6 | 52 | 11/13/2026 |
| 2026.11.11.1-preview.5 | 53 | 11/11/2026 |
| 2026.11.10.1-preview.4 | 55 | 11/10/2026 |
| 2026.11.9.1-preview.3 | 53 | 11/9/2026 |
| 2026.11.8.1-preview.2 | 55 | 11/8/2026 |
| 2026.11.5.1-preview.1 | 61 | 11/5/2026 |
| 2026.11.2.1 | 151 | 11/2/2026 |
| 2026.10.29.1-preview.12 | 60 | 10/29/2026 |
| 2026.10.27.1-preview.11 | 65 | 10/27/2026 |
| 2026.10.25.5-preview.10 | 61 | 10/25/2026 |
| 2026.10.25.4-preview.9 | 60 | 10/25/2026 |
| 2026.10.25.3-preview.8 | 58 | 10/25/2026 |
| 2026.10.25.1-preview.6 | 61 | 10/25/2026 |
| 2026.10.24.1-preview.5 | 62 | 10/24/2026 |
| 2026.10.18.4-preview.4 | 70 | 10/18/2026 |
| 2026.10.14.1-preview.4 | 63 | 10/14/2026 |
| 2026.10.9.1-preview.2 | 66 | 10/9/2026 |
| 2026.10.8.1-preview.1 | 61 | 10/8/2026 |
| 2026.10.2.2-preview.2 | 75 | 10/2/2026 |
| 2023.10.25.2-preview.7 | 65 | 10/25/2026 |