chore: change some spacing in Typography components

This commit is contained in:
Stefan Imhoff
2023-04-04 19:41:37 +02:00
parent 8f0e630cf7
commit 761c37fc8b
5 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ export const Headline: FunctionalComponent<Props> = ({
}) => {
const Tag = as;
const classes = cx(
'text-5 font-black tracking-tight mbe-10 mbs-16 first-of-type:mbs-0 dark:font-extrabold',
'text-5 font-black tracking-tight mbe-10 mbs-12 dark:font-extrabold',
className
);

View File

@@ -16,7 +16,7 @@ export const Subheadline: FunctionalComponent<Props> = ({
}) => {
const Tag = as;
const classes = cx(
'text-4 font-black tracking-tight mbe-8 mbs-14 first-of-type:mbs-0 dark:font-extrabold',
'text-4 font-black tracking-tight mbe-8 mbs-12 dark:font-extrabold',
className
);

View File

@@ -16,7 +16,7 @@ export const Subsubheadline: FunctionalComponent<Props> = ({
}) => {
const Tag = as;
const classes = cx(
'text-3 font-black tracking-tight mbe-5 mbs-14 first-of-type:mbs-0 dark:font-extrabold',
'text-3 font-black tracking-tight mbe-5 mbs-12 dark:font-extrabold',
className
);

View File

@@ -16,7 +16,7 @@ export const Text: FunctionalComponent<Props> = ({
}) => {
const Tag = as;
const classes = cx(
'text-3 font-normal tracking-normal mbe-10 mbs-0 last-of-type:mbe-0 dark:font-light',
'text-3 font-normal tracking-normal mbe-10 mbs-0 dark:font-light',
className
);

View File

@@ -12,7 +12,7 @@ export const TextLink: FunctionalComponent<Props> = ({
...props
}: Props) => {
const classes = cx(
'font-semibold text-shibui-950 underline decoration-shibui-900/20 decoration-4 underline-offset-auto no-common-ligatures no-discretionary-ligatures hover:!decoration-accent focus:!decoration-accent dark:text-shibui-200/[0.87] dark:decoration-shibui-100/20',
'font-semibold text-shibui-950 underline decoration-shibui-900/20 decoration-4 underline-offset-auto no-common-ligatures hover:!decoration-accent focus:!decoration-accent dark:text-shibui-200/[0.87] dark:decoration-shibui-100/20',
className as string
);