mcp: switch icon theme to named string type (#733)
To be consistent with logging level, use a named string type for icon themes. This improves readability / discoverability, and is more consistent. Updates #552 For #725
This commit is contained in:
parent
76e6854375
commit
411d5a049a
1 changed files with 17 additions and 6 deletions
|
|
@ -291,6 +291,6 @@ func mcpIcons() []mcp.Icon {
|
|||
Source: "data:image/png;base64," + base64.StdEncoding.EncodeToString(mcpIconData),
|
||||
MIMEType: "image/png",
|
||||
Sizes: []string{"48x48"},
|
||||
Theme: "light", // or "dark" or empty
|
||||
Theme: mcp.IconThemeLight,
|
||||
}}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue