fixes link text colors
This commit is contained in:
parent
11ff8586d5
commit
d454d1a2d1
|
@ -19,8 +19,6 @@
|
|||
export let imageHeight
|
||||
|
||||
$: cssVariables = {
|
||||
linkColor,
|
||||
linkHoverColor,
|
||||
imageWidth,
|
||||
cardWidth,
|
||||
imageHeight,
|
||||
|
@ -30,9 +28,9 @@
|
|||
</script>
|
||||
|
||||
<div
|
||||
use:styleable={$component.styles}
|
||||
use:cssVars={cssVariables}
|
||||
class="container"
|
||||
use:styleable={$component.styles}>
|
||||
class="container">
|
||||
{#if showImage}<img class="image" src={imageUrl} alt="" />{/if}
|
||||
<div class="content">
|
||||
<main>
|
||||
|
@ -41,7 +39,7 @@
|
|||
</main>
|
||||
<footer >
|
||||
<p class="subtext">{subtext}</p>
|
||||
<a href={linkUrl}>{linkText}</a>
|
||||
<a style="--linkColor: {linkColor}; --linkHoverColor: {linkHoverColor}" href={linkUrl}>{linkText}</a>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue