backend Create the foundational structure for managing design-system CSS with co-located sources and semantic tokens: - Add `cmd/buildstyles` to concatenate ordered CSS sources into a single shipped stylesheet - Define semantic color and effect tokens in `internal/web/ui/base.css` - Move primitive and catalog CSS sources from `static/css/` to co-located locations under `internal/web/ui/` - Update test contract to verify token presence and proper stylesheet generation - Regenerate `static/styles.css` with new semantic token layer and source annotations
33 lines
888 B
CSS
33 lines
888 B
CSS
.ui-badge {
|
|
border: 1px solid transparent;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
padding: 0.3rem 0.75rem;
|
|
}
|
|
|
|
.ui-badge-info {
|
|
background: var(--color-status-info-soft-bg);
|
|
border-color: var(--color-status-info-soft-border);
|
|
color: var(--color-status-info-foreground);
|
|
}
|
|
|
|
.ui-badge-warning {
|
|
background: var(--color-status-warning-soft-bg);
|
|
border-color: var(--color-status-warning-soft-border);
|
|
color: var(--color-status-warning-foreground);
|
|
}
|
|
|
|
.ui-badge-success {
|
|
background: var(--color-status-success-soft-bg);
|
|
border-color: var(--color-status-success-soft-border);
|
|
color: var(--color-status-success-foreground);
|
|
}
|
|
|
|
.ui-badge-danger {
|
|
background: var(--color-status-danger-soft-bg);
|
|
border-color: var(--color-status-danger-soft-border);
|
|
color: var(--color-status-danger-foreground);
|
|
}
|