@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../../static/fonts/GeistVariable.woff2") format("woff2"); } @font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../static/fonts/JetBrainsMono-Regular.woff2") format("woff2"); } @font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../static/fonts/JetBrainsMono-Medium.woff2") format("woff2"); } /* Light tokens follow the editor's githubLight theme, dark ones githubDark. */ :root { --cp-bg: #fcfcfd; --cp-bg-raise: #ffffff; --cp-surface: #f6f8fa; --cp-surface-2: #eef1f4; --cp-border: rgba(31, 35, 40, 0.1); --cp-border-strong: rgba(31, 35, 40, 0.2); --cp-text: #1f2328; --cp-muted: #656d76; --cp-faint: #8c959f; --cp-accent: #bc4c00; --cp-accent-hover: #953800; --cp-accent-soft: rgba(188, 76, 0, 0.1); --cp-accent-contrast: #ffffff; --cp-link: #0969da; --cp-glow: rgba(240, 136, 62, 0.16); --cp-hi: rgba(255, 255, 255, 0.8); --cp-sel: #0969da33; --cp-sm: #ffd33d66; --cp-sma: #ffb70099; --cp-err: #cf222e; --cp-shadow: 0 40px 100px -40px rgba(31, 35, 40, 0.35); --cp-k: #cf222e; --cp-s: #0a3069; --cp-n: #0550ae; --cp-f: #8250df; --cp-t: #953800; --cp-g: #116329; --cp-c: #59636e; --cp-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --cp-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --cp-radius: 12px; --ifm-color-primary: var(--cp-link); --ifm-color-primary-dark: #0860c4; --ifm-color-primary-darker: #075bb9; --ifm-color-primary-darkest: #064b98; --ifm-color-primary-light: #1a78e0; --ifm-color-primary-lighter: #2580e2; --ifm-color-primary-lightest: #4a95e8; --ifm-background-color: var(--cp-bg); --ifm-background-surface-color: var(--cp-surface); --ifm-font-color-base: var(--cp-text); --ifm-color-content-secondary: var(--cp-muted); --ifm-color-emphasis-200: var(--cp-border); --ifm-color-emphasis-300: var(--cp-border); --ifm-toc-border-color: var(--cp-border); --ifm-hr-border-color: var(--cp-border); --ifm-table-border-color: var(--cp-border); --ifm-table-head-background: var(--cp-surface); --ifm-table-stripe-background: transparent; --ifm-font-family-base: var(--cp-sans); --ifm-font-family-monospace: var(--cp-mono); --ifm-font-size-base: 100%; --ifm-line-height-base: 1.6; --ifm-code-font-size: 0.875rem; --ifm-heading-font-weight: 600; --ifm-h1-font-size: 2.25rem; --ifm-h2-font-size: 1.5rem; --ifm-h3-font-size: 1.125rem; --ifm-navbar-background-color: color-mix(in srgb, var(--cp-bg) 78%, transparent); --ifm-navbar-shadow: none; --ifm-navbar-height: 65px; --ifm-global-shadow-lw: none; --ifm-global-shadow-md: none; --ifm-global-shadow-tl: none; --ifm-code-background: var(--cp-surface); --ifm-pre-background: var(--cp-surface); --ifm-menu-color: var(--cp-text); --ifm-menu-color-active: var(--cp-accent); --ifm-menu-color-background-active: var(--cp-accent-soft); --ifm-menu-color-background-hover: var(--cp-surface); --ifm-link-color: var(--cp-link); --ifm-link-hover-color: var(--cp-accent); --ifm-link-hover-decoration: none; --ifm-breadcrumb-color-active: var(--cp-text); --ifm-breadcrumb-item-background-active: var(--cp-surface); --ifm-alert-border-width: 0; --ifm-alert-border-left-width: 3px; --docusaurus-highlighted-code-line-bg: color-mix(in srgb, var(--cp-link) 14%, transparent); } /* Infima defines its dark variables on html[data-theme], so the override needs that specificity. */ html[data-theme="dark"] { --cp-bg: #0d1117; --cp-bg-raise: #0f141b; --cp-surface: #161b22; --cp-surface-2: #1c222b; --cp-border: rgba(240, 246, 252, 0.1); --cp-border-strong: rgba(240, 246, 252, 0.2); --cp-text: #e6edf3; --cp-muted: #8b949e; --cp-faint: #6e7681; --cp-accent: #f0883e; --cp-accent-hover: #ffa657; --cp-accent-soft: rgba(240, 136, 62, 0.14); --cp-accent-contrast: #0d1117; --cp-link: #58a6ff; --cp-glow: rgba(240, 136, 62, 0.2); --cp-hi: rgba(255, 255, 255, 0.04); --cp-sel: #388bfd66; --cp-sm: #9e6a0366; --cp-sma: #d2992299; --cp-err: #f85149; --cp-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85); --cp-k: #ff7b72; --cp-s: #a5d6ff; --cp-n: #79c0ff; --cp-f: #d2a8ff; --cp-t: #ffa657; --cp-g: #7ee787; --cp-c: #8b949e; --ifm-color-primary: var(--cp-link); --ifm-color-primary-dark: #3d95ff; --ifm-color-primary-darker: #2f8dff; --ifm-color-primary-darkest: #0a78ff; --ifm-color-primary-light: #73b7ff; --ifm-color-primary-lighter: #81bfff; --ifm-color-primary-lightest: #abd3ff; --ifm-background-color: var(--cp-bg); --ifm-background-surface-color: var(--cp-surface); --ifm-font-color-base: var(--cp-text); --ifm-color-content-secondary: var(--cp-muted); --ifm-color-emphasis-200: var(--cp-border); --ifm-color-emphasis-300: var(--cp-border); --ifm-toc-border-color: var(--cp-border); --ifm-hr-border-color: var(--cp-border); --ifm-table-border-color: var(--cp-border); --ifm-table-head-background: var(--cp-surface); --ifm-code-background: var(--cp-surface); --ifm-pre-background: var(--cp-surface); --ifm-menu-color-background-active: var(--cp-accent-soft); --ifm-menu-color-background-hover: var(--cp-surface); } html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } body { font-feature-settings: "ss01", "cv11"; transition: background-color 0.4s ease, color 0.4s ease; } ::selection { background: var(--cp-accent-soft); } h1, h2, h3, h4 { letter-spacing: -0.02em; text-wrap: balance; } p { text-wrap: pretty; } @keyframes cpBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } } /* Navbar: the content is src/theme/Navbar/Content; it wraps on a phone instead of folding into a drawer. */ .navbar { height: auto; padding: 0; border-bottom: 1px solid var(--cp-border); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); } html.plugin-docs .navbar { background-color: color-mix(in srgb, var(--cp-bg) 80%, transparent); } /* Docs content */ .markdown { --ifm-line-height-base: 1.65; } /* The paragraph under the page header reads as its introduction. */ .markdown > header + p { color: var(--cp-muted); } .markdown > h2 { margin: 56px 0 14px; font-size: 26px; letter-spacing: -0.03em; font-weight: 600; } .markdown > h3 { margin-top: 2rem; } .markdown li + li { margin-top: 0.35rem; } /* A link inside prose is underlined, so color is not its only cue. */ .markdown :is(p, li, td, th) > a:not(.hash-link) { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; } code { border: 1px solid var(--cp-border); border-radius: 6px; padding: 1px 6px; background: var(--cp-surface-2); color: var(--cp-text); font-weight: 400; font-size: 0.86em; vertical-align: baseline; } /* Inline values take their syntax color (src/theme/MDXComponents). */ .cp-code-n { color: var(--cp-n); } .cp-code-s { color: var(--cp-s); } pre code { border: 0; padding: 0; font-weight: 400; color: inherit; } /* An identifier in the table of contents reads as mono text, like a heading. */ .table-of-contents code { border: 0; padding: 0; background: transparent; } /* An identifier as a heading reads as mono text, not as a pill. */ .markdown h1 code, .markdown h2 code, .markdown h3 code, .markdown h4 code { border: 0; padding: 0; background: transparent; font-size: 0.92em; font-weight: 600; } /* Code blocks share the redesign's code cards: radius 18, mono 13.5 on 24 px rows. */ .theme-code-block { border: 1px solid var(--cp-border); border-radius: 18px; overflow: hidden; box-shadow: none; } .theme-code-block pre, .prism-code { font-size: 13.5px; line-height: 24px; } [class*="codeBlockTitle"] { font-family: var(--cp-mono); font-size: 0.78rem; color: var(--cp-muted); background: var(--cp-surface-2); border-bottom: 1px solid var(--cp-border); } .tabs { border-bottom: 1px solid var(--cp-border); margin-bottom: 1rem; } .tabs__item { font-size: 0.9rem; padding: 0.5rem 0.9rem; border-bottom-width: 2px; border-radius: 0; } .tabs__item--active { color: var(--cp-text); border-bottom-color: var(--cp-accent); } .theme-admonition { border-radius: var(--cp-radius); box-shadow: none; } table { display: table; width: 100%; margin-bottom: 0; font-size: 0.9375rem; } /* The focusable scroll container around every Markdown table (src/theme/MDXComponents). */ .table-scroll { max-width: 100%; overflow-x: auto; margin-bottom: var(--ifm-spacing-vertical); } .table-scroll:focus-visible { outline: 2px solid var(--cp-link); outline-offset: 2px; } /* A name in a table cell stays on one line; the container scrolls instead. */ .markdown .table-scroll code { white-space: nowrap; } table th { font-weight: 600; text-align: left; } /* Secondary links reach 44 px on a coarse pointer, as layout. */ @media (pointer: coarse) { [class*="searchQueryInput"] { min-height: 44px; } .table-scroll td > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; } } /* Lines marked with the diff-add and diff-remove magic comments. */ .code-block-diff-add, .code-block-diff-remove { display: block; margin: 0 calc(-1 * var(--ifm-pre-padding)); padding: 0 var(--ifm-pre-padding); } .code-block-diff-add { background-color: rgba(63, 185, 80, 0.16); border-left: 3px solid #3fb950; } .code-block-diff-remove { background-color: rgba(248, 81, 73, 0.16); border-left: 3px solid #f85149; } /* The redesigned pages size boxes the way their design files do: content-box unless a rule says otherwise. */ :where(.cp-redesign *) { box-sizing: content-box; } :where(.cp-redesign button) { box-sizing: border-box; font: inherit; } /* Touch targets on the redesigned pages reach 44 px through their hit area, not their drawn size. */ @media (pointer: coarse) { :where(.cp-redesign) :is(a, button) { position: relative; } :where(.cp-redesign) :is(a, button)::after { content: ""; position: absolute; inset: min(0px, calc(50% - 22px)); } } /* Docs controls drawn under 44 px get their touch target from a hit area. */ @media (pointer: coarse) { :where(.cp-touch) :is(a, button) { position: relative; } :where(.cp-touch) :is(a, button)::after { content: ""; position: absolute; inset: min(0px, calc(50% - 22px)); } } /* Under reduced motion the redesigned pages show their final states: no carets blink, nothing loops. */ @media (prefers-reduced-motion: reduce) { .cp-redesign *, .cp-redesign *::before, .cp-redesign *::after { /* biome-ignore lint/complexity/noImportantStyles: beats the inline and module loops it stops */ animation: none !important; } }