From 6e29734feaa47aa9b00604b1b3992f16e32fd024 Mon Sep 17 00:00:00 2001 From: Shu Chen Date: Tue, 30 Jan 2024 13:36:12 +0000 Subject: [PATCH] icons: Add clock icon Sourced today from: https://www.figma.com/file/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=164%3A10509&mode=dev Output was processed using inkscape to expand the strokes to paths and clean up unnecessary clipping. Also refer to discussion in CZO: https://chat.zulip.org/#narrow/stream/101-design/topic/clock.20icons/near/1728373 --- assets/icons/ZulipIcons.ttf | Bin 5924 -> 6156 bytes assets/icons/clock.svg | 4 ++++ lib/widgets/icons.dart | 25 ++++++++++++++----------- 3 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 assets/icons/clock.svg diff --git a/assets/icons/ZulipIcons.ttf b/assets/icons/ZulipIcons.ttf index 04e2b86e9c729a2017e7552250ba8395e8395ad3..2fd7a58885fc5fbbfd2e7db545c0ad1bf2faeb95 100644 GIT binary patch delta 1377 zcmb7EOK2Nc6uoagk{n64G?HdUmOPS2(l{X|j%~#b4sk^(l+r>?jAL9<9M$nJwrmmG z`E)Z0bkTqb2@|pkAq{~*>s11+7shnqMHj_{LQR)$FeZd-vI$+ZP0t%YL%i$^=bd-o z+LUo;#==0YdbQ3zU|E=(i1TyR+IVWU(nXY9K@+|8`Gv(NFYa{{ z={v}A?yMD}ZT=3hi^=}=%{#9L=pwa!WbqE zXM&QH0-KbkX39Y9(0l8;f8D^ULJ^9hE>60iZ&3>(lM1LQ`I;sLDda2KRB(}`QxR4w zT)Y z#f?KajnX(q3wu%^x1W-vCde9S&xVCXFxZr-;RP{z}!%C_j1 zlWs0l?0F^Sx{i~W^K|HZj~_b2Z3$Z&VL+&w(<+x}!)Gg&nJLz5i~$2?}rzn?r% z;g=2_sPIdNn5n&^NJ!c3lU>bxrZ+T2@sDxz&m?x(yQCjg$M7GU@$T!_nr7G% NtFszgVEiSZ{{T8K%C`Uj delta 1162 zcmb7DJ4_T&6uoa|b{Cdi_B%8CVRrVz5)~pWF=!MBv9U2oKuL@RuKbp;3lsU;urv}v zG(v{L%EDOE2nn&+!h*uW7z(Z3!h*s=V`YrN^M+Sw>Aajd?{nWd_r5ptr0dniDlsBz zqIHs~>&D2P>m3(5uMx2;z~QZt&hF9U;bS7{8=~%ySBlnJ_b05$C&1=(`O(zN;N2fY zp0`9kUum*9v3zp0kJviUQ^G`pqO_u416oU!#noQv^f&enVf?&2Ki*fo7aWCw$HK&5 zrMPObe%1o>7{=+jVr5c&Gtf;Gd5 zur@ozrmMp!s)dHgqFvg9{X05gUUrW4kVI}u;oU?bv@k^|3f3t`aY{hU``5hctZSH6 z5br00f}}d}2GkAg%3x2<(TqX2!BI?8rivhyvgATDA(BKe7x7RdByzBd;>}IZ#Qlg1 zLrjM(kCV~DPC5!ke#9F{ny0J%lP)hN2HOUxYUriGF~n9Iu`LX-RwuV8H6u_%LTQK^ z6u@c@9CFOO7@f^?Yac32KqdsEJQ6a|3>3pK&u7ohDG6;8yRy(BQrIrrMhPVCOSma| zW;e?P7O)58tM;1wv{1ut{v4t#-s=E+af3DZZDH&~0TTLSG=m#k`5v%)mGkXU_;DW< z{&~k&M?EGyHRrHG@J=9y6h-W9#k5~56LIWGwx~uv7Dud^)xsGH#TJTN8@1s4T^;0FRp@VEdzO_~r;!IJ_8cuIh4P7CnQxFirK_|IU#p#!r5{0Auu znBa;)7Ca}Qf#(InVE(^wWPpbPA@G6#zm-LS1bB&qXP*X^1ybM@fr$OVeK?3gGfsSy z_N0DkUHT|rlDFi#vY{Ngg04CDe?3G8b + + + diff --git a/lib/widgets/icons.dart b/lib/widgets/icons.dart index 461be1f107c..458fa080f47 100644 --- a/lib/widgets/icons.dart +++ b/lib/widgets/icons.dart @@ -36,38 +36,41 @@ abstract final class ZulipIcons { /// The Zulip custom icon "chevron_right". static const IconData chevron_right = IconData(0xf104, fontFamily: "Zulip Icons"); + /// The Zulip custom icon "clock". + static const IconData clock = IconData(0xf105, fontFamily: "Zulip Icons"); + /// The Zulip custom icon "globe". - static const IconData globe = IconData(0xf105, fontFamily: "Zulip Icons"); + static const IconData globe = IconData(0xf106, fontFamily: "Zulip Icons"); /// The Zulip custom icon "group_dm". - static const IconData group_dm = IconData(0xf106, fontFamily: "Zulip Icons"); + static const IconData group_dm = IconData(0xf107, fontFamily: "Zulip Icons"); /// The Zulip custom icon "hash_sign". - static const IconData hash_sign = IconData(0xf107, fontFamily: "Zulip Icons"); + static const IconData hash_sign = IconData(0xf108, fontFamily: "Zulip Icons"); /// The Zulip custom icon "language". - static const IconData language = IconData(0xf108, fontFamily: "Zulip Icons"); + static const IconData language = IconData(0xf109, fontFamily: "Zulip Icons"); /// The Zulip custom icon "lock". - static const IconData lock = IconData(0xf109, fontFamily: "Zulip Icons"); + static const IconData lock = IconData(0xf10a, fontFamily: "Zulip Icons"); /// The Zulip custom icon "mute". - static const IconData mute = IconData(0xf10a, fontFamily: "Zulip Icons"); + static const IconData mute = IconData(0xf10b, fontFamily: "Zulip Icons"); /// The Zulip custom icon "read_receipts". - static const IconData read_receipts = IconData(0xf10b, fontFamily: "Zulip Icons"); + static const IconData read_receipts = IconData(0xf10c, fontFamily: "Zulip Icons"); /// The Zulip custom icon "star_filled". - static const IconData star_filled = IconData(0xf10c, fontFamily: "Zulip Icons"); + static const IconData star_filled = IconData(0xf10d, fontFamily: "Zulip Icons"); /// The Zulip custom icon "topic". - static const IconData topic = IconData(0xf10d, fontFamily: "Zulip Icons"); + static const IconData topic = IconData(0xf10e, fontFamily: "Zulip Icons"); /// The Zulip custom icon "unmute". - static const IconData unmute = IconData(0xf10e, fontFamily: "Zulip Icons"); + static const IconData unmute = IconData(0xf10f, fontFamily: "Zulip Icons"); /// The Zulip custom icon "user". - static const IconData user = IconData(0xf10f, fontFamily: "Zulip Icons"); + static const IconData user = IconData(0xf110, fontFamily: "Zulip Icons"); // END GENERATED ICON DATA }