refactor(theming): replace amber-* with warning-* tokens

Sweep all amber-N color classes to warning-N (uniformly pending/warning semantics).
Yellow and orange left for per-file review (mixed Stars brand + semantic uses).
This commit is contained in:
c0mrade
2026-05-26 11:10:50 +03:00
parent cb7693e3ff
commit bd8a4fad6e
14 changed files with 45 additions and 41 deletions

View File

@@ -190,7 +190,7 @@ function StatusBadge({ status, label }: StatusBadgeProps) {
const colorMap: Record<string, string> = {
success: 'bg-success-500/20 text-success-400',
denied: 'bg-error-500/20 text-error-400',
error: 'bg-amber-500/20 text-amber-400',
error: 'bg-warning-500/20 text-warning-400',
};
return (
@@ -210,8 +210,8 @@ function MethodBadge({ method }: MethodBadgeProps) {
const colorMap: Record<string, string> = {
GET: 'bg-blue-500/20 text-blue-400',
POST: 'bg-success-500/20 text-success-400',
PUT: 'bg-amber-500/20 text-amber-400',
PATCH: 'bg-amber-500/20 text-amber-400',
PUT: 'bg-warning-500/20 text-warning-400',
PATCH: 'bg-warning-500/20 text-warning-400',
DELETE: 'bg-error-500/20 text-error-400',
};