You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(slides): accurate Google brand colors, light theme as default
Theme changes:
- Add 'light' theme (default): near-black #202124 headers,
Google Blue 600 #1A73E8 accent, Arial, white background.
Safe cross-platform — no Google-specific fonts required.
- Fix 'google' theme to match official Google brand palette:
primary: #1A73E8 (Google Blue 600, was #1C549E — wrong)
secondary: #34A853 (Google Green, was #198A3D — wrong)
surface: #E8F0FE (Blue 50)
surfaceAlt:#E6F4EA (Green 50)
text: #1F1F1F (gm3-sys-color-on-surface)
textMuted: #444746 (gm3-sys-color-on-surface-variant)
font: Google Sans (unchanged)
- Fix 'dark' theme primary to #0B57D0 (Material 3 gm3-sys-color-primary)
- 'light' is now the default when no theme param is provided,
giving new users sensible font and color defaults out of the box.
Backward compat: existing blueprints with explicit RGB values
get theme.text as text color default (was hardcoded black).
Copy file name to clipboardExpand all lines: workspace-server/src/index.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -609,10 +609,10 @@ async function main() {
609
609
'JSON string of the slide blueprint. Use {"slides":[{"elements":[...]},...]} for multiple slides or {"elements":[...]} for one slide. Will be parsed server-side.',
610
610
),
611
611
theme: z
612
-
.enum(['google','minimal','dark'])
612
+
.enum(['light','google','dark'])
613
613
.optional()
614
614
.describe(
615
-
'Named colour palette and font defaults. "google" = Google Blue/Green + Google Sans. "minimal" = dark grey + Arial. "dark" = dark background + blue accent + Arial. When set, color aliases ("primary", "surface", etc.) resolve to theme colours and font_family defaults to the theme font.',
615
+
'Named colour palette and font defaults. Defaults to "light" when omitted. "light" = clean neutral (near-black headers, Google Blue 600 accent, Arial — works on any machine). "google" = official Google brand palette (Blue #1A73E8, Green #34A853, Google Sans font). "dark" = dark background, blue accent, Arial. Color aliases in style fields ("primary", "primary_text", "secondary", "secondary_text", "surface", "surface_alt", "text", "text_muted", "background") resolve to the active theme. font_family defaults to the theme font; pass "theme" to opt in explicitly.',
0 commit comments