Логотип Ignite UI Theming MCP

Ignite UI Theming MCP

Организация
IgniteUI

A set of Sass mixins, functions, and variables used to create themes for a variety of UI frameworks built by Infragistics.

ИздательIgniteUI
Репозиторийigniteui-theming
ЯзыкSCSS
Форки
2
Звёзды
44
Доступные инструменты
0
Тип транспортаstdio
Категории
ЛицензияMIT
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    Ignite UI Theming MCP предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 44, форки: 2 — в связанном репозитории.

npm version

The Ignite UI Theming repository collects a set of Sass mixins, functions, and variables used to create themes for a variety of UI frameworks built by Infragistics. The theming package makes it super easy to create palettes, elevations and typography styles for your projects.

Repository Structure

This repository is an npm workspaces monorepo with two packages:

PackageNameDescription
packages/themingigniteui-themingSass source, JSON build artifacts, published to npm
packages/mcpigniteui-theming-mcpMCP server sources, built into packages/theming/dist/mcp/

The igniteui-theming package is the only published artifact — it includes both the Sass theming library and the MCP server binary.

The MCP server is also listed in the MCP Registry as io.github.IgniteUI/igniteui-theming. The server.json at the repo root is its registry manifest, published automatically on release.

Common commands from the repo root:

bash
npm install    # install all workspace dependencies
npm run build  # build theming + MCP in dependency order
npm test       # run all tests across both packages
npm run lint   # lint all packages

Palettes

We provide four predefined palettes - material, bootstrap, fluent and indigo that have all the necessary colors along with diffent variants of those colors to make it even easier picking the right one for your case. Here's what they look like:

Palettes

To access any of the colors in the palettes, you can use the color function:

scss
background: color($light-material-palette, 'primary', 500);

You can take a further look on what color functions and mixins the package contains and how to use them in the Colors Wiki Page

Typography

Another valuable module of our theming package is the typography, helping you have consistency all over your project. There are again four typography presets for the four themes that we provide out of the box.

Typography

You can set any of the typefaces by using the typography mixin, which accepts 2 arguments(font-family and type-scale). By default the typography is using the material typeface and type-scale.

scss
@include typography($font-family: $material-typeface, $type-scale: $material-type-scale);

Learn more about the typography module in the package by checking out the Typography Wiki Page

Elevations

The theming package is providing one preset of shadows that can be used to give your components a lift. They're super helpful using with buttons, cards, navigation bars, etc.

Elevations

You can set elevations 0-24, by using the elevation function, which accepts the elevation level as an argument:

scss
box-shadow: elevation(12);

Learn more about elevations and their abilities in the Elevations Wiki Page

Usage

In order to use the Ignite UI Theming in your application you should install the igniteui-theming package:

npm install igniteui-theming

Next, you will need to use it in the file that you want like this:

scss
@use '.../node_modules/igniteui-theming/' as *;

You can also use just a fraction of the package:

scss
@use '.../node_modules/igniteui-theming/sass/color' as *;

We provide presets for material, bootstrap, fluent and indigo themes for the color(light and dark palettes), typography and elevations fractions. You can import them into your scss file like this:

scss
@use '.../node_modules/igniteui-theming/sass/typography/presets' as *;

You can read more about what the package contains on the Wiki page

Linting and Testing

To scan the project for linting errors, run

npm run lint

To run the suite of tests, run

npm run test

Testing and Debugging

Preview Palettes

Run from packages/theming. Pass the palette (material, bootstrap, fluent, indigo) and variant (light or dark).

bash
npm run preview:palette -- --palette=material --variant=light

MCP Server (AI-Assisted Theming)

The Ignite UI Theming package includes a Model Context Protocol (MCP) server that enables AI assistants to generate production-ready theming code for your Ignite UI applications. This MCP server is part of the larger AI-assisted development toolchain for Ignite UI.

What is MCP?

The Model Context Protocol allows AI assistants (like Claude, GitHub Copilot, and others) to connect to external tools and data sources. The Ignite UI Theming MCP server acts as an expert theming assistant that can:

  • 🎨 Generate color palettes with automatic shade variations
  • 📝 Create typography systems following design standards
  • 🌓 Build complete themes for light and dark modes
  • 🎯 Customize components with design tokens
  • ✅ Validate colors for accessibility compliance

Quick Start

Most users don't need to clone anything. The server ships inside the published igniteui-theming package and is listed in the MCP Registry as io.github.IgniteUI/igniteui-theming — clients that support registry installation can add it by that name, and everything else uses the npx configuration shown below.

To run it from source instead:

1. Clone and Build

Clone the repository and build:

bash
npm install
npm run build

2. Configure Your AI Client

The MCP server works with any MCP-compatible client. Here are setup instructions for popular clients:

For local development - Create or edit .vscode/mcp.json:

json
{
  "servers": {
    "igniteui-theming": {
      "command": "node",
      "args": ["/absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js"]
    }
  }
}

