Browse Source

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 3 years ago committed by GitHub
parent
commit
08275961bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/views/interface/ThemeSetting.vue

12
src/views/interface/ThemeSetting.vue

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

Loading…
Cancel
Save