跳到正文
cccskills
免费在 GitHub 公开

dual-theme-spec-board

Apply or adapt a complete dual-theme UI specification board for product interfaces. Use when Codex should build or restyle dashboard, admin, workspace, settings, or system UI with both light and dark themes, shared semantic tokens, structured component states, and a full preview board covering foundations, controls, navigation, data display, and feedback patterns.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(10)

  • SKILL.md3.1 KB
  • agents/openai.yaml248 B
  • assets/dual-theme-spec-board-dark.png951.3 KB
  • assets/dual-theme-spec-board-light.png930.9 KB
  • assets/inspiration-board.jpg114.3 KB
  • references/DualThemeSpecBoard.css30.0 KB
  • references/DualThemeSpecBoard.tokens.json3.4 KB
  • references/preview.html22.6 KB
  • references/tailwind.preset.cjs1.4 KB
  • references/usage.md2.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Dual Theme Spec Board

Use this skill to create or restyle a product interface using the bundled light and dark theme board. Keep one semantic component system across both themes and change visual output through tokens rather than component rewrites.

Workflow

  1. Read references/usage.md first.
  2. Load only the files needed for the task:
    • references/DualThemeSpecBoard.tokens.json for semantic tokens and light/dark values
    • references/DualThemeSpecBoard.css for component rules and CSS variable mapping
    • references/tailwind.preset.cjs when the host project uses Tailwind
    • references/preview.html when you need the full board layout and state matrix
  3. Decide whether the task needs:
    • only token mapping
    • component restyling
    • a full-page board or design system preview
  4. Preserve shared structure across both themes.
  5. Verify that all interactive states remain visually coherent in both light and dark modes.

Non-Negotiables

  • Use semantic tokens instead of hardcoded colors whenever possible.
  • Keep the same component semantics in light and dark themes.
  • Express hierarchy with elevation, borders, inset states, spacing, and restrained accent usage.
  • Use the board as a complete system: foundations, controls, navigation, data display, and feedback should feel related.
  • Do not mix radically different visual languages such as glassmorphism, flat bootstrap cards, or neon cyber UI into this system.

Component Rules

Foundations

  • Surfaces should define clear depth levels: base, raised, inset, and pressed.
  • Use accent color mainly for active, primary, or highlighted states.
  • Keep spacing and radii consistent across modules.

Controls

  • Buttons, fields, switches, radios, and sliders must all belong to the same material family.
  • Inputs should visibly communicate default, focus, and error states.
  • Disabled states should lose contrast, not change design language.

Navigation

  • Tabs, breadcrumbs, pagination, and steppers should feel compact and operational.
  • Active state should use accent and elevation rather than large layout changes.

Data Display

  • Cards, lists, badges, table headers, and tooltips should remain legible in both themes.
  • Reuse spacing and token logic from foundations and controls.

Feedback

  • Modal, toast, alert, progress, skeleton, and empty states must follow the same surface rules.
  • Error and warning states should be obvious but not louder than the whole interface.

Deliverables

  • If the user asks for a UI kit or template, provide both light and dark theme support.
  • If the user asks for a single screen, still preserve the dual-theme token architecture.
  • When possible, keep the preview or example page shareable without a build step.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Apply or adapt a dual-theme liquid glass UI board for premium dashboards, workspace launchers, settings surfaces, design-system previews, and glossy interface concepts. Use when Codex should build or restyle interface work with frosted translucent panels, aurora glow accents, pill controls, circular glass actions, blurred color blooms, and a polished light-plus-dark material system.

中文简介正在准备中。当前显示原文说明。

Dezoff-max/codex-ui-board-skills152026年6月10日 更新

Apply or adapt a dual-theme neo-glow control board for UI kits, design-system previews, settings surfaces, admin panels, control rooms, and dense operational interfaces. Use when Codex should build or restyle interface work with bright white or dark control surfaces, compact neumorphic cards, vertical icon rails, blue/cyan halo accents, glowing active states, luminous toggles, and a board focused on control states, inputs, and specification details.

中文简介正在准备中。当前显示原文说明。

Dezoff-max/codex-ui-board-skills152026年6月10日 更新

Apply or adapt a dual-theme soft-neumorphic UI board for dashboards, workspaces, settings panels, admin tools, and design-system previews. Use when Codex should build or restyle interface work in a tactile soft-neumorphic style with both light and dark themes, shared semantic tokens, large radii, raised surfaces, inset fields, restrained accent states, and a complete preview board covering foundations, controls, navigation, data display, and feedback.

中文简介正在准备中。当前显示原文说明。

Dezoff-max/codex-ui-board-skills152026年6月10日 更新

查看 Dezoff-max 的全部技能

报告此技能的问题