mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
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:
@@ -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',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user