Skip to content

fix(fortal): lift the five families the high-contrast sweep allowlisted - #685

Open
chrishiguto wants to merge 8 commits into
fortal-refresh/wb-fix-6-dialog-tooltipfrom
fortal-refresh/wb-fix-7-high-contrast
Open

chrishiguto wants to merge 8 commits into
fortal-refresh/wb-fix-6-dialog-tooltipfrom
fortal-refresh/wb-fix-7-high-contrast

Conversation

@chrishiguto

Copy link
Copy Markdown
Contributor

Why

The high-contrast sweep allowlisted five families that joined the stack below it, because the theme's high contrast switch did not lift them to 3:1: the tree view frame, the split button divider, the stepper connector, the file dropzone edges and sheet lines, and the scroll area's edge fade over text. The allowlist also matched by label prefix, so edge hid any future edge failure in those families.

Scope

  • Tree view: the frame edge, guides and selection outline go through fortalContrastLift (gray 10 under high contrast; the frame was gray 8).
  • Split button: the divider lifts to the ink mixed 55% toward the page on the solid variant and to gray 10 on the outline variant.
  • Stepper: an empty connector paints no fill. The sweep's finding was a zero-width fill bar, not the track.
  • File dropzone: under high contrast the sheets take a gray 10 frame and solid lines, the file rows take fortalHairline and the progress track fortalHairline. Only the front sheet carries lines; the sheets behind it are blank.
  • Scroll area: no edge fade under high contrast, so rows under the edge keep their text contrast.
  • The sweep allowlist keeps only the avatar group's ring and matches findings by their exact label.
  • A dropzone test for two failed files arriving with a zone error that repeats the second file's reason.

Tradeoffs

  • The dropzone's back sheets lose their lines in every mode. At rest the front sheet covers them; when they fan out, only their edges show.
  • The scroll area's fade is a look the theme switch now turns off.

Blast Radius

  • Under the theme's high contrast (or a family's own flag): the tree view frame goes from gray 8 to gray 10; the split button divider, dropzone sheet frames and lines, file row frames and progress track lift; scroll areas stop fading.
  • In every mode: the dropzone back sheets have no lines, and an empty stepper connector paints only its track.
  • Registry templates and mirrors for the five families. The inputs and layout polish board goldens are refreshed (back sheets without lines, the tree view's high-contrast frame).

Verification

  • The sweep passes with the five entries removed (142 cells). Before this PR the same sweep reported tree view 1.74:1 and 2.01:1, split button 1.45 and 1.54, stepper 2.58 and 2.32, scroll area text 2.68 and 3.51, and dropzone edges from 1.16 to 2.01.
  • Mutation: recording only the first failed file's reason makes the new dropzone test fail.
  • At this head: cd registry_source && flutter test (4590 passed), packages/remix (4227), packages/naked_ui (1660), packages/remix_cli (384), apps/demo (223), apps/dashboard (77), generate:check, ci:checks, docs:check, guard clean.

@chrishiguto
chrishiguto force-pushed the fortal-refresh/wb-fix-6-dialog-tooltip branch from c72d29c to d7e7948 Compare December 2, 2026 19:34
@chrishiguto
chrishiguto force-pushed the fortal-refresh/wb-fix-7-high-contrast branch from ef7ce6f to 4872fc1 Compare December 2, 2026 19:34

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant