Fixed default tag icon overriding other icons

This commit is contained in:
squidfunk 2024-01-15 17:19:47 +07:00
parent d87c20fafc
commit e68e1330ab
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
{% for type, icon in config.theme.icon.tag.items() %}
{% import ".icons/" ~ icon ~ ".svg" as icon %}
{% if type != "default" %}
{% set modifier = "--" ~ type %}
{% set modifier = ".md-tag--" ~ type %}
{% endif %}
{% set _ = style.append(
".md-tag" ~ modifier ~ "{" ~

View File

@ -56,7 +56,7 @@
{% for type, icon in config.theme.icon.tag.items() %}
{% import ".icons/" ~ icon ~ ".svg" as icon %}
{% if type != "default" %}
{% set modifier = "--" ~ type %}
{% set modifier = ".md-tag--" ~ type %}
{% endif %}
{% set _ = style.append(
".md-tag" ~ modifier ~ "{" ~