Skip to content

Commit

Permalink
clipboard and clipboard_outlined icons (#2778)
Browse files Browse the repository at this point in the history
* clipboard and clipboard_outlined icons

* optimize svg paths for subjecticons

---------

Co-authored-by: Karol Rzotki <[email protected]>
  • Loading branch information
lewandowskid and krzotki authored Oct 11, 2023
1 parent 2612299 commit 4cc55b5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/components/icons/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export type IconTypeType =
| 'circle'
| 'clear'
| 'clipboard'
| 'clipboard_outlined'
| 'close'
| 'collapse'
| 'comment_outlined'
Expand Down Expand Up @@ -223,6 +224,7 @@ export const TYPE = {
CIRCLE: 'circle',
CLEAR: 'clear',
CLIPBOARD: 'clipboard',
CLIPBOARD_OUTLINED: 'clipboard_outlined',
CLOSE: 'close',
COLLAPSE: 'collapse',
COMMENT_OUTLINED: 'comment_outlined',
Expand Down
1 change: 1 addition & 0 deletions src/components/icons/get-icon-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const iconMap = {
'chapter',
'chapter',
'clipboard',
'clipboard_outlined',
'counter',
'credit_card',
'cursor_select',
Expand Down
7 changes: 1 addition & 6 deletions src/images/icons/clipboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/icons/clipboard_outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion svgo-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const removeClass = {

module.exports = {
subjectIcons: {
plugins: ['removeTitle'],
plugins: ['removeTitle', 'convertPathData'],
},
subjectMonoIcons: {
plugins: [removeClass, removeFillNonFixedColors, 'removeTitle', 'convertPathData'],
Expand Down

0 comments on commit 4cc55b5

Please sign in to comment.