dev1/src/index.css
2025-06-30 13:20:18 +00:00

42 lines
1.0 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* index.css Aptiva base layer */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* --- 1) BODY RESET/COLOURS ------------------------------- */
@layer base {
body {
@apply bg-aptiva-gray text-gray-900 antialiased;
}
h1, h2, h3 {
@apply font-semibold text-gray-800;
}
}
/* --- 2) REUSABLE COMPONENT CLASSES ----------------------- */
@layer components {
/* Primary button */
.btn-primary {
@apply inline-flex items-center gap-2
rounded-xl bg-aptiva hover:bg-aptiva-dark
text-white font-medium px-4 py-2
shadow transition disabled:opacity-50;
}
/* Secondary outline button */
.btn-outline {
@apply inline-flex items-center gap-2
rounded-xl border border-aptiva text-aptiva
px-4 py-2 hover:bg-aptiva-light/10;
}
/* Card container */
.card {
@apply rounded-xl bg-white shadow p-6;
}
}
/* --- 3) OPTIONAL UTILITIES -------------------------------- */
/* Example: .scrollbar-thin from tailwind-scrollbar plugin */
/* … */