feat(frontend): unify external doc-link style and outline add buttons

- Add global .doc-link utility in theme.css (brand color text + link icon, underline on hover).

- Convert all external doc/console links across settings to use .doc-link with a trailing <t-icon name="link" />, matching the Ollama browse-library style.

- Switch primary section-toolbar 'Add X' buttons (Model/WebSearch/VectorStore/MCP/DataSource) to outline variant for a lighter, more consistent look.

- Drop redundant per-component CSS for builtin-hint-link, weknoracloud-hint-link, engine-doc-link, engine-link, hint-link, section-doc-link, ds-doc-link-inline, model-link, etc.
This commit is contained in:
wizardchen
2026-05-07 21:00:20 +08:00
committed by lyingbug
parent cc6ac6ac50
commit c77cef5a69
15 changed files with 80 additions and 166 deletions
@@ -220,7 +220,7 @@ onBeforeUnmount(stopPolling)
<div class="ds-empty-text">
<p class="ds-empty-title">{{ t('datasource.empty') }}</p>
</div>
<t-button theme="primary" @click="openCreate">
<t-button theme="primary" variant="outline" @click="openCreate">
<template #icon><t-icon name="add" /></template>
{{ t('datasource.addFirst') }}
</t-button>