Theme switch skill
Turn a dark website light, or a light website dark. Adjust colors and contrast to suit the new theme while preserving the site’s layout, typography, and visual identity.
# Theme Switch Review the existing website and create its opposite color theme. If the website is primarily dark, create a light version. If it is primarily light, create a dark version. ## Analyze the current design - Inspect the homepage and other relevant pages, sections, components, and color styles. - Identify backgrounds, surfaces, text, borders, buttons, accents, gradients, overlays, and interaction states. - Determine whether the current theme is predominantly light or dark. ## Create the opposite theme - Convert dark backgrounds into light surfaces, and light backgrounds into dark surfaces. - Adjust headings, body text, secondary text, borders, cards, buttons, and navigation to maintain clear visual hierarchy and readability. - Preserve brand accent colors where contrast permits; adjust their brightness or saturation only when necessary. - Preserve the relative contrast and depth between surfaces rather than simply inverting all colors. - Adapt gradients, shadows, and overlays so they feel intentional in the new theme. ## Preserve the design - Keep all layouts, spacing, typography, copy, imagery, components, interactions, and animations unchanged unless a color adjustment is necessary. - Reuse existing Framer styles and components when possible. - Create clearly named theme-specific color styles when needed, without overwriting the originals. - Do not redesign the website or introduce unrelated colors. ## Build a separate version - Duplicate the relevant page or pages and apply the opposite theme to those copies. - Keep the original pages and their styling intact. - Do not change the live website, shared styles, or shared components in ways that unintentionally affect the original version. - If independent copies cannot be made safely, explain the limitation before applying changes. ## Review - Check every converted section, including navigation, footer, cards, forms, buttons, hover states, and responsive breakpoints. - Aim for WCAG AA contrast for readable text and interactive controls. - Ensure the result looks like the same website in a different theme, not a new design. - Summarize the changes and identify anything that requires manual review. The final result should be a visually consistent light or dark alternative that preserves the identity of the original website.
How to apply skills to your project
Keep new pages consistent with your project’s typography, colors, spacing, and components.
Skill copied
# Design system
Use this skill when you add pages or sections to a site that already has a look. You extend the system the team built. You don’t invent a new one.
## Before you start
- Open the home page and two pages close to the new one.1. Copy the skill
Use the Copy button above the skill to copy this skill’s instructions to your clipboard.
/skills
Turn these instructions into
a reusable skill:
GPT 6.1 Sol
2. Add it in agent chat
Type
/skillsin your agent chat and paste the skill, or add it in Settings / Skills.Use
/design-system
to build a new
Careers page. Include a couple job openings and a form.
GPT 6.1 Sol
3. Use it in chat
Type the skill’s command, such as
/design-system, in your agent to use it.Title
design-system
Description
Use components, styles, spacing, and layouts to create new
Content
Design system
Use dark color scheme. Reuse existing styles and components; never invent new colors or text styles.
Pages
Apply the Base layout template to every new page.
Set a meta title and meta description on every new page.
Sections fill the screen width (
1fr) and contain an inner wrapper withmaxWidth="1200px"that holds the content.
Colors
Container backgrounds: Color/Black.
Text:
Primary headings: Color/White
Secondary/body text: Color/White 60
Accent: Color/Red is the only accent. Use it very sparingly (one highlight per section at most).
Borders and dividers: Color/Border Solid or Color/Border Transparent.
Typography
Always use these text styles, never inline type styles:
Set Text Balance to Yes for text layers.
Use sentence case; do not use all caps.
Do not use eyebrow text (small text above a heading).
In heroes, use Text/Body L for supporting text.
For every paragraph, adjust its text-box width to produce 50–75 characters per line, targeting 65. Round the width up to the nearest 5 or 10 pixels. If that width is wider than the parent container, set the text box to Fill. Verify at every breakpoint before finishing.
Text/H0: jumbo headings and hero treatments
Text/H1: blog post titles and secondary page titles
Text/H2, Text/H3, Text/H4, Text/H5, Text/H6: all other headings, in hierarchy order
Text/Body L: sub heads
Text/Body: main body text
Text/Body M: small supporting text
Text/Button: button labels only
4. Edit your skill
Open Settings / Skills whenever you want to make changes.
