@enfyra/mcp-server 0.0.119 → 0.0.121
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/package.json
CHANGED
|
@@ -400,8 +400,8 @@ function getExtensionThemeContract() {
|
|
|
400
400
|
],
|
|
401
401
|
compactExample: '<template><section class="min-h-full w-full space-y-4"><article class="eapp-surface-card p-4"><div class="flex items-start justify-between gap-3"><div><p class="text-sm eapp-text-tertiary">Neutral KPI</p><p class="mt-2 text-2xl font-semibold eapp-text-primary">24</p></div><span class="eapp-primary-soft eapp-radius-control p-2"><UIcon name="lucide:square-stack" class="size-5 eapp-primary-text" /></span></div><div class="mt-3 h-1.5 overflow-hidden eapp-radius-pill eapp-surface-muted"><div class="eapp-primary-solid h-full w-1/2"></div></div></article><section class="eapp-surface-card p-4"><div class="flex items-center justify-between gap-3"><p class="font-semibold eapp-text-primary">Status block stays neutral</p><UBadge color="success" variant="soft">Healthy</UBadge></div></section></section></template>',
|
|
402
402
|
contractAuthority: [
|
|
403
|
-
'This is the authoritative Enfyra theme & color contract. Source of truth: documents/app/theme-color-contract.md. The app owns color
|
|
404
|
-
'Every color flows from two base layers: --md-* (Material, runtime primary picker) and --st-* (status).
|
|
403
|
+
'This is the authoritative Enfyra theme & color contract. Source of truth: documents/app/theme-color-contract.md. The app owns color through app/utils/primary-colors.ts (Material You seed-to-role generation), app/assets/css/theme.css (semantic variables and Nuxt UI ramps), app/assets/css/main.css (extension-safe semantic utilities), and app/app.config.ts (Nuxt UI component mapping). Pages and extensions only CONSUME classes/Nuxt UI props; they never define colors.',
|
|
404
|
+
'Every color flows from two base layers: --md-* (Material You, runtime primary picker) and --st-* (status). Runtime primary roles are generated with SchemeTonalSpot. Success/warning/info stay fixed status quarts; error follows the generated Material error role through the single --danger-* lane. All Nuxt UI semantic colors (primary/secondary/success/warning/error/info/neutral) are re-pointed to these, so Nuxt UI is used per its docs but colors are decided by Enfyra. This applies to the shell, system pages, and compiled dynamic extensions.',
|
|
405
405
|
'Call get_theme_class_reference for the full class->variable->Nuxt UI table when you need the exact class name or variable.',
|
|
406
406
|
],
|
|
407
407
|
classReference: {
|
|
@@ -430,7 +430,7 @@ function getThemeClassReference() {
|
|
|
430
430
|
secondary: 'runtime --md-tertiary (intentional secondary accent only).',
|
|
431
431
|
success: '--st-success (healthy/success).',
|
|
432
432
|
warning: '--st-warning (pending/attention).',
|
|
433
|
-
error: '--
|
|
433
|
+
error: 'single --danger-* lane from Material error roles (destructive/error). Ghost danger text uses --danger-on-surface; danger fills use --danger-surface.',
|
|
434
434
|
info: '--st-info (informational).',
|
|
435
435
|
neutral: 'neutral surfaces (secondary chrome, non-actions).',
|
|
436
436
|
},
|