chore(icons,toolbox): Update icons (#7505)
This commit is contained in:
committed by
GitHub
parent
ee0b93078f
commit
75791f2cbd
@@ -149,7 +149,7 @@ const Icon = ({ icon, type }: { icon?: ReactNode; type: ItemType }) => {
|
||||
|
||||
return type === "extension" ? (
|
||||
<div className="shadow-borders-base bg-ui-bg-base flex h-5 w-5 items-center justify-center rounded-[4px]">
|
||||
<div className="h-4 w-4 overflow-hidden rounded-sm">{icon}</div>
|
||||
<div className="h-[15px] w-[15px] overflow-hidden rounded-sm">{icon}</div>
|
||||
</div>
|
||||
) : (
|
||||
icon
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
CircleHalfSolid,
|
||||
CogSixTooth,
|
||||
MagnifyingGlass,
|
||||
SidebarRight,
|
||||
SidebarLeft,
|
||||
User as UserIcon,
|
||||
} from "@medusajs/icons"
|
||||
import { Avatar, DropdownMenu, IconButton, Kbd, Text, clx } from "@medusajs/ui"
|
||||
@@ -334,14 +334,14 @@ const ToggleSidebar = () => {
|
||||
variant="transparent"
|
||||
onClick={() => toggle("desktop")}
|
||||
>
|
||||
<SidebarRight className="text-ui-fg-muted" />
|
||||
<SidebarLeft className="text-ui-fg-muted" />
|
||||
</IconButton>
|
||||
<IconButton
|
||||
className="hidden max-lg:flex"
|
||||
variant="transparent"
|
||||
onClick={() => toggle("mobile")}
|
||||
>
|
||||
<SidebarRight className="text-ui-fg-muted" />
|
||||
<SidebarLeft className="text-ui-fg-muted" />
|
||||
</IconButton>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user