技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
bourhaouta/vscode-tailwindshades

bourhaouta/vscode-tailwindshades

Tailwind CSS palettes (50–950) from any color, for Tailwind v4, v3, v2 and v1. A VS Code extension, a CLI, and an MCP server for AI agents.
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add vscode-tailwindshades -- npx -y vscode-tailwindshades
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
78 ★ · bourhaouta/vscode-tailwindshades · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 78 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 bourhaouta/vscode-tailwindshades;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Tailwind CSS Shades

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Generate a full Tailwind CSS color palette (50 to 950) from any color, right in your editor. Works with **Tailwind v4, v3, v2 and v1**.
**VS Code Marketplace** · **Open VSX** (Cursor, Windsurf, VSCodium)
Also as a command line tool and an MCP server for AI agents, with the same palettes. Try it in the browser: **tailwindshades.bourhaouta.com**.
Usage
1. Select a color, or just put the cursor on it: #db4d53, rgb(…), hsl(…), oklch(…) or a CSS color name.
2. Press Cmd + K Cmd + G (macOS) or Ctrl + K Ctrl + G , or run **Tailwind Shades: Generate color palette** from the Command Palette.
3. Pick a name. The closest Tailwind color is suggested; type your own (like brand) to keep Tailwind's color too.
With no color under the cursor, the extension asks you for one.
Tailwind v4 (CSS file)
Already inside an @theme { … } block? Only the variables are added.
Tailwind v3 (tailwind.config.js)
How the shades are made
The palette follows Tailwind's own colors instead of simply mixing with white and black:
- It finds the Tailwind color closest to yours, and copies how that color's lightness, saturation and hue change from light to dark.
- **Your color stays exactly as it is**, at the shade where it fits best. A light color can become 200, not always 500.
- The math happens in OKLCH, the color space Tailwind v4 uses, so the steps look even to the eye.
Tailwind versions
The version is detected from your project, most reliable source first:
1. The closest package.json with a tailwindcss dependency
2. The current CSS file: @import "tailwindcss", @theme, @utility, @plugin → v4; @tailwind base; → v3
3. A tailwind.config.js (or .ts, .cjs, .mjs) in the project → v3
4. Other CSS files in the project, with the same hints as step 2
If nothing is found, v4 is used. The status bar tells you which version was used and why, e.g. v3 from tailwind.config.js.
| Version | Shades | In CSS files | In JS/TS files | Colors |
| --- | --- | --- | --- | --- |
| v4 | 50–950 | @theme block | config object | OKLCH |
| v3 | 50–950 | CSS variables | config object | hex |
| v2 | 50–900 | CSS variables | config object | hex |
| v1 | 100–900 | CSS variables | config object | hex |
Each version uses its own default palette as the reference, so a v1 palette looks like v1 colors.
Commands
| Command | What it does |
| --- | --- |
| **Generate color palette** | Picks the version and output for you (see above). Shortcut: Ctrl/Cmd + K Ctrl/Cmd + G |
| **Generate color palette (choose version and output)…** | Asks which Tailwind version and output to use |
| **Generate color palette as CSS variables** | Always writes --brand-500: …; variables |
Settings
| Setting | Default | Options |
| --- | --- | --- |
| tailwindshades.tailwindVersion | auto | auto, 4, 3, 2, 1 |
| tailwindshades.colorFormat | auto (OKLCH for v4, hex before) | auto, oklch, hex, rgb |
| tailwindshades.output | auto (from the file type) | auto, theme, config, cssVariables |
| tailwindshades.promptForName | true | Ask for the color name |
| tailwindshades.readablePairs | false | Add a comment with text and background pairs that pass WCAG AA contrast |
With readablePairs on, the palette starts with a comment like this, tested on the real shades:
来源
awesome · https://github.com/bourhaouta/vscode-tailwindshades
按领域浏览
MCP 服务
Traction
78 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引