Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: a favicon that shows on any tab strip

Sidwebworks23ab4be85324
diff --git a/apps/academy/public/carbon-favicon.png b/apps/academy/public/carbon-favicon.png
new file mode 100644
index 0000000000..84f46cd8cf
Binary files /dev/null and b/apps/academy/public/carbon-favicon.png differ
diff --git a/apps/academy/public/carbon-favicon.svg b/apps/academy/public/carbon-favicon.svg
new file mode 100644
index 0000000000..ee71f08896
--- /dev/null
+++ b/apps/academy/public/carbon-favicon.svg
@@ -0,0 +1,4 @@
+<svg width="480" height="480" viewBox="-28 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" fill="#101A24" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+<path fill="#FFFFFF" d="M224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+</svg>
diff --git a/apps/academy/public/carbon-mark.svg b/apps/academy/public/carbon-mark.svg
deleted file mode 100644
index b88678c749..0000000000
--- a/apps/academy/public/carbon-mark.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="424" height="480" viewBox="0 0 424 480" fill="none" xmlns="http://www.w3.org/2000/svg">
-<style>path{fill:#101A24}@media (prefers-color-scheme:dark){path{fill:#E6E6E6}}</style>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
-</svg>
diff --git a/apps/erp/public/carbon-favicon.png b/apps/erp/public/carbon-favicon.png
new file mode 100644
index 0000000000..84f46cd8cf
Binary files /dev/null and b/apps/erp/public/carbon-favicon.png differ
diff --git a/apps/erp/public/carbon-favicon.svg b/apps/erp/public/carbon-favicon.svg
new file mode 100644
index 0000000000..ee71f08896
--- /dev/null
+++ b/apps/erp/public/carbon-favicon.svg
@@ -0,0 +1,4 @@
+<svg width="480" height="480" viewBox="-28 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" fill="#101A24" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+<path fill="#FFFFFF" d="M224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+</svg>
diff --git a/apps/erp/public/carbon-mark.svg b/apps/erp/public/carbon-mark.svg
deleted file mode 100644
index b88678c749..0000000000
--- a/apps/erp/public/carbon-mark.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="424" height="480" viewBox="0 0 424 480" fill="none" xmlns="http://www.w3.org/2000/svg">
-<style>path{fill:#101A24}@media (prefers-color-scheme:dark){path{fill:#E6E6E6}}</style>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
-</svg>
diff --git a/apps/mes/public/carbon-favicon.png b/apps/mes/public/carbon-favicon.png
new file mode 100644
index 0000000000..84f46cd8cf
Binary files /dev/null and b/apps/mes/public/carbon-favicon.png differ
diff --git a/apps/mes/public/carbon-favicon.svg b/apps/mes/public/carbon-favicon.svg
new file mode 100644
index 0000000000..ee71f08896
--- /dev/null
+++ b/apps/mes/public/carbon-favicon.svg
@@ -0,0 +1,4 @@
+<svg width="480" height="480" viewBox="-28 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" fill="#101A24" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+<path fill="#FFFFFF" d="M224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+</svg>
diff --git a/apps/mes/public/carbon-mark.svg b/apps/mes/public/carbon-mark.svg
deleted file mode 100644
index b88678c749..0000000000
--- a/apps/mes/public/carbon-mark.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="424" height="480" viewBox="0 0 424 480" fill="none" xmlns="http://www.w3.org/2000/svg">
-<style>path{fill:#101A24}@media (prefers-color-scheme:dark){path{fill:#E6E6E6}}</style>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
-</svg>
diff --git a/apps/starter/public/carbon-favicon.png b/apps/starter/public/carbon-favicon.png
new file mode 100644
index 0000000000..84f46cd8cf
Binary files /dev/null and b/apps/starter/public/carbon-favicon.png differ
diff --git a/apps/starter/public/carbon-favicon.svg b/apps/starter/public/carbon-favicon.svg
new file mode 100644
index 0000000000..ee71f08896
--- /dev/null
+++ b/apps/starter/public/carbon-favicon.svg
@@ -0,0 +1,4 @@
+<svg width="480" height="480" viewBox="-28 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" fill="#101A24" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+<path fill="#FFFFFF" d="M224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+</svg>
diff --git a/apps/starter/public/carbon-mark.svg b/apps/starter/public/carbon-mark.svg
deleted file mode 100644
index b88678c749..0000000000
--- a/apps/starter/public/carbon-mark.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="424" height="480" viewBox="0 0 424 480" fill="none" xmlns="http://www.w3.org/2000/svg">
-<style>path{fill:#101A24}@media (prefers-color-scheme:dark){path{fill:#E6E6E6}}</style>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
-</svg>
diff --git a/docs/public/carbon-favicon.png b/docs/public/carbon-favicon.png
new file mode 100644
index 0000000000..84f46cd8cf
Binary files /dev/null and b/docs/public/carbon-favicon.png differ
diff --git a/docs/public/carbon-favicon.svg b/docs/public/carbon-favicon.svg
new file mode 100644
index 0000000000..ee71f08896
--- /dev/null
+++ b/docs/public/carbon-favicon.svg
@@ -0,0 +1,4 @@
+<svg width="480" height="480" viewBox="-28 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" fill="#101A24" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+<path fill="#FFFFFF" d="M224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
+</svg>
diff --git a/docs/public/carbon-mark.svg b/docs/public/carbon-mark.svg
deleted file mode 100644
index b88678c749..0000000000
--- a/docs/public/carbon-mark.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="424" height="480" viewBox="0 0 424 480" fill="none" xmlns="http://www.w3.org/2000/svg">
-<style>path{fill:#101A24}@media (prefers-color-scheme:dark){path{fill:#E6E6E6}}</style>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M176.24 9.80407C198.287 -3.26801 225.714 -3.26803 247.761 9.80407L389.658 93.9389C410.947 106.562 424 129.472 424 154.217V325.783C424 350.528 410.947 373.439 389.658 386.062L247.761 470.196C225.714 483.268 198.287 483.268 176.24 470.196L34.3432 386.062C13.0539 373.439 0.000129963 350.528 0 325.783V154.217C0.000219136 129.472 13.054 106.562 34.3432 93.9389L176.24 9.80407ZM224.561 112.025C217.155 107.562 207.886 107.551 200.471 111.999L124.056 157.836C108.898 166.929 108.938 188.904 124.128 197.943L200.899 243.618C202.762 244.727 203.903 246.734 203.903 248.901V339.17C203.903 357.314 223.69 368.532 239.265 359.22L314.442 314.275C321.496 310.057 325.815 302.443 325.815 294.225V186.253C325.815 178.065 321.527 170.474 314.514 166.246L224.561 112.025Z"/>
-</svg>
diff --git a/packages/utils/src/favicon.ts b/packages/utils/src/favicon.ts
index f3226d5ca5..e9685ea117 100644
--- a/packages/utils/src/favicon.ts
+++ b/packages/utils/src/favicon.ts
@@ -7,13 +7,16 @@
* Carbon app so the browser tab icon is uniform across erp, mes, academy,
* starter, and docs.
*
- * Theme-aware through ONE icon: `carbon-mark.svg` recolours itself with an
- * internal `prefers-color-scheme` rule. Not two PNGs switched by `media`:
- * Chrome does not apply `media` to icon links reliably, and showed the mark
- * while loading, then dropped it. The PNG is the fallback for browsers without
- * SVG favicons; its `sizes` lets Chrome still prefer the SVG (`sizes="any"`).
+ * One icon for every background: a dark mark with an opaque white glyph
+ * (`carbon-favicon.svg`, and `carbon-favicon.png` for browsers without SVG
+ * favicons). It does not follow `prefers-color-scheme`. That follows the OS,
+ * not the tab strip: Arc's sidebar and a dark Chrome theme on a light OS are
+ * dark while the scheme says light, and an adaptive mark drew dark on dark
+ * there. Nor two PNGs switched by `media`: Chrome does not apply `media` to
+ * icon links reliably, and dropped the mark after loading. A new file name is
+ * also what makes browsers drop an icon they cached.
*
- * The referenced assets (`carbon-mark.svg`, `carbon-mark-light.png`,
+ * The referenced assets (`carbon-favicon.svg`, `carbon-favicon.png`,
* `apple-touch-icon.png`, `site.webmanifest`) must exist in each app's
* `public/` dir — static assets are served per-origin, so they are copied into
* every app rather than imported from here.
@@ -32,13 +35,13 @@ export const faviconLinks: FaviconLink[] = [
{
rel: "icon",
type: "image/png",
- href: "/carbon-mark-light.png",
+ href: "/carbon-favicon.png",
sizes: "480x480"
},
{
rel: "icon",
type: "image/svg+xml",
- href: "/carbon-mark.svg",
+ href: "/carbon-favicon.svg",
sizes: "any"
},
{