PromptPlus

|Adr-Plus Fields|Values Migrated | |–|–| |ADR|No global style API; per-control styling| |Version|01| |Revision|01| |Scope|| |Domain|| |Created|Proposed (2026-07-24)| |Changed|Accepted (2026-07-24)| |Superseded||

PromptPlus # PromptPlus ## **ADR0006V01R01** [![NuGet](https://img.shields.io/badge/NuGet-PromptPlus-blue)](https://www.nuget.org/packages/PromptPlus) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![.NET](https://img.shields.io/badge/.NET-8%20%7C%209%20%7C%2010-512BD4)](https://dotnet.microsoft.com/)

↑ ADR Index


ADR0006V01R01 — No global style API; per-control styling

Context

Theming needs to be flexible per control without a sprawling global theme object that every control must know about.

Decision

There is no global style API. PromptPlusStyles does not exist and IPromptPlusConfig has no Styles(...) member. Styling is applied per control via .Styles(<ControlEnum>, style) (e.g. InputStyles, SelectStyles). The Style value carries foreground, background, and an overflow strategy only — there is no text-decoration concept. The style-region enum backing the controls (ComponentStyles) is internal.

Consequences