1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* Badge component — shadcn-quality solid-color pills */
.mui-badge {
display: inline-flex;
align-items: center;
justify-content: center;
height: 1.375rem;
padding: 0 0.625rem;
font-size: 0.75rem;
font-weight: 500;
line-height: 1;
white-space: nowrap;
border: 1px solid transparent;
border-radius: var(--mui-radius-full);
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* Default — accent solid */
.mui-badge--default {
background-color: var(--mui-accent);
color: var(--mui-accent-fg);
}
/* Secondary — muted bg, normal text */
.mui-badge--secondary {
background-color: var(--mui-bg-input);
border-color: var(--mui-border);
color: var(--mui-text-muted);
}
/* Success — solid green, white text */
.mui-badge--success {
background-color: var(--mui-success);
color: #fff;
}
/* Warning — solid amber, white text for contrast */
.mui-badge--warning {
background-color: var(--mui-warning);
color: #fff;
}
/* Danger / destructive — solid red, white text */
.mui-badge--danger {
background-color: var(--mui-danger);
color: #fff;
}
/* Outline — transparent bg, border, text inherits */
.mui-badge--outline {
background-color: transparent;
border-color: var(--mui-border);
color: var(--mui-text);
}