Repository navigation
ui 0.9.0: Farbtokens field und danger - #25
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@basicbar/ui0.9.0 — gemeinsame Farbtokensfieldunddanger.Anlass: abstimmbar #178 (Kontrast, WCAG AA). Dort entstanden eine lokale Rahmenfarbe für Formularfelder und ein CSS-Override auf das Markup des Rich-Text-Editors aus diesem Paket; beides gehört hierher.
Neu
fieldunddangerim Preset, getrieben von CSS-Variablen--bb-field-border/--bb-dangermit Defaults inbase.css(hell:root, dunkel:root.dark), inkl.<alpha-value>(border-field/50usw.).field(Formularfeld-Rahmen, WCAG 1.4.11 ≥ 3:1): hell 3,95 / 3,78 / 3,54 auf Weiß / slate-50 / slate-100, dunkel 4,17 / 3,76 auf Seite / Karte.danger(Fehlertext ≥ 4,5:1): hell 5,29 auf Weiß, 4,74 auf slate-100; dunkel (red-400) 6,7 / 6,04.TranslatableField→border-field; Pflichtfeld-Stern, Übersetzungs- und Pflichtfeld-Fehler, Fehler der Übersetzungsleiste →text-danger.Kompatibilität
Sichtbar nur: Feldrahmen etwas dunkler (gewollt, 3:1), Fehlerrot einheitlich. CHANGELOG mit Umstiegsschritten (lokale RTE-Overrides entfernen, Variablen tönen, Fehlertexte optional auf
text-danger).Geprüft
npm run build+tscsauber; neue Klassen im Build;<alpha-value>mit der Tailwind-Konfiguration von abstimmbar kompiliert.Nach dem Merge: Tag
ui/v0.9.0, Release veröffentlichen, Umstieg in abstimmbar.🤖 Generated with Claude Code