style: projects page theming (#921)

This commit is contained in:
Aaryan Khandelwal 2023-04-21 17:40:49 +05:30 committed by GitHub
parent 20162050c3
commit 7f235739bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ export const SingleProjectCard: React.FC<ProjectCardProps> = ({
return (
<>
{members ? (
<div className="flex flex-col rounded-[10px] shadow bg-brand-surface-2">
<div className="flex flex-col rounded-[10px] bg-brand-base shadow">
<Link href={`/${workspaceSlug as string}/projects/${project.id}/issues`}>
<a>
<div className="relative h-32 w-full rounded-t-[10px]">
@ -180,11 +180,11 @@ export const SingleProjectCard: React.FC<ProjectCardProps> = ({
</div>
</a>
</Link>
<div className="flex h-full flex-col rounded-b-[10px] px-7 py-4">
<div className="flex h-full flex-col rounded-b-[10px] p-4 text-brand-secondary">
<Link href={`/${workspaceSlug as string}/projects/${project.id}/issues`}>
<a>
<div className="flex items-center gap-1">
<h3 className="text-1.5xl font-semibold">{project.name}</h3>
<h3 className="text-1.5xl font-medium text-brand-base">{project.name}</h3>
{project.icon && (
<span className="grid h-7 w-7 flex-shrink-0 place-items-center rounded uppercase">
{String.fromCodePoint(parseInt(project.icon))}

View File

@ -52,7 +52,7 @@ const ProjectsPage: NextPage = () => {
document.dispatchEvent(e);
}}
>
<PlusIcon className="w-4 h-4" />
<PlusIcon className="h-4 w-4" />
Add Project
</PrimaryButton>
}