feat: add capitalize text transform variant for Title
This commit is contained in:
committed by
Michael Zetterberg
parent
d28cbf10c7
commit
f5d998d056
@@ -68,6 +68,10 @@
|
|||||||
text-decoration: var(--typography-Title-5-textDecoration);
|
text-decoration: var(--typography-Title-5-textDecoration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.capitalize {
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
.regular {
|
.regular {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ const config = {
|
|||||||
left: styles.left,
|
left: styles.left,
|
||||||
},
|
},
|
||||||
textTransform: {
|
textTransform: {
|
||||||
|
capitalize: styles.capitalize,
|
||||||
regular: styles.regular,
|
regular: styles.regular,
|
||||||
uppercase: styles.uppercase,
|
uppercase: styles.uppercase,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user