xtablo-source/go-backend/internal/web/ui/form-field.css
Arthur Belleville 8bcf81a3f1
Add co-located CSS sources and semantic token infrastructure to Go
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
2026-05-10 11:47:42 +02:00

22 lines
342 B
CSS

.ui-form-field {
display: grid;
gap: 0.5rem;
}
.ui-form-label {
color: var(--color-text-primary);
font-size: 0.95rem;
font-weight: 600;
}
.ui-form-hint {
color: var(--color-text-muted);
font-size: 0.875rem;
margin: 0;
}
.ui-form-error {
color: var(--color-status-danger-foreground);
font-size: 0.875rem;
margin: 0;
}