chamira-hashan / frontend /src /index.css
hashan-7's picture
setup react frontend layout and resolve node_modules conflict
31c6425
Raw
History Blame Contribute Delete
860 Bytes
:root {
--bg: #ffffff;
--surface: #f8fafc;
--heading: #0f172a;
--muted-heading: #334155;
--text: #64748b;
--border: #e2e8f0;
--accent: #2563eb;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
color: var(--text);
background: var(--bg);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #020617;
--surface: #0f172a;
--heading: #f8fafc;
--muted-heading: #cbd5e1;
--text: #94a3b8;
--border: #1e293b;
--accent: #60a5fa;
}
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
min-width: 320px;
margin: 0;
background: var(--bg);
}
button,
input,
textarea {
font: inherit;
}