{
  "id": "source-r6-10",
  "platform": "GitHub",
  "author": "Alba Silvente",
  "author_url": "https://github.com/Dawntraoz",
  "url": "https://github.com/Dawntraoz/slidev-theme-unicorn",
  "title": "Slidev Unicorn · 深浅两套章节封面与课纲内页",
  "discovery_term": "Slidev Theme Gallery → 作者原仓 README 实际模板预览",
  "captured_at": "2026-12-05T02:12:02.853Z",
  "published_raw": null,
  "type": "page",
  "frames": [
    {
      "slide": 1,
      "path": "evidence/round-06/source-r6-10/example-1.png",
      "caption": "深色封面",
      "observed": "introDark"
    },
    {
      "slide": 2,
      "path": "evidence/round-06/source-r6-10/example-2.png",
      "caption": "浅色封面",
      "observed": "introLight"
    },
    {
      "slide": 3,
      "path": "evidence/round-06/source-r6-10/example-3.png",
      "caption": "课纲页",
      "observed": "introDark"
    },
    {
      "slide": 4,
      "path": "evidence/round-06/source-r6-10/example-4.png",
      "caption": "居中大图",
      "observed": "introDark"
    }
  ],
  "observation": {
    "title": "Dawntraoz/slidev-theme-unicorn: A Unicorn theme for Slidev slides based on dawntraoz.com design.",
    "url": "https://github.com/Dawntraoz/slidev-theme-unicorn",
    "headings": [
      "slidev-theme-unicorn",
      "Install",
      "Layouts",
      "Common properties",
      "Intro intro",
      "Default cover",
      "Presentation cover-logos",
      "Table of contents table-contents",
      "New section slide new-section",
      "Image Centered image-center",
      "Text centered center",
      "Contributing"
    ],
    "disclosure": [],
    "text": [
      "slidev-theme-unicorn",
      "A Unicorn theme for Slidev.",
      "This theme is based on dawntraoz.com website design.",
      "Live demo: https://unicorn-theme.dawntraoz.com/",
      "Install",
      "Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.",
      "---",
      "theme: unicorn",
      "---",
      "Learn more about how to use a theme.",
      "Layouts",
      "This theme provides the following layouts:",
      "Common properties",
      "By default any layout will contain a header and a footer expecting:",
      "---",
      "logoHeader: 'https://www.dawntraoz.com/images/logo.svg'",
      "website: 'dawntraoz.com'",
      "handle: 'dawntraoz'",
      "---",
      "If you don't add this property it will be an empty slide expecting your content:",
      "With properties\tWithout properties",
      "Intro intro",
      "Usage:",
      "Add intro in the layout field.",
      "Add your profile image in the introImage field.",
      "---",
      "layout: intro",
      "introImage: 'https://img2.storyblok.com/312x312/filters:format(webp)/f/79165/400x400/1082ff0d24/dawntraoz-alba-silvente.jpg'",
      "---",
      "Dark\tLight",
      "Default cover",
      "Cover is the default layout when none is specified.",
      "Usage:",
      "---",
      "layout: cover",
      "---",
      "Dark\tLight",
      "Presentation cover-logos",
      "Usage:",
      "Add cover-logos in the layout field.",
      "Add an Array of logo URLs in the logos field.",
      "---",
      "layout: cover-logos",
      "logos: [",
      "'https://img2.storyblok.com/588x0/filters::format(webp)/f/86387/x/21aa32ed18/logo-normal.svg',",
      "'https://nuxtjs.org/logos/nuxt-emoji.png',",
      "]",
      "---",
      "Dark\tLight",
      "Table of contents table-contents",
      "Usage:",
      "Add table-contents in the layout field.",
      "Add an Array of hexadecimal colours in the gradientColors field to fill the illustration.",
      "---",
      "layout: table-contents",
      "gradientColors: ['#8EC5FC', '#E0C3FC']",
      "---",
      "Dark (added gradient)\tLight (default gradient)",
      "New section slide new-section",
      "Always in dark version",
      "Usage:",
      "Add new-section in the layout field.",
      "---",
      "layout: new-section",
      "---",
      "Dark\tLight",
      "Image Centered image-center",
      "The content will be place before the image, you can add a title, subtitle to give context to the image.",
      "---",
      "layout: image-center",
      "image: 'https://source.unsplash.com/collection/94734566/1920x1080'",
      "imageWidth: '450'",
      "imageHeight: '950'",
      "---",
      "Dark\tLight",
      "Text centered center",
      "---",
      "layout: center",
      "---",
      "Dark\tLight",
      "Contributing",
      "pnpm install",
      "pnpm dev to start theme preview of example.md",
      "Edit the example.md and style to see the changes",
      "pnpm export to generate the preview PDF",
      "pnpm screenshot to generate the preview PNG"
    ]
  }
}
