index.css 836 B

1234567891011121314151617181920212223242526272829303132333435
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @layer base {
  5. body {
  6. @apply bg-gray-50 text-gray-900 antialiased;
  7. }
  8. }
  9. @layer components {
  10. .btn {
  11. @apply px-4 py-2 rounded-lg font-medium transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2;
  12. }
  13. .btn-primary {
  14. @apply bg-primary-600 text-white hover:bg-primary-700 focus:ring-primary-500;
  15. }
  16. .btn-secondary {
  17. @apply bg-gray-200 text-gray-800 hover:bg-gray-300 focus:ring-gray-500;
  18. }
  19. .btn-danger {
  20. @apply bg-red-600 text-white hover:bg-red-700 focus:ring-red-500;
  21. }
  22. .input {
  23. @apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent;
  24. }
  25. .card {
  26. @apply bg-white rounded-xl shadow-sm border border-gray-200;
  27. }
  28. }