mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-24 19:19:21 +00:00
Merge pull request #4107 from element-hq/spotlight-icon
Update spotlight icon
This commit is contained in:
@@ -8,7 +8,7 @@ Please see LICENSE in the repository root for full details.
|
|||||||
import { type FC, type JSX, type Ref, useMemo } from "react";
|
import { type FC, type JSX, type Ref, useMemo } from "react";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import {
|
import {
|
||||||
SpotlightIcon,
|
SpotlightViewIcon,
|
||||||
GridIcon,
|
GridIcon,
|
||||||
} from "@vector-im/compound-design-tokens/assets/web/icons";
|
} from "@vector-im/compound-design-tokens/assets/web/icons";
|
||||||
import { Switch } from "@vector-im/compound-web";
|
import { Switch } from "@vector-im/compound-web";
|
||||||
@@ -323,7 +323,7 @@ export const CallFooter: FC<FooterProps> = ({
|
|||||||
aria-label={t("layout_switch_label")}
|
aria-label={t("layout_switch_label")}
|
||||||
leftLabel={t("layout_spotlight_label")}
|
leftLabel={t("layout_spotlight_label")}
|
||||||
leftValue="spotlight"
|
leftValue="spotlight"
|
||||||
leftIcon={SpotlightIcon}
|
leftIcon={SpotlightViewIcon}
|
||||||
rightLabel={t("layout_grid_label")}
|
rightLabel={t("layout_grid_label")}
|
||||||
rightValue="grid"
|
rightValue="grid"
|
||||||
rightIcon={GridIcon}
|
rightIcon={GridIcon}
|
||||||
|
|||||||
@@ -446,7 +446,9 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
d="M5 5h14v8h-5a1 1 0 0 0-1 1v5H5zm10 14v-4h4v4zM5 21h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2"
|
clip-rule="evenodd"
|
||||||
|
d="M20 6H4v12h16zM4 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"
|
||||||
|
fill-rule="evenodd"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
<input
|
<input
|
||||||
|
|||||||
Reference in New Issue
Block a user