Skip to content

Commit

Permalink
🔥 Remove unused desktopLinkBig
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhh committed Dec 9, 2024
1 parent a1e34de commit 63ae2a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
3 changes: 0 additions & 3 deletions src/components/text/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export type TextType =
| "h5"
| "h6"
| "desktopLink"
| "desktopLinkBig"
| "labelRegular"
| "labelLarge"
| "quoteItalic"
Expand All @@ -29,7 +28,6 @@ const elementMap: { [key in TextType]: keyof JSX.IntrinsicElements } = {
h5: "h5",
h6: "h6",
desktopLink: "p",
desktopLinkBig: "p",
labelRegular: "span",
labelLarge: "span",
quoteItalic: "p",
Expand All @@ -51,7 +49,6 @@ const classMap: { [key in TextType]?: string } = {
h5: styles.h5,
h6: styles.h6,
desktopLink: styles.desktopLink,
desktopLinkBig: styles.desktopLinkBig,
labelRegular: styles.labelRegular,
labelLarge: styles.labelLarge,
quoteItalic: styles.quoteItalic,
Expand Down
33 changes: 1 addition & 32 deletions src/components/text/text.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,34 +78,7 @@
font-style: normal;
font-weight: 400;
line-height: 150%;

@media (max-width: 834px) {
font-size: 2.5rem;
line-height: 120%;
}

@media (max-width: 425px) {
font-size: 2rem;
line-height: 125%;
}
}

.desktopLinkBig {
font-size: 1.25rem;
font-style: normal;
font-weight: 300;
line-height: 120%;
text-decoration-line: underline;

@media (max-width: 834px) {
font-size: 2.5rem;
line-height: 120%;
}

@media (max-width: 425px) {
font-size: 2rem;
line-height: 125%;
}
}

.bodyXl {
Expand All @@ -114,11 +87,6 @@
line-height: 120%;
letter-spacing: 0.025rem;

@media (max-width: 834px) {
font-size: 2.5rem;
line-height: 120%;
}

@media (max-width: 425px) {
font-size: 2rem;
line-height: 125%;
Expand All @@ -132,6 +100,7 @@
line-height: 133.333%;

@media (max-width: 425px) {
font-size: 1.125rem;
line-height: 120%;
}
}
Expand Down

0 comments on commit 63ae2a7

Please sign in to comment.