misc: tweak color
This commit is contained in:
1 parent
6c179434d5
commit
c4a1f143cb
2 files changed
+10
-8
No files matched your search
@@ -3,12 +3,13 @@
|
||||
import { Icon, Link as LinkIcon } from 'svelte-hero-icons'
|
||||
|
||||
export let url: string
|
||||
export let thumbnail_url: string
|
||||
export let thumbnail_url: string | undefined = undefined
|
||||
export let nsfw: boolean = false
|
||||
</script>
|
||||
|
||||
<Link href={url} highlight nowrap />
|
||||
|
||||
{#if thumbnail_url}
|
||||
<a href={url}>
|
||||
<img
|
||||
src={thumbnail_url}
|
||||
@@ -19,3 +20,4 @@
|
||||
class:blur-3xl={nsfw}
|
||||
/>
|
||||
</a>
|
||||
{/if}
|
||||
Reference in new issue
Block a user