diff --git a/extensions/tags/js/src/common/helpers/tagLabel.js b/extensions/tags/js/src/common/helpers/tagLabel.js index 8b667bc06..51bf849cd 100644 --- a/extensions/tags/js/src/common/helpers/tagLabel.js +++ b/extensions/tags/js/src/common/helpers/tagLabel.js @@ -12,7 +12,7 @@ export default function tagLabel(tag, attrs = {}) { if (tag) { const color = tag.color(); - const contrast = yiqValue(color); + const contrast = getContrast(color); if (color) { attrs.style['--tag-bg'] = color; attrs.className += ' colored';