feat(SW-375): new tokens

new asset generation logic

BREAKING CHANGE: New tokens.
This commit is contained in:
Michael Zetterberg
2025-01-20 14:46:25 +01:00
parent 7ce2ee2922
commit 56973888c9
189 changed files with 34368 additions and 10344 deletions

View File

@@ -0,0 +1,18 @@
import { Button } from '@scandic-hotels/design-system/Button'
import styles from './hero.module.css'
export function Hero() {
return (
<div className={styles.hero}>
<img
className={styles.image}
src="/img/Hotelpage_mobile/Scandic_Couple_Friends_Lobby 6.png"
alt=""
/>
<Button className={styles.button} typography="Body/Paragraph/mdBold">
See all photos
</Button>
</div>
)
}

View File

@@ -0,0 +1,17 @@
.hero {
position: relative;
}
.image {
border-radius: var(--Corner-radius-md);
display: block;
width: 100%;
height: 270px; /* TODO: Magic number, revisit */
object-fit: cover;
}
.button {
position: absolute;
bottom: 16.6px; /* TODO: Magic number, revisit */
right: 15px; /* TODO: Magic number, revisit */
}

View File

@@ -0,0 +1 @@
export { Hero } from './Hero'