perf: unify the font color of the description in the theme settings (#430)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/433/head
Ryan Wang 2022-02-09 17:59:13 +08:00 committed by GitHub
parent b7e68acc67
commit 08275961bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -30,11 +30,13 @@
<div v-if="theme.current.id" class="card-container"> <div v-if="theme.current.id" class="card-container">
<a-tabs defaultActiveKey="0" type="card"> <a-tabs defaultActiveKey="0" type="card">
<a-tab-pane :key="0" tab="关于"> <a-tab-pane :key="0" tab="关于">
<div v-if="theme.current.logo">
<a-avatar :alt="theme.current.name" :size="72" :src="theme.current.logo" shape="square" /> <a-avatar :alt="theme.current.name" :size="72" :src="theme.current.logo" shape="square" />
<a-divider /> <a-divider />
</div>
<a-descriptions :column="1" layout="horizontal"> <a-descriptions :column="1" layout="horizontal">
<a-descriptions-item label="作者"> <a-descriptions-item label="作者">
<a :href="theme.current.author.website || '#'"> <a class="text-inherit" :href="theme.current.author.website || '#'">
{{ theme.current.author.name }} {{ theme.current.author.name }}
</a> </a>
</a-descriptions-item> </a-descriptions-item>
@ -42,12 +44,12 @@
{{ theme.current.description || '-' }} {{ theme.current.description || '-' }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="官网"> <a-descriptions-item label="官网">
<a :href="theme.current.website || '#'"> <a class="text-inherit" :href="theme.current.website || '#'">
{{ theme.current.website || '-' }} {{ theme.current.website || '-' }}
</a> </a>
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="Git 仓库"> <a-descriptions-item label="Git 仓库">
<a :href="theme.current.repo || '#'"> <a class="text-inherit" :href="theme.current.repo || '#'">
{{ theme.current.repo || '-' }} {{ theme.current.repo || '-' }}
</a> </a>
</a-descriptions-item> </a-descriptions-item>