{#- The admin's own icons, drawn with one stroke width so they sit together.
Import it and call `icons.icon("search")`; `size` is in pixels. -#}
{% macro icon(name, size=16, class="") -%}
{%- endmacro %}
{#- An icon a project gives a view or an action: inline SVG markup, drawn as
it is, or the address of a picture, which `urls` resolves. Either one
fills the box `class` sizes, whatever size the markup asks for. -#}
{% macro custom(icon, urls, class="size-4") -%}
{%- if icon.lstrip().startswith("<") %}{{ icon|safe }}
{%- else %}{% endif -%}
{%- endmacro %}