Halo Ds

io.github.Halo-design-system由 GitHub 账号 Halo-design-system 发布v0.4.1更新于 Nov 3, 2026

Halo React 设计系统的属性、示例、设计令牌和页面区块。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Props, examples, design tokens and page blocks for the Halo React design system.

已验证STDIO仅桌面开发者工具媒体与设计

概览

Halo Ds 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Halo Ds,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Halo Design System]

Halo Design System

An open-source design system for designers and developers: a Figma library and a React component library built from the same design tokens, with light and dark mode.

📖 Docs & component playground: https://halo-design-system.github.io/Halo-design-system/

Status: early development. Foundations, 44 components, 40 illustrations and 20 awards are in place, in Figma and React. Not yet published to npm.

Packages

PackageDescription
@halo-ds/tokensDesign tokens as CSS variables (light + dark), JSON and JS, generated from Figma
@halo-ds/reactReact components
figma-pluginFigma plugin: search every component and place it on the canvas
docsStorybook: live documentation and component playground

Using Halo

bash
npm install @halo-ds/react

That is all the setup: the styles, the design tokens and the Geist font load by themselves when you use a component.

tsx
import { Button } from '@halo-ds/react';

Switch themes with the data-theme attribute on <html>: light (default), dark, or system (follows the OS).

Every token is a CSS variable starting with --halo-, so your own styles can use them too:

css
.card {  background: var(--halo-surface-primary);  color: var(--halo-text-primary);  padding: var(--halo-spacing-md);  border-radius: var(--halo-radius-sm);}

Make it yours

  • Quick: override a few brand variables in your own CSS, loaded after Halo's. No rebuild needed.
  • Full: change the variables in your copy of the Figma file, export them, and rebuild the tokens so design and code match.

The Theming page in Storybook walks through both, with a live example.

Working on Halo

Requirements: Node.js 20+ and pnpm (npm install -g pnpm). The project pins its own Node 24 runtime, which pnpm downloads automatically.

bash
pnpm install     # install dependenciespnpm dev         # build tokens and start Storybook at http://localhost:6006pnpm build       # build every packagepnpm typecheck   # type-check every package

Project structure

packages/  tokens/     figma/ ← Figma variable exports (source of truth)              scripts/build.mjs → dist/tokens.css, tokens.json, index.js  react/      src/ ← componentsapps/  docs/       Storybook (foundations pages + component stories)docs/         design notes (e.g. dark-mode mapping)

Design → code workflow

  1. Design the component in Figma using Halo variables (never raw hex values).
  2. Build it in packages/react/src/components/<Name>/ using the matching CSS variables.
  3. Add a <Name>.stories.tsx so it appears in Storybook.
  4. Review it in Storybook in both light and dark mode.

See CONTRIBUTING.md for details.

License

MIT. The Figma library also includes emojis, icons, flags and brand logos from other open-source projects; see THIRD_PARTY_NOTICES.md for their licences and required credits.

来源:README.md,提交 f6f6363

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.4.1最新Nov 3, 2026
  2. v0.4.0Nov 1, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分