igniteui-theming 25.1.0-beta.2 → 25.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +391 -0
  3. package/dist/mcp/generators/css.d.ts +4 -7
  4. package/dist/mcp/generators/css.js +104 -129
  5. package/dist/mcp/generators/sass.js +254 -227
  6. package/dist/mcp/index.js +323 -259
  7. package/dist/mcp/json/colors/presets/palettes.json.js +13 -0
  8. package/dist/mcp/json/components/themes.json.js +143 -0
  9. package/dist/mcp/json/elevations/indigo.json.js +8 -0
  10. package/dist/mcp/json/elevations/material.json.js +8 -0
  11. package/dist/mcp/json/typography/presets/typescales.json.js +17 -0
  12. package/dist/mcp/knowledge/color-usage.js +502 -524
  13. package/dist/mcp/knowledge/colors.js +50 -61
  14. package/dist/mcp/knowledge/component-metadata.js +598 -697
  15. package/dist/mcp/knowledge/component-themes.js +57 -70
  16. package/dist/mcp/knowledge/custom-palettes.js +9 -4
  17. package/dist/mcp/knowledge/docs/colors/guidance.md.js +4 -0
  18. package/dist/mcp/knowledge/docs/colors/usage.md.js +4 -0
  19. package/dist/mcp/knowledge/docs/layout/functions/border-radius.md.js +4 -0
  20. package/dist/mcp/knowledge/docs/layout/functions/pad.md.js +4 -0
  21. package/dist/mcp/knowledge/docs/layout/functions/sizable.md.js +4 -0
  22. package/dist/mcp/knowledge/docs/layout/mixins/sizable.md.js +4 -0
  23. package/dist/mcp/knowledge/docs/layout/mixins/sizing.md.js +4 -0
  24. package/dist/mcp/knowledge/docs/layout/mixins/spacing.md.js +4 -0
  25. package/dist/mcp/knowledge/docs/layout/overview.md.js +4 -0
  26. package/dist/mcp/knowledge/docs/setup/platform.md.js +4 -0
  27. package/dist/mcp/knowledge/elevations.d.ts +1 -1
  28. package/dist/mcp/knowledge/elevations.js +12 -26
  29. package/dist/mcp/knowledge/index.js +87 -23
  30. package/dist/mcp/knowledge/layout-docs.d.ts +1 -1
  31. package/dist/mcp/knowledge/palettes.js +17 -29
  32. package/dist/mcp/knowledge/platforms/angular.js +120 -98
  33. package/dist/mcp/knowledge/platforms/blazor.js +34 -39
  34. package/dist/mcp/knowledge/platforms/common.js +68 -83
  35. package/dist/mcp/knowledge/platforms/index.js +242 -265
  36. package/dist/mcp/knowledge/platforms/react.js +35 -43
  37. package/dist/mcp/knowledge/platforms/webcomponents.js +292 -266
  38. package/dist/mcp/knowledge/typography.js +5 -13
  39. package/dist/mcp/resources/presets.js +508 -409
  40. package/dist/mcp/tools/descriptions.js +154 -98
  41. package/dist/mcp/tools/handlers/color.js +56 -58
  42. package/dist/mcp/tools/handlers/component-theme.js +225 -163
  43. package/dist/mcp/tools/handlers/component-tokens.js +219 -159
  44. package/dist/mcp/tools/handlers/custom-palette.js +179 -138
  45. package/dist/mcp/tools/handlers/elevations.js +28 -27
  46. package/dist/mcp/tools/handlers/layout.js +176 -125
  47. package/dist/mcp/tools/handlers/palette.js +120 -105
  48. package/dist/mcp/tools/handlers/platform.js +311 -289
  49. package/dist/mcp/tools/handlers/resource.js +31 -22
  50. package/dist/mcp/tools/handlers/theme.js +103 -86
  51. package/dist/mcp/tools/handlers/typography.js +30 -29
  52. package/dist/mcp/tools/schemas.js +218 -239
  53. package/dist/mcp/utils/color.js +239 -277
  54. package/dist/mcp/utils/preprocessing.js +30 -57
  55. package/dist/mcp/utils/result.js +45 -43
  56. package/dist/mcp/utils/sass.js +191 -271
  57. package/dist/mcp/utils/types.js +53 -96
  58. package/dist/mcp/validators/custom-palette.js +243 -218
  59. package/dist/mcp/validators/palette.js +229 -231
  60. package/dist/mcp/vite-env.d.ts +18 -0
  61. package/index.js +5 -0
  62. package/json/components/bootstrap.json +1 -0
  63. package/json/components/fluent.json +1 -0
  64. package/json/components/indigo.json +1 -0
  65. package/json/components/material.json +1 -0
  66. package/{dist/json → json}/components/themes.json +25 -0
  67. package/package.json +63 -43
  68. package/sass/json/README.md +7 -12
  69. package/sass/themes/_mixins.scss +0 -1
  70. package/sass/themes/components/button-group/_button-group-theme.scss +16 -0
  71. package/sass/themes/components/chip/_chip-theme.scss +24 -0
  72. package/sass/themes/components/drop-down/_drop-down-theme.scss +22 -4
  73. package/sass/themes/components/grid/_grid-theme.scss +356 -0
  74. package/sass/themes/components/input/_input-theme.scss +59 -0
  75. package/sass/themes/components/scrollbar/_scrollbar-theme.scss +8 -0
  76. package/sass/themes/components/select/_select-theme.scss +20 -0
  77. package/sass/themes/schemas/components/dark/_grid.scss +43 -0
  78. package/sass/themes/schemas/components/light/_grid.scss +97 -0
  79. package/tailwind/utilities/bootstrap.css +1 -0
  80. package/tailwind/utilities/fluent.css +1 -0
  81. package/tailwind/utilities/indigo.css +1 -0
  82. package/tailwind/utilities/material.css +1 -0
  83. package/dist/index.d.ts +0 -75
  84. package/dist/index.js +0 -12
  85. package/dist/json/components/bootstrap.json +0 -1
  86. package/dist/json/components/fluent.json +0 -1
  87. package/dist/json/components/indigo.json +0 -1
  88. package/dist/json/components/material.json +0 -1
  89. package/dist/mcp/knowledge/docs/colors/guidance.js +0 -4
  90. package/dist/mcp/knowledge/docs/colors/usage.js +0 -4
  91. package/dist/mcp/knowledge/docs/layout/functions/border-radius.js +0 -4
  92. package/dist/mcp/knowledge/docs/layout/functions/pad.js +0 -4
  93. package/dist/mcp/knowledge/docs/layout/functions/sizable.js +0 -4
  94. package/dist/mcp/knowledge/docs/layout/mixins/sizable.js +0 -4
  95. package/dist/mcp/knowledge/docs/layout/mixins/sizing.js +0 -4
  96. package/dist/mcp/knowledge/docs/layout/mixins/spacing.js +0 -4
  97. package/dist/mcp/knowledge/docs/layout/overview.js +0 -4
  98. package/dist/mcp/knowledge/docs/setup/platform.js +0 -4
  99. package/dist/mcp/knowledge/multipliers.js +0 -5
  100. package/dist/mcp/knowledge/sass-api.js +0 -1
  101. package/dist/mcp/resources/index.js +0 -1
  102. package/dist/mcp/theming/dist/json/colors/meta/multipliers.js +0 -50
  103. package/dist/mcp/theming/dist/json/colors/presets/palettes.js +0 -85
  104. package/dist/mcp/theming/dist/json/components/themes.js +0 -5762
  105. package/dist/mcp/theming/dist/json/elevations/indigo.js +0 -29
  106. package/dist/mcp/theming/dist/json/elevations/material.js +0 -3
  107. package/dist/mcp/theming/dist/json/typography/presets/typescales.js +0 -621
  108. package/dist/mcp/tools/handlers/index.js +0 -11
  109. package/dist/mcp/tools/index.js +0 -13
  110. package/dist/mcp/utils/theming-resolve.d.ts +0 -19
  111. package/dist/mcp/utils/theming-resolve.js +0 -57
  112. package/dist/mcp/validators/index.js +0 -3
  113. package/dist/tailwind/utilities/bootstrap.css +0 -1
  114. package/dist/tailwind/utilities/fluent.css +0 -1
  115. package/dist/tailwind/utilities/indigo.css +0 -1
  116. package/dist/tailwind/utilities/material.css +0 -1
  117. /package/{dist/json → json}/colors/meta/multipliers.json +0 -0
  118. /package/{dist/json → json}/colors/meta/palette.json +0 -0
  119. /package/{dist/json → json}/colors/presets/palettes.json +0 -0
  120. /package/{dist/json → json}/elevations/indigo.json +0 -0
  121. /package/{dist/json → json}/elevations/material.json +0 -0
  122. /package/{dist/json → json}/typography/presets/typescales.json +0 -0
  123. /package/{dist/tailwind → tailwind}/themes/base.css +0 -0
  124. /package/{dist/tailwind → tailwind}/themes/dark/bootstrap.css +0 -0
  125. /package/{dist/tailwind → tailwind}/themes/dark/fluent.css +0 -0
  126. /package/{dist/tailwind → tailwind}/themes/dark/indigo.css +0 -0
  127. /package/{dist/tailwind → tailwind}/themes/dark/material.css +0 -0
  128. /package/{dist/tailwind → tailwind}/themes/light/bootstrap.css +0 -0
  129. /package/{dist/tailwind → tailwind}/themes/light/fluent.css +0 -0
  130. /package/{dist/tailwind → tailwind}/themes/light/indigo.css +0 -0
  131. /package/{dist/tailwind → tailwind}/themes/light/material.css +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ © Copyright 2022 INFRAGISTICS. All Rights Reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,391 @@
