# xspeed/1.1.4/assets/theme.css

xSpeed Cache: AI-Powered Performance Hub with MCP, Caching &amp; CDN, version 1.1.4. 114 lines.

- Page: https://pluginprobe.com/plugins/xspeed/1.1.4/code/assets/theme.css
- Raw: https://pluginprobe.com/plugins/xspeed/1.1.4/raw/assets/theme.css
- Modified: 2026-08-05T12:06:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/xspeed/1.1.4/code/assets/theme.css#L10-L20`.

```css
/**
 * xSpeed dashboard design tokens + self-hosted fonts (redesign v2).
 *
 * Lives in public/ (copied verbatim to assets/ by Vite on build — NOT bundled)
 * so the @font-face url('./fonts/…') references resolve relative to
 * assets/theme.css → assets/fonts/…, and so the CSS variables are available to
 * BOTH the Tailwind utilities in admin.css and every React component. Scoped to
 * #xspeed-app; dark overrides ride the existing `.dark` class that useTheme
 * (and PHP's server-side pre-paint) toggles.
 *
 * Fonts are Latin-subset woff2 (Inter 400/500/600, Space Grotesk 500/600/700,
 * JetBrains Mono 400/500) — admin-only, ~168 KB total, font-display: swap.
 */

/* ---- Self-hosted fonts ------------------------------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/space-grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/space-grotesk-600.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/space-grotesk-700.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/jetbrains-mono-500.woff2') format('woff2'); }

/* ---- Design tokens (light) --------------------------------------------- */
#xspeed-app {
  /* Interactive — muted teal */
  --primary: #2AA7A0;
  --primary-hover: #1E9089;
  --primary-tint: #E6F5F3;
  --on-primary: #FFFFFF;
  /* Text/heading colour for content sitting ON a primary/info tint. */
  --on-tint: #1E8079;
  --primary-glow: 0 2px 12px rgba(42, 167, 160, .30);

  /* Surfaces */
  --canvas: #FBFBFC;
  --paper: #FFFFFF;
  --panel: #F5F6F8;
  --line: #E6E8EC;
  --line-strong: #D8DCE3;

  /* Text */
  --text: #0E0F13;
  --text-secondary: #5C6270;
  --muted: #8A909D;
  --faint: #A2A8B4;

  /* Semantic (color + tint) */
  --success: #10B981;
  --success-tint: #E9F7F1;
  --warning: #F59E0B;
  --warning-tint: #FEF4E6;
  --danger: #EF4444;
  --danger-tint: #FDECEC;
  --info: #2AA7A0;
  --info-tint: #E6F5F3;

  /* Deep-sea rail (deliberately not near-black, to separate from WP's menu) */
  --rail-top: #14211F;
  --rail-bottom: #0D1615;
  --rail-text: #9FADAB;
  --rail-edge: rgba(255, 255, 255, .06);

  /* Type families */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Shape */
  --radius-card: 12px;
  --radius-control: 8px;
  --radius-pill: 999px;

  font-family: var(--font-sans);
  color: var(--text);
}

/* ---- Design tokens (dark) — rides the existing .dark class -------------- */
#xspeed-app.dark {
  --canvas: #0E0F13;
  --paper: #16181D;
  --panel: #1B1E24;
  --line: #282C34;
  --line-strong: #333845;
  --text: #E7E9EE;
  --text-secondary: #9AA1AE;
  --muted: #7E8593;
  --faint: #6A707D;
  /* Teal, a touch lighter so it reads on the dark surfaces. */
  --primary: #34C0B7;
  --primary-hover: #2AA7A0;
  --primary-tint: #0E2622;
  --on-tint: #7FD8CF;
  --info: #34C0B7;
  --info-tint: #0E2622;
  --success-tint: #12251F;
  --warning-tint: #251C0F;
  --danger-tint: #2A1516;
}

/* ---- Signature motion (used by the shell + later screens) -------------- */
@keyframes xspeed-boltpulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
@keyframes xspeed-sweep { 0% { background-position: -220px 0; } 100% { background-position: 320px 0; } }
@keyframes xspeed-ringfill { from { stroke-dashoffset: 326.7; } to { stroke-dashoffset: 26.1; } }

/* Signature-motion utility classes (reduced-motion aware via the rule below). */
.xspeed-anim-boltpulse { animation: xspeed-boltpulse 1.8s ease-in-out infinite; }
.xspeed-anim-sweep { background-size: 220px 100%; animation: xspeed-sweep 1.5s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  #xspeed-app [class*="xspeed-anim"] { animation: none !important; }
}

```
