Generate Sass palettes, typography, elevations, and themes for Ignite UI components.
io.github.IgniteUI/igniteui-theming (MCP Server)
This MCP server exposes functionality for “Ignite UI Theming,” generating Sass palettes, typography, elevations, and themes for Ignite UI components. It is based on the theming package described as a collection of Sass mixins, functions, and variables used to create themes across UI frameworks.
🛠️ Key Features
Generate Sass palettes
Generate typography styles
Generate elevations
Generate themes for Ignite UI components
🚀 Use Cases
Create and apply custom Ignite UI component themes
Define theme tokens using Sass mixins, functions, and variables
Use the theming assets for projects using Infragistics UI frameworks
⚡ Developer Benefits
Standardize theme creation from reusable Sass mixins, functions, and variables
Centralize palette, elevation, and typography style generation in one theming package
⚠️ Limitations
The provided description does not enumerate specific MCP tools, inputs, outputs, or version details.
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:
Package
Name
Description
packages/theming
igniteui-theming
Sass source, JSON build artifacts, published to npm
packages/mcp
igniteui-theming-mcp
MCP 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:
To access any of the colors in the palettes, you can use the color function:
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.
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.
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.
You can set elevations 0-24, by using the elevation function, which accepts the elevation level as an argument:
In order to use the Ignite UI Theming in your application you should install the igniteui-theming package:
code
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
code
npm run lint
To run the suite of tests, run
code
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:
VS Code (with MCP-compatible extensions)
For local development - Create or edit .vscode/mcp.json:
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
Creating a new project theme
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
Adding dark mode
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
Customizing components
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