Merged in chore/sw-3145-move-preamble (pull request #2519)
chore(SW-3145): Move Preamble to design-system * Move Preamble to design-system Approved-by: Linus Flood
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
.preamble {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: var(--typography-Preamble-fontFamily);
|
||||
font-size: clamp(
|
||||
var(--typography-Preamble-Mobile-fontSize),
|
||||
0.3vw + 15px,
|
||||
var(--typography-Preamble-Desktop-fontSize)
|
||||
);
|
||||
font-weight: var(--typography-Preamble-fontWeight);
|
||||
letter-spacing: var(--typography-Preamble-letterSpacing);
|
||||
line-height: var(--typography-Preamble-lineHeight);
|
||||
text-decoration: var(--typography-Preamble-textDecoration);
|
||||
}
|
||||
|
||||
.preambleFontOnly {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.black {
|
||||
color: var(--Main-Grey-100);
|
||||
}
|
||||
|
||||
.burgundy {
|
||||
color: var(--Scandic-Brand-Burgundy);
|
||||
}
|
||||
|
||||
.pale {
|
||||
color: var(--Scandic-Brand-Pale-Peach);
|
||||
}
|
||||
|
||||
.textMediumContrast {
|
||||
color: var(--Base-Text-UI-Medium-contrast);
|
||||
}
|
||||
|
||||
.baseText {
|
||||
color: var(--Base-Text-Inverted);
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.left {
|
||||
text-align: left;
|
||||
}
|
||||
Reference in New Issue
Block a user