refactor(ui): streamline Button component styles and remove CSS classes for improved consistency and maintainability

This commit is contained in:
Usman Baig
2026-01-22 22:29:30 +01:00
parent 14455e6a75
commit 4c7dc51db3
2 changed files with 12 additions and 11 deletions

View File

@@ -56,11 +56,5 @@
@layer components {
/* * Reusable component styles */
.btn-primary {
@apply bg-brand-orange text-white px-5 py-2.5 rounded-xl font-semibold shadow-sm shadow-orange-200 dark:shadow-none hover:shadow-orange-300 dark:hover:shadow-brand-orange/20 hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-brand-orange focus:ring-offset-2 dark:focus:ring-offset-neutral-900;
}
.btn-secondary {
@apply bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-800 text-neutral-900 dark:text-white px-5 py-2.5 rounded-xl font-medium hover:bg-neutral-50 dark:hover:bg-neutral-800 transition-all duration-200 shadow-sm hover:shadow-md dark:shadow-none focus:outline-none focus:ring-2 focus:ring-neutral-200 dark:focus:ring-neutral-700 focus:ring-offset-2 dark:focus:ring-offset-neutral-900;
}
/* * Button styles are now managed directly in the Button.tsx component to ensure consistency */
}