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
<PackageReference Include="HackerOs.Theming.Abstractions" Version="2.2.2" />
<PackageVersion Include="HackerOs.Theming.Abstractions" Version="2.2.2" />
<PackageReference Include="HackerOs.Theming.Abstractions" />
paket add HackerOs.Theming.Abstractions --version 2.2.2
#r "nuget: HackerOs.Theming.Abstractions, 2.2.2"
#:package HackerOs.Theming.Abstractions@2.2.2
#addin nuget:?package=HackerOs.Theming.Abstractions&version=2.2.2
#tool nuget:?package=HackerOs.Theming.Abstractions&version=2.2.2
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 | Versions 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. |
-
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.
HackerOS 2.2.2: no change for app developers.
Release notes: https://github.com/Kazo-ca/HackerOs/releases/tag/v2.2.2