Skip to content

Commit fd4f7b9

Browse files
committed
feat(ui-icons): add new redo and undo icons and modify the documentation page
1 parent c0cc00d commit fd4f7b9

File tree

6 files changed

+19
-1
lines changed

6 files changed

+19
-1
lines changed

docs/contributor-docs/adding-icons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type: code
2525
</svg>
2626
```
2727

28-
- The files cannot contain [clipping paths](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath)! Sadly, when the Designers export icons from Figma, most of the time they have a clipping path around the whole canvas. If the source code has them, manually refactor the code, e.g:
28+
- The files cannot contain [clipping paths](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath)! Sadly, when the Designers export icons from Figma, most of the time they have a clipping path around the whole canvas. When an SVG includes clipping paths, the `Icon Font` variant may not render correctly. Specifically, the use of `<g clip-path="...">` and `<clipPath id="...">` elements can cause rendering issues. If the source code has them, manually refactor the code, e.g:
2929

3030
```js
3131
---

packages/ui-icons/icons.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ const bidirectional = [
136136
'open-folder',
137137
'outdent',
138138
'outdent2',
139+
'undo',
139140
'quiz-stats-high',
140141
'quiz-stats-low',
141142
'quiz',
143+
'redo',
142144
'replied',
143145
'reply-2',
144146
'reply-all-2',
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)