Logo di Ignite UI Theming MCP

Ignite UI Theming MCP

Organizzazione
IgniteUI

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

AutoreIgniteUI
Repositoryigniteui-theming
LinguaSCSS
Fork
2
Stelle
44
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Ignite UI Theming MCP mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    44 stelle e 2 fork nel repository collegato.

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.

Usa MCP Ignite UI Theming MCP con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Ignite UI Theming MCP, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Ignite UI Theming MCP come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Ignite UI Theming MCP.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "igniteui-theming": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Ignite UI Theming MCP, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Ignite UI Theming MCP.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Ignite UI Theming MCP per aiutarmi con questa attività?
Ignite UI Theming MCP
Certo. Ho letto.
Ecco cosa ho trovato con Ignite UI Theming MCP.

Domande frequenti

A cosa serve il server MCP Ignite UI Theming MCP?

Ignite UI Theming MCP è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Ignite UI Theming MCP MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Ignite UI Theming MCP con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Ignite UI Theming MCP con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Ignite UI Theming MCP, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Ignite UI Theming MCP MCP a TypingMind?

Ignite UI Theming MCP funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Ignite UI Theming MCP MCP in TypingMind?

Ignite UI Theming MCP mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Ignite UI Theming MCP MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Ignite UI Theming MCP richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