fix: fix windsurf icon on light theme (#17679)

This commit is contained in:
Bruno Quaresma
2025-05-05 11:10:50 -03:00
committed by GitHub
parent b8137e7ca4
commit 93a584b7c2
2 changed files with 3 additions and 1 deletions
@@ -1,5 +1,6 @@
import ComputerIcon from "@mui/icons-material/Computer";
import type { WorkspaceApp } from "api/typesGenerated";
import { ExternalImage } from "components/ExternalImage/ExternalImage";
import type { FC } from "react";
interface BaseIconProps {
@@ -9,7 +10,7 @@ interface BaseIconProps {
export const BaseIcon: FC<BaseIconProps> = ({ app, onIconPathError }) => {
return app.icon ? (
<img
<ExternalImage
alt={`${app.display_name} Icon`}
src={app.icon}
style={{ pointerEvents: "none" }}
+1
View File
@@ -160,4 +160,5 @@ export const defaultParametersForBuiltinIcons = new Map<string, string>([
["/icon/rust.svg", "monochrome"],
["/icon/terminal.svg", "monochrome"],
["/icon/widgets.svg", "monochrome"],
["/icon/windsurf.svg", "monochrome"],
]);