sonance-brand-mcp 1.3.113 → 1.3.114
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.
|
@@ -369,7 +369,7 @@ export function parseTailwindConfig(configPath: string, projectRoot: string): Re
|
|
|
369
369
|
// This is a simplified parser that handles common patterns
|
|
370
370
|
|
|
371
371
|
// Pattern 1: colors: { name: "value" } or colors: { name: { DEFAULT: "value" } }
|
|
372
|
-
const colorBlockMatch = content.match(/colors\s*:\s*\{([^}]+(?:\{[^}]*\}[^}]*)*)\}/
|
|
372
|
+
const colorBlockMatch = content.match(/colors\s*:\s*\{([^}]+(?:\{[^}]*\}[^}]*)*)\}/);
|
|
373
373
|
if (colorBlockMatch) {
|
|
374
374
|
const colorBlock = colorBlockMatch[1];
|
|
375
375
|
|
|
@@ -388,7 +388,7 @@ export function parseTailwindConfig(configPath: string, projectRoot: string): Re
|
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
// Pattern 2: extend: { colors: { ... } }
|
|
391
|
-
const extendColorMatch = content.match(/extend\s*:\s*\{[^}]*colors\s*:\s*\{([^}]+(?:\{[^}]*\}[^}]*)*)\}/
|
|
391
|
+
const extendColorMatch = content.match(/extend\s*:\s*\{[^}]*colors\s*:\s*\{([^}]+(?:\{[^}]*\}[^}]*)*)\}/);
|
|
392
392
|
if (extendColorMatch) {
|
|
393
393
|
const extendBlock = extendColorMatch[1];
|
|
394
394
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.114",
|
|
4
4
|
"description": "MCP Server for Sonance Brand Guidelines and Component Library - gives Claude instant access to brand colors, typography, and UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|