From b096944b0aa0452245f683ce5907593bfd93e70f Mon Sep 17 00:00:00 2001 From: Verbiturum <143966105+verbey@users.noreply.github.com> Date: Thu, 12 Dec 2024 03:08:08 +0200 Subject: [PATCH 1/2] Make the BlockCode icon centered --- src/components/icon/Icons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/icon/Icons.tsx b/src/components/icon/Icons.tsx index dfef94f..01aed16 100644 --- a/src/components/icon/Icons.tsx +++ b/src/components/icon/Icons.tsx @@ -1810,7 +1810,7 @@ export const Icons: Record = { fill="currentColor" /> From 722c691df008f53ad6aed5cef70dd7362f66acd0 Mon Sep 17 00:00:00 2001 From: Verbiturum <143966105+verbey@users.noreply.github.com> Date: Sat, 14 Dec 2024 03:21:22 +0200 Subject: [PATCH 2/2] Add filled versions of icons --- src/components/icon/Icons.tsx | 312 ++++++++++++++++++++++------------ 1 file changed, 206 insertions(+), 106 deletions(-) diff --git a/src/components/icon/Icons.tsx b/src/components/icon/Icons.tsx index 01aed16..3825738 100644 --- a/src/components/icon/Icons.tsx +++ b/src/components/icon/Icons.tsx @@ -1269,18 +1269,12 @@ export const Icons: Record = { EyeBlind: (filled) => filled ? ( - <> - - - + ) : ( = { /> ), - Markdown: () => ( - <> - + Markdown: (filled) => + filled ? ( - - - ), + ) : ( + <> + + + + + ), Attachment: () => ( = { ), - Heading1: () => ( - <> - - - - ), - - Heading2: () => ( - <> - + Heading1: (filled) => + filled ? ( - - ), + ) : ( + <> + + + + ), - Heading3: () => ( - <> - + Heading2: (filled) => + filled ? ( - - ), - - Bold: () => ( - - ), - - Italic: () => ( - - ), + ) : ( + <> + + + + ), - Underline: () => ( - <> + Heading3: (filled) => + filled ? ( - - - ), + ) : ( + <> + + + + ), - Strike: () => ( - <> + Bold: (filled) => + filled ? ( + ) : ( - - ), + ), - Link: () => ( - <> - + Italic: (filled) => + filled ? ( + ) : ( + + ), + + Underline: (filled) => + filled ? ( - - ), + ) : ( + <> + + + + ), + + Strike: (filled) => + filled ? ( + + ) : ( + <> + + + + ), - Code: () => ( + Link: () => ( <> + - ), - BlockCode: () => ( - <> + Code: (filled) => + filled ? ( + ) : ( + <> + + + + + ), + + BlockCode: (filled) => + filled ? ( - - ), + ) : ( + <> + + + + ), - BlockQuote: () => ( - <> + BlockQuote: (filled) => + filled ? ( + ) : ( + <> + + + + ), + + OrderList: (filled) => + filled ? ( - - ), + ) : ( + <> + + + + + + + ), - OrderList: () => ( - <> - - - - + UnorderList: (filled) => + filled ? ( - - ), - - UnorderList: () => ( - <> - - - - - - - - ), + ) : ( + <> + + + + + + + ), Mention: () => (