💄(demo) improve some default style

Improve typography responsive and customize card design tokens for the
dark theme
This commit is contained in:
jbpenrath
2024-02-15 11:16:46 +01:00
committed by Jean-Baptiste PENRATH
parent d119b79c3f
commit ec4fbb082c
4 changed files with 12 additions and 12 deletions

View File

@@ -7,7 +7,7 @@
// Reset
h1 {
font-family: var(--c--theme--font--families--accent);
font-size: 4rem;
font-size: clamp(2.5rem, 7vw, 4rem);
margin: 0;
}
@@ -60,13 +60,6 @@ html, body, #root {
box-shadow: var(--c--components--card--box-shadow, rgba(149, 157, 165, 0.2) 0px 8px 24px);
}
.cunningham-theme--dark {
.card {
box-shadow: none;
border: none;
}
}
.container {
margin: auto;
position: relative;
@@ -89,9 +82,6 @@ html, body, #root {
gap: 1.5rem;
margin: 4rem 0;
h1 {
}
button {
margin-top: 1.5rem;
}