Design System Reference ======================== This document describes the visual conventions used across aclarknet's dashboard and public-facing templates. Color Palette ------------- Colors are defined as CSS custom properties in the base template and design preview page: .. list-table:: :header-rows: 1 :widths: 20 20 60 * - Variable - Value - Usage * - ``--brand`` - ``#1997c6`` - Primary brand blue; links, icons, highlights * - ``--dark`` - ``#0f2b3d`` - Dark navy; headings, nav background, footer * - ``--light`` - ``#f8f9fa`` - Off-white; section backgrounds, card backgrounds Bootstrap utility classes are preferred over custom colors wherever possible (``text-muted``, ``bg-light``, ``border``, etc.). Buttons ------- .. list-table:: :header-rows: 1 :widths: 30 70 * - Class - Usage * - ``btn-primary`` - Primary actions (save, submit, confirm) * - ``btn-outline-primary`` - Secondary actions (edit, view, cancel) * - ``btn-outline-danger`` - Destructive actions (delete, remove) * - ``btn-sm`` - Inline table/card actions Avoid custom button variants. The ``btn-outline-dashboard`` and ``btn-outline-secondary`` classes were removed during the design unification pass. Typography ---------- - **Font**: Inter (loaded via Google Fonts) - **Headings**: ``fw-bold``, Bootstrap heading scale (``h1``–``h5``) - **Body**: default Bootstrap sizing (1rem / 16px) - **Small/meta text**: ``small`` or ``text-muted`` - **Section eyebrows**: ``section-eyebrow`` class — small caps, tracked, muted color above section headings Spacing ------- - Section padding: ``py-5`` (3rem top/bottom) - Card inner padding: ``p-4`` - List/grid gaps: ``g-3`` or ``g-4`` - Inline element margin: ``mb-3`` or ``my-3`` Avoid ad-hoc ``mt-5 mb-3`` combinations; prefer symmetric ``my-3``. Cards ----- Standard card pattern::