fix(ui): focus rings at full strength for 3:1 contrast (#1737)
The shared components used focus-visible:ring-ring/50 (and the base outline-ring/50), which measured 2.1:1 on light and 2.4:1 on dark -- under the 3:1 WCAG 2.4.11/1.4.11 requires. All ring-ring and outline-ring tokens in ui/src now render at full strength (5.3:1 light, 5.7:1 dark), matching the :focus-visible outline floor in style.css.
This commit is contained in:
26 files changed
+26
-26
No files matched your search
+1
-1
@@ -262,7 +262,7 @@
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;
|
||||
@apply border-border outline-ring;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
|
||||
Reference in new issue
Block a user