mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11:22 +00:00
style: replace with utilities class
This commit is contained in:
parent
b69f58b147
commit
f9391f3d0c
@ -14,7 +14,7 @@ export default function Home() {
|
|||||||
<ButtonCommon icon={<IconBuy/>} disabled isIconSuffix={true}>Button with icon disabled</ButtonCommon>
|
<ButtonCommon icon={<IconBuy/>} disabled isIconSuffix={true}>Button with icon disabled</ButtonCommon>
|
||||||
<ButtonCommon icon={<IconBuy/>} type={ButonType.light}>Button with icon</ButtonCommon>
|
<ButtonCommon icon={<IconBuy/>} type={ButonType.light}>Button with icon</ButtonCommon>
|
||||||
<ViewAllItem link="/all"/>
|
<ViewAllItem link="/all"/>
|
||||||
<ItemWishList isActive={false} />
|
<ItemWishList isActive={true} />
|
||||||
<Logo />
|
<Logo />
|
||||||
<p>Go to <code>pages/index.tsx</code> to get your hand dirty!</p>
|
<p>Go to <code>pages/index.tsx</code> to get your hand dirty!</p>
|
||||||
<p>Go to <code>src/components</code> to make your awesome component!</p>
|
<p>Go to <code>src/components</code> to make your awesome component!</p>
|
||||||
|
@ -5,11 +5,12 @@
|
|||||||
width: 2.4rem;
|
width: 2.4rem;
|
||||||
height: 2.4rem;
|
height: 2.4rem;
|
||||||
path{
|
path{
|
||||||
stroke: theme("colors.primary");
|
stroke: var(--primary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.isToggleOn{
|
.isToggleOn{
|
||||||
svg path{
|
svg path{
|
||||||
stroke: theme("colors.primary");
|
stroke: var(--negative);
|
||||||
|
fill: var(--negative);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,14 +5,12 @@
|
|||||||
.eclipse{
|
.eclipse{
|
||||||
width: 3.2rem;
|
width: 3.2rem;
|
||||||
height: 3.2rem;
|
height: 3.2rem;
|
||||||
background-color: theme("colors.primary");
|
background-color: var(--primary);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin-right: 1.2rem;
|
margin-right: 1.2rem;
|
||||||
}
|
}
|
||||||
.conTent{
|
.conTent{
|
||||||
@apply font-logo;
|
@apply font-logo sub-headline;
|
||||||
text-transform: uppercase;
|
font-size: 1.6rem;
|
||||||
line-height: 3.2rem;
|
|
||||||
letter-spacing: -0.02rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,7 +5,6 @@
|
|||||||
color: theme("colors.primary");
|
color: theme("colors.primary");
|
||||||
.conTent{
|
.conTent{
|
||||||
margin: 0.8rem 0.8rem 0.8rem 1.6rem;
|
margin: 0.8rem 0.8rem 0.8rem 1.6rem;
|
||||||
font-family: var(--font-sans);
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.vecTor{
|
.vecTor{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user