- 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)
28 lines
598 B
CSS
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;
|
|
}
|