Skip to content

programmatic video rendering framework that is actually fast

832 B
Raw Blame
@import "tailwindcss";
/* ChatGPT design tokens: system colors, type scale, radii, shadows */
@import "@openai/apps-sdk-ui/css";
@source "./";

@theme {
  /* fframes brand orange: only on the primary action and the playhead, per the ChatGPT guidelines */
  --color-brand: #fb6a22;
  --color-brand-hover: #e25507;
  --color-brand-active: #c94a05;
  --color-on-brand: #ffffff;

  --animate-tooltip-in: tooltipIn 150ms var(--cubic-enter);

  @keyframes tooltipIn {
    from {
      opacity: 0;
      transform: scale(0.96);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

@layer base {
  html,
  body {
    margin: 0;
    background: var(--color-surface);
    /* The system font stack, never a custom font */
    font-family: var(--font-sans);
  }
}

@utility tabular {
  font-variant-numeric: tabular-nums;
}