fix: update loyalty cards and join loyalty sidebar design

This commit is contained in:
Christel Westerberg
2024-06-27 16:44:40 +02:00
parent 33771a0608
commit 5be118d9e5
20 changed files with 166 additions and 81 deletions

View File

@@ -26,6 +26,14 @@
line-height: var(--typography-Script-2-lineHeight);
}
.tiltedSmall {
transform: rotate(-2deg);
}
.tiltedLarge {
transform: rotate(-13deg) translate(0px, -15px);
}
.center {
text-align: center;
}

View File

@@ -10,6 +10,7 @@ export default function BiroScript({
color,
textAlign,
type,
tilted,
...props
}: BiroScriptProps) {
const Comp = asChild ? Slot : "span"
@@ -18,6 +19,7 @@ export default function BiroScript({
color,
textAlign,
type,
tilted,
})
return <Comp className={classNames} {...props} />
}

View File

@@ -19,6 +19,10 @@ const config = {
one: styles.one,
two: styles.two,
},
tilted: {
small: styles.tiltedSmall,
large: styles.tiltedLarge,
},
},
defaultVariants: {
type: "one",