index.css 967 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @tailwind components;
  2. @layer components {
  3. .action-btn {
  4. @apply inline-flex justify-center items-center cursor-pointer text-text-tertiary hover:text-text-secondary hover:bg-state-base-hover
  5. }
  6. .action-btn-hover {
  7. @apply bg-state-base-hover
  8. }
  9. .action-btn-disabled {
  10. @apply cursor-not-allowed
  11. }
  12. .action-btn-xl {
  13. @apply p-2 w-9 h-9 rounded-lg
  14. }
  15. .action-btn-l {
  16. @apply p-1.5 w-8 h-8 rounded-lg
  17. }
  18. /* m is for the regular button */
  19. .action-btn-m {
  20. @apply p-0.5 w-6 h-6 rounded-lg
  21. }
  22. .action-btn-xs {
  23. @apply p-0 w-4 h-4 rounded
  24. }
  25. .action-btn.action-btn-active {
  26. @apply text-text-accent bg-state-accent-active hover:bg-state-accent-active-alt
  27. }
  28. .action-btn.action-btn-disabled {
  29. @apply text-text-disabled
  30. }
  31. .action-btn.action-btn-destructive {
  32. @apply text-text-destructive bg-state-destructive-hover
  33. }
  34. }