Skip to content

Commit df9dd03

Browse files
committed
chore: use a className matching to theme name
1 parent bdd6f6c commit df9dd03

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

common/common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
vertical-align: middle;
88
}
99

10-
.discourse-tag--colored {
10+
.discourse-tag--tag-icons-style {
1111
&.simple {
1212
color: var(--color1, --tag-text-color);
1313
}

javascripts/discourse/initializers/tag-icons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function iconTagRenderer(tag, params) {
3030
).body.firstChild;
3131

3232
tagElement.prepend(iconElement);
33-
tagElement.classList.add("discourse-tag--colored");
33+
tagElement.classList.add("discourse-tag--tag-icons-style");
3434
tagElement.style.setProperty("--color1", color1 ?? "inherit");
3535
tagElement.style.setProperty("--color2", color2 ?? "inherit");
3636

0 commit comments

Comments
 (0)