- settings.test.ts mocks @fusion/core; add SUPPORTED_LOCALES to the mock so the new language enum import resolves (shard 1). - LanguageSelector.css used the banned --text-secondary token; switch to the canonical --text-muted (shard 2 text-token-canonicalization guard). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
43 lines
897 B
CSS
43 lines
897 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, rgba(74, 158, 255, 0.12));
|
|
font-weight: 600;
|
|
}
|