Skip to content

Commit

Permalink
Merge pull request #44 from superhero-com/features/update-icons
Browse files Browse the repository at this point in the history
feat(#32): custom icons updates
  • Loading branch information
ifaouibadi authored Jan 22, 2024
2 parents ab8f4f4 + ba00117 commit 57a3368
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 16 deletions.
15 changes: 15 additions & 0 deletions res/css/superhero/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -876,3 +876,18 @@ h2 .sh_VerifiedIcon {
.mx_HomePage_default .mx_HomePage_default_buttons .mx_AccessibleButton.mx_HomePage_button_custom::before {
display: none !important;
}

.mx_RoomGeneralContextMenu_iconSignOut::before {
-webkit-mask-image: url("../../themes/superhero/img/icons/leave.svg") !important;
mask-image: url("../../themes/superhero/img/icons/leave.svg") !important;
}

.mx_RoomTile_contextMenu .mx_RoomTile_iconSignOut::before {
-webkit-mask-image: url("../../themes/superhero/img/icons/leave.svg") !important;
mask-image: url("../../themes/superhero/img/icons/leave.svg") !important;
}

.mx_IconizedContextMenu .mx_IconizedContextMenu_option_red .mx_IconizedContextMenu_icon::before {
-webkit-mask-image: url("../../themes/superhero/img/icons/leave.svg") !important;
mask-image: url("../../themes/superhero/img/icons/leave.svg") !important;
}
2 changes: 1 addition & 1 deletion res/themes/superhero/img/icons/community-room.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: 6 additions & 0 deletions res/themes/superhero/img/icons/leave.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 14 additions & 4 deletions res/themes/superhero/img/icons/tokengated-room.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 6 additions & 11 deletions res/themes/superhero/img/icons/verified.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 57a3368

Please sign in to comment.