From ad1e597b5c80fbfe75700ab249aa1b1180509275 Mon Sep 17 00:00:00 2001 From: patak Date: Tue, 10 Jan 2023 10:05:59 +0100 Subject: [PATCH] feat: no borders in cards (#925) --- components/account/AccountFollowButton.vue | 2 +- components/status/StatusAttachment.vue | 3 --- components/status/StatusMedia.vue | 2 +- components/status/StatusPreviewCard.vue | 10 +++++----- components/status/StatusPreviewGitHub.vue | 2 +- styles/vars.css | 2 ++ unocss.config.ts | 1 + 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/account/AccountFollowButton.vue b/components/account/AccountFollowButton.vue index 6ee4bff3..5a39eaa0 100644 --- a/components/account/AccountFollowButton.vue +++ b/components/account/AccountFollowButton.vue @@ -65,7 +65,7 @@ const buttonStyle = $computed(() => { return 'text-inverted bg-red border-red' if (relationship?.muting) - return 'text-base bg-code border-base' + return 'text-base bg-card border-base' // If following, use a label style with a strong border for Mutuals if (relationship ? relationship.following : context === 'following') diff --git a/components/status/StatusAttachment.vue b/components/status/StatusAttachment.vue index cf527d09..bb47e330 100644 --- a/components/status/StatusAttachment.vue +++ b/components/status/StatusAttachment.vue @@ -98,7 +98,6 @@ useIntersectionObserver(video, (entries) => { loop playsinline controls - border="~ base" rounded-lg object-cover :width="attachment.meta?.original?.width" @@ -119,7 +118,6 @@ useIntersectionObserver(video, (entries) => { muted loop playsinline - border="~ base" rounded-lg object-cover :width="attachment.meta?.original?.width" @@ -160,7 +158,6 @@ useIntersectionObserver(video, (entries) => { aspectRatio, objectPosition, }" - border="~ base" rounded-lg h-full w-full diff --git a/components/status/StatusMedia.vue b/components/status/StatusMedia.vue index e5d6f6f5..a51629fb 100644 --- a/components/status/StatusMedia.vue +++ b/components/status/StatusMedia.vue @@ -23,7 +23,7 @@ const { status } = defineProps<{