From 329d75a2c158c2f9a19e15caae1c536f72522318 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Wed, 12 Apr 2023 21:14:34 +0200 Subject: [PATCH] Add note on use of `` (#1050) * Add note on use of `` * Update note Co-authored-by: Karsa --------- Co-authored-by: Karsa --- docs/icon-design-guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/icon-design-guide.md b/docs/icon-design-guide.md index 85d704971..7a1af86d9 100644 --- a/docs/icon-design-guide.md +++ b/docs/icon-design-guide.md @@ -55,6 +55,8 @@ Here are rules that should be followed to keep quality and consistency when maki Before an icon is added to the library, we like to have readable and optimized svg code. +Never use [``](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use). While it may sometimes seem like a good way to optimize file size, there's no way to ensure that the referenced element IDs will be unique once the SVGs are embedded in HTML documents. + ### Global Attributes For each icon these attributes are applied, corresponding to the above rules.