We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029d251 commit 41b424eCopy full SHA for 41b424e
server/services/octicons.ts
@@ -12,8 +12,8 @@ async function getIcon(slug: string):
12
return null;
13
}
14
const icon = octicons[normalized as IconName];
15
- // add 'xmlns' attribute to the svg
16
- const svg = icon.toSVG().replace('<svg', '<svg xmlns="http://www.w3.org/2000/svg"');
+ // add 'xmlns' and 'fill' attribute to the svg
+ const svg = icon.toSVG().replace('<svg', '<svg xmlns="http://www.w3.org/2000/svg" fill="whitesmoke"');
17
return {
18
slug: icon.symbol,
19
type: 'svg+xml',
0 commit comments