create-theme
What it does
This skill builds a theme for open-slide slides, covering colors, fonts, layout and motion, so future decks can share one look. It is for designers and developers who set up slide styles.
When to use it
- βWhen you want to create a new slide theme with its own look.
- βWhen you want to pull a theme out of an existing slide or a set of images.
- βWhen you want a preview file that shows the theme working on sample slides.
Skill link
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBuild a theme called midnight from these three reference images.β
5 new skills a week. 1 minute to read.
How it works
The skill writes two paired files: a theme document with the palette, fonts, layout and motion rules, and a small runnable demo slide for the theme preview. It writes only in the themes folder.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Create a slide theme
This skill produces a theme bundle under themes/: two paired files that together describe a reusable visual identity.
themes/<id>.mdβ agent-facing documentation: palette, typography, layout, fixed Title/Footer/Eyebrow components, motion. This is whatcreate-slidereads when an author picks the theme.themes/<id>.demo.tsxβ a runnable mini-slide (a normal slide module:export default Page[]) that demonstrates the theme on 2β3 pages. The dev UI's Themes panel loads this file and renders it as the theme's live preview.
Both files share the same stem so the runtime can pair them automatically.
A theme is distinct from a slide's design const. The theme markdown is authoring-time aesthetic direction (copied into a real slide's source by create-slide). The demo .tsx is a self-contained preview, not a real slide β it does not appear in the slides list. A per-slide const design: DesignSystem = { β¦ } (declared at the top of slides/<id>/index.tsx) is the runtime tokens object the user can tweak from the Design panel. The markdown commits the direction; the per-slide design const makes the slide tweakable; the demo .tsx makes the theme previewable.
You only write files under themes/<id>.md and themes/<id>.demo.tsx. Never modify real slides or other configuration. The canvas / type-scale defaults that themes can override live in the slide-authoring skill β read it before writing the theme so your overrides are stated explicitly.
Step 1 β Identify the input source
A theme can be derived from any combination of three input shapes:
- Image references β paths or URLs to slide screenshots, mood-board images, brand assets.
- Free-text description β prose describing the desired palette, fonts, feel.
- An existing slide β
slides/<id>/index.tsxwhose visual identity should be lifted out into a reusable theme.
If the user's original message already specifies the inputs unambiguously, skip the question and proceed. Otherwise call AskUserQuestion (multi-select) so they can pick one or more sources, and ask follow-ups (paths, slide id, prose) only as needed.
Step 2 β Gather raw inputs
- Images: read each path with the
Readtool (it accepts images). Note dominant colors as hex, type weight/style, layout rhythm, decorative motifs, and any recurring chrome (header bar, footer line, page numbers). - Text: extract explicit tokens (hex codes, font names, motion verbs) and implicit tone words ("editorial", "playful", "brutalist"). Resolve vague language into concrete decisions before writing.
- Existing slide: read
slides/<id>/index.tsxand pull:- The
design.paletteobject (or a legacy top-of-filepaletteconst) β Palette section. design.fonts/ font constants and anyfont-sizepatterns β Typography section.- Padding / alignment patterns β Layout section.
- Recurring components (TrafficLights, Eyebrow, Footer-style helpers, WindowShell, β¦) β Fixed components section.
@keyframesblocks and the sharedstylesstring β Motion section.- The aesthetic feel implied by the design β Aesthetic paragraph.
- The
When inputs disagree (e.g. images use blue but the description says green), ask the user which to honor.
Step 3 β Pick a theme id
Use kebab-case, short, descriptive. Examples: editorial-noir, brutalist-mono, pastel-soft, dev-terminal. Check themes/ to avoid collisions.
Step 4 β Write themes/<id>.md
Produce a file with this exact section order. Section bodies adapt to the theme; the headings stay consistent across all themes.
---
name: <Human title, e.g. "Editorial Noir">
description: <one-line elevator pitch>
mode: <dark | light β whichever matches the palette's bg>
---
# <Theme name>
## Palette
| Role | Value | Notes |
| ------ | --------- | ------------------------------ |
| bg | `#0f172a` | page background |
| text | `#f8fafc` | primary copy |
| accent | `#fbbf24` | callouts, eyebrow, key numbers |
| muted | `#94a3b8` | secondary copy, dividers |
| ... | ... | extend as the theme requires |
## Typography
- Display font: `<stack>` β weight 800β900 for headlines.
- Body font: `<stack>` β weight 400β500.
- Webfont import (omit for system stacks): `<stylesheet URL>` β see `references/webfonts.md` in `slide-authoring` for loading rules.
- Type-scale overrides (only list
FAQ
Is a theme the same as a slide's design settings?
No. The theme gives the direction, while each slide's design settings are the values you can adjust.
Does the demo appear in my slide list?
No. The demo is only a preview and is shown in the themes panel.
Can it change my real slides?
No. It writes only the theme files.
Details
Original description by the author
Use this skill when the user wants to create, draft, author, or extract a slide theme in this open-slide repo. Triggers on phrases like "create a theme", "make a theme called X", "extract a theme from <slide>", "build a theme from these images". Produces two paired files under `themes/` β `<id>.md` (palette, typography, layout, fixed Title/Footer components, motion) and `<id>.demo.tsx` (a runnable demo slide that the dev-UI Themes panel previews). Do NOT use for editing real slides β only for authoring the theme bundle.
repo: open-slide/open-slide
Popularity
- GitHub stars
- 9.6k
- Ranking position
- #12220
- License
- MIT
- Updated
- 10/29/2026
Comments
- β¦
More skills from this repository
apply-comments
9.6kHelps your agent apply the comments you left on a slide in the open-slide editor, making each requested edit and removing the markers.
create-slide
9.6kHelps your agent draft a new slide or deck in an open-slide project, picking a theme and writing the page files for you.
current-slide
9.6kHelps your agent find which slide, page and element you are looking at in the open-slide viewer, so that 'this page' means the right one.
slide-authoring
9.6kGives your agent the technical rules for writing open-slide pages, including canvas size, type scale, colors, images, notes and transitions.
Similar skills
brand-discovery
280kHelps define a brand's identity through structured interviews. It creates a complete guide with the brand's purpose, audience, and personality.
brand-voice
280kCreates a writing profile based on actual brand texts. It ensures content and communications maintain a consistent and authentic style.
design-md
260kTeaches your agent to write, check, and export a DESIGN.md file that lists a brand's colors, fonts, and style in a form AI tools can read.