diff --git a/app/assets/javascripts/discourse/app/components/categories-boxes-with-topics.hbs b/app/assets/javascripts/discourse/app/components/categories-boxes-with-topics.hbs
index bb6a83be3c7..10480daa034 100644
--- a/app/assets/javascripts/discourse/app/components/categories-boxes-with-topics.hbs
+++ b/app/assets/javascripts/discourse/app/components/categories-boxes-with-topics.hbs
@@ -1,12 +1,7 @@
{{#each this.categories as |c|}}
diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss
index 80eedde0147..861c4f62ca4 100644
--- a/app/assets/stylesheets/common/base/category-list.scss
+++ b/app/assets/stylesheets/common/base/category-list.scss
@@ -58,7 +58,7 @@
border-width: 0;
border-left-width: 6px;
border-style: solid;
- border-color: var(--primary-low);
+ border-color: var(--category-color, var(--primary-low));
.mobile-view & {
width: 100%;
diff --git a/app/assets/stylesheets/desktop/category-list.scss b/app/assets/stylesheets/desktop/category-list.scss
index 90d95baac6a..9b8b0b06cb1 100644
--- a/app/assets/stylesheets/desktop/category-list.scss
+++ b/app/assets/stylesheets/desktop/category-list.scss
@@ -92,7 +92,7 @@
tbody {
.category {
- border-left: 6px solid;
+ border-left: 6px solid var(--category-color, var(--primary-low));
h3,
h4 {
line-height: var(--line-height-medium);