mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 06:02:00 +02:00
Fix beta icon
This commit is contained in:
@@ -71,7 +71,7 @@ export function SettingsDropdown() {
|
|||||||
key: 'update-mode',
|
key: 'update-mode',
|
||||||
label: updateMode === 'stable' ? 'Enable Beta' : 'Disable Beta',
|
label: updateMode === 'stable' ? 'Enable Beta' : 'Disable Beta',
|
||||||
onSelect: () => setUpdateMode(updateMode === 'stable' ? 'beta' : 'stable'),
|
onSelect: () => setUpdateMode(updateMode === 'stable' ? 'beta' : 'stable'),
|
||||||
leftSlot: <Icon icon="camera" />,
|
leftSlot: <Icon icon="rocket" />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'update-check',
|
key: 'update-check',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import * as ReactIcons from '@radix-ui/react-icons';
|
import * as I from '@radix-ui/react-icons';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import type { HTMLAttributes } from 'react';
|
import type { HTMLAttributes } from 'react';
|
||||||
import { memo } from 'react';
|
import { memo } from 'react';
|
||||||
@@ -6,46 +6,46 @@ import { ReactComponent as LeftPanelHiddenIcon } from '../../assets/icons/LeftPa
|
|||||||
import { ReactComponent as LeftPanelVisibleIcon } from '../../assets/icons/LeftPanelVisibleIcon.svg';
|
import { ReactComponent as LeftPanelVisibleIcon } from '../../assets/icons/LeftPanelVisibleIcon.svg';
|
||||||
|
|
||||||
const icons = {
|
const icons = {
|
||||||
archive: ReactIcons.ArchiveIcon,
|
archive: I.ArchiveIcon,
|
||||||
camera: ReactIcons.CameraIcon,
|
chat: I.ChatBubbleIcon,
|
||||||
chat: ReactIcons.ChatBubbleIcon,
|
check: I.CheckIcon,
|
||||||
check: ReactIcons.CheckIcon,
|
checkbox: I.CheckboxIcon,
|
||||||
checkbox: ReactIcons.CheckboxIcon,
|
clock: I.ClockIcon,
|
||||||
clock: ReactIcons.ClockIcon,
|
chevronDown: I.ChevronDownIcon,
|
||||||
chevronDown: ReactIcons.ChevronDownIcon,
|
chevronRight: I.ChevronRightIcon,
|
||||||
chevronRight: ReactIcons.ChevronRightIcon,
|
code: I.CodeIcon,
|
||||||
code: ReactIcons.CodeIcon,
|
colorWheel: I.ColorWheelIcon,
|
||||||
colorWheel: ReactIcons.ColorWheelIcon,
|
copy: I.CopyIcon,
|
||||||
copy: ReactIcons.CopyIcon,
|
dividerH: I.DividerHorizontalIcon,
|
||||||
dividerH: ReactIcons.DividerHorizontalIcon,
|
dotsH: I.DotsHorizontalIcon,
|
||||||
dotsH: ReactIcons.DotsHorizontalIcon,
|
dotsV: I.DotsVerticalIcon,
|
||||||
dotsV: ReactIcons.DotsVerticalIcon,
|
download: I.DownloadIcon,
|
||||||
download: ReactIcons.DownloadIcon,
|
drag: I.DragHandleDots2Icon,
|
||||||
drag: ReactIcons.DragHandleDots2Icon,
|
eye: I.EyeOpenIcon,
|
||||||
eye: ReactIcons.EyeOpenIcon,
|
eyeClosed: I.EyeClosedIcon,
|
||||||
eyeClosed: ReactIcons.EyeClosedIcon,
|
gear: I.GearIcon,
|
||||||
gear: ReactIcons.GearIcon,
|
hamburger: I.HamburgerMenuIcon,
|
||||||
hamburger: ReactIcons.HamburgerMenuIcon,
|
home: I.HomeIcon,
|
||||||
home: ReactIcons.HomeIcon,
|
listBullet: I.ListBulletIcon,
|
||||||
listBullet: ReactIcons.ListBulletIcon,
|
magicWand: I.MagicWandIcon,
|
||||||
magicWand: ReactIcons.MagicWandIcon,
|
magnifyingGlass: I.MagnifyingGlassIcon,
|
||||||
magnifyingGlass: ReactIcons.MagnifyingGlassIcon,
|
moon: I.MoonIcon,
|
||||||
moon: ReactIcons.MoonIcon,
|
openNewWindow: I.OpenInNewWindowIcon,
|
||||||
openNewWindow: ReactIcons.OpenInNewWindowIcon,
|
paperPlane: I.PaperPlaneIcon,
|
||||||
paperPlane: ReactIcons.PaperPlaneIcon,
|
pencil: I.Pencil2Icon,
|
||||||
pencil: ReactIcons.Pencil2Icon,
|
plus: I.PlusIcon,
|
||||||
plus: ReactIcons.PlusIcon,
|
plusCircle: I.PlusCircledIcon,
|
||||||
plusCircle: ReactIcons.PlusCircledIcon,
|
question: I.QuestionMarkIcon,
|
||||||
question: ReactIcons.QuestionMarkIcon,
|
rocket: I.RocketIcon,
|
||||||
rows: ReactIcons.RowsIcon,
|
rows: I.RowsIcon,
|
||||||
sun: ReactIcons.SunIcon,
|
sun: I.SunIcon,
|
||||||
trash: ReactIcons.TrashIcon,
|
trash: I.TrashIcon,
|
||||||
triangleDown: ReactIcons.TriangleDownIcon,
|
triangleDown: I.TriangleDownIcon,
|
||||||
triangleLeft: ReactIcons.TriangleLeftIcon,
|
triangleLeft: I.TriangleLeftIcon,
|
||||||
triangleRight: ReactIcons.TriangleRightIcon,
|
triangleRight: I.TriangleRightIcon,
|
||||||
update: ReactIcons.UpdateIcon,
|
update: I.UpdateIcon,
|
||||||
upload: ReactIcons.UploadIcon,
|
upload: I.UploadIcon,
|
||||||
x: ReactIcons.Cross2Icon,
|
x: I.Cross2Icon,
|
||||||
|
|
||||||
// Custom
|
// Custom
|
||||||
leftPanelHidden: LeftPanelHiddenIcon,
|
leftPanelHidden: LeftPanelHiddenIcon,
|
||||||
|
|||||||
Reference in New Issue
Block a user