feat(BOOK-757): Replaced Biroscript component with Typography

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2026-01-20 12:37:05 +00:00
parent 9e373ed600
commit 510f25a812
17 changed files with 92 additions and 250 deletions
@@ -16,6 +16,7 @@ export default function RewardValue({ reward }: RewardValueProps) {
icon="check_circle"
size={32}
color="Icon/Feedback/Success"
className={styles.checkIcon}
/>
)
}
@@ -17,3 +17,7 @@
text-align: center;
color: var(--UI-Grey-80);
}
.checkIcon {
display: inline-flex;
}
@@ -1,22 +1,19 @@
import { useIntl } from "react-intl"
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
import { Typography } from "@scandic-hotels/design-system/Typography"
import styles from "./yourLevel.module.css"
export default function YourLevel() {
const intl = useIntl()
return (
<BiroScript
className={styles.script}
color="peach80"
type="two"
textAlign="center"
>
{intl.formatMessage({
id: "overviewTable.yourLevel",
defaultMessage: "Your level",
})}
</BiroScript>
<Typography variant="Title/Decorative/md">
<span className={styles.script}>
{intl.formatMessage({
id: "overviewTable.yourLevel",
defaultMessage: "Your level",
})}
</span>
</Typography>
)
}
@@ -1,6 +1,8 @@
.script {
transform: rotate(-4deg);
padding-bottom: var(--Space-x05);
text-align: center;
color: var(--Text-Interactive-Secondary);
}
@media screen and (min-width: 950px) {