~fabrixxm/activist

3d96f93cfb7e6cb7fe719851d4c3ce06e2590060 — fabrixxm a month ago cae2c58
update 'build-icons-css' script
1 files changed, 2 insertions(+), 2 deletions(-)

M dev/build-icon-css.py
M dev/build-icon-css.py => dev/build-icon-css.py +2 -2
@@ 29,12 29,12 @@ replaces = [
]


clsre = re.compile(f' {iconprefix}[^0-9"]+')
clsre = re.compile(f'[\'" ]{iconprefix}[^0-9\'"]+')
iconnames = set()
for templatefile in templatepath.glob("**/*.j2"):
    res = clsre.findall(templatefile.read_text())
    for r in res:
        iconnames.add(r.replace(iconprefix, "").strip())
        iconnames.add(r.replace(iconprefix, "").strip(" '\""))

# [class*=" si-"], [class^="si-"] {
	# align-self: center;