diff --git a/src/generate_repo_overview/_html_common.py b/src/generate_repo_overview/_html_common.py
index 440b61f..3524f28 100644
--- a/src/generate_repo_overview/_html_common.py
+++ b/src/generate_repo_overview/_html_common.py
@@ -4,6 +4,7 @@
from pathlib import Path
from typing import TYPE_CHECKING
+from ._icons import _bazel_svg
from .metrics_report import parse_version_key
if TYPE_CHECKING:
@@ -13,10 +14,7 @@
CSS = (_TEMPLATES / "styles.css").read_text(encoding="utf-8")
-BAZEL_ICON = (
- '
'
-)
+BAZEL_ICON = _bazel_svg('class="icon-bazel"')
GITHUB_ICON = (
diff --git a/src/generate_repo_overview/_icons.py b/src/generate_repo_overview/_icons.py
new file mode 100644
index 0000000..6ea4fb5
--- /dev/null
+++ b/src/generate_repo_overview/_icons.py
@@ -0,0 +1,19 @@
+from __future__ import annotations
+
+import re
+from pathlib import Path
+
+_TEMPLATES = Path(__file__).parent / "templates"
+
+# Inner content of the official Bazel SVG (paths only, no outer