feat(SW-240): change class name
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
padding: var(--Spacing-x1) var(--Spacing-x0);
|
||||
}
|
||||
|
||||
.bodyFontSize {
|
||||
.fontSize {
|
||||
font-size: var(--typography-Caption-Bold-Desktop-fontSize);
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user