feat: update design system

This commit is contained in:
Christel Westerberg
2024-05-21 11:16:36 +02:00
parent eb607abdf9
commit dbb1d10f9b
3 changed files with 23 additions and 23 deletions

View File

@@ -9,28 +9,28 @@
}
.h1 {
font-size: var(--typography-Title1-Mobile-fontSize);
line-height: var(--typography-Title1-Mobile-lineHeight);
font-size: var(--typography-Title-1-Mobile-fontSize);
line-height: var(--typography-Title-1-lineHeight);
}
.h2 {
font-size: var(--typography-Title2-Mobile-fontSize);
line-height: var(--typography-Title2-Mobile-lineHeight);
font-size: var(--typography-Title-2-Mobile-fontSize);
line-height: var(--typography-Title-2-lineHeight);
}
.h3 {
font-size: var(--typography-Title3-Mobile-fontSize);
line-height: var(--typography-Title3-Mobile-lineHeight);
font-size: var(--typography-Title-3-Mobile-fontSize);
line-height: var(--typography-Title-3-lineHeight);
}
.h4 {
font-size: var(--typography-Title4-Mobile-fontSize);
line-height: var(--typography-Title4-Mobile-lineHeight);
font-size: var(--typography-Title-4-Mobile-fontSize);
line-height: var(--typography-Title-4-lineHeight);
}
.h5 {
font-size: var(--typography-Title5-Mobile-fontSize);
line-height: var(--typography-Title5-Mobile-lineHeight);
font-size: var(--typography-Title-5-Mobile-fontSize);
line-height: var(--typography-Title-5-lineHeight);
}
.light {
@@ -59,27 +59,27 @@
@media screen and (min-width: 950px) {
.h1 {
font-size: var(--typography-Title1-Desktop-fontSize);
line-height: var(--typography-Title1-Desktop-lineHeight);
font-size: var(--typography-Title-1-Desktop-fontSize);
line-height: var(--typography-Title-1-lineHeight);
}
.h2 {
font-size: var(--typography-Title2-Desktop-fontSize);
line-height: var(--typography-Title2-Desktop-lineHeight);
font-size: var(--typography-Title-2-Desktop-fontSize);
line-height: var(--typography-Title-2-lineHeight);
}
.h3 {
font-size: var(--typography-Title3-Desktop-fontSize);
line-height: var(--typography-Title3-Desktop-lineHeight);
font-size: var(--typography-Title-3-Desktop-fontSize);
line-height: var(--typography-Title-3-lineHeight);
}
.h4 {
font-size: var(--typography-Title4-Desktop-fontSize);
line-height: var(--typography-Title4-Desktop-lineHeight);
font-size: var(--typography-Title-4-Desktop-fontSize);
line-height: var(--typography-Title-4-lineHeight);
}
.h5 {
font-size: var(--typography-Title5-Desktop-fontSize);
line-height: var(--typography-Title5-Desktop-lineHeight);
font-size: var(--typography-Title-5-Desktop-fontSize);
line-height: var(--typography-Title-5-lineHeight);
}
}

4
package-lock.json generated
View File

@@ -14,7 +14,7 @@
"@hookform/resolvers": "^3.3.4",
"@netlify/plugin-nextjs": "^5.1.1",
"@radix-ui/react-slot": "^1.0.2",
"@scandic-hotels/design-system": "git+https://x-token-auth:$DESIGN_SYSTEM_ACCESS_TOKEN@bitbucket.org/scandic-swap/design-system.git#v0.1.0-rc.5",
"@scandic-hotels/design-system": "git+https://x-token-auth:$DESIGN_SYSTEM_ACCESS_TOKEN@bitbucket.org/scandic-swap/design-system.git#v0.1.0-rc.6",
"@t3-oss/env-nextjs": "^0.9.2",
"@tanstack/react-query": "^5.28.6",
"@trpc/client": "^11.0.0-next-beta.318",
@@ -2236,7 +2236,7 @@
},
"node_modules/@scandic-hotels/design-system": {
"version": "0.1.0",
"resolved": "git+https://x-token-auth:ATCTT3xFfGN0gu4BSBWR71ifMM-_iAT2ip_jnjF0OjTkYhEB3sn71fPCGuMUA7O3BxJ2oHptZVGAlVvMUoeo3Wfute7RYido9HlvrVjemqns9hR3WSf6eNHhsSy5bLtxQ6VK7mnSSAGHaCqTejxirs_PmOB_jPIi1Ft4OEDehtnMxCteg8rO-IE%3D27DF8E0B@bitbucket.org/scandic-swap/design-system.git#ea5ae53b69bf868f88728db3baa81006fa0ccad4",
"resolved": "git+https://x-token-auth:ATCTT3xFfGN0gu4BSBWR71ifMM-_iAT2ip_jnjF0OjTkYhEB3sn71fPCGuMUA7O3BxJ2oHptZVGAlVvMUoeo3Wfute7RYido9HlvrVjemqns9hR3WSf6eNHhsSy5bLtxQ6VK7mnSSAGHaCqTejxirs_PmOB_jPIi1Ft4OEDehtnMxCteg8rO-IE%3D27DF8E0B@bitbucket.org/scandic-swap/design-system.git#2e2f50416a88730fa4df0574e48f05501ce83bb9",
"peerDependencies": {
"react": "^18.2.0",
"react-aria-components": "^1.0.1",

View File

@@ -28,7 +28,7 @@
"@hookform/resolvers": "^3.3.4",
"@netlify/plugin-nextjs": "^5.1.1",
"@radix-ui/react-slot": "^1.0.2",
"@scandic-hotels/design-system": "git+https://x-token-auth:$DESIGN_SYSTEM_ACCESS_TOKEN@bitbucket.org/scandic-swap/design-system.git#v0.1.0-rc.5",
"@scandic-hotels/design-system": "git+https://x-token-auth:$DESIGN_SYSTEM_ACCESS_TOKEN@bitbucket.org/scandic-swap/design-system.git#v0.1.0-rc.6",
"@t3-oss/env-nextjs": "^0.9.2",
"@tanstack/react-query": "^5.28.6",
"@trpc/client": "^11.0.0-next-beta.318",