In .astro files, tag delimiters can be colored inconsistently, especially on closing tags like </a>, because Astro
appears to let HTML-style tag brackets participate in bracket colorisation.
This does not appear to be a theme issue.
Repro
- Open an
.astro file in Zed with bracket colorisation enabled.
- Use normal HTML-style tags, for example:
<nav>
<a href="/">Home</a>
<a href="/uses/">About</a>
</nav>
- Observe that the closing tag delimiters can be colored differently from the opening tag delimiters.
Expected
Astro tag delimiters should behave like HTML so <, </, >, and /> are not recolored by bracket matching / rainbow bracket
logic.
Actual
Astro appears to allow tag delimiters and/or element tag pairs to participate in bracket colorization, which can override
the syntax-theme color and produce inconsistent delimiter colors.
Screenshot

In
.astrofiles, tag delimiters can be colored inconsistently, especially on closing tags like</a>, because Astroappears to let HTML-style tag brackets participate in bracket colorisation.
This does not appear to be a theme issue.
Repro
.astrofile in Zed with bracket colorisation enabled.Expected
Astro tag delimiters should behave like HTML so <, </, >, and /> are not recolored by bracket matching / rainbow bracket
logic.
Actual
Astro appears to allow tag delimiters and/or element tag pairs to participate in bracket colorization, which can override
the syntax-theme color and produce inconsistent delimiter colors.
Screenshot