Add Wikipedia icon, support for filled SVGs

This commit is contained in:
2026-02-24 13:25:17 +04:00
parent 4fdf2e2fb6
commit e980431c17
4 changed files with 13 additions and 4 deletions

View File

@@ -74,7 +74,11 @@ export default class IconComponent extends Component {
<template>
{{#if this.svg}}
<span class="icon" style={{this.style}} title={{this.title}}>
<span
class="icon {{if @filled 'icon-filled'}}"
style={{this.style}}
title={{this.title}}
>
{{htmlSafe this.svg}}
</span>
{{/if}}