sonance-brand-mcp 1.2.2 → 1.2.3
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.
- package/dist/index.js +56 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3053,14 +3053,62 @@ This gives you the complete ${brand.toUpperCase()} component library including:
|
|
|
3053
3053
|
|
|
3054
3054
|
**DO NOT proceed without calling get_full_library first.**
|
|
3055
3055
|
|
|
3056
|
-
### Step 2:
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3056
|
+
### Step 2: Audit the Existing Application (MANDATORY)
|
|
3057
|
+
You **MUST** thoroughly scan the existing codebase to understand what needs changing.
|
|
3058
|
+
|
|
3059
|
+
**2a. Scan for Components**
|
|
3060
|
+
Search for and list all UI components:
|
|
3061
|
+
- Buttons, Cards, Inputs, Forms, Modals, Tables
|
|
3062
|
+
- Navigation components (headers, sidebars, menus)
|
|
3063
|
+
- Custom components in /components directory
|
|
3064
|
+
- Note: Which can be replaced with ${brand.toUpperCase()} library equivalents?
|
|
3065
|
+
|
|
3066
|
+
**2b. Find Hardcoded Colors**
|
|
3067
|
+
Search for and list all color values:
|
|
3068
|
+
- Hex codes (#fff, #000, #3b82f6, etc.)
|
|
3069
|
+
- RGB/RGBA values (rgb(59, 130, 246))
|
|
3070
|
+
- HSL values
|
|
3071
|
+
- Tailwind color classes (bg-blue-500, text-gray-900)
|
|
3072
|
+
- Note: These ALL need to be replaced with semantic variables
|
|
3073
|
+
|
|
3074
|
+
**2c. Locate Logo Files**
|
|
3075
|
+
Find all logo/brand assets:
|
|
3076
|
+
- Search /public, /assets, /images directories
|
|
3077
|
+
- Check for SVG, PNG, JPG logo files
|
|
3078
|
+
- Find where logos are imported/used in code
|
|
3079
|
+
- Note: These need to be replaced with ${brand.toUpperCase()} logos
|
|
3080
|
+
|
|
3081
|
+
**2d. Check Theme/CSS Setup**
|
|
3082
|
+
Examine existing styling infrastructure:
|
|
3083
|
+
- globals.css or global styles
|
|
3084
|
+
- tailwind.config.js/ts (custom colors, fonts)
|
|
3085
|
+
- Theme providers or context
|
|
3086
|
+
- CSS variables already in use
|
|
3087
|
+
- Note: This is where ${brand.toUpperCase()} theme will be integrated
|
|
3088
|
+
|
|
3089
|
+
**2e. Font Configuration**
|
|
3090
|
+
Check current font setup:
|
|
3091
|
+
- Font imports (Google Fonts, local fonts)
|
|
3092
|
+
- Font family declarations
|
|
3093
|
+
- Note: Replace with Montserrat
|
|
3094
|
+
|
|
3095
|
+
**2f. Additional Findings**
|
|
3096
|
+
Note any other brand-related items discovered:
|
|
3097
|
+
- Third-party UI libraries (shadcn, MUI, Chakra, etc.)
|
|
3098
|
+
- Animation libraries with hardcoded color values
|
|
3099
|
+
- Icon sets that may need updating
|
|
3100
|
+
- Environment-specific styles or themes
|
|
3101
|
+
- Any other brand-inconsistent patterns
|
|
3102
|
+
|
|
3103
|
+
**After auditing, create a change manifest:**
|
|
3104
|
+
| Category | Files Found | Changes Needed |
|
|
3105
|
+
|----------|-------------|----------------|
|
|
3106
|
+
| Components | list files... | Replace with ${brand.toUpperCase()} equivalents |
|
|
3107
|
+
| Colors | list files... | Convert to CSS variables |
|
|
3108
|
+
| Logos | list files... | Replace with ${brand.toUpperCase()} logos |
|
|
3109
|
+
| Theme | list files... | Integrate ${brand.toUpperCase()} theme |
|
|
3110
|
+
| Fonts | list files... | Switch to Montserrat |
|
|
3111
|
+
| Other | list files... | Address findings |
|
|
3064
3112
|
|
|
3065
3113
|
### Step 3: Redesign Systematically
|
|
3066
3114
|
Work through the app in this order:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
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",
|