skillshare-ui-website-style
БесплатноБез исполняемых скриптовНе проверенSkillshare frontend design system for the React dashboard (ui/) and Docusaurus website (website/). Use this skill whenever you: build or modify a dashboard…
от runkids★ 3 514 звёзд на GitHubОб этом скилле
Enforce the skillshare design system across the two frontends. $ARGUMENTS is the file or area being worked on.
Before acting, run python3 scripts/ai-context.py frontend. That topic and the CSS/source files it identifies are the source of truth; this skill retains the component catalog and visual QA checklist.
| Aspect | UI Dashboard (ui/) |
Website (website/) |
|---|---|---|
| Stack | React 19 + Vite + Tailwind CSS v4 | Docusaurus 3 + custom CSS |
| Source of truth | ui/src/styles/*.css (tokens + ss-* classes), ui/src/index.css (Tailwind mapping) |
website/src/css/custom.css (docs), website/src/pages/*.module.css (homepage, features) |
| Looks | Two styles, Clean and Playful, each in light and dark; Custom recolours either | Docs: clean. Homepage: hand-drawn string board |
This file names tokens and classes and says when to use them. It does not copy their values. Colours, radii, fonts and shadows change; read them from the CSS when you need one.
UI Dashboard (ui/)
Reference pages: ui/src/pages/TargetsPage.tsx (list page), ui/src/pages/HubPage.tsx (tabs), ui/src/pages/ResourcesPage.tsx (list + tiles + bulk toolbar).
Design rules and the reasoning behind them:
references/STYLE_GUIDE.md.
Two styles, two modes
Style and mode are independent, so every screen has four looks.
| Axis | Values | How it is set |
|---|---|---|
| Style | Clean (default), Playful, Custom | html[data-theme="playful"]; attribute absent = Clean. Custom adds html[data-custom] on either base, and data-layout="full" when a Clean base drops the inset panel |
| Mode | light, dark, system | html.dark |
Set by ui/src/context/ThemeContext.tsx, switched in ThemePopover.tsx. ?theme=clean|playful|dark|light in the URL forces one, which is handy for screenshots.
A third style, Custom, recolours one of the two through html[data-custom] and a generated stylesheet (ui/src/lib/customTheme.ts). It only changes token values, so a page that stays on tokens works in it too; code that branches on the look reads baseStyle, not style.
All four looks come from CSS variables alone. A page that uses only tokens and ss-* classes gets all four for free; a hardcoded colour, radius or shadow breaks three of them.
- Clean: system font, 1px hairlines, soft shadows, ink-coloured primary button. At desktop width the page sits on an inset panel (
.ss-main) over--shell, which the transparent sidebar shares. Only layers that float over scrolling content are frosted glass (menus,.ss-hud, the stuck.ss-stickbar); the page, cards and sidebar stay solid, unless a custom theme sets Glass to Everywhere (data-glass="surfaces"), which frosts.ss-box,.ss-list,.ss-counts, the sidebar (on the full layout and the phone drawer; on the inset layout it stays clear on the shell), menus and dialogs over soft light pools onbody(white in dark; in light, pale pools of the accent's hue, or pastels for a black or grey accent). The surfaces paint their glass on::beforeso they are not backdrop roots: a menu inside one still blurs the page. - Playful: Kalam headings, 1.5px ink borders, hard offset shadows, dashed separators, terracotta primary, pastel accents, dot-grid background, sticky-note tiles. Text on a pastel fill uses
--on-pa, not--sel-ink. - Style-only markup:
.ss-only-clean/.ss-only-playful(Dashboard shows a count strip in Clean and a pin board in Playful).
Design tokens
Defined per look in ui/src/styles/tokens.css. ui/src/index.css exposes them to Tailwind through @theme inline, so text-ink-2, bg-surface, border-line all follow the active look.
| Group | Tokens | Use |
|---|---|---|
| Surfaces | --bg --side --surface --sunken --shell |
Page, sidebar, cards and inputs, recessed headers and footers, Clean's desktop frame behind the inset panel |
| Text | --ink --ink-2 --ink-3 |
Primary, secondary, tertiary and placeholder |
| Lines | --line --line-2 --line-soft |
Frames, control borders, soft dividers |
| Borders | --sep --frame --bw |
Whole border values: row separator, box frame, control border width |
| Action | --pri --on-pri --accent --accent-bg --sel --sel-ink |
Primary button and on or picked controls (checkbox, switch, tab underline, picked option, progress), links and focus, selected nav and menu items. Text stays --ink |
| Status | --ok --warn --bad, each with -bg |
Text or dot colour, plus its tinted background |
| Kind | --c-skill --c-agent --c-extra --c-mcp --c-plugin --c-target, each with -bg |
Resource-kind colour, used by .ss-cat |
| Pastels | --pa --pb --pc --pd --pe --on-pa |
Playful only. Never reference outside a [data-theme="playful"] rule. --on-pa is the text on them |
| Type | --f --fh --fm --h1 --h2 |
Body, heading (Kalam in Playful), mono, heading sh |
Установить skillshare-ui-website-style в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл skillshare-ui-website-style?
Skillshare frontend design system for the React dashboard (ui/) and Docusaurus website (website/). Use this skill whenever you: build or modify a dashboard page or component in ui/src/, style or layout website pages or custom CSS in website/, create new React components for the dashboard, add pages to the dashboard, fix visual bugs in either frontend, or need to know which design tokens, ss-* classes, components, or patterns to use. Covers the dashboard styles (Clean / Playful, and Custom on top of either) in light and dark, design tokens, the ss-* class system, component API, page structure, accessibility, keyboard shortcuts, and anti-patterns. Even if the user just says "fix the styling" or "add a card", use this skill to ensure consistency.
Как установить скилл skillshare-ui-website-style?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skillshare-ui-website-style запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic