import { defineConfig } from "slidev/types";

export default defineConfig({
  // theme: 'default',
  theme: "./themes/rust-vibe",
  // Point to parent directory's public assets
  publicDir: "./public",
  title: "Why I Needed Rust, Finally",
  subtitle: "Infrastructure Automation I Can Sleep On",
  author: "Jesús Pérez Lorenzo",
  keywords: "Rust, Infrastructure, Provisioning, Type Safety",

  // css: ['./theme/dark-rust.css'],

  fonts: {
    sans: "Inter",
    serif: "Merriweather",
    mono: "Fira Code",
  },

  defaults: {
    layout: "default",
    transition: "fade",
  },

  slideWidth: 1024,
  canvasWidth: 980,
  aspectRatio: "16/9",

  monaco: {
    dev: true,
    diff: true,
  },

  preloadImages: false,
  highlighter: "shiki",
  colorSchema: "dark",
});
