mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
style: projects page theming (#921)
This commit is contained in:
parent
20162050c3
commit
7f235739bd
@ -138,7 +138,7 @@ export const SingleProjectCard: React.FC<ProjectCardProps> = ({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{members ? (
|
{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`}>
|
<Link href={`/${workspaceSlug as string}/projects/${project.id}/issues`}>
|
||||||
<a>
|
<a>
|
||||||
<div className="relative h-32 w-full rounded-t-[10px]">
|
<div className="relative h-32 w-full rounded-t-[10px]">
|
||||||
@ -180,11 +180,11 @@ export const SingleProjectCard: React.FC<ProjectCardProps> = ({
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</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`}>
|
<Link href={`/${workspaceSlug as string}/projects/${project.id}/issues`}>
|
||||||
<a>
|
<a>
|
||||||
<div className="flex items-center gap-1">
|
<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 && (
|
{project.icon && (
|
||||||
<span className="grid h-7 w-7 flex-shrink-0 place-items-center rounded uppercase">
|
<span className="grid h-7 w-7 flex-shrink-0 place-items-center rounded uppercase">
|
||||||
{String.fromCodePoint(parseInt(project.icon))}
|
{String.fromCodePoint(parseInt(project.icon))}
|
||||||
|
@ -52,7 +52,7 @@ const ProjectsPage: NextPage = () => {
|
|||||||
document.dispatchEvent(e);
|
document.dispatchEvent(e);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<PlusIcon className="w-4 h-4" />
|
<PlusIcon className="h-4 w-4" />
|
||||||
Add Project
|
Add Project
|
||||||
</PrimaryButton>
|
</PrimaryButton>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user