#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
/* DIMENSIONS — single source for every non-colour length (spacing, radius, sizing, borders, z-index, shadow, type, motion). Theme-agnostic. */
:root {
/* ── Spacing — 4px grid. Canonical numeric scale + named aliases ── */
--space-0: 0;
--space-0_5: 0.125rem; /* 2px */
--space-1: 0.25rem; /* 4px */
--space-1_5: 0.375rem; /* 6px */
--space-2: 0.5rem; /* 8px */
--space-3: 0.75rem; /* 12px */
--space-4: 1rem; /* 16px */
--space-5: 1.25rem; /* 20px */
--space-6: 1.5rem; /* 24px */
--space-8: 2rem; /* 32px */
/* T-shirt aliases (legacy editor names) → the numeric scale above. */
--space-xs: var(--space-1); /* 4px */
--space-sm: var(--space-2); /* 8px */
--space-md: var(--space-4); /* 16px */
--space-lg: var(--space-6); /* 24px */
--space-xl: var(--space-8); /* 32px */
/* ── Radius — one coherent scale (resolves the 8px-vs-6px collision) ── */
--radius-xs: 2px;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--radius-pill: 9999px;
--radius-nav: 0.625rem;
--nav-gutter: 0.5rem;
/* Every minimised rail is this wide, so they line up as one column of icons. */
--nav-rail-w: 3rem;
/* Header row, so the rail's brand and a sidebar's wordmark line up. */
--nav-header-h: 3rem;
--sidebar-w: 16.25rem;
--sidebar-collapsed-w: var(--nav-rail-w);
/* ── Layout sizing ── */
--footer-height: 2rem;
--landing-stack-w: 224px;
--landing-stack-h: 176px;
/* --shadow-* is intentionally NOT defined here: editor (drop shadows) and SUI/portal (inset hairlines) reuse the name with different values. */
/* ── Typography ── */
--font-sans:
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
sans-serif;
--font-mono:
"SF Mono", "Fira Code", Menlo, Consolas, "DejaVu Sans Mono", monospace;
--font-brand: "Alumni Sans", "Inter", sans-serif;
--font-weight-medium: 500;
--font-weight-semibold: 600;
/* ── Motion ── */
--motion-fast: 0.15s ease;
--motion-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--motion-slow: 0.3s ease;
--motion-enter: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
--motion-spring: 0.22s cubic-bezier(0.32, 0.72, 0, 1);
--fullscreen-anim-duration-in: 0.28s;
--fullscreen-anim-duration-out: 0.22s;
/* The wings' slide on and off reading. HomePage waits this out before it
unmounts them, so the two stylesheets and the timer cannot drift. */
--wings-ms: 220ms;
/* ── Z-index ladder ── */
--z-dropdown: 25;
--z-drawer: 50;
--z-popover: 150;
--z-toast: 200;
/* Fullscreen tool-picker surfaces (editor) */
--z-fullscreen-icon-svg: 1;
--z-toolpicker-star: 1;
--z-fullscreen-surface: 1200;
}