Skip to content
Skillpedia
Branding9.6k Β· #12220

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.md

Copy 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

Use this skill to help me: https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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.

  1. themes/<id>.md β€” agent-facing documentation: palette, typography, layout, fixed Title/Footer/Eyebrow components, motion. This is what create-slide reads when an author picks the theme.
  2. 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.tsx whose 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 Read tool (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.tsx and pull:
    • The design.palette object (or a legacy top-of-file palette const) β†’ Palette section.
    • design.fonts / font constants and any font-size patterns β†’ Typography section.
    • Padding / alignment patterns β†’ Layout section.
    • Recurring components (TrafficLights, Eyebrow, Footer-style helpers, WindowShell, …) β†’ Fixed components section.
    • @keyframes blocks and the shared styles string β†’ Motion section.
    • The aesthetic feel implied by the design β†’ Aesthetic paragraph.

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills