openWa / dashboard /src /App.css
harsh
Deploy: Initial commit without binaries
525d39f
Raw History Blame Contribute Delete
2.44 kB
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
:root {
--primary: #25d366;
--primary-hover: #1da851;
--bg-light: #f8fafc;
--bg-white: #ffffff;
--bg-card: #ffffff;
--text-primary: #0f172a; /* Slate 900 */
--text-secondary: #475569; /* Slate 600 */
--text-muted: #94a3b8; /* Slate 400 */
--border: #e2e8f0; /* Slate 200 */
--error: #ef4444;
--success: #22c55e;
--warning: #f59e0b;
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--radius: 10px;
}
/* Dark Mode */
[data-theme='dark'] {
--bg-light: #0f172a; /* Slate 900 */
--bg-white: #1e293b; /* Slate 800 */
--bg-card: #1e293b;
--text-primary: #f1f5f9; /* Slate 100 */
--text-secondary: #cbd5e1; /* Slate 300 */
--text-muted: #64748b; /* Slate 500 */
--border: #334155; /* Slate 700 */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
}
/* System preference dark mode */
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) {
--bg-light: #0f172a;
--bg-white: #1e293b;
--bg-card: #1e293b;
--text-primary: #f1f5f9;
--text-secondary: #cbd5e1;
--text-muted: #64748b;
--border: #334155;
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family:
'Plus Jakarta Sans',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Helvetica,
Arial,
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: var(--bg-light);
color: var(--text-primary);
line-height: 1.6;
}
button {
font-family: inherit;
}
input,
select,
textarea {
font-family: inherit;
background: var(--bg-white);
color: var(--text-primary);
border-color: var(--border);
}
a {
color: var(--primary);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}