xtablo-source/backend/internal/web/ui/base.css
Arthur Belleville 1ff8e681da feat(01-02): add ui package enums, helpers, base CSS
- tokens.go: semantic token constants
- variants.go: Size/ButtonVariant/ButtonTone/BadgeVariant enums + Normalized*
- helpers.go: mergeAttrs for templ.Attributes
- base.css: resets, :focus-visible ring (no nesting)
2026-05-14 18:45:15 +02:00

28 lines
598 B
CSS

/* base.css — global resets and accessibility floor for the design system.
* Plain CSS only (no @apply, no nesting) so the file is consumable by both
* Tailwind v4 standalone (with @source scanning Go files) and any other
* downstream CSS pipeline.
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
color: #0f172a;
background-color: #ffffff;
}
:focus-visible {
outline: 2px solid #2563eb;
outline-offset: 2px;
}