refactor(theming): blue → accent in PageLoader + ButtonsTab style picker

This commit is contained in:
c0mrade
2026-05-26 11:25:27 +03:00
parent 9bb1c2339a
commit a2efb7aa48
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ type StyleValue = 'primary' | 'success' | 'danger' | 'default';
const STYLE_OPTIONS: { value: StyleValue; colorClass: string }[] = [ const STYLE_OPTIONS: { value: StyleValue; colorClass: string }[] = [
{ value: 'default', colorClass: 'bg-dark-500' }, { value: 'default', colorClass: 'bg-dark-500' },
{ value: 'primary', colorClass: 'bg-blue-500' }, { value: 'primary', colorClass: 'bg-accent-500' },
{ value: 'success', colorClass: 'bg-success-500' }, { value: 'success', colorClass: 'bg-success-500' },
{ value: 'danger', colorClass: 'bg-error-500' }, { value: 'danger', colorClass: 'bg-error-500' },
]; ];
@@ -227,7 +227,7 @@ export function ButtonsTab() {
? 'bg-success-500 text-white' ? 'bg-success-500 text-white'
: cfg.style === 'danger' : cfg.style === 'danger'
? 'bg-error-500 text-white' ? 'bg-error-500 text-white'
: 'bg-blue-500 text-white' : 'bg-accent-500 text-white'
}`} }`}
> >
{t(`admin.buttons.styles.${cfg.style}`)} {t(`admin.buttons.styles.${cfg.style}`)}

View File

@@ -3,7 +3,7 @@ interface PageLoaderProps {
} }
export default function PageLoader({ variant = 'dark' }: PageLoaderProps) { export default function PageLoader({ variant = 'dark' }: PageLoaderProps) {
const spinnerColor = variant === 'dark' ? 'border-accent-500' : 'border-blue-500'; const spinnerColor = variant === 'dark' ? 'border-accent-500' : 'border-accent-500';
return ( return (
<div className="min-h-viewport flex items-center justify-center"> <div className="min-h-viewport flex items-center justify-center">