Skip to content

🎥 Make videos programmatically with React

1.0 KB
Raw Blame
@import url("https://rsms.me/inter/inter.css");
@import "tailwindcss";

@theme {
  --font-sans: "InterVariable", Arial, sans-serif;
  --font-sans--font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  --color-ink: #202020;
  --color-muted: #636363;
  --color-accent: #c34228;
}

@utility transparency-grid {
  background-image: repeating-conic-gradient(
    color-mix(in srgb, var(--color-ink) 5%, transparent) 0% 25%,
    transparent 0% 50%
  );
  background-size: 16px 16px;
}

@layer base {
  html:has([data-caption-picker="true"]),
  html:has([data-caption-picker="true"]) body {
    background: transparent;
    color-scheme: dark;
  }

  [data-caption-picker="true"] {
    --color-ink: #f5f5f5;
    --color-muted: #a3a3a3;
    --color-accent: #f49982;
  }

  body {
    @apply m-0 bg-white font-sans text-ink;
  }

  button,
  summary {
    @apply cursor-pointer;
  }

  button:disabled {
    @apply cursor-wait opacity-60;
  }

  :focus-visible {
    @apply outline-2 outline-offset-4 outline-accent;
  }
}