New navigation settings layout options and styling (#6645)

Co-authored-by: Zane Staggs <zane@squareup.com>
Co-authored-by: Zane <75694352+zanesq@users.noreply.github.com>
This commit is contained in:
Spence
2026-02-23 11:56:51 -05:00
committed by GitHub
parent c73bad9a9c
commit 5349dd6098
45 changed files with 2446 additions and 1585 deletions
+3 -7
View File
@@ -24,9 +24,7 @@ type ThemeTokens = Record<McpUiStyleVariableKey, string>;
// Subset of keys that are the same across both themes.
type BaseTokenKey = Extract<
McpUiStyleVariableKey,
| `--font-${string}`
| `--border-radius-${string}`
| `--border-width-${string}`
`--font-${string}` | `--border-radius-${string}` | `--border-width-${string}`
>;
type ColorTokenKey = Exclude<McpUiStyleVariableKey, BaseTokenKey>;
@@ -143,8 +141,7 @@ const lightColorTokens: ColorTokens = {
'--shadow-hairline': '0 0 0 1px rgba(0, 0, 0, 0.05)',
'--shadow-sm': '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
'--shadow-md': '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)',
'--shadow-lg':
'0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)',
'--shadow-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)',
};
// ---------------------------------------------------------------------------
@@ -200,8 +197,7 @@ const darkColorTokens: ColorTokens = {
'--shadow-hairline': '0 0 0 1px rgba(0, 0, 0, 0.2)',
'--shadow-sm': '0 1px 2px 0 rgba(0, 0, 0, 0.2)',
'--shadow-md': '0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2)',
'--shadow-lg':
'0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2)',
'--shadow-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2)',
};
// ---------------------------------------------------------------------------