ui updates :propery structuring components
This commit is contained in:
@@ -24,3 +24,26 @@ body {
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.mainContainer {
|
||||
max-width: 56rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 2.5rem 1rem;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
background-color: #ffffff;
|
||||
/* White background */
|
||||
color: #18181b;
|
||||
/* Dark text for clear contrast */
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.mainContainer {
|
||||
background-color: #ffffff;
|
||||
/* Or keep #ffffff if you want light mode background even in OS dark mode */
|
||||
color: #18181b;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user