Add new variants for cart buttons
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
<h3 class="title-medium">{shop.module_title}</h3>
|
<h3 class="title-medium">{shop.module_title}</h3>
|
||||||
<p class="text-small">{shop.module_text}</p>
|
<p class="text-small">{shop.module_text}</p>
|
||||||
{#if shop.enabled}
|
{#if shop.enabled}
|
||||||
<Button url="/shop" text="Shop" color="pink" />
|
<Button url="/shop" text="Shop" color="lightpink" />
|
||||||
{/if}
|
{/if}
|
||||||
<p class="detail">
|
<p class="detail">
|
||||||
Posters available for {locationsWithPoster.join(', ').replace(/,(?!.*,)/gmi, ' and')}.
|
Posters available for {locationsWithPoster.join(', ').replace(/,(?!.*,)/gmi, ' and')}.
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
<Button url="/locations" text="Change location" class="shadow-small">
|
<Button url="/locations" text="Change location" class="shadow-small">
|
||||||
<IconEarth />
|
<IconEarth />
|
||||||
</Button>
|
</Button>
|
||||||
<Button url="/shop" text="Buy the poster" color="pink" class="shadow-small">
|
<Button url="/shop" text="Buy the poster" color="lightpink" class="shadow-small">
|
||||||
<!-- <IconEarth /> -->
|
<!-- <IconEarth /> -->
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import Metas from '$components/Metas.svelte'
|
import Metas from '$components/Metas.svelte'
|
||||||
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
||||||
import Image from '$components/atoms/Image.svelte'
|
import Image from '$components/atoms/Image.svelte'
|
||||||
|
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
|
||||||
import PosterLayout from '$components/layouts/PosterLayout.svelte'
|
import PosterLayout from '$components/layouts/PosterLayout.svelte'
|
||||||
import Poster from '$components/molecules/Poster.svelte'
|
import Poster from '$components/molecules/Poster.svelte'
|
||||||
import EmailForm from '$components/molecules/EmailForm.svelte'
|
import EmailForm from '$components/molecules/EmailForm.svelte'
|
||||||
|
|||||||
@@ -88,4 +88,9 @@
|
|||||||
background-color: darken($color-secondary, 7);
|
background-color: darken($color-secondary, 7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Purple color
|
||||||
|
&--purple {
|
||||||
|
background-color: $color-primary-tertiary20;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
/*
|
/*
|
||||||
** Color Variants
|
** Color Variants
|
||||||
*/
|
*/
|
||||||
// Pink
|
// Pink Light
|
||||||
&--pink {
|
&--pink {
|
||||||
color: $color-text;
|
color: $color-text;
|
||||||
background: $color-secondary-light;
|
background: $color-secondary-light;
|
||||||
@@ -96,6 +96,24 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Pink
|
||||||
|
&--pink {
|
||||||
|
color: #fff;
|
||||||
|
background: $color-secondary;
|
||||||
|
|
||||||
|
// Hover
|
||||||
|
&:hover {
|
||||||
|
color: $color-text;
|
||||||
|
background: $color-secondary;
|
||||||
|
}
|
||||||
|
.text-split__line {
|
||||||
|
&:last-child {
|
||||||
|
color: $color-text;
|
||||||
|
// color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Beige
|
// Beige
|
||||||
&--beige {
|
&--beige {
|
||||||
$color-button: #F2D3B8;
|
$color-button: #F2D3B8;
|
||||||
|
|||||||
Reference in New Issue
Block a user