1
+ <h1 align="center">
2
+ Ignite UI Theming - from Infragistics
3
+ </h1>
4
+
5
+ [![npm version](https://badge.fury.io/js/igniteui-theming.svg)](https://badge.fury.io/js/igniteui-theming)
6
+
7
+ 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.
8
+
9
+ ## Palettes
10
+
11
+ 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:
12
+
13
+ ![Palettes](https://user-images.githubusercontent.com/45598235/189592212-0d58b08d-3c98-4f27-8ec3-c6f674c9942b.png)
14
+
15
+ To access any of the colors in the palettes, you can use the `color` function:
16
+
17
+ ```scss
18
+ background: color($light-material-palette, 'primary', 500);
19
+ ```
20
+
21
+ 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](<https://github.com/IgniteUI/igniteui-theming/wiki/Colors-(Draft)>)
22
+
23
+ ## Typography
24
+
25
+ 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.
26
+
27
+ ![Typography](https://user-images.githubusercontent.com/45598235/189596034-d8697bc1-e683-4d4a-a113-96e17fc90d4b.png)
28
+
29
+ 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.
30
+
31
+ ```scss
32
+ @include typography($font-family: $material-typeface, $type-scale: $material-type-scale);
33
+ ```
34
+
35
+ Learn more about the typography module in the package by checking out the [Typography Wiki Page](<https://github.com/IgniteUI/igniteui-theming/wiki/Typography-(Draft)>)
36
+
37
+ ## Elevations
38
+
39
+ 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.
40
+
41
+ ![Elevations](https://user-images.githubusercontent.com/45598235/189627744-1fa47d35-6b3b-4b7a-b26e-5b46fe4311a4.png)
42
+
43
+ You can set elevations 0-24, by using the `elevation` function, which accepts the elevation level as an argument:
44
+
45
+ ```scss
46
+ box-shadow: elevation(12);
47
+ ```
48
+
49
+ Learn more about elevations and their abilities in the [Elevations Wiki Page](<https://github.com/IgniteUI/igniteui-theming/wiki/Elevations-(draft)>)
50
+
51
+ ## Usage
52
+
53
+ In order to use the Ignite UI Theming in your application you should install the `igniteui-theming` package:
54
+
55
+ ```
56
+ npm install igniteui-theming
57
+ ```
58
+
59
+ Next, you will need to **use** it in the file that you want like this:
60
+
61
+ ```scss
62
+ @use '.../node_modules/igniteui-theming/' as *;
63
+ ```
64
+
65
+ You can also **use** just a fraction of the package:
66
+
67
+ ```scss
68
+ @use '.../node_modules/igniteui-theming/sass/color' as *;
69
+ ```
70
+
71
+ 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:
72
+
73
+ ```scss
74
+ @use '.../node_modules/igniteui-theming/sass/typography/presets' as *;
75
+ ```
76
+
77
+ You can read more about what the package contains on the [Wiki page](https://github.com/IgniteUI/igniteui-theming/wiki)
78
+
79
+ ## Linting and Testing
80
+
81
+ To scan the project for linting errors, run
82
+
83
+ ```
84
+ npm run lint
85
+ ```
86
+
87
+ To run the suite of tests, run
88
+
89
+ ```
90
+ npm run test
91
+ ```
92
+
93
+ ## Building and Running API Docs
94
+
95
+ To build the docs, run
96
+
97
+ ```
98
+ npm run build:docs
99
+ ```
100
+
101
+ To start the docs in your browser, run
102
+
103
+ ```
104
+ npm run serve:docs
105
+ ```
106
+
107
+ ## Testing and Debugging
108
+
109
+ ### Preview Palettes
110
+
111
+ To preview a palette you can pass the palette (`material`, `bootstrap`, `fluent`, `indigo`) and variant (`light` or `dark`) to the `palette` and `variant` arguments respectively. If you want to output the result to a file in the `./dist` folder add the `out` option.
112
+
113
+ ```
114
+ npm run preview:palette -- --palette=material --variant=light --out
115
+ ```
116
+
117
+ ---
118
+
119
+ ## MCP Server (AI-Assisted Theming)
120
+
121
+ The Ignite UI Theming package includes a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that enables AI assistants to generate production-ready theming code for your Ignite UI applications.
122
+
123
+ ### What is MCP?
124
+
125
+ 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:
126
+
127
+ - 🎨 **Generate color palettes** with automatic shade variations
128
+ - 📝 **Create typography systems** following design standards
129
+ - 🌓 **Build complete themes** for light and dark modes
130
+ - 🎯 **Customize components** with design tokens
131
+ - ✅ **Validate colors** for accessibility compliance
132
+
133
+ ### Quick Start
134
+
135
+ #### 1. Clone and Build
136
+
137
+ Clone the repository and build the MCP server:
138
+
139
+ ```bash
140
+ npm install
141
+ npm run build:mcp
142
+ ```
143
+
144
+ #### 2. Configure Your AI Client
145
+
146
+ The MCP server works with any MCP-compatible client. Here are setup instructions for popular clients:
147
+
148
+ <details>
149
+ <summary><strong>VS Code</strong> (with MCP-compatible extensions)</summary>
150
+
151
+ **For local development** - Create or edit `.vscode/mcp.json`:
152
+
153
+ ```json
154
+ {
155
+ "servers": {
156
+ "igniteui-theming": {
157
+ "command": "node",
158
+ "args": ["/absolute/path/to/igniteui-theming/dist/mcp/index.js"]
159
+ }
160
+ }
161
+ }
162
+ ```
163
+
164
+ **Using published package**:
165
+
166
+ ```json
167
+ {
168
+ "servers": {
169
+ "igniteui-theming": {
170
+ "command": "npx",
171
+ "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
172
+ }
173
+ }
174
+ }
175
+ ```
176
+
177
+ </details>
178
+
179
+ <details>
180
+ <summary><strong>WebStorm / JetBrains IDEs</strong></summary>
181
+
182
+ 1. Go to **Settings → Tools → AI Assistant → MCP Servers**
183
+ 2. Click **+ Add MCP Server**
184
+ 3. Configure:
185
+ - **Name**: `igniteui-theming`
186
+ - **Command**: `node` (for local) or `npx` (for package)
187
+ - **Arguments**:
188
+ - Local: `/absolute/path/to/igniteui-theming/dist/mcp/index.js`
189
+ - Package: `igniteui-theming igniteui-theming-mcp`
190
+ 4. Click **OK** and restart AI Assistant
191
+
192
+ </details>
193
+
194
+ <details>
195
+ <summary><strong>Claude Desktop</strong></summary>
196
+
197
+ Add to your configuration file:
198
+
199
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
200
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
201
+
202
+ **For local development**:
203
+
204
+ ```json
205
+ {
206
+ "mcpServers": {
207
+ "igniteui-theming": {
208
+ "command": "node",
209
+ "args": ["/absolute/path/to/igniteui-theming/dist/mcp/index.js"]
210
+ }
211
+ }
212
+ }
213
+ ```
214
+
215
+ **Using published package**:
216
+
217
+ ```json
218
+ {
219
+ "mcpServers": {
220
+ "igniteui-theming": {
221
+ "command": "npx",
222
+ "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
223
+ }
224
+ }
225
+ }
226
+ ```
227
+
228
+ </details>
229
+
230
+ <details>
231
+ <summary><strong>Cursor</strong></summary>
232
+
233
+ Create or edit `.cursor/mcp.json` in your project:
234
+
235
+ **For local development**:
236
+
237
+ ```json
238
+ {
239
+ "mcpServers": {
240
+ "igniteui-theming": {
241
+ "command": "node",
242
+ "args": ["/absolute/path/to/igniteui-theming/dist/mcp/index.js"]
243
+ }
244
+ }
245
+ }
246
+ ```
247
+
248
+ **Using published package**:
249
+
250
+ ```json
251
+ {
252
+ "mcpServers": {
253
+ "igniteui-theming": {
254
+ "command": "npx",
255
+ "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
256
+ }
257
+ }
258
+ }
259
+ ```
260
+
261
+ </details>
262
+
263
+ ### What Can It Do?
264
+
265
+ #### 🎨 Create Complete Themes
266
+
267
+ Simply describe your theme to your AI assistant:
268
+
269
+ > "Create a Material Design dark theme for my Angular app with that takes inspiration from the Gruvbox color scheme."
270
+
271
+ The AI will generate production-ready Sass code with:
272
+
273
+ - Color palette with all shade variations
274
+ - Typography setup with proper type scales
275
+ - Elevation shadows
276
+ - Platform-specific imports and configuration
277
+
278
+ #### 🌈 Generate Color Palettes
279
+
280
+ > "Generate a light theme palette using teal as primary and purple as secondary"
281
+
282
+ Get perfectly calculated color shades following design system standards.
283
+
284
+ #### 📝 Setup Typography
285
+
286
+ > "Set up typography using Inter font with Material Design type scale for Web Components"
287
+
288
+ Get proper typography configuration with font families and responsive type scales.
289
+
290
+ #### 🎯 Customize Components
291
+
292
+ > "What design tokens are available for the button component?"
293
+ >
294
+ > "Create a flat button theme with purple background and white text"
295
+
296
+ Discover and customize individual component styles using design tokens.
297
+
298
+ ### Available Capabilities
299
+
300
+ The MCP server provides **8 tools** and **16 resources**:
301
+
302
+ #### Tools (Actions)
303
+
304
+ | Tool | Description |
305
+ | ----------------------------- | --------------------------------------------------------------- |
306
+ | `detect_platform` | Auto-detect which Ignite UI platform your project uses |
307
+ | `create_palette` | Generate color palette with automatic shade calculations |
308
+ | `create_custom_palette` | Create palette with fine-grained control over individual shades |
309
+ | `create_typography` | Setup typography with font families and type scales |
310
+ | `create_elevations` | Configure elevation shadows |
311
+ | `create_theme` | Generate complete theme (palette + typography + elevations) |
312
+ | `get_component_design_tokens` | Discover customizable properties for components |
313
+ | `create_component_theme` | Generate component-specific theme code |
314
+
315
+ #### Resources (Reference Data)
316
+
317
+ - **Platform Information**: Configuration for Angular, Web Components, React, and Blazor
318
+ - **Preset Libraries**: Pre-built palettes, typography, and elevation sets
319
+ - **Color Guidance**: Best practices for color selection and usage
320
+ - **Design System Schemas**: Material, Bootstrap, Fluent, and Indigo configurations
321
+
322
+ ### Supported Platforms
323
+
324
+ - **Angular** - `igniteui-angular`
325
+ - **Web Components** - `igniteui-webcomponents`
326
+ - **React** - `igniteui-react`
327
+ - **Blazor** - `igniteui-blazor`
328
+
329
+ ### Example Interactions
330
+
331
+ <details>
332
+ <summary><strong>Creating a new project theme</strong></summary>
333
+
334
+ **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"
335
+
336
+ **AI**: _Uses `create_theme` tool and generates complete Sass code ready to use_
337
+
338
+ </details>
339
+
340
+ <details>
341
+ <summary><strong>Adding dark mode</strong></summary>
342
+
343
+ **You**: "I need a dark mode version with the same primary blue but dark surface"
344
+
345
+ **AI**: _Uses `create_theme` with `variant: "dark"` and generates dark theme code_
346
+
347
+ </details>
348
+
349
+ <details>
350
+ <summary><strong>Customizing components</strong></summary>
351
+
352
+ **You**: "What properties can I customize on the card component?"
353
+
354
+ **AI**: _Uses `get_component_design_tokens` to show available tokens_
355
+
356
+ **You**: "Make the card have a light gray background with subtle shadow"
357
+
358
+ **AI**: _Uses `create_component_theme` to generate component theme code_
359
+
360
+ </details>
361
+
362
+ ### Full Documentation
363
+
364
+ For detailed documentation including:
365
+
366
+ - Complete tool parameter reference
367
+ - All prompt examples
368
+ - Platform-specific differences
369
+ - Troubleshooting guide
370
+ - Development instructions
371
+
372
+ See the [MCP Server README](./src/mcp/README.md)
373
+
374
+ ### Development Scripts
375
+
376
+ ```bash
377
+ # Build for production
378
+ npm run build:mcp
379
+
380
+ # Debug with MCP Inspector
381
+ npm run mcp:inspector
382
+
383
+ # Run tests
384
+ npm run test
385
+ ```
386
+
387
+ ---
388
+
389
+ ## Contributing
390
+
391
+ Contributions are welcome! Please feel free to submit a Pull Request.
@@ -1,4 +1,3 @@
1
- import { FileImporter } from 'sass-embedded';
2
1
  import { ColorDefinition, GrayDefinition, PLATFORMS, ThemeVariant } from '../utils/types.js';
3
2
  /**
4
3
  * Result from generating CSS palette variables.
@@ -27,8 +26,7 @@ export interface PaletteCssOptions {
27
26
  warn?: string;
28
27
  error?: string;
29
28
  variant?: ThemeVariant;
30
- /** Internal testing parameter for Sass importers */
31
- _importers?: FileImporter[];
29
+ _loadPaths?: string[];
32
30
  }
33
31
  /**
34
32
  * Generate CSS custom properties for a standard palette.
@@ -62,8 +60,7 @@ export interface CustomPaletteCssOptions {
62
60
  warn: ColorDefinition;
63
61
  error: ColorDefinition;
64
62
  };
65
- /** Internal testing parameter for Sass importers */
66
- _importers?: FileImporter[];
63
+ _loadPaths?: string[];
67
64
  }
68
65
  /**
69
66
  * Generate CSS custom properties for a custom palette.
@@ -95,8 +92,8 @@ export interface ComponentThemeCssOptions {
95
92
  selector?: string;
96
93
  /** Custom variable name (optional) */
97
94
  name?: string;
98
- /** Internal testing parameter for Sass importers */
99
- _importers?: FileImporter[];
95
+ /** Internal testing parameter for load paths */
96
+ _loadPaths?: string[];
100
97
  }
101
98
  /**
102
99
  * Generate CSS custom properties for a component theme.