Fuaran.UI.StyleObserver.Abstractions
0.39.0
Prefix Reserved
See the version list below for details.
dotnet add package Fuaran.UI.StyleObserver.Abstractions --version 0.39.0
NuGet\Install-Package Fuaran.UI.StyleObserver.Abstractions -Version 0.39.0
<PackageReference Include="Fuaran.UI.StyleObserver.Abstractions" Version="0.39.0" />
<PackageVersion Include="Fuaran.UI.StyleObserver.Abstractions" Version="0.39.0" />
<PackageReference Include="Fuaran.UI.StyleObserver.Abstractions" />
paket add Fuaran.UI.StyleObserver.Abstractions --version 0.39.0
#r "nuget: Fuaran.UI.StyleObserver.Abstractions, 0.39.0"
#:package Fuaran.UI.StyleObserver.Abstractions@0.39.0
#addin nuget:?package=Fuaran.UI.StyleObserver.Abstractions&version=0.39.0
#tool nuget:?package=Fuaran.UI.StyleObserver.Abstractions&version=0.39.0
Fuaran.UI.StyleObserver.Abstractions
Type contract for the Fuaran resolved-style observability feedback channel — the AI-facing surface that turns the colours the host CSS actually resolved into a small fixed set of interpretation-shaped flags the orchestrator can reason about.
This is the read-back twin of Fuaran.UI.LayoutObserver.Abstractions. Where the layout observer closes the loop on geometry (did the emitted tree lay out sensibly?), the style observer closes it on resolved style (is the emitted Tone.Brand legible, distinguishable, non-null?) — deterministically, against getComputedStyle, not a vision/VLM critic.
The flag set is fixed and additive-only post-ship: ContrastBelowAA, InvisibleText, AccentIndistinct (the manifest-free cases). Each carries the observed WCAG ratio it fired against. Concrete observers (Fuaran.UI.StyleObserver) ship two implementations — BrowserStyleObserver (Fable, getComputedStyle + the effective-background composite walk) and InMemoryStyleObserver (pure .NET, drives Expecto tests and the future eval gate). Identical flag-derivation logic — same input, same output as the browser observer.
The load-bearing algorithm is the effective-background composite walk: an element's foreground may be translucent and its background a stack of translucent tints over ancestor surfaces. Flags.effectiveBackground composites that stack (source-over) down to the first opaque layer (falling back to the browser's white canvas) so the contrast denominator is the colour the text actually sits on.
FSharp.Core-only and Fable-free (no Browser.* dependency) so the test project references this assembly and runs under pure .NET; concrete observers cast obj → Browser.Types.Element at the boundary.
Apache-2.0 licensed — see the repo LICENSE.
| 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
- FSharp.Core (>= 10.1.300)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fuaran.UI.StyleObserver.Abstractions:
| Package | Downloads |
|---|---|
|
Fuaran.UI.StyleObserver
Fuaran resolved-style observability concrete observers — BrowserStyleObserver (Fable, getComputedStyle-backed, effective-background composite walk, rAF-debounced) and InMemoryStyleObserver (pure .NET, drives Expecto tests + the eval gate). Companion of Fuaran.UI.StyleObserver.Abstractions; shares all flag-derivation logic. Apache-2.0 licensed. |
|
|
Fuaran.UI.Telemetry.Drift
Drift detector for Fuaran op-apply telemetry. Computes per-OpKind aggregate metrics (success rate, p50/p95 latency, top decoder-rejection reasons, top NodeNotFound NodeIds) and flags week-on-week success-rate regressions exceeding an operator-tunable threshold (default 10pp). Also ships a deterministic StyleFlag drift detector (Phase 151) — the resolved-style twin that diffs declared-invariant flag sets across two windows of StyleObservation to surface newly-introduced / cleared visual-legibility violations, severity-weighted by the ThemeManifest's invariant weights (semantic visual regression, no pixels, CI-gateable). Manual-run console tool for now (`dotnet run --project src/Fuaran.UI.Telemetry.Drift`); cron-friendly later when an operator-decided threshold is wired into a scheduled job. Companion to Fuaran.UI.Telemetry.Abstractions. Apache-2.0 licensed. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.46.0 | 0 | 8/28/2026 |
| 0.39.0 | 40 | 8/27/2026 |
| 0.35.0 | 94 | 8/24/2026 |
| 0.32.0 | 97 | 8/23/2026 |
| 0.31.0 | 120 | 8/21/2026 |
| 0.30.0 | 112 | 8/21/2026 |
| 0.29.0 | 123 | 8/19/2026 |
| 0.28.0 | 108 | 8/18/2026 |
| 0.27.0 | 110 | 8/18/2026 |
| 0.26.0 | 113 | 8/18/2026 |
| 0.18.0 | 113 | 8/10/2026 |
| 0.15.0 | 107 | 8/9/2026 |
| 0.12.0 | 118 | 7/31/2026 |
| 0.11.0 | 118 | 7/30/2026 |
| 0.10.0 | 121 | 7/29/2026 |
| 0.6.0 | 114 | 7/27/2026 |
| 0.4.0 | 124 | 7/26/2026 |
| 0.3.0 | 127 | 7/24/2026 |