59 lines
1.7 KiB
CSS
59 lines
1.7 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
--surface: #f9f9f6;
|
|
--sidebar-surface: #162a22;
|
|
--sidebar-surface-active: #2a4237;
|
|
--card-surface: #ffffff;
|
|
--card-border: #e8e6df;
|
|
--accent-ochre: #c89332;
|
|
--text-primary: #1c1e1d;
|
|
--text-muted: #78716c;
|
|
--status-normal-bg: #eaf5ed;
|
|
--status-normal-text: #2d6a4f;
|
|
--status-watch-bg: #fdf6e7;
|
|
--status-watch-text: #926a1d;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--surface);
|
|
color: var(--text-primary);
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
/* AgriTrade Mercantile Component Primitives */
|
|
.btn-primary {
|
|
@apply bg-sidebar-surface hover:bg-sidebar-active text-white text-sm font-medium px-4 py-2 rounded transition shadow-none disabled:opacity-50;
|
|
}
|
|
|
|
.btn-secondary {
|
|
@apply bg-white hover:bg-surface-low text-text-primary border border-card-border text-sm font-medium px-4 py-2 rounded transition shadow-none disabled:opacity-50;
|
|
}
|
|
|
|
.btn-accent {
|
|
@apply bg-accent-ochre hover:brightness-95 text-white text-sm font-semibold px-4 py-2 rounded transition shadow-none disabled:opacity-50;
|
|
}
|
|
|
|
.badge-pill-normal {
|
|
@apply inline-flex items-center px-2 py-0.5 rounded-full text-[0.6875rem] font-semibold tracking-wider uppercase bg-status-normal-bg text-status-normal-text;
|
|
}
|
|
|
|
.badge-pill-watch {
|
|
@apply inline-flex items-center px-2 py-0.5 rounded-full text-[0.6875rem] font-semibold tracking-wider uppercase bg-status-watch-bg text-status-watch-text;
|
|
}
|
|
|
|
.card-mercantile {
|
|
@apply bg-card-surface border border-card-border rounded p-6 shadow-none;
|
|
}
|
|
|
|
.callout-ochre {
|
|
@apply bg-status-watch-bg border-l-[3px] border-accent-ochre p-4 rounded-r;
|
|
}
|
|
}
|
|
|