<div id="app" data-inert-when-modal>
<button type="button" id="open-settings">Open settings</button>
</div>
<div class="overlay" hidden>
<div
role="dialog"
aria-modal="true"
aria-labelledby="dlg-title"
aria-describedby="dlg-desc"
tabindex="-1"
>
<h2 id="dlg-title">Settings</h2>
<p id="dlg-desc">Changes apply to this session only.</p>
<button type="button" data-close>Close</button>
<button type="button" data-primary>Save</button>
</div>
</div>
:root {
--color-bg: #0b0d10;
--color-surface: #14181f;
--color-surface-raised: #1c232e;
--color-border: #2a3342;
--color-text: #f4f6f8;
--color-text-muted: #9aa6b2;
--color-brand: #5b8cff;
--color-brand-hover: #7aa0ff;
--color-danger: #f07178;
--color-success: #6ee7b7;
}
:root {
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 24px;
--space-6: 32px;
--space-8: 48px;
--space-10: 64px;
}
:root {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
--text-xs: 12px;
--text-sm: 14px;
--text-md: 16px;
--text-lg: 20px;
--text-xl: 24px;
--leading-tight: 1.25;
--leading-normal: 1.5;
--weight-regular: 400;
--weight-medium: 500;
--weight-semibold: 600;
}
:root {
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-full: 9999px;
--shadow-sm: 0 1px 2px rgb(0 0 0 / 0.24);
--shadow-md: 0 8px 24px rgb(0 0 0 / 0.32);
--z-dropdown: 40;
--z-modal: 50;
--z-toast: 60;
}
:root {
--page-max: 1120px;
--page-gutter: 24px;
--sidebar-width: 256px;
--header-height: 56px;
--control-height: 40px;
}
.page {
max-width: var(--page-max);
margin-inline: auto;
padding-inline: var(--page-gutter);
}
.control {
min-height: var(--control-height);
}