fix(frontend): unify radio button theme and disabled selection

- Add global t-radio-button outline styles in theme.css (brand fill when checked).

- Align ModelEditor, share KB, datasource, agent/MCP settings with t-radio-button.

- Remove redundant :deep overrides in AgentEditorModal, KB editor, FAQEntryManager, etc.

- Use brand disabled tone for disabled+checked radio buttons so selection stays visible.
This commit is contained in:
wizardchen
2026-05-07 20:39:16 +08:00
committed by lyingbug
parent 627e9e436d
commit cc6ac6ac50
11 changed files with 56 additions and 272 deletions
@@ -689,16 +689,16 @@ const stepTitles = computed(() => [
<div class="form-item">
<label class="form-label">{{ t('datasource.syncModeLabel') }}</label>
<t-radio-group v-model="form.sync_mode">
<t-radio value="incremental">{{ t('datasource.syncMode.incremental') }}</t-radio>
<t-radio value="full">{{ t('datasource.syncMode.full') }}</t-radio>
<t-radio-button value="incremental">{{ t('datasource.syncMode.incremental') }}</t-radio-button>
<t-radio-button value="full">{{ t('datasource.syncMode.full') }}</t-radio-button>
</t-radio-group>
</div>
<div class="form-item">
<label class="form-label">{{ t('datasource.conflictLabel') }}</label>
<t-radio-group v-model="form.conflict_strategy">
<t-radio value="overwrite">{{ t('datasource.conflict.overwrite') }}</t-radio>
<t-radio value="skip">{{ t('datasource.conflict.skip') }}</t-radio>
<t-radio-button value="overwrite">{{ t('datasource.conflict.overwrite') }}</t-radio-button>
<t-radio-button value="skip">{{ t('datasource.conflict.skip') }}</t-radio-button>
</t-radio-group>
</div>