Using published package:

json
{
  "servers": {
    "igniteui-theming": {
      "command": "npx",
      "args": ["-y", "igniteui-theming"]
    }
  }
}
  1. Go to Settings → Tools → AI Assistant → MCP Servers
  2. Click + Add MCP Server
  3. Configure:
    • Name: igniteui-theming
    • Command: node (for local) or npx (for package)
    • Arguments:
      • Local: /absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js
      • Package: -y igniteui-theming
  4. Click OK and restart AI Assistant

Add to your configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

For local development:

json
{
  "mcpServers": {
    "igniteui-theming": {
      "command": "node",
      "args": ["/absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js"]
    }
  }
}

Using published package:

json
{
  "mcpServers": {
    "igniteui-theming": {
      "command": "npx",
      "args": ["-y", "igniteui-theming"]
    }
  }
}

Create or edit .cursor/mcp.json in your project:

For local development:

json
{
  "mcpServers": {
    "igniteui-theming": {
      "command": "node",
      "args": ["/absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js"]
    }
  }
}

Using published package:

json
{
  "mcpServers": {
    "igniteui-theming": {
      "command": "npx",
      "args": ["-y", "igniteui-theming"]
    }
  }
}

What Can It Do?

🎨 Create Complete Themes

Simply describe your theme to your AI assistant:

"Create a Material Design dark theme for my Angular app with that takes inspiration from the Gruvbox color scheme."

The AI will generate production-ready Sass code with:

  • Color palette with all shade variations
  • Typography setup with proper type scales
  • Elevation shadows
  • Platform-specific imports and configuration

🌈 Generate Color Palettes

"Generate a light theme palette using teal as primary and purple as secondary"

Get perfectly calculated color shades following design system standards.

📝 Setup Typography

"Set up typography using Inter font with Material Design type scale for Web Components"

Get proper typography configuration with font families and responsive type scales.

🎯 Customize Components

"What design tokens are available for the button component?"

"Create a flat button theme with purple background and white text"

Discover and customize individual component styles using design tokens.

Available Capabilities

The MCP server provides 8 tools and 16 resources:

Tools (Actions)

ToolDescription
detect_platformAuto-detect which Ignite UI platform your project uses
create_paletteGenerate color palette with automatic shade calculations
create_custom_paletteCreate palette with fine-grained control over individual shades
create_typographySetup typography with font families and type scales
create_elevationsConfigure elevation shadows
create_themeGenerate complete theme (palette + typography + elevations)
get_component_design_tokensDiscover customizable properties for components
create_component_themeGenerate component-specific theme code

Resources (Reference Data)

  • Platform Information: Configuration for Angular, Web Components, React, and Blazor
  • Preset Libraries: Pre-built palettes, typography, and elevation sets
  • Color Guidance: Best practices for color selection and usage
  • Design System Schemas: Material, Bootstrap, Fluent, and Indigo configurations

Supported Platforms

  • Angular - igniteui-angular
  • Web Components - igniteui-webcomponents
  • React - igniteui-react
  • Blazor - igniteui-blazor

Example Interactions

You: "I'm starting a new Angular project with Ignite UI. Create a complete Material Design theme with primary blue, secondary coral, light theme, and Roboto font"

AI: Uses create_theme tool and generates complete Sass code ready to use

You: "I need a dark mode version with the same primary blue but dark surface"

AI: Uses create_theme with variant: "dark" and generates dark theme code

You: "What properties can I customize on the card component?"

AI: Uses get_component_design_tokens to show available tokens

You: "Make the card have a light gray background with subtle shadow"

AI: Uses create_component_theme to generate component theme code

Full Documentation

For detailed documentation including:

  • Complete tool parameter reference
  • All prompt examples
  • Platform-specific differences
  • Troubleshooting guide
  • Development instructions

See the MCP Server README

Development Scripts

bash
# Build for production (theming + MCP)
npm run build

# Run tests
npm run test

# Debug with MCP Inspector (from packages/mcp)
npm run inspect

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Используйте MCP Ignite UI Theming MCP с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения Ignite UI Theming MCP вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте Ignite UI Theming MCP как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для Ignite UI Theming MCP.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "igniteui-theming": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для Ignite UI Theming MCP, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для Ignite UI Theming MCP.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Ignite UI Theming MCP?
Ignite UI Theming MCP
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Ignite UI Theming MCP.

Часто задаваемые вопросы

Для чего используется сервер MCP Ignite UI Theming MCP?

Ignite UI Theming MCP — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP Ignite UI Theming MCP с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать Ignite UI Theming MCP с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP Ignite UI Theming MCP с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив Ignite UI Theming MCP, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP Ignite UI Theming MCP к TypingMind?

Ignite UI Theming MCP работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP Ignite UI Theming MCP в TypingMind?

Ignite UI Theming MCP предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP Ignite UI Theming MCP?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если Ignite UI Theming MCP требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