chore: icon revamp and refactor (#2447)

* chore: svg icons added in plane/ui package

* chore: swap priority and state icon with plane/ui icons

* chore: replace core folder icons with lucide and plane ui icons

* style: priority icon size

* chore: replace icons with lucide and plane/ui icons

* chore: replace cycle folder icons with lucide and plane/ui icons

* chore: replace existing icons with lucide and plane/ui icons

* chore: replace existing icons with lucide and plane/ui icons

* chore: replace existing icons with lucide and plane/ui icons

* chore: replace existing icons with lucide and plane/ui icons

* chore: replace existing icons with lucide and plane/ui icons

* fix: build error

* fix: build error

* fix: build error
This commit is contained in:
Anmol Singh Bhatia
2023-10-16 20:27:22 +05:30
committed by GitHub
parent 1fc5d2bd45
commit 651b252c23
270 changed files with 2567 additions and 1480 deletions

View File

@@ -2,8 +2,8 @@ import React, { useState } from "react";
import { useRouter } from "next/router";
import useSWR from "swr";
// icons
import { ArrowLeftIcon } from "@heroicons/react/24/outline";
import { CyclesIcon } from "components/icons";
import { ContrastIcon } from "@plane/ui";
import { ArrowLeft } from "lucide-react";
// layouts
import { ProjectAuthorizationWrapper } from "layouts/auth-layout-legacy";
// contexts
@@ -109,7 +109,7 @@ const SingleCycle: React.FC = () => {
<CustomMenu
label={
<>
<CyclesIcon className="h-3 w-3" />
<ContrastIcon className="h-3 w-3" />
{cycleDetails?.name && truncateText(cycleDetails.name, 40)}
</>
}
@@ -137,7 +137,7 @@ const SingleCycle: React.FC = () => {
}`}
onClick={() => setCycleSidebar((prevData) => !prevData)}
>
<ArrowLeftIcon className="h-4 w-4" />
<ArrowLeft className="h-4 w-4" />
</button>
</div>
}