# theming

theming scaffolds a unified color token architecture with iOS and Material You support into an Expo Router project.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 200 installs · ★ 150 repo stars
- Author: Code-with-Beto
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Code-with-Beto/skills/tree/HEAD/plugins/cwb-theming/skills/theming/SKILL.md
- Updated: 2026-07-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/theming

## What it does

This skill integrates the Platano theming pattern into an Expo Router application. It introduces three files: `config.ts` as the central token definitions, `colors.ts` to map semantic tokens per operating system, and `ThemeContext.tsx` providing `useColors()` and `useBrand()` hooks. It also adjusts root `_layout.tsx` to mount `ColorsProvider` alongside React Navigation.

Native dynamic palettes from Android Material You and iOS require Expo SDK 56. If your setup runs an older SDK, the skill substitutes native tokens with standard hex definitions and switches theme imports to `@react-navigation/native`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Code-with-Beto/skills --skill theming -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/theming/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/theming/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Code-with-Beto/skills --skill theming -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/theming/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Code-with-Beto/skills --skill theming -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/theming/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Code-with-Beto/skills plugins/cwb-theming/skills/theming
```

2. **Manually: put the files in place**
- File: `.github/skills/theming/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Code-with-Beto/skills --skill theming -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Code-with-Beto/skills --path plugins/cwb-theming/skills/theming
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/theming/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Code-with-Beto/skills --skill theming -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Code-with-Beto/skills/tree/HEAD/plugins/cwb-theming/skills/theming/SKILL.md

## When to use it
- scaffold unified semantic color tokens for iOS and Android
- automate light and dark mode updates across UI components
- connect React Navigation headers and bars with app color tokens
- generate a typed `useColors()` context hook

## Example prompts
- Set up a unified theme system in my Expo Router project
- Add dark mode and Material You color tokens
- Scaffold the useColors hook and wire ColorsProvider in _layout.tsx

## Similar
- [expo-ios-hig](https://affpapa.org/en/nevibecode/skills/expo-ios-hig.md) — skill · 169 installs
- [building-native-ui](https://affpapa.org/en/nevibecode/skills/building-native-ui.md) — skill · 2 installs
- [expo-data-fetching](https://affpapa.org/en/nevibecode/skills/expo-data-fetching.md) — skill · 34300 installs
- [expo-project-structure](https://affpapa.org/en/nevibecode/skills/expo-project-structure.md) — skill · 27400 installs
- [react-native-architecture](https://affpapa.org/en/nevibecode/skills/react-native-architecture.md) — skill · 15087 installs
- [react-native-dev](https://affpapa.org/en/nevibecode/skills/react-native-dev.md) — skill · 2000 installs

From the same set: [code-with-beto/skills](https://affpapa.org/en/nevibecode/by/code-with-beto/skills.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
