Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves: #2726
Description
Update SVG icons to use
<text>
elements for the letters instead of pathing the letter shapes. This allows size/font/etc to be adjusted in accordance with the styling/theme being developed, so icons are easier to read/identify and are more accessible.Out of the box, icons now look like this:
The definition for an icon goes from looking like:
to
Additional Changes
--icon-font-family
,--icon-font-size
,--icon-font-weight
,--icon-font-style
added to control those values--color-ts-xyz
value rather than a hard coded color code--color-ts-xyz
properties that did not use the same color code as the hard coded icon updated to use that code--color-text
to--color-icon-text
to allow the icons to be managed independently of the text on the page.--color-comment-tag-text
,--color-comment-tag
, and--color-ts-project
--color-ts-type-literal
removed, as there are comments earlier in the stylesheet explicitly stating it is not being defined for a reasonwhite-space
property inpre
tag style definition.0
from the end of themargin-top
property in.site-menu
style definition--color-ts-reference
defined and used in icon definition