Skip to content

Commit

Permalink
icons: Take mute/unmute/following icons from the web app
Browse files Browse the repository at this point in the history
Renamed "mute-new.svg", "unmute-new.svg" to "mute.svg" and "unmute.svg",
respectively.

See:
  https://github.com/zulip/zulip/tree/da4443f392cc8aa9e6879d905cb1ccd50b66127b/web/shared/icons

Signed-off-by: Zixuan James Li <[email protected]>
  • Loading branch information
PIG208 committed Nov 7, 2024
1 parent 4e1bcd2 commit bad9c56
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 25 deletions.
Binary file modified assets/icons/ZulipIcons.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions assets/icons/follow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/icons/inherit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions assets/icons/mute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions assets/icons/unmute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 22 additions & 16 deletions lib/widgets/icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,53 +45,59 @@ abstract final class ZulipIcons {
/// The Zulip custom icon "copy".
static const IconData copy = IconData(0xf107, fontFamily: "Zulip Icons");

/// The Zulip custom icon "follow".
static const IconData follow = IconData(0xf108, fontFamily: "Zulip Icons");

/// The Zulip custom icon "format_quote".
static const IconData format_quote = IconData(0xf108, fontFamily: "Zulip Icons");
static const IconData format_quote = IconData(0xf109, fontFamily: "Zulip Icons");

/// The Zulip custom icon "globe".
static const IconData globe = IconData(0xf109, fontFamily: "Zulip Icons");
static const IconData globe = IconData(0xf10a, fontFamily: "Zulip Icons");

/// The Zulip custom icon "group_dm".
static const IconData group_dm = IconData(0xf10a, fontFamily: "Zulip Icons");
static const IconData group_dm = IconData(0xf10b, fontFamily: "Zulip Icons");

/// The Zulip custom icon "hash_sign".
static const IconData hash_sign = IconData(0xf10b, fontFamily: "Zulip Icons");
static const IconData hash_sign = IconData(0xf10c, fontFamily: "Zulip Icons");

/// The Zulip custom icon "inherit".
static const IconData inherit = IconData(0xf10d, fontFamily: "Zulip Icons");

/// The Zulip custom icon "language".
static const IconData language = IconData(0xf10c, fontFamily: "Zulip Icons");
static const IconData language = IconData(0xf10e, fontFamily: "Zulip Icons");

/// The Zulip custom icon "lock".
static const IconData lock = IconData(0xf10d, fontFamily: "Zulip Icons");
static const IconData lock = IconData(0xf10f, fontFamily: "Zulip Icons");

/// The Zulip custom icon "mute".
static const IconData mute = IconData(0xf10e, fontFamily: "Zulip Icons");
static const IconData mute = IconData(0xf110, fontFamily: "Zulip Icons");

/// The Zulip custom icon "read_receipts".
static const IconData read_receipts = IconData(0xf10f, fontFamily: "Zulip Icons");
static const IconData read_receipts = IconData(0xf111, fontFamily: "Zulip Icons");

/// The Zulip custom icon "share".
static const IconData share = IconData(0xf110, fontFamily: "Zulip Icons");
static const IconData share = IconData(0xf112, fontFamily: "Zulip Icons");

/// The Zulip custom icon "share_ios".
static const IconData share_ios = IconData(0xf111, fontFamily: "Zulip Icons");
static const IconData share_ios = IconData(0xf113, fontFamily: "Zulip Icons");

/// The Zulip custom icon "smile".
static const IconData smile = IconData(0xf112, fontFamily: "Zulip Icons");
static const IconData smile = IconData(0xf114, fontFamily: "Zulip Icons");

/// The Zulip custom icon "star".
static const IconData star = IconData(0xf113, fontFamily: "Zulip Icons");
static const IconData star = IconData(0xf115, fontFamily: "Zulip Icons");

/// The Zulip custom icon "star_filled".
static const IconData star_filled = IconData(0xf114, fontFamily: "Zulip Icons");
static const IconData star_filled = IconData(0xf116, fontFamily: "Zulip Icons");

/// The Zulip custom icon "topic".
static const IconData topic = IconData(0xf115, fontFamily: "Zulip Icons");
static const IconData topic = IconData(0xf117, fontFamily: "Zulip Icons");

/// The Zulip custom icon "unmute".
static const IconData unmute = IconData(0xf116, fontFamily: "Zulip Icons");
static const IconData unmute = IconData(0xf118, fontFamily: "Zulip Icons");

/// The Zulip custom icon "user".
static const IconData user = IconData(0xf117, fontFamily: "Zulip Icons");
static const IconData user = IconData(0xf119, fontFamily: "Zulip Icons");

// END GENERATED ICON DATA
}
Expand Down

0 comments on commit bad9c56

Please sign in to comment.