Skip to content

Commit 0c7bcd0

Browse files
committed
Finalized variable set
1 parent 7bf456c commit 0c7bcd0

File tree

5 files changed

+1317
-261
lines changed

5 files changed

+1317
-261
lines changed

examples/customer-segmentation-server/src/mcp-app.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
--color-accent-info: light-dark(#2563eb, #3b82f6);
2121

2222
/* Border radius */
23-
--border-radius-small: 4px;
24-
--border-radius-medium: 8px;
23+
--border-radius-sm: 6px;
24+
--border-radius-md: 8px;
2525

2626
/* App-specific colors (not from host) */
2727
--color-enterprise: light-dark(#1e40af, #3b82f6);
@@ -38,7 +38,7 @@ html, body {
3838
}
3939

4040
.main {
41-
border-radius: var(--border-radius-medium);
41+
border-radius: var(--border-radius-md);
4242
background: var(--color-background-primary);
4343
width: 100%;
4444
height: 600px;
@@ -95,7 +95,7 @@ html, body {
9595
padding: 4px 8px;
9696
font-size: 0.8125rem;
9797
border: 1px solid var(--color-border-primary);
98-
border-radius: var(--border-radius-small);
98+
border-radius: var(--border-radius-sm);
9999
background: var(--color-background-secondary);
100100
color: var(--color-text-primary);
101101
cursor: pointer;
@@ -111,7 +111,7 @@ html, body {
111111
flex: 1;
112112
min-height: 0;
113113
background: var(--color-background-secondary);
114-
border-radius: var(--border-radius-medium);
114+
border-radius: var(--border-radius-md);
115115
padding: 8px;
116116
border: 1px solid var(--color-border-primary);
117117
}
@@ -190,7 +190,7 @@ html, body {
190190
gap: 16px;
191191
height: 100%;
192192
background: var(--color-background-secondary);
193-
border-radius: var(--border-radius-small);
193+
border-radius: var(--border-radius-sm);
194194
padding: 0 12px;
195195
border: 1px solid var(--color-border-primary);
196196
font-size: 0.8125rem;
@@ -206,7 +206,7 @@ html, body {
206206

207207
.detail-segment {
208208
padding: 2px 8px;
209-
border-radius: var(--border-radius-small);
209+
border-radius: var(--border-radius-sm);
210210
font-size: 0.75rem;
211211
font-weight: 500;
212212
color: white;

specification/draft/apps.mdx

Lines changed: 73 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -481,50 +481,91 @@ type McpUiStyleVariableKey =
481481
| "--color-background-primary"
482482
| "--color-background-secondary"
483483
| "--color-background-tertiary"
484-
| "--color-background-inverted"
484+
| "--color-background-inverse"
485+
| "--color-background-ghost"
486+
| "--color-background-info"
487+
| "--color-background-danger"
488+
| "--color-background-success"
489+
| "--color-background-warning"
490+
| "--color-background-disabled"
485491
// Text colors
486492
| "--color-text-primary"
487493
| "--color-text-secondary"
488494
| "--color-text-tertiary"
489-
| "--color-text-inverted"
490-
// Icon colors
491-
| "--color-icon-primary"
492-
| "--color-icon-secondary"
493-
| "--color-icon-tertiary"
494-
| "--color-icon-inverted"
495+
| "--color-text-inverse"
496+
| "--color-text-info"
497+
| "--color-text-danger"
498+
| "--color-text-success"
499+
| "--color-text-warning"
500+
| "--color-text-disabled"
495501
// Border colors
496502
| "--color-border-primary"
497503
| "--color-border-secondary"
498-
// Accent colors
499-
| "--color-accent-info"
500-
| "--color-accent-danger"
501-
| "--color-accent-success"
502-
| "--color-accent-warning"
504+
| "--color-border-tertiary"
505+
| "--color-border-inverse"
506+
| "--color-border-ghost"
507+
| "--color-border-info"
508+
| "--color-border-danger"
509+
| "--color-border-success"
510+
| "--color-border-warning"
511+
| "--color-border-disabled"
512+
// Ring colors
513+
| "--color-ring-primary"
514+
| "--color-ring-secondary"
515+
| "--color-ring-inverse"
516+
| "--color-ring-info"
517+
| "--color-ring-danger"
518+
| "--color-ring-success"
519+
| "--color-ring-warning"
503520
// Typography - Family
504-
| "--font-family-sans"
505-
// Typography - Size
506-
| "--font-size-heading"
507-
| "--font-size-body"
508-
| "--font-size-caption"
521+
| "--font-sans"
522+
| "--font-mono"
509523
// Typography - Weight
510-
| "--font-weight-regular"
511-
| "--font-weight-emphasized"
512-
// Typography - Line height
513-
| "--font-leading-regular"
514-
| "--font-leading-tight"
515-
// Typography - Composite styles
516-
| "--font-style-heading"
517-
| "--font-style-body"
518-
| "--font-style-body-emphasized"
519-
| "--font-style-caption"
520-
| "--font-style-caption-emphasized"
524+
| "--font-weight-normal"
525+
| "--font-weight-medium"
526+
| "--font-weight-semibold"
527+
| "--font-weight-bold"
528+
// Typography - Text Size
529+
| "--font-text-xs-size"
530+
| "--font-text-sm-size"
531+
| "--font-text-md-size"
532+
| "--font-text-lg-size"
533+
// Typography - Heading Size
534+
| "--font-heading-xs-size"
535+
| "--font-heading-sm-size"
536+
| "--font-heading-md-size"
537+
| "--font-heading-lg-size"
538+
| "--font-heading-xl-size"
539+
| "--font-heading-2xl-size"
540+
| "--font-heading-3xl-size"
541+
// Typography - Text Line Height
542+
| "--font-text-xs-line-height"
543+
| "--font-text-sm-line-height"
544+
| "--font-text-md-line-height"
545+
| "--font-text-lg-line-height"
546+
// Typography - Heading Line Height
547+
| "--font-heading-xs-line-height"
548+
| "--font-heading-sm-line-height"
549+
| "--font-heading-md-line-height"
550+
| "--font-heading-lg-line-height"
551+
| "--font-heading-xl-line-height"
552+
| "--font-heading-2xl-line-height"
553+
| "--font-heading-3xl-line-height"
521554
// Border radius
522-
| "--border-radius-small"
523-
| "--border-radius-medium"
524-
| "--border-radius-large"
555+
| "--border-radius-xs"
556+
| "--border-radius-sm"
557+
| "--border-radius-md"
558+
| "--border-radius-lg"
559+
| "--border-radius-xl"
525560
| "--border-radius-full"
526561
// Border width
527-
| "--border-width-regular";
562+
| "--border-width-regular"
563+
// Shadows
564+
| "--shadow-hairline"
565+
| "--shadow-sm"
566+
| "--shadow-md"
567+
| "--shadow-lg";
568+
```
528569

529570
#### Host Behavior
530571

0 commit comments

Comments
 (0)