Skip to content

Commit aa79cb7

Browse files
committed
Finalized variable set
1 parent 445a583 commit aa79cb7

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
@@ -484,50 +484,91 @@ type McpUiStyleVariableKey =
484484
| "--color-background-primary"
485485
| "--color-background-secondary"
486486
| "--color-background-tertiary"
487-
| "--color-background-inverted"
487+
| "--color-background-inverse"
488+
| "--color-background-ghost"
489+
| "--color-background-info"
490+
| "--color-background-danger"
491+
| "--color-background-success"
492+
| "--color-background-warning"
493+
| "--color-background-disabled"
488494
// Text colors
489495
| "--color-text-primary"
490496
| "--color-text-secondary"
491497
| "--color-text-tertiary"
492-
| "--color-text-inverted"
493-
// Icon colors
494-
| "--color-icon-primary"
495-
| "--color-icon-secondary"
496-
| "--color-icon-tertiary"
497-
| "--color-icon-inverted"
498+
| "--color-text-inverse"
499+
| "--color-text-info"
500+
| "--color-text-danger"
501+
| "--color-text-success"
502+
| "--color-text-warning"
503+
| "--color-text-disabled"
498504
// Border colors
499505
| "--color-border-primary"
500506
| "--color-border-secondary"
501-
// Accent colors
502-
| "--color-accent-info"
503-
| "--color-accent-danger"
504-
| "--color-accent-success"
505-
| "--color-accent-warning"
507+
| "--color-border-tertiary"
508+
| "--color-border-inverse"
509+
| "--color-border-ghost"
510+
| "--color-border-info"
511+
| "--color-border-danger"
512+
| "--color-border-success"
513+
| "--color-border-warning"
514+
| "--color-border-disabled"
515+
// Ring colors
516+
| "--color-ring-primary"
517+
| "--color-ring-secondary"
518+
| "--color-ring-inverse"
519+
| "--color-ring-info"
520+
| "--color-ring-danger"
521+
| "--color-ring-success"
522+
| "--color-ring-warning"
506523
// Typography - Family
507-
| "--font-family-sans"
508-
// Typography - Size
509-
| "--font-size-heading"
510-
| "--font-size-body"
511-
| "--font-size-caption"
524+
| "--font-sans"
525+
| "--font-mono"
512526
// Typography - Weight
513-
| "--font-weight-regular"
514-
| "--font-weight-emphasized"
515-
// Typography - Line height
516-
| "--font-leading-regular"
517-
| "--font-leading-tight"
518-
// Typography - Composite styles
519-
| "--font-style-heading"
520-
| "--font-style-body"
521-
| "--font-style-body-emphasized"
522-
| "--font-style-caption"
523-
| "--font-style-caption-emphasized"
527+
| "--font-weight-normal"
528+
| "--font-weight-medium"
529+
| "--font-weight-semibold"
530+
| "--font-weight-bold"
531+
// Typography - Text Size
532+
| "--font-text-xs-size"
533+
| "--font-text-sm-size"
534+
| "--font-text-md-size"
535+
| "--font-text-lg-size"
536+
// Typography - Heading Size
537+
| "--font-heading-xs-size"
538+
| "--font-heading-sm-size"
539+
| "--font-heading-md-size"
540+
| "--font-heading-lg-size"
541+
| "--font-heading-xl-size"
542+
| "--font-heading-2xl-size"
543+
| "--font-heading-3xl-size"
544+
// Typography - Text Line Height
545+
| "--font-text-xs-line-height"
546+
| "--font-text-sm-line-height"
547+
| "--font-text-md-line-height"
548+
| "--font-text-lg-line-height"
549+
// Typography - Heading Line Height
550+
| "--font-heading-xs-line-height"
551+
| "--font-heading-sm-line-height"
552+
| "--font-heading-md-line-height"
553+
| "--font-heading-lg-line-height"
554+
| "--font-heading-xl-line-height"
555+
| "--font-heading-2xl-line-height"
556+
| "--font-heading-3xl-line-height"
524557
// Border radius
525-
| "--border-radius-small"
526-
| "--border-radius-medium"
527-
| "--border-radius-large"
558+
| "--border-radius-xs"
559+
| "--border-radius-sm"
560+
| "--border-radius-md"
561+
| "--border-radius-lg"
562+
| "--border-radius-xl"
528563
| "--border-radius-full"
529564
// Border width
530-
| "--border-width-regular";
565+
| "--border-width-regular"
566+
// Shadows
567+
| "--shadow-hairline"
568+
| "--shadow-sm"
569+
| "--shadow-md"
570+
| "--shadow-lg";
571+
```
531572

532573
#### Host Behavior
533574

0 commit comments

Comments
 (0)