Merged in feat/SW-3276-hotel-page-phone-number (pull request #2703)

feat(SW-3276): update hotel page intro section

* feat(SW-3276): update hotel page intro section

* fix(SW-3276): update Link component


Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-08-28 06:30:32 +00:00
parent 4ed1cd1843
commit cfaee8f123
8 changed files with 100 additions and 39 deletions

View File

@@ -117,22 +117,23 @@
}
}
.regular {
font-family: var(--typography-Body-Regular-fontFamily);
font-size: var(--typography-Body-Regular-fontSize);
font-weight: 400;
letter-spacing: var(--typography-Body-Regular-letterSpacing);
line-height: var(--typography-Body-Regular-lineHeight);
.large {
font-family: var(--Link-md-Font-family);
font-size: var(--Link-md-Size);
font-weight: var(--Link-md-Font-weight);
letter-spacing: var(--Link-md-Letter-spacing);
line-height: 150%;
}
.small {
font-family: var(--typography-Caption-Regular-fontFamily);
font-size: var(--typography-Caption-Regular-fontSize);
font-weight: 400;
letter-spacing: var(--typography-Caption-Regular-letterSpacing);
line-height: var(--typography-Caption-Regular-lineHeight);
font-family: var(--Link-sm-Font-family);
font-size: var(--Link-sm-Size);
font-weight: var(--Link-sm-Font-weight);
letter-spacing: var(--Link-sm-Letter-spacing);
line-height: 140%;
}
/* Tiny should be removed, it's not a variant of the Link*/
.tiny {
font-family: var(--typography-Footnote-Regular-fontFamily);
font-size: var(--typography-Footnote-Regular-fontSize);

View File

@@ -17,7 +17,7 @@ export const linkVariants = cva(styles.link, {
},
size: {
small: styles.small,
regular: styles.regular,
large: styles.large,
tiny: styles.tiny,
none: '',
},
@@ -39,6 +39,6 @@ export const linkVariants = cva(styles.link, {
},
defaultVariants: {
color: 'Text/Interactive/Default',
size: 'regular',
size: 'large',
},
})