fix: make all h4 and subtitles capitalized

This commit is contained in:
Christel Westerberg
2024-07-15 15:07:23 +02:00
parent e8b9baf99e
commit 62310caa90
9 changed files with 26 additions and 15 deletions

View File

@@ -35,6 +35,10 @@
text-transform: uppercase;
}
.capitalize {
text-transform: capitalize;
}
.center {
text-align: center;
}

View File

@@ -16,6 +16,7 @@ const config = {
textTransform: {
regular: styles.regular,
uppercase: styles.uppercase,
capitalize: styles.capitalize,
},
type: {
one: styles.one,
@@ -25,7 +26,7 @@ const config = {
defaultVariants: {
color: "burgundy",
textAlign: "left",
textTransform: "regular",
textTransform: "capitalize",
type: "one",
},
} as const