sonance-brand-mcp 1.2.2 → 1.2.4
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
| Brand | Primary Color | Accent Color | Theme |
|
|
10
10
|
|-------|---------------|--------------|-------|
|
|
11
|
-
| **Sonance** | Charcoal `#333F48` | Cyan "The Beam" `#
|
|
11
|
+
| **Sonance** | Charcoal `#333F48` | Cyan "The Beam" `#00A3E1` | Light preferred |
|
|
12
12
|
| **Sonance Foundation** | Charcoal `#333F48` | Green `#00B2A9` | Light preferred |
|
|
13
13
|
| **IPORT** | Black `#0E1114` | Orange `#FC4C02` | Dark preferred |
|
|
14
14
|
| **Blaze Audio** | Black `#1A1A1C` | Blue `#00A3E1` | Dark preferred |
|
|
@@ -65,7 +65,7 @@ font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-s
|
|
|
65
65
|
| Color | Hex | CSS Variable | Tailwind Class | Usage |
|
|
66
66
|
|-------|-----|--------------|----------------|-------|
|
|
67
67
|
| Charcoal | `#333F48` | `--sonance-charcoal` | `bg-sonance-charcoal` | Primary brand color, text |
|
|
68
|
-
| The Beam (Cyan) | `#
|
|
68
|
+
| The Beam (Cyan) | `#00A3E1` | `--sonance-blue` | `bg-sonance-blue` | Accent, highlights |
|
|
69
69
|
| Light Gray | `#D9D9D6` | `--sonance-light-gray` | `bg-sonance-light-gray` | Backgrounds, borders |
|
|
70
70
|
| White | `#FFFFFF` | `--sonance-white` | `bg-sonance-white` | Backgrounds |
|
|
71
71
|
| Black | `#000000` | `--sonance-black` | `bg-sonance-black` | Text on light backgrounds |
|
|
@@ -447,7 +447,7 @@ When crediting a photographer, follow these guidelines consistently:
|
|
|
447
447
|
:root {
|
|
448
448
|
/* Sonance Core */
|
|
449
449
|
--sonance-charcoal: #333F48;
|
|
450
|
-
--sonance-blue: #
|
|
450
|
+
--sonance-blue: #00A3E1;
|
|
451
451
|
--sonance-light-gray: #D9D9D6;
|
|
452
452
|
|
|
453
453
|
/* IPORT Core */
|
package/dist/assets/globals.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
:root {
|
|
8
8
|
/* Core Brand Colors - Official Sonance Palette (from Brand Guidelines PDF) */
|
|
9
9
|
--sonance-charcoal: #333F48;
|
|
10
|
-
--sonance-blue: #
|
|
10
|
+
--sonance-blue: #00A3E1; /* "The Beam" - cyan accent on logo | Pantone 2191C/2191U */
|
|
11
11
|
--sonance-light-gray: #D9D9D6;
|
|
12
12
|
--sonance-white: #FFFFFF;
|
|
13
13
|
--sonance-black: #000000;
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"/logos/sonance/Sonance_Logo_Black_RGB.png",
|
|
29
29
|
"/logos/sonance/Sonance_Logo_Grayscale_RGB.png",
|
|
30
30
|
"/logos/sonance/Sonance_Logo_Reverse_RGB.png",
|
|
31
|
+
"/logos/sonance-academy/SonanceAcademy_Logo_Dark_CMYK.png",
|
|
32
|
+
"/logos/sonance-academy/SonanceAcademy_Logo_Light_CMYK.png",
|
|
31
33
|
"/logos/sonance-iport/Sonance_IPORT_LockUp_3C_Dark_RGB.png",
|
|
32
34
|
"/logos/sonance-iport/Sonance_IPORT_LockUp_3C_Light_RGB.png",
|
|
33
35
|
"/logos/sonance-iport/Sonance_IPORT_LockUp_3C_Reverse_RGB.png",
|
package/dist/index.js
CHANGED
|
@@ -365,7 +365,7 @@ function extractBrandColors() {
|
|
|
365
365
|
silver: extractColor("--sonance-silver") || "#e2e2e2",
|
|
366
366
|
white: extractColor("--sonance-white") || "#FFFFFF",
|
|
367
367
|
black: extractColor("--sonance-black") || "#000000",
|
|
368
|
-
teal: "#
|
|
368
|
+
teal: "#00A3E1", // Sonance accent (The Beam)
|
|
369
369
|
gray50: extractColor("--sonance-gray-50") || "#f8f9f9",
|
|
370
370
|
gray100: extractColor("--sonance-gray-100") || "#f0f1f2",
|
|
371
371
|
gray500: extractColor("--sonance-gray-500") || "#7a8389",
|
|
@@ -379,7 +379,7 @@ function extractBrandColors() {
|
|
|
379
379
|
silver: "#e2e2e2",
|
|
380
380
|
white: "#FFFFFF",
|
|
381
381
|
black: "#000000",
|
|
382
|
-
teal: "#
|
|
382
|
+
teal: "#00A3E1",
|
|
383
383
|
gray50: "#f8f9f9",
|
|
384
384
|
gray100: "#f0f1f2",
|
|
385
385
|
gray500: "#7a8389",
|
|
@@ -424,7 +424,7 @@ const BRAND_PALETTES = {
|
|
|
424
424
|
sonance: {
|
|
425
425
|
primary: "#343d46", // Sonance Charcoal
|
|
426
426
|
secondary: "#e2e2e2", // Sonance Silver
|
|
427
|
-
accent: "#
|
|
427
|
+
accent: "#00A3E1", // Sonance Blue (The Beam)
|
|
428
428
|
background: "#FFFFFF",
|
|
429
429
|
foreground: "#343d46",
|
|
430
430
|
name: "Sonance",
|
|
@@ -474,7 +474,7 @@ function getBrandColorPatterns(brand) {
|
|
|
474
474
|
sonance: {
|
|
475
475
|
primaryPattern: /343d46|343D46|#343d46|0x34.*0x3D.*0x46|rgb\(52.*61.*70\)|charcoal|CHARCOAL|sonance-charcoal/i,
|
|
476
476
|
secondaryPattern: /e2e2e2|E2E2E2|#e2e2e2|0xE2.*0xE2.*0xE2|rgb\(226.*226.*226\)|silver|SILVER|sonance-silver/i,
|
|
477
|
-
accentPattern: /
|
|
477
|
+
accentPattern: /00A3E1|00a3e1|#00A3E1|0x00.*0xA3.*0xE1|rgb\(0.*163.*225\)|sonance-blue|SONANCE.*BLUE/i,
|
|
478
478
|
},
|
|
479
479
|
iport: {
|
|
480
480
|
primaryPattern: /0F161D|0f161d|#0F161D|0x0F.*0x16.*0x1D|rgb\(15.*22.*29\)|iport.*dark/i,
|
|
@@ -1047,7 +1047,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1047
1047
|
light: `## Sonance Light Theme Design Tokens
|
|
1048
1048
|
|
|
1049
1049
|
### Colors
|
|
1050
|
-
- **Primary/Accent**: \`#
|
|
1050
|
+
- **Primary/Accent**: \`#00A3E1\` (Sonance Blue) — \`bg-sonance-blue\`, \`text-sonance-blue\`
|
|
1051
1051
|
- **Text Primary**: \`#333F48\` (Charcoal) — \`text-sonance-charcoal\`
|
|
1052
1052
|
- **Background**: \`#FFFFFF\` or \`#F5F5F5\` — \`bg-white\`, \`bg-sonance-light-gray\`
|
|
1053
1053
|
- **Borders/Dividers**: \`#D9D9D6\` — \`border-sonance-light-gray\`
|
|
@@ -1072,7 +1072,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1072
1072
|
dark: `## Sonance Dark Theme Design Tokens
|
|
1073
1073
|
|
|
1074
1074
|
### Colors
|
|
1075
|
-
- **Primary/Accent**: \`#
|
|
1075
|
+
- **Primary/Accent**: \`#00A3E1\` (Sonance Blue) — \`bg-sonance-blue\`, \`text-sonance-blue\`
|
|
1076
1076
|
- **Text Primary**: \`#FFFFFF\` — \`text-white\`
|
|
1077
1077
|
- **Background**: \`#333F48\` (Charcoal) — \`bg-sonance-charcoal\`
|
|
1078
1078
|
- **Text Secondary**: \`#D9D9D6\` — \`text-sonance-light-gray\`
|
|
@@ -1428,10 +1428,10 @@ Now design the **${component_description}** following these tokens and principle
|
|
|
1428
1428
|
const accentPattern = brandPatterns.accentPattern;
|
|
1429
1429
|
// Common non-brand colors that indicate incomplete rebranding (exclude target brand colors)
|
|
1430
1430
|
const nonBrandColors = evalBrand === "sonance"
|
|
1431
|
-
? /0066CC|0078D4|1E90FF|007BFF|2196F3|FF5722|FF9800|4CAF50|8BC34A|E91E63|9C27B0|673AB7|3F51B5|FC4C02|0F161D|28282B|
|
|
1431
|
+
? /0066CC|0078D4|1E90FF|007BFF|2196F3|FF5722|FF9800|4CAF50|8BC34A|E91E63|9C27B0|673AB7|3F51B5|FC4C02|0F161D|28282B|C02B0A/i
|
|
1432
1432
|
: evalBrand === "iport"
|
|
1433
|
-
? /0066CC|0078D4|1E90FF|007BFF|2196F3|FF5722|FF9800|4CAF50|8BC34A|E91E63|9C27B0|673AB7|3F51B5|343d46|
|
|
1434
|
-
: /0066CC|0078D4|1E90FF|007BFF|2196F3|FF5722|FF9800|4CAF50|8BC34A|E91E63|9C27B0|673AB7|3F51B5|343d46|
|
|
1433
|
+
? /0066CC|0078D4|1E90FF|007BFF|2196F3|FF5722|FF9800|4CAF50|8BC34A|E91E63|9C27B0|673AB7|3F51B5|343d46|00A3E1|28282B|C02B0A/i
|
|
1434
|
+
: /0066CC|0078D4|1E90FF|007BFF|2196F3|FF5722|FF9800|4CAF50|8BC34A|E91E63|9C27B0|673AB7|3F51B5|343d46|00A3E1|FC4C02|0F161D/i;
|
|
1435
1435
|
// Brand-specific logo patterns
|
|
1436
1436
|
const logoPatterns = {
|
|
1437
1437
|
sonance: /logo|sonance.*\.(png|jpg|svg)|Sonance_logo|add_picture|drawImage|Image\(/i,
|
|
@@ -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.4",
|
|
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",
|