← Files Daybreak Defense FactoryARCHIVED FILE

.internal/defense-factory-ui/src/theme.css

2.14 KB · Nov 27, 2026 · 12:13 UTC

↓ Download file

See the change to this file →

/* The iframe bundles its fallback fonts independently of the host. */
@font-face {
  font-family: "OpenAI Sans";
  src: url("@defense-factory/fonts/OpenAISans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenAI Sans";
  src: url("@defense-factory/fonts/OpenAISans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "OpenAI Sans";
  src: url("@defense-factory/fonts/OpenAISans-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@theme {
  --animate-finding-status-streak: finding-status-streak 24s linear infinite;

  @keyframes finding-status-streak {
    from {
      transform: matrix(0.759951, -0.613854, 0.759951, 0.613854, 0, 0)
        translateY(0);
    }
    to {
      transform: matrix(0.759951, -0.613854, 0.759951, 0.613854, 0, 0)
        translateY(37.14941px);
    }
  }

  --font-sans: "OpenAI Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", menlo, consolas,
    "Liberation Mono", monospace;
  --shadow-sm: 0 1px 2px -1px rgb(0 0 0 / 8%);
  --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 8%);
  --shadow-lg: 0 4px 8px -2px rgb(0 0 0 / 10%);
  --shadow-xl: 0 8px 16px -4px rgb(0 0 0 / 12%);
  --shadow-2xl: 0 16px 32px -8px rgb(0 0 0 / 19%);
}

/* Retain the slightly softened corners of the current UI where supported. */
@supports (corner-shape: superellipse(1.5)) {
  :root {
    --radius-md: 10px;
    --radius-lg: 12.5px;
    --radius-xl: 15px;
    --radius-2xl: 20px;
    --radius-3xl: 25px;
    --radius-4xl: 30px;
  }

  :is(
      .rounded-md,
      .rounded-lg,
      .rounded-xl,
      .rounded-2xl,
      .rounded-3xl,
      .rounded-4xl
    ) {
    corner-shape: superellipse(1.5);
  }
}

body {
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-normal);
  padding: 0;
}

::selection {
  background: var(--color-background-info-soft);
  color: var(--color-text);
}

code,
pre {
  font-family: var(--font-mono);
}

SHA-256: 5ac4e224bf69ea177542371ada36e4f805c0a6206646decbe3ca2901923f7ae0