mirror of https://github.com/halo-dev/halo-admin
perf: unify the font color of the description in the theme settings (#430)
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/433/head
parent
b7e68acc67
commit
08275961bb
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue