Skip to content
Agentmart
Submit a tool

tailwind-theming

Work with Tailwind CSS v4 theming in the MultimateAi codebase.

Skill by NarihitoM

IndexedMIT★ 9
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/narihitom-tailwind-theming

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Work with Tailwind CSS v4 theming in the MultimateAi codebase. Use when: adding or modifying design tokens, working with CSS variables and oklch colors, configuring dark mode, adjusting the radius scale, or debugging styling issues.

Use cases: design, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/tailwind-theming

What's inside

Skill name
tailwind-theming
Description
Work with Tailwind CSS v4 theming in the MultimateAi codebase. Use when: adding or modifying design tokens, working with CSS variables and oklch colors, configuring dark mode, adjusting the radius scale, or debugging styling issues.
License
MIT
Instructions
157 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Tailwind CSS v4 Theming

## When to Use

- Adding new design tokens (colors, spacing, radius)
- Modifying the light or dark theme
- Understanding the `oklch()` color system
- Debugging why a Tailwind class isn't applying
- Adding new CSS variables for components

## Theme Architecture

All design tokens are defined in `src/index.css` using Tailwind v4's `@theme inline` directive:

```css
@import "tailwindcss";
@import "tw-animate-css";
@import "@fontsource-variable/geist";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --font-heading: var(--font-sans);
  --font-sans: "Geist Variable", sans-serif;
  --color-sidebar-ring: var(--sidebar-ring);
  --color-sidebar-border: var(--sidebar-border);
  /* ... all color tokens mapped to CSS variables ... */
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);
  --radius-3xl: calc(var(--radius) * 2.2);
  --radius-4xl: calc(var(--radius) * 2.6);
}
```

## CSS Variable System

### Light Theme (`:root`)

```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --radius: 0.625rem;
  /* sidebar, card, popover, chart tokens */
}
```

### Dark Theme (`.dark`)

```css
.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --muted: oklch(0.269 0 0);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  /* ... mirrored dark values */
}
```

## Using Theme Tokens

In components, use the token names directly — they automatically switch between light/dark:

```tsx
<div className="bg-background text-foreground border-border" />
<button className="bg-primary text-primary-foreground" />
<span className="text-muted-foreground" />
<div className="rounded-lg border border-border" />
```

## The oklch() Color Format

This project uses `oklch()` for all colors — it's more perceptually uniform than HSL/RGB:

```
oklch(lightness chroma hue)
oklch(0.577 0.245 27.325) → red (destructive)
  ↑ lightness (0-1)
       ↑ chroma/saturation
            ↑ hue angle
```

### When to Use `dark:` Prefix

CSS variable-based colors **do not need** `dark:` — they switch automatically:

```tsx
// ✅ These work in both themes:
<div className="bg-background text-foreground" />

// ❌ Unnecessary — the variable already changes in dark mode:
<div className="bg-background dark:bg-background" />
```

Use `dark:` only for **hardcoded values**:

```tsx
// ✅ Needed — hardcoded values don't auto-switch:
<div className="bg-white dark:bg-black" />
<div className="border-gray-200 dark:border-gray-700" />
```

From NarihitoM/MultimateAi, MIT.

Signals

Stars
9
Forks
1
Open issues
0
Last commit (this folder)
Jul 23, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from NarihitoM

Cite this page

tailwind-theming skill. Agent Mart. https://agentmart.dev/skills/narihitom-tailwind-theming (last updated 2026-10-24)