HackerOs.Theming.Abstractions 2.2.2

dotnet add package HackerOs.Theming.Abstractions --version 2.2.2
                    
NuGet\Install-Package HackerOs.Theming.Abstractions -Version 2.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HackerOs.Theming.Abstractions" Version="2.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HackerOs.Theming.Abstractions" Version="2.2.2" />
                    
Directory.Packages.props
<PackageReference Include="HackerOs.Theming.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HackerOs.Theming.Abstractions --version 2.2.2
                    
#r "nuget: HackerOs.Theming.Abstractions, 2.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HackerOs.Theming.Abstractions@2.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HackerOs.Theming.Abstractions&version=2.2.2
                    
Install as a Cake Addin
#tool nuget:?package=HackerOs.Theming.Abstractions&version=2.2.2
                    
Install as a Cake Tool

HackerOs.Theming.Abstractions

Framework-neutral contracts for the built-in HackerOS theme system. The package exposes the stable desktop/mobile theme IDs, the bounded accent IDs, ThemeCatalog, and the persisted ThemePreferences value. It has no Blazor, browser, host, or server dependency.

ThemeDefinition theme = ThemeCatalog.Get(WellKnownThemeIds.Windows7);
IReadOnlyList<ThemeDefinition> mobileThemes = ThemeCatalog.GetThemes(ThemePlatform.Mobile);

Theme IDs are exact, ordinal, and data-only. Consumers should validate persisted or external values with ThemeCatalog.TryGet and ThemeCatalog.IsKnownAccent before rendering them.

User-visible texts (token labels and descriptions, validation reasons, theme file diagnostics) are English in their properties and translated on demand from Resources/Strings*.resx (ADR 0104): ThemeTokenDefinition.GetLabel(culture), GetDescription(culture), ThemeTokenValidator.TryValidate(type, value, culture, ...) and ThemeFileDiagnostic.GetMessage(culture) / ToString(culture). Built-in theme names, token names, ids and file contents are never translated.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on HackerOs.Theming.Abstractions:

Package Downloads
HackerOs.Theming.Blazor

Theme scope and token-driven previews shared by HackerOS shell surfaces and reusable window/taskbar projects.

HackerOs.Platform.Core

HackerOS platform core: app catalog, process manager, policy, shell, settings and logs as files, gateways behind the SDK. For composing an OS host.

HackerOs.Apps.ThemeEditor

The base HackerOS Theme Editor app, to include in an OS host (ProjectReference or PackageReference, optionally IsSystemApp).

HackerOs.Apps.FileExplorer

The base HackerOS file explorer app, to include in an OS host (ProjectReference or PackageReference, optionally IsSystemApp).

HackerOs.Ecosystem.Host

The HackerOS host: desktop shell, boot coordinator, service composition and browser adapters. A host project adds its index.html, a Program.cs calling AddHackerOsBrowserHost and its apps.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.2 30 11/1/2026
2.2.1 56 11/1/2026
2.2.0 80 10/31/2026
2.1.0 201 10/26/2026

HackerOS 2.2.2: no change for app developers.
Release notes: https://github.com/Kazo-ca/HackerOs/releases/tag/v2.2.2