Skip to main content
Glama
Davont
by Davont

theme_tokens

Retrieve design tokens and theme information for UI development, including colors, spacing, typography, and theme-specific values to ensure consistent styling across applications.

Instructions

获取 my-design 的 Design Token(设计令牌)和主题信息。包括颜色、间距、圆角、字体等 token 定义,以及不同主题(light/dark)下的值差异。生成代码时应优先使用 token(CSS 变量),避免硬编码颜色、间距等值。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoToken 类型过滤。可选值:color(颜色)、spacing(间距)、radius(圆角)、font(字体)、shadow(阴影)、all(全部)。默认返回全部。
themeNo主题名称。可选值:light、dark。如果指定,则返回该主题下的 token 值。

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Davont/my-compoent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server