File tree Expand file tree Collapse file tree
client/src/dialog-editor/webview Expand file tree Collapse file tree Original file line number Diff line number Diff line change 726726 border-color : var (--vscode-panel-border );
727727 }
728728 .ik {
729- /* Field labels (Option text / Condition / Target / ...) are primary UI text the user reads to identify
730- each field, so use full foreground. descriptionForeground is VS Code's ~70%-alpha grey - it measures
731- ~3.97:1 on the panel background (fails WCAG AA 4.5:1) and is VS Code's token for secondary DESCRIPTION
732- text, not field labels. The 9px uppercase styling already separates labels from values; contrast must
733- not carry that job. Only the focused-option view renders these labels, which is why the node view
734- (no labels) looked fine while the option view read as low-contrast. */
735- color : var (--vscode-foreground );
729+ color : var (--vscode-descriptionForeground );
736730 font-size : 9px ;
737731 text-transform : uppercase ;
738732 margin-top : 8px ;
911905 flex-wrap : wrap ;
912906 }
913907 .rctlbl {
914- /* Same as .ik: a field label, full foreground for AA contrast (descriptionForeground is ~3.97:1). */
915- color : var (--vscode-foreground );
908+ color : var (--vscode-descriptionForeground );
916909 font-size : 9px ;
917910 text-transform : uppercase ;
918911 }
You can’t perform that action at this time.
0 commit comments