From e40b39d0b095bef8c9601985352e0d2c2fe333a1 Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Fri, 15 Nov 2024 11:41:09 -0500 Subject: [PATCH] icons: Add icons for bottom nav bar The icons are taken from Figma: https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=544-22131&node-type=canvas&t=f4vYPq2CZUpFuf7V-0 Signed-off-by: Zixuan James Li --- assets/icons/ZulipIcons.ttf | Bin 9532 -> 10604 bytes assets/icons/contacts.svg | 5 ++++ assets/icons/hash_italic.svg | 3 ++ assets/icons/inbox.svg | 3 ++ assets/icons/menu.svg | 5 ++++ lib/widgets/icons.dart | 52 +++++++++++++++++++++-------------- 6 files changed, 48 insertions(+), 20 deletions(-) create mode 100644 assets/icons/contacts.svg create mode 100644 assets/icons/hash_italic.svg create mode 100644 assets/icons/inbox.svg create mode 100644 assets/icons/menu.svg diff --git a/assets/icons/ZulipIcons.ttf b/assets/icons/ZulipIcons.ttf index 00faedbb398e415d76ea4347c8cb88b724452501..4f54b9a7305fe9734217d2b3b37ed2f80b3d1bbc 100644 GIT binary patch delta 2598 zcmb7GOKcle6uoa|JmYVi_;1>}@yysxW5;$J{}Q+9M-&Q31*OmxQZZ?oq|L8QT2fSD z3xQNsv{Gdu3P=bf7RaT18iZIB1hlZ~q99Qr$f80lic|rSSg^ne=Zz;Vh!q~6ciz44 zzWeUI?`GmF58oN75hEf8)k&o6gZrM?wKKQtRU%d<5`KSlUnaNz#=hr?q#js3H9B3L zWA{IFn8-2*-G%X~lZS4fmPU!}b)x%jO^j6!p16JOGHh=F#R({^k_2CL1<)s^7Z&Sm zZ54Y@L%uyVJG!kJ?C%P|ffb4q)78Z}Ho`U{fDq*Fnd2t07hv=4`74@h$jAU$oILa5Yv=Fuv!OnuUpcC#W9|2aVMbc3X{u%GeWw zmmE1^lYvD)?74>sbs)?r{P7TbjBqpHKB~FNc6Z@!R0t{p7aAOLBN^M{sKNs@LQm2r zBjYHJT+f#08>jo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_italic.svg new file mode 100644 index 00000000000..cc094b52316 --- /dev/null +++ b/assets/icons/hash_italic.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/icons/inbox.svg b/assets/icons/inbox.svg new file mode 100644 index 00000000000..5287079c641 --- /dev/null +++ b/assets/icons/inbox.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/icons/menu.svg b/assets/icons/menu.svg new file mode 100644 index 00000000000..7f7226d3a30 --- /dev/null +++ b/assets/icons/menu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/lib/widgets/icons.dart b/lib/widgets/icons.dart index ad18d737777..ea835620856 100644 --- a/lib/widgets/icons.dart +++ b/lib/widgets/icons.dart @@ -48,65 +48,77 @@ abstract final class ZulipIcons { /// The Zulip custom icon "clock". static const IconData clock = IconData(0xf108, fontFamily: "Zulip Icons"); + /// The Zulip custom icon "contacts". + static const IconData contacts = IconData(0xf109, fontFamily: "Zulip Icons"); + /// The Zulip custom icon "copy". - static const IconData copy = IconData(0xf109, fontFamily: "Zulip Icons"); + static const IconData copy = IconData(0xf10a, fontFamily: "Zulip Icons"); /// The Zulip custom icon "format_quote". - static const IconData format_quote = IconData(0xf10a, fontFamily: "Zulip Icons"); + static const IconData format_quote = IconData(0xf10b, fontFamily: "Zulip Icons"); /// The Zulip custom icon "globe". - static const IconData globe = IconData(0xf10b, fontFamily: "Zulip Icons"); + static const IconData globe = IconData(0xf10c, fontFamily: "Zulip Icons"); /// The Zulip custom icon "group_dm". - static const IconData group_dm = IconData(0xf10c, fontFamily: "Zulip Icons"); + static const IconData group_dm = IconData(0xf10d, fontFamily: "Zulip Icons"); + + /// The Zulip custom icon "hash_italic". + static const IconData hash_italic = IconData(0xf10e, fontFamily: "Zulip Icons"); /// The Zulip custom icon "hash_sign". - static const IconData hash_sign = IconData(0xf10d, fontFamily: "Zulip Icons"); + static const IconData hash_sign = IconData(0xf10f, fontFamily: "Zulip Icons"); /// The Zulip custom icon "image". - static const IconData image = IconData(0xf10e, fontFamily: "Zulip Icons"); + static const IconData image = IconData(0xf110, fontFamily: "Zulip Icons"); + + /// The Zulip custom icon "inbox". + static const IconData inbox = IconData(0xf111, fontFamily: "Zulip Icons"); /// The Zulip custom icon "language". - static const IconData language = IconData(0xf10f, fontFamily: "Zulip Icons"); + static const IconData language = IconData(0xf112, fontFamily: "Zulip Icons"); /// The Zulip custom icon "lock". - static const IconData lock = IconData(0xf110, fontFamily: "Zulip Icons"); + static const IconData lock = IconData(0xf113, fontFamily: "Zulip Icons"); + + /// The Zulip custom icon "menu". + static const IconData menu = IconData(0xf114, fontFamily: "Zulip Icons"); /// The Zulip custom icon "message_feed". - static const IconData message_feed = IconData(0xf111, fontFamily: "Zulip Icons"); + static const IconData message_feed = IconData(0xf115, fontFamily: "Zulip Icons"); /// The Zulip custom icon "mute". - static const IconData mute = IconData(0xf112, fontFamily: "Zulip Icons"); + static const IconData mute = IconData(0xf116, fontFamily: "Zulip Icons"); /// The Zulip custom icon "read_receipts". - static const IconData read_receipts = IconData(0xf113, fontFamily: "Zulip Icons"); + static const IconData read_receipts = IconData(0xf117, fontFamily: "Zulip Icons"); /// The Zulip custom icon "send". - static const IconData send = IconData(0xf114, fontFamily: "Zulip Icons"); + static const IconData send = IconData(0xf118, fontFamily: "Zulip Icons"); /// The Zulip custom icon "share". - static const IconData share = IconData(0xf115, fontFamily: "Zulip Icons"); + static const IconData share = IconData(0xf119, fontFamily: "Zulip Icons"); /// The Zulip custom icon "share_ios". - static const IconData share_ios = IconData(0xf116, fontFamily: "Zulip Icons"); + static const IconData share_ios = IconData(0xf11a, fontFamily: "Zulip Icons"); /// The Zulip custom icon "smile". - static const IconData smile = IconData(0xf117, fontFamily: "Zulip Icons"); + static const IconData smile = IconData(0xf11b, fontFamily: "Zulip Icons"); /// The Zulip custom icon "star". - static const IconData star = IconData(0xf118, fontFamily: "Zulip Icons"); + static const IconData star = IconData(0xf11c, fontFamily: "Zulip Icons"); /// The Zulip custom icon "star_filled". - static const IconData star_filled = IconData(0xf119, fontFamily: "Zulip Icons"); + static const IconData star_filled = IconData(0xf11d, fontFamily: "Zulip Icons"); /// The Zulip custom icon "topic". - static const IconData topic = IconData(0xf11a, fontFamily: "Zulip Icons"); + static const IconData topic = IconData(0xf11e, fontFamily: "Zulip Icons"); /// The Zulip custom icon "unmute". - static const IconData unmute = IconData(0xf11b, fontFamily: "Zulip Icons"); + static const IconData unmute = IconData(0xf11f, fontFamily: "Zulip Icons"); /// The Zulip custom icon "user". - static const IconData user = IconData(0xf11c, fontFamily: "Zulip Icons"); + static const IconData user = IconData(0xf120, fontFamily: "Zulip Icons"); // END GENERATED ICON DATA }