Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Replace composer icons with Compound variants
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Oct 4, 2024
1 parent 70418f8 commit 4b81120
Show file tree
Hide file tree
Showing 24 changed files with 23 additions and 131 deletions.
4 changes: 2 additions & 2 deletions res/css/views/context_menus/_MessageContextMenu.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ Please see LICENSE files in the repository root for full details.
}

.mx_MessageContextMenu_iconSource::before {
mask-image: url("$(res)/img/element-icons/room/format-bar/code.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/inline-code.svg");
}

.mx_MessageContextMenu_iconQuote::before {
mask-image: url("$(res)/img/element-icons/room/format-bar/quote.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/quote.svg");
}

.mx_MessageContextMenu_iconPin::before {
Expand Down
4 changes: 2 additions & 2 deletions res/css/views/rooms/_MessageComposer.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ Please see LICENSE files in the repository root for full details.
}

.mx_MessageComposer_rich_text::before {
mask-image: url("$(res)/img/element-icons/room/composer/rich_text.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/text-formatting.svg");
}

.mx_MessageComposer_location::before {
mask-image: url("$(res)/img/element-icons/room/composer/location.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/location-pin-solid.svg");
}

.mx_MessageComposer_stickers::before {
Expand Down
12 changes: 6 additions & 6 deletions res/css/views/rooms/_MessageComposerFormatBar.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,27 @@ Please see LICENSE files in the repository root for full details.
}

.mx_MessageComposerFormatBar_buttonIconBold::after {
mask-image: url("$(res)/img/element-icons/room/format-bar/bold.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/bold.svg");
}

.mx_MessageComposerFormatBar_buttonIconItalic::after {
mask-image: url("$(res)/img/element-icons/room/format-bar/italic.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/italic.svg");
}

.mx_MessageComposerFormatBar_buttonIconStrikethrough::after {
mask-image: url("$(res)/img/element-icons/room/format-bar/strikethrough.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/strikethrough.svg");
}

.mx_MessageComposerFormatBar_buttonIconQuote::after {
mask-image: url("$(res)/img/element-icons/room/format-bar/quote.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/quote.svg");
}

.mx_MessageComposerFormatBar_buttonIconCode::after {
mask-image: url("$(res)/img/element-icons/room/format-bar/code.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/inline-code.svg");
}

.mx_MessageComposerFormatBar_buttonIconInsertLink::after {
mask-image: url("$(res)/img/element-icons/link.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/link.svg");
mask-size: 18px;
}
}
Expand Down
3 changes: 0 additions & 3 deletions res/img/element-icons/room/composer/bold.svg

This file was deleted.

10 changes: 0 additions & 10 deletions res/img/element-icons/room/composer/bulleted_list.svg

This file was deleted.

3 changes: 0 additions & 3 deletions res/img/element-icons/room/composer/code_block.svg

This file was deleted.

10 changes: 0 additions & 10 deletions res/img/element-icons/room/composer/indent_decrease.svg

This file was deleted.

10 changes: 0 additions & 10 deletions res/img/element-icons/room/composer/indent_increase.svg

This file was deleted.

5 changes: 0 additions & 5 deletions res/img/element-icons/room/composer/inline_code.svg

This file was deleted.

3 changes: 0 additions & 3 deletions res/img/element-icons/room/composer/italic.svg

This file was deleted.

3 changes: 0 additions & 3 deletions res/img/element-icons/room/composer/link.svg

This file was deleted.

3 changes: 0 additions & 3 deletions res/img/element-icons/room/composer/location.svg

This file was deleted.

10 changes: 0 additions & 10 deletions res/img/element-icons/room/composer/numbered_list.svg

This file was deleted.

6 changes: 0 additions & 6 deletions res/img/element-icons/room/composer/quote.svg

This file was deleted.

10 changes: 0 additions & 10 deletions res/img/element-icons/room/composer/rich_text.svg

This file was deleted.

4 changes: 0 additions & 4 deletions res/img/element-icons/room/composer/strikethrough.svg

This file was deleted.

3 changes: 0 additions & 3 deletions res/img/element-icons/room/composer/underline.svg

This file was deleted.

5 changes: 0 additions & 5 deletions res/img/element-icons/room/format-bar/bold.svg

This file was deleted.

5 changes: 0 additions & 5 deletions res/img/element-icons/room/format-bar/code.svg

This file was deleted.

5 changes: 0 additions & 5 deletions res/img/element-icons/room/format-bar/italic.svg

This file was deleted.

6 changes: 0 additions & 6 deletions res/img/element-icons/room/format-bar/quote.svg

This file was deleted.

Loading

0 comments on commit 4b81120

Please sign in to comment.