Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-REVIEW-002

Comment thread text stays readable on every theme

When a review comment thread is shown in the preview in the Dark, White or Cream theme mode, the extension SHALL draw its author, date, text, placeholder and button text with a contrast of at least 4.5 to 1 on their surface, without dimming text through opacity.

Part of StRS-MDOKFSTUDIO-REVIEW-003, outside the paths drawn on its map.

Scenarios 3

The situations the tests check; open one to read it.

nominalPalette pairs
Giventhe Dark, White and Cream palettes of the preview
Whenthe comment text colours (widget foreground, description, editor foreground, input foreground, button and secondary button text, thread green) are compared with their surfaces
Thenevery pair reaches 4.5 to 1
boundaryCream page under a dark host theme
Giventhe Cream mode forced while the VS Code theme is dark
Whena comment popover is opened
Thenits text uses the palette's own widget foreground, never the host's, so it stays dark on the cream surface
boundaryNo dimming
Giventhe comment popover, the compose box, the orphaned comments box and the thread panel
Whentheir stylesheet rules are read
Thenthe date, quote, meta line and placeholder take the description colour at full strength, and only disabled buttons and the resolved badge use opacity

Implemented in 2

Tested by 3