![]() |
VOOZH | about |
dotnet add package Gum.Themes.Hazard.Raylib --version 2026.6.16.1-preview.3
NuGet\Install-Package Gum.Themes.Hazard.Raylib -Version 2026.6.16.1-preview.3
<PackageReference Include="Gum.Themes.Hazard.Raylib" Version="2026.6.16.1-preview.3" />
<PackageVersion Include="Gum.Themes.Hazard.Raylib" Version="2026.6.16.1-preview.3" />Directory.Packages.props
<PackageReference Include="Gum.Themes.Hazard.Raylib" />Project file
paket add Gum.Themes.Hazard.Raylib --version 2026.6.16.1-preview.3
#r "nuget: Gum.Themes.Hazard.Raylib, 2026.6.16.1-preview.3"
#:package Gum.Themes.Hazard.Raylib@2026.6.16.1-preview.3
#addin nuget:?package=Gum.Themes.Hazard.Raylib&version=2026.6.16.1-preview.3&prereleaseInstall as a Cake Addin
#tool nuget:?package=Gum.Themes.Hazard.Raylib&version=2026.6.16.1-preview.3&prereleaseInstall as a Cake Tool
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:
dotnet add package Gum.Themes.Hazard.MonoGamedotnet add package Gum.Themes.Hazard.Knidotnet add package Gum.Themes.Hazard.RaylibCall 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.
Two fonts are embedded in the assembly and registered automatically.
"Saira Condensed" — user-facing text and labelsSaira 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 glyphsDejaVu 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 HazardTheme.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 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.6.16.1-preview.3 | 41 | 6/16/2026 |