/* ============================================================================ Phoenix docs — 2026 brand Shares the Arize AX docs design system (neutral ramp, surfaces, radii, Geist, component treatments) but keeps Phoenix's own cyan accent, per the `[data-mode="phoenix"]` block in the brand token set. Accent colours come from docs.json `colors`, not this file: colors.primary -> emphasis in light mode (#00769E) colors.light -> emphasis in dark mode (#39C7FF) colors.dark -> button/hover fills, both modes (#009DD2) The token set defines Phoenix as dark-only, so light-mode values are derived. The brand cyan #009DD2 is only 3.1:1 on white, so light-mode emphasis uses a darkened #00769E — 5.1:1 on the page and 4.6:1 on the accent-soft pill. Mintlify injects its theme into `:root` as space-separated RGB triples consumed via `rgb(var(--x))`, so overrides here use triples, not hex. Its component hooks (`card`, `callout`, `code-block`, …) are class names despite being documented as element selectors. ========================================================================== */ @import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600&display=swap'); /* -------------------------------------------------------------------------- 1. Fonts — Geist comes from docs.json; there is no config slot for mono. -------------------------------------------------------------------------- */ html:root { --font-family-mono-custom: 'Geist Mono'; } /* -------------------------------------------------------------------------- 2. Neutral ramp Drives surfaces, hairlines and body/muted text across the whole bundle. Mintlify otherwise derives this from `colors.primary`, which tints every neutral. Each stop serves light mode and dark mode inversely. The 400, 900 and 950 stops are the token set's own Phoenix values. -------------------------------------------------------------------------- */ html:root { --gray-50: 247 247 248; /* #F7F7F8 light: surface · dark: brightest text */ --gray-100: 241 242 243; /* #F1F2F3 light: code bg · dark: body text */ --gray-200: 228 229 232; /* #E4E5E8 light: chip, rule · dark: secondary text */ --gray-300: 201 203 208; /* #C9CBD0 light: strong border */ --gray-400: 161 164 171; /* #A1A4AB light: placeholder · dark: muted text */ --gray-500: 124 128 136; /* #7C8088 */ --gray-600: 86 90 98; /* #565A62 light: muted text */ --gray-700: 61 64 70; /* #3D4046 light: tertiary text */ --gray-800: 43 45 49; /* #2B2D31 light: body text · dark: hairline */ --gray-900: 21 22 22; /* #151616 light: headings · dark: surface */ --gray-950: 8 9 10; /* #08090A light: headings · dark: page bg */ } /* -------------------------------------------------------------------------- 3. Design tokens Section 4 reads only from here, so retuning the palette means editing only this section. -------------------------------------------------------------------------- */ html:root { --px-radius-sm: 2px; --px-radius-md: 6px; --px-radius-lg: 8px; --px-accent-bg: #009DD2; } html:not(.dark) { --px-bg: #FFFFFF; --px-surface: #F7F7F8; --px-code-bg: #F1F2F3; --px-chip: #E9EAEC; --px-line: rgba(8, 9, 10, 0.18); --px-t1: #08090A; --px-t2: #2B2D31; --px-t3: #3D4046; --px-accent: #00769E; /* darkened from the brand cyan, for AA on white */ --px-accent-line: rgba(0, 157, 210, 0.55); --px-accent-soft: #E7F3FD; --px-on-accent: #08090A; --px-note: #E8F3EC; --px-note-line: rgba(30, 70, 50, 0.24); --px-note-t: #1B4230; --px-warn: #FBEEE0; --px-warn-line: rgba(90, 50, 0, 0.24); --px-warn-t: #54300A; --px-blue: #E7F3FD; --px-blue-line: rgba(0, 82, 125, 0.24); --px-blue-t: #00527D; --px-danger: #FFEBE9; --px-danger-line: rgba(207, 34, 46, 0.28); --px-danger-t: #A40E26; } html.dark { --px-bg: #08090A; --px-surface: #151616; --px-code-bg: #050506; --px-chip: #1E2226; --px-line: rgba(194, 196, 234, 0.20); --px-t1: #FFFFFF; --px-t2: #D5D7DB; --px-t3: #A1A4AB; --px-accent: #39C7FF; --px-accent-line: rgba(57, 199, 255, 0.45); --px-accent-soft: #122F3B; --px-on-accent: #08090A; --px-note: #10241A; --px-note-line: rgba(159, 224, 188, 0.30); --px-note-t: #9FE0BC; --px-warn: #2A1B0A; --px-warn-line: rgba(255, 201, 138, 0.30); --px-warn-t: #FFC98A; --px-blue: #0A1A24; --px-blue-line: rgba(57, 195, 255, 0.30); --px-blue-t: #97D8FF; --px-danger: #2A0F12; --px-danger-line: rgba(255, 138, 148, 0.30); --px-danger-t: #FFB3B8; } /* -------------------------------------------------------------------------- 4. Components -------------------------------------------------------------------------- */ /* --- Type ---------------------------------------------------------------- */ /* The H1 is the only size set here; everything else keeps Mintlify's responsive scale. Note that card titles are also