Fuaran.UI.StyleObserver.Abstractions 0.39.0

Prefix Reserved
There is a newer version of this package available.
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
                    
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="Fuaran.UI.StyleObserver.Abstractions" Version="0.39.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fuaran.UI.StyleObserver.Abstractions" Version="0.39.0" />
                    
Directory.Packages.props
<PackageReference Include="Fuaran.UI.StyleObserver.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 Fuaran.UI.StyleObserver.Abstractions --version 0.39.0
                    
#r "nuget: Fuaran.UI.StyleObserver.Abstractions, 0.39.0"
                    
#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 Fuaran.UI.StyleObserver.Abstractions@0.39.0
                    
#: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=Fuaran.UI.StyleObserver.Abstractions&version=0.39.0
                    
Install as a Cake Addin
#tool nuget:?package=Fuaran.UI.StyleObserver.Abstractions&version=0.39.0
                    
Install as a Cake Tool

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 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.

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