feat(SW-240): change class name

This commit is contained in:
Fredrik Thorsson
2024-08-15 14:09:09 +02:00
parent 3eaaa9aca2
commit 66f2b202c9
2 changed files with 7 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
padding: var(--Spacing-x1) var(--Spacing-x0);
}
.bodyFontSize {
.fontSize {
font-size: var(--typography-Caption-Bold-Desktop-fontSize);
}

View File

@@ -1,5 +1,4 @@
"use client"
import { useIntl } from "react-intl"
import Body from "@/components/TempDesignSystem/Text/Body"
@@ -19,19 +18,19 @@ export default function FormContent() {
return (
<div className={styles.input}>
<div className={`${styles.where} ${styles.border}`}>
<Body color="red" textTransform="bold" className={styles.bodyFontSize}>
<Body color="red" textTransform="bold" className={styles.fontSize}>
{where}
</Body>
<input type="text" placeholder={where} />
</div>
<div className={`${styles.when} ${styles.border}`}>
<Body color="red" textTransform="bold" className={styles.bodyFontSize}>
<Body color="red" textTransform="bold" className={styles.fontSize}>
{when}
</Body>
<input type="text" placeholder={when} />
</div>
<div className={`${styles.rooms} ${styles.border}`}>
<Body color="red" textTransform="bold" className={styles.bodyFontSize}>
<Body color="red" textTransform="bold" className={styles.fontSize}>
{rooms}
</Body>
<input type="text" placeholder={rooms} />
@@ -40,7 +39,7 @@ export default function FormContent() {
<Body
color="textMediumContrast"
textTransform="bold"
className={styles.bodyFontSize}
className={styles.fontSize}
>
{vouchers}
</Body>
@@ -49,13 +48,13 @@ export default function FormContent() {
<div className={styles.options}>
<div className={styles.option}>
<input type="checkbox" />
<Body color="textMediumContrast" className={styles.bodyFontSize}>
<Body color="textMediumContrast" className={styles.fontSize}>
{bonus}
</Body>
</div>
<div className={styles.option}>
<input type="checkbox" />
<Body color="textMediumContrast" className={styles.bodyFontSize}>
<Body color="textMediumContrast" className={styles.fontSize}>
{reward}
</Body>
</div>