One Purple Unicorn Pro - Slidev Theme
A Slidev theme with purple → blue gradients and One Dark colors, built for technical talks.

Features
- Light & dark modes: content slides switch palettes; title and emphasis slides stay dark
- Korean + English: Noto Sans KR by default, any font via
fonts:; Korean text breaks between words (keep-all), headings balance their lines, full-width opening punctuation starts flush; hangul / hangul-consonant / circled list counters (on an ol or a wrapper: 가 나 다, ㄱ ㄴ ㄷ, ① ② ③); <span class="bilingual">English</span> after a title keeps a second-language title in one piece, smaller
- Layouts: title, columns, image/iframe, quote/statement/fact, full-bleed
- Components: badges, keys, footnotes, link cards, story boxes, pattern cards, complexity tables (with KaTeX), stats, timelines, countdown, QR codes
- Effects: animated borders, shimmer, glow, gradient text, entrance animations, hover effects
- Code: custom One Dark-based Shiki theme (incl. CUDA/C++ keywords), window title bars, line numbers, line focus, shell sessions, Nerd Font icons; long lines wrap (never a scrollbar)
- Customizable: every size, color and speed has a default and a variable or prop
Installation
A new deck, with a starter (cover, sections, columns, stats, Q&A) filled in with your title, name and event:
npm create one-purple-unicorn my-talk
Or add the theme to a deck you have (the starter is in the package as starter.md):
npm install slidev-theme-one-purple-unicorn-pro
Requires Slidev 53 or later (Node 22.12+).
Usage
---
theme: slidev-theme-one-purple-unicorn-pro
---
# Your Presentation Title
The demo deck in example/slides.md shows every layout, component and effect.
Theme Modes
Set the color mode for the whole deck in the headmatter (Slidev applies it deck-wide):
---
colorSchema: auto # auto (default, follows the system / toggle) | light | dark
---
Content slides switch between light and dark palettes. These layouts stay dark in both modes: cover, intro, section, end, quote, statement, fact, full-image, full-split, full-dark. Any other slide can stay dark too with class: slide-dark; the progress bar, footer, page number and stage indicator over it follow. Code blocks always use the dark code theme.
Fonts
Fonts follow Slidev's fonts: headmatter. The theme's defaults are Noto Sans KR / Inter (sans), Noto Serif KR (serif) and JetBrains Mono / Fira Code (mono):
---
fonts:
sans: Pretendard
mono: D2Coding
weights: '400,700' # the theme loads 400 only by default
---
List only web font names (Slidev loads them from Google Fonts by default); generic names like system-ui or monospace make the whole font request fail. Slidev adds system fallbacks itself.
The quote mark uses a serif and the macOS button styles use the system UI font by design.
Layouts
| Layout |
Use |
Options (frontmatter) |
cover, intro, section, end |
Title slides |
padding, contentMaxWidth (intro: also align, default left; cover: the talk's details, see Talk details; end: questions: true adds a QR code to the deck (qr: another URL, or false; qrCaption) and the contact links, the slide's or the headmatter's) |
default |
Content slide (title pinned at the top) |
|
document |
A long text on one slide (a spec, an ADR): its ## headings become an index rail, and each click scrolls to the next section (a click on the rail jumps there); exports show the last section, or each with --with-clicks |
(--document-rail-width) |
exercise |
An exercise or lab: number and time in a tag at the top, the task (the slide's content), and beside it how to work, what to expect and a countdown (it waits for its start button) |
exercise (a number or a label), time (15min, 1h, or minutes), method, expected, countdown: false |
speaker |
About the speaker: the person (avatar or initials, name, role, affiliation, links) beside the slide's text |
speaker: with name, role, affiliation, avatar, links (on the slide or in the headmatter; else the deck's author) |
center |
Centered content |
padding, contentMaxWidth |
two-cols, three-cols |
Columns with a header (default slot) and a bottom slot |
leftWidth, centerWidth, rightWidth (a bare number is a share, 2 → 2fr; anything else a CSS length), divider, leftLabel, centerLabel, rightLabel, leftLabelColor, centerLabelColor, rightLabelColor |
image |
Image or video beside content |
image (a picture or a video, .mp4 / .webm; or a list of up to three, tiled), side (left/right), imageWidth (the media column: 50% by default; 40%, 0.4, 2/5, 30rem), imageStack (row / column for several), poster (a video's picture before it plays and in exports), backgroundSize, alt (screen-reader text; empty = decorative) |
iframe |
Embedded page, full or beside content |
url, side (full/left/right), scale (> 0, default 1), iframeTitle (screen-reader name) |
quote, statement, fact |
Emphasis slides |
padding, contentMaxWidth |
full |
No padding, build your own |
|
full-text |
Full-width text, no pinned title |
|
full-image |
Background image or video with overlay |
image (as in image: a video or up to three tiled), imageStack, poster, overlay, position (or backgroundPosition), backgroundSize, align, padding |
full-split |
Background image or video with a text panel |
image (a video or up to three tiled), imageStack, poster, panelWidth, panelSide, panelColor, backgroundSize, backgroundPosition |
full-dark |
Dark centered slide with a large heading |
padding, contentMaxWidth |
Column slots:
---
layout: two-cols
leftLabel: Before
rightLabel: After
divider: true
---
# Header
::left::
Left content
::right::
Right content
::bottom::
Full-width bottom slot
quote: write the quote as a > blockquote and the attribution as the paragraph after it. The quote marks wrap the blockquote:
---
layout: quote
---
> The best way to predict the future is to invent it.
**— Alan Kay, 1971**
Without a blockquote, a heading (# "…") is the quote; otherwise the paragraphs before the last are the quote and the last is the attribution, and a single paragraph is a quote without one.
Code Blocks
Code uses Slidev's own syntax; the theme styles it:
```ts [src/kernel.ts] {2|3-4|all}{lines:true}
…
```