Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

2.0 KB
Raw Blame
/* Copyright 2026 Ix Infrastructure Inc. */

/* Brand tokens from ix-infra.com: navy background, #489AF1 accent, Inter. The
   docs are dark only, like the site (components/ThemeProvider.astro). */

:root {
  --sl-font: 'Inter Variable', system-ui, sans-serif;
  --sl-content-width: 48rem;
}

:root[data-theme='dark'] {
  --sl-color-accent-low: #10244a;
  --sl-color-accent: #489af1;
  --sl-color-accent-high: #c4dffb;
  --sl-color-white: #ffffff;
  --sl-color-gray-1: #e4e1de;
  --sl-color-gray-2: #c9c6c3;
  --sl-color-gray-3: #9aa3b8;
  --sl-color-gray-4: #5b6784;
  --sl-color-gray-5: #273758;
  --sl-color-gray-6: #121a3d;
  --sl-color-black: #0a0f2c;
}



.sl-link-button.primary {
  background: var(--sl-color-accent);
  border-color: var(--sl-color-accent);
  color: #ffffff;
}

/* The default current-page pill uses accent-high, which glares on navy. */
.sidebar-content a[aria-current='page'] {
  background-color: var(--sl-color-accent-low);
  color: var(--sl-color-accent-high);
  font-weight: 600;
}

/* The header, as ix-infra.com's nav: translucent navy over the page, blurred. */
:root[data-theme='dark'] {
  --sl-color-bg-nav: rgba(10, 15, 44, 0.82);
}
header.header {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(147, 207, 255, 0.12);
}

/* Scrolling, as on ix-infra.com: smooth, unless the visitor asked for less
   motion, and thin navy-tinted scrollbars rather than the browser's bright
   default, which Windows draws for the page and the sidebar side by side. */
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(147, 207, 255, 0.22) transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(147, 207, 255, 0.22);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(147, 207, 255, 0.36);
}