Keep Cupertino chat summaries and contextual prompts readable
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Bounded Cupertino chat text contrast follow-up
|
||||
|
||||
The reviewed light screenshot showed meaningful report summaries, completion
|
||||
notices and contextual composer prompts rendered like inactive text. Resolved
|
||||
native colors confirmed this was more than a screenshot impression:
|
||||
|
||||
| Named state / standard surface | Before | After |
|
||||
| --- | ---: | ---: |
|
||||
| Light report summary on native report-card fill | 3.44:1 | 21.00:1 |
|
||||
| Light completion notice on native page fill | 3.44:1 | 21.00:1 |
|
||||
| Light contextual placeholder on normal glass | 1.68:1 | 17.45:1 |
|
||||
| Dark report summary on native report-card fill | 5.95:1 | 17.01:1 |
|
||||
| Dark contextual placeholder on normal glass | 2.45:1 | 15.48:1 |
|
||||
|
||||
Ratios use resolved dynamic colors and alpha-composite text over the actual
|
||||
native surface role before calculating relative luminance. In light high-
|
||||
contrast mode the old secondaryLabel variant measured4.23:1 on the report
|
||||
surface, still below4.5 for normal-sized copy; the new native label role is21:1.
|
||||
Normal glass calculations compose systemGrey5 at GlassPill.fillOpacity over
|
||||
the page; tests also cover solid high-contrast fill, highlight and white/black
|
||||
backdrop bounds. This is a bounded color-role check, not pixel measurement,
|
||||
a complete contrast audit, or a claim covering all states/backdrops.
|
||||
|
||||
Only the three named readable text states move to CupertinoColors.label.
|
||||
Material roles, disabled Send, decorative icons, focus indication, typography,
|
||||
opacity/blur design and selection behavior are unchanged. In particular the
|
||||
report's metadata hierarchy remains through layout/typography and muted icons;
|
||||
the contextual placeholder is still a native placeholder that disappears on
|
||||
input, rather than user-entered content.
|
||||
|
||||
25 contrast/report/notice/composer-placeholder/focus tests passed in4s,
|
||||
peak1539MB (/tmp/memwatch/out.oozXZt), including both brightnesses, dynamic
|
||||
high-contrast report/notice roles and2x text. Analyzer clean
|
||||
(flutter-analyze.irwu1w). Initial test compile had a nullable placeholderStyle
|
||||
access; corrected before the successful run. Browser review of the integrated
|
||||
Cupertino light state remains with the parent; no production mutation/device
|
||||
work or publication happened in this lane.
|
||||
Reference in New Issue
Block a user