Fix grey text on post page (not enough contrast)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-11 18:49:05 +02:00
parent 3e9747939d
commit b2ff469ff5
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -15,12 +15,12 @@
>{{ post.attributedTo.name }}</router-link >{{ post.attributedTo.name }}</router-link
> >
</i18n> </i18n>
<p class="published" v-if="!post.draft"> <p class="published has-text-grey-dark" v-if="!post.draft">
{{ post.publishAt | formatDateTimeString }} {{ post.publishAt | formatDateTimeString }}
</p> </p>
<small <small
v-if="post.visibility === PostVisibility.PRIVATE" v-if="post.visibility === PostVisibility.PRIVATE"
class="has-text-grey" class="has-text-grey-dark"
> >
<b-icon icon="lock" size="is-small" /> <b-icon icon="lock" size="is-small" />
{{ {{
@ -68,7 +68,7 @@ import { CURRENT_ACTOR_CLIENT, PERSON_MEMBERSHIPS } from "../../graphql/actor";
import { FETCH_POST } from "../../graphql/post"; import { FETCH_POST } from "../../graphql/post";
import { IPost } from "../../types/post.model"; import { IPost } from "../../types/post.model";
import { IPerson, usernameWithDomain } from "../../types/actor"; import { usernameWithDomain } from "../../types/actor";
import RouteName from "../../router/name"; import RouteName from "../../router/name";
import Tag from "../../components/Tag.vue"; import Tag from "../../components/Tag.vue";
@ -126,8 +126,6 @@ export default class Post extends mixins(GroupMixin) {
memberships!: IMember[]; memberships!: IMember[];
currentActor!: IPerson;
RouteName = RouteName; RouteName = RouteName;
usernameWithDomain = usernameWithDomain; usernameWithDomain = usernameWithDomain;
@ -171,7 +169,6 @@ article {
.published { .published {
margin-top: 1rem; margin-top: 1rem;
color: rgba(0, 0, 0, 0.5);
} }
&::after { &::after {