Replace composer icons with Compound variants (#123)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7ef8663388
commit
26b0e83ac4
28 changed files with 146 additions and 155 deletions
|
@ -10,6 +10,7 @@ import React, { ReactElement } from "react";
|
|||
import classNames from "classnames";
|
||||
import { Room, RoomMember } from "matrix-js-sdk/src/matrix";
|
||||
import { Tooltip } from "@vector-im/compound-web";
|
||||
import LinkIcon from "@vector-im/compound-design-tokens/assets/web/icons/link";
|
||||
|
||||
import { MatrixClientPeg } from "../../../MatrixClientPeg";
|
||||
import MatrixClientContext from "../../../contexts/MatrixClientContext";
|
||||
|
@ -17,7 +18,6 @@ import { usePermalink } from "../../../hooks/usePermalink";
|
|||
import RoomAvatar from "../avatars/RoomAvatar";
|
||||
import MemberAvatar from "../avatars/MemberAvatar";
|
||||
import { _t } from "../../../languageHandler";
|
||||
import { Icon as LinkIcon } from "../../../../res/img/element-icons/room/composer/link.svg";
|
||||
import { Icon as UserIcon } from "../../../../res/img/compound/user.svg";
|
||||
|
||||
export enum PillType {
|
||||
|
|
|
@ -9,19 +9,19 @@ Please see LICENSE files in the repository root for full details.
|
|||
import React, { MouseEventHandler, ReactNode } from "react";
|
||||
import { FormattingFunctions, AllActionStates, ActionState } from "@matrix-org/matrix-wysiwyg";
|
||||
import classNames from "classnames";
|
||||
import BoldIcon from "@vector-im/compound-design-tokens/assets/web/icons/bold";
|
||||
import BulletedListIcon from "@vector-im/compound-design-tokens/assets/web/icons/list-bulleted";
|
||||
import CodeBlockIcon from "@vector-im/compound-design-tokens/assets/web/icons/code";
|
||||
import UnIndentIcon from "@vector-im/compound-design-tokens/assets/web/icons/indent-decrease";
|
||||
import IndentIcon from "@vector-im/compound-design-tokens/assets/web/icons/indent-increase";
|
||||
import InlineCodeIcon from "@vector-im/compound-design-tokens/assets/web/icons/inline-code";
|
||||
import ItalicIcon from "@vector-im/compound-design-tokens/assets/web/icons/italic";
|
||||
import NumberedListIcon from "@vector-im/compound-design-tokens/assets/web/icons/list-numbered";
|
||||
import QuoteIcon from "@vector-im/compound-design-tokens/assets/web/icons/quote";
|
||||
import StrikeThroughIcon from "@vector-im/compound-design-tokens/assets/web/icons/strikethrough";
|
||||
import UnderlineIcon from "@vector-im/compound-design-tokens/assets/web/icons/underline";
|
||||
import LinkIcon from "@vector-im/compound-design-tokens/assets/web/icons/link";
|
||||
|
||||
import { Icon as BoldIcon } from "../../../../../../res/img/element-icons/room/composer/bold.svg";
|
||||
import { Icon as ItalicIcon } from "../../../../../../res/img/element-icons/room/composer/italic.svg";
|
||||
import { Icon as UnderlineIcon } from "../../../../../../res/img/element-icons/room/composer/underline.svg";
|
||||
import { Icon as StrikeThroughIcon } from "../../../../../../res/img/element-icons/room/composer/strikethrough.svg";
|
||||
import { Icon as QuoteIcon } from "../../../../../../res/img/element-icons/room/composer/quote.svg";
|
||||
import { Icon as InlineCodeIcon } from "../../../../../../res/img/element-icons/room/composer/inline_code.svg";
|
||||
import { Icon as LinkIcon } from "../../../../../../res/img/element-icons/room/composer/link.svg";
|
||||
import { Icon as BulletedListIcon } from "../../../../../../res/img/element-icons/room/composer/bulleted_list.svg";
|
||||
import { Icon as NumberedListIcon } from "../../../../../../res/img/element-icons/room/composer/numbered_list.svg";
|
||||
import { Icon as CodeBlockIcon } from "../../../../../../res/img/element-icons/room/composer/code_block.svg";
|
||||
import { Icon as IndentIcon } from "../../../../../../res/img/element-icons/room/composer/indent_increase.svg";
|
||||
import { Icon as UnIndentIcon } from "../../../../../../res/img/element-icons/room/composer/indent_decrease.svg";
|
||||
import { _t } from "../../../../../languageHandler";
|
||||
import AccessibleButton, { ButtonEvent } from "../../../elements/AccessibleButton";
|
||||
import { openLinkModal } from "./LinkModal";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue