Skip to content

Rounded Corners

Set --radius once and the banner card, buttons, checkboxes, and tab pills all update together.

Control how rounded every interactive element feels — from a flat, corporate look at 0px through the default 8px, to a friendly 24px large radius, all the way to fully pill-shaped buttons with 9999px. Because --radius is a shared token, one change propagates to every component that uses it.

custom.css
/* ── Corner radius: choose one ─────────────────────────── */
.ag-banner {
/* Option A — Sharp / corporate (no rounding) */
/* --radius: 0px; */
/* Option B — Default Kookiok (balanced) */
/* --radius: 8px; */
/* Option C — Friendly / rounded */
--radius: 24px;
/* Option D — Pill (fully rounded) */
/* --radius: 9999px; */
/* Optional: match the banner card corner separately */
/* --radius-card: 16px; */
}
classic · dialog · center
classic · dialog · center
classic · dialog · center
  • --radius is consumed as-is by .ag-btn, .ag-detail-toggle, .ag-bar-cat, and the banner card itself.
  • The banner card uses --radius-card, which defaults to --radius. Override it separately if you want a rounder card but less-rounded buttons.
  • The pill value (9999px) works reliably even on elements much taller than they are wide — CSS clamps the effective radius to half the element’s shortest dimension.
  • Setting 0px disables rounding on every component simultaneously, giving a flat, no-border-radius appearance throughout.

Card rounded, buttons sharp — a common enterprise look where the container is soft but the calls-to-action are crisp:

.ag-banner {
--radius: 0px; /* buttons, checkboxes, tabs */
--radius-card: 16px; /* banner card only */
}

Medium pill buttons on a flat card:

.ag-banner {
--radius: 9999px; /* fully pill buttons */
--radius-card: 4px; /* slight rounding on card */
}

Match a design system — if your UI uses 6px everywhere:

.ag-banner {
--radius: 6px;
}

Changing --radius is a purely visual modification. No GDPR elements are hidden or de-emphasised — all buttons remain visible and equally styled.