Convert remaining dashboard component rgba() fallbacks to color-mix() and extend the audit to cover the touched stylesheets. - replace rgba() fallback colors with color-mix() in language selector, pull request, workflow, and settings component CSS - expand the dashboard color tokenization audit to include the newly cleaned component stylesheets - make the audit resolve settings component CSS from nested paths so SettingsFieldRow coverage works Files changed: .../dashboard-component-color-tokenization.test.ts | 31 ++++++++++++++++------ .../dashboard/app/components/LanguageSelector.css | 2 +- .../dashboard/app/components/PullRequestView.css | 20 +++++++------- .../app/components/WorkflowFieldsPanel.css | 2 +- .../app/components/WorkflowNodeEditor.css | 4 +-- .../app/components/WorkflowSettingsPanel.css | 2 +- .../app/components/settings/SettingsFieldRow.css | 2 +- 7 files changed, 39 insertions(+), 24 deletions(-) Fusion-Task-Id: FN-6185 Fusion-Task-Lineage: b1938669-5ebb-4569-864b-bd64543ec843
43 lines
917 B
CSS
43 lines
917 B
CSS
.language-selector {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.language-selector-title {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--text-muted, #888);
|
|
}
|
|
|
|
.language-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.language-option {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 6px 12px;
|
|
border: 1px solid var(--border-color, #333);
|
|
border-radius: 6px;
|
|
background: var(--bg-secondary, transparent);
|
|
color: var(--text-primary, inherit);
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s ease, background 0.15s ease;
|
|
}
|
|
|
|
.language-option:hover {
|
|
border-color: var(--accent-color, #4a9eff);
|
|
}
|
|
|
|
.language-option.active {
|
|
border-color: var(--accent-color, #4a9eff);
|
|
background: var(--accent-color-subtle, color-mix(in srgb, #4a9eff 12%, transparent));
|
|
font-weight: 600;
|
|
}
|