Skip to content

Commit 409192c

Browse files
committed
fix: correct container badge color ordering in config-markdown
The badge format expects background and foreground colors in the correct order for proper rendering. Signed-off-by: Igor Pecovnik <igor@armbian.com>
1 parent 7ba295f commit 409192c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/config-markdown.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ def format_container_badge(item):
6161
return ""
6262

6363
colors = {
64-
"docker": ("#039BE5", "#ffffff", "🐳"),
65-
"podman": ("#3B4C6C", "#ffffff", "🐳"),
66-
"lxc": ("#00A8E1", "#ffffff", "📦"),
67-
"kvm": ("#E95420", "#ffffff", "💿"),
64+
"docker": ("#ffffff", "#039BE5", "🐳"),
65+
"podman": ("#ffffff", "#3B4C6C", "🐳"),
66+
"lxc": ("#ffffff", "#00A8E1", "📦"),
67+
"kvm": ("#ffffff", "#E95420", "💿"),
6868
}
6969

7070
bg, fg, icon = colors.get(container_type, ("#757575", "#ffffff", "🐳"))

0 commit comments

Comments
 (0)