chore: refresh collected sites — adopt vet, sync react-openapi bundle
collect.py run: adds the vet reference app (TypeDoc lib site + doc-weaver MCP bundle), picks up the refreshed react-openapi specExtensions module from Phase 1, and re-renders the docs homepage.
This commit is contained in:
30
vet/mcp/modules/shared-theme.AppTheme.json
Normal file
30
vet/mcp/modules/shared-theme.AppTheme.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"module": "shared-theme.AppTheme",
|
||||
"content": {
|
||||
"path": "shared-theme.AppTheme",
|
||||
"docstring": "App theme provider and color-mode context.\r\n\r\nWraps the MUI `ThemeProvider` with the design tokens (`getDesignTokens`),\r\nsemantic colors (`getSemanticColors`) and component customizations\r\n(`inputsCustomizations`, `dataDisplayCustomizations`,\r\n`feedbackCustomizations`, `navigationCustomizations`,\r\n`surfacesCustomizations`). Exposes a light/dark `ColorModeContext` and\r\npublishes the semantic colors as CSS custom properties (`--bg-page`,\r\n`--bg-card`, `--text-primary`, ...) for the app subtree.",
|
||||
"objects": {
|
||||
"ColorMode": {
|
||||
"name": "ColorMode",
|
||||
"kind": "type-alias",
|
||||
"path": "shared-theme.AppTheme.ColorMode",
|
||||
"signature": "ColorMode: \"light\" | \"dark\"",
|
||||
"docstring": "Color mode of the app theme."
|
||||
},
|
||||
"ColorModeContext": {
|
||||
"name": "ColorModeContext",
|
||||
"kind": "component",
|
||||
"path": "shared-theme.AppTheme.ColorModeContext",
|
||||
"signature": "ColorModeContext: React.Context<ColorModeContextValue>",
|
||||
"docstring": "Context giving the current color mode and its setters."
|
||||
},
|
||||
"AppTheme": {
|
||||
"name": "AppTheme",
|
||||
"kind": "component",
|
||||
"path": "shared-theme.AppTheme.AppTheme",
|
||||
"signature": "default(__namedParameters: AppThemeProps): React.JSX.Element",
|
||||
"docstring": "Provide the MUI theme, color-mode context and CSS variables to `children`.\r\n\r\nBuilds the theme from `getDesignTokens(mode)` + `getSemanticColors(mode)` +\r\nthe component customizations, and re-creates it whenever the mode changes.\r\nAlso sets `--bg-page`, `--bg-card`, `--bg-elevated`, `--border-default`,\r\n`--border-subtle`, `--text-primary`, `--text-secondary` and `--text-muted`\r\non a wrapper `Box`.\r\n\r\nProps: `children` and `defaultMode` (see `AppThemeProps`).\n\n**Example:**\n\n```tsx\r\n<AppTheme defaultMode=\"dark\">\r\n <CssBaseline />\r\n <App />\r\n</AppTheme>\r\n```"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user