diff --git a/README.md b/README.md
index 8f749d8..2d3d2db 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ MIT. Badges are free to use anywhere, no attribution needed.
## Credits
-Badge fonts: [Plus Jakarta Sans](https://github.com/tokotype/PlusJakartaSans) and [JetBrains Mono](https://github.com/JetBrains/JetBrainsMono), copies in `fonts/`. Page fonts: [Geist](https://github.com/vercel/geist-font) and [Outfit](https://github.com/Outfitio/Outfit-Fonts), copies in `public/fonts/`. All under the SIL Open Font License. Brand icons: [Simple Icons](https://simpleicons.org), CC0. Logos remain trademarks of their owners.
+Badge fonts: [Plus Jakarta Sans](https://github.com/tokotype/PlusJakartaSans) and [JetBrains Mono](https://github.com/JetBrains/JetBrainsMono), copies in `fonts/`. Page fonts: [Geist](https://github.com/vercel/geist-font) and [Outfit](https://github.com/Outfitio/Outfit-Fonts), copies in `public/fonts/`. All under the SIL Open Font License. Brand icons: [Simple Icons](https://simpleicons.org), CC0. PHP, Visual Studio Code, LinkedIn and InPost logos from Wikimedia Commons (public domain), Przelewy24 from przelewy24.pl, sources in `icons/brand/`. Logos remain trademarks of their owners.
---
diff --git a/icons/brand/inpost.svg b/icons/brand/inpost.svg
new file mode 100644
index 0000000..81554bf
--- /dev/null
+++ b/icons/brand/inpost.svg
@@ -0,0 +1,57 @@
+
+
\ No newline at end of file
diff --git a/icons/brand/linkedin.svg b/icons/brand/linkedin.svg
new file mode 100644
index 0000000..46087a0
--- /dev/null
+++ b/icons/brand/linkedin.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/brand/php.svg b/icons/brand/php.svg
new file mode 100644
index 0000000..e4f137c
--- /dev/null
+++ b/icons/brand/php.svg
@@ -0,0 +1,96 @@
+
+
\ No newline at end of file
diff --git a/icons/brand/przelewy24.svg b/icons/brand/przelewy24.svg
new file mode 100644
index 0000000..74e6982
--- /dev/null
+++ b/icons/brand/przelewy24.svg
@@ -0,0 +1,63 @@
+
+
+
+
diff --git a/icons/brand/vscode.svg b/icons/brand/vscode.svg
new file mode 100644
index 0000000..0557c2c
--- /dev/null
+++ b/icons/brand/vscode.svg
@@ -0,0 +1,41 @@
+
diff --git a/scripts/build-icons.mjs b/scripts/build-icons.mjs
index be9afd9..ab5c4ae 100644
--- a/scripts/build-icons.mjs
+++ b/scripts/build-icons.mjs
@@ -1,4 +1,4 @@
-// Copies the selected Simple Icons into src/icons/simple.generated.ts. Run: pnpm icons
+// Builds src/icons/generated.ts from Simple Icons and the logos in icons/brand. Run: pnpm icons
import fs from 'node:fs';
import * as simpleIcons from 'simple-icons';
@@ -116,19 +116,73 @@ if (missing.length) {
process.exit(1);
}
-const entries = Object.entries(selection)
- .sort(([a], [b]) => a.localeCompare(b))
- .map(([id, slug]) => {
- const icon = bySlug.get(slug);
- return ` ${JSON.stringify(id)}: { title: ${JSON.stringify(icon.title)}, hex: '#${icon.hex.toLowerCase()}', path: ${JSON.stringify(icon.path)} },`;
- });
+// Simple Icons only has these as black squares, which all look alike once flipped for a dark tile.
+const gradients = {
+ webstorm: ['#07c3f2', '#087cfa'],
+ phpstorm: ['#b345f1', '#ff318c'],
+ goland: ['#3bea62', '#0d7bf7'],
+ pycharm: ['#21d789', '#fcf84a'],
+ idea: ['#fe315d', '#087cfa'],
+};
+
+// Multi-colour logos Simple Icons does not carry, from Wikimedia Commons (public domain) and przelewy24.pl.
+const brand = {
+ php: { title: 'PHP', hex: '#777bb4' },
+ vscode: { title: 'Visual Studio Code', hex: '#007acc' },
+ linkedin: { title: 'LinkedIn', hex: '#0a66c2' },
+ przelewy24: { title: 'Przelewy24', hex: '#d13239' },
+ inpost: { title: 'InPost', hex: '#ffcb04' },
+};
+
+function sanitize(id, source) {
+ const clean = source
+ .replace(/<\?xml[\s\S]*?\?>/g, '')
+ .replace(//g, '')
+ .replace(//g, '')
+ .replace(//g, '')
+ .replace(//g, '');
+ const root = clean.match(/'))
+ .replace(/\s(sodipodi|inkscape):[\w-]+="[^"]*"/g, '')
+ .replace(/xlink:href=/g, 'href=')
+ .replace(/\sid="([^"]+)"/g, (_, x) => ` id="${id}-${x}"`)
+ .replace(/url\(#([^)]+)\)/g, (_, x) => `url(#${id}-${x})`)
+ .replace(/href="#([^"]+)"/g, (_, x) => `href="#${id}-${x}"`)
+ .replace(/>\s+<')
+ .replace(/\s+/g, ' ')
+ .trim();
+ if (/