refactor: update styles

This commit is contained in:
Mauricio Siu
2025-01-26 17:44:31 -06:00
parent 36c1a615c6
commit 64e68cfde1
4 changed files with 15 additions and 7 deletions

View File

@@ -98,8 +98,12 @@ export const ShowDomains = ({ applicationId }: Props) => {
applicationId={applicationId} applicationId={applicationId}
domainId={item.domainId} domainId={item.domainId}
> >
<Button variant="ghost"> <Button
<PenBoxIcon className="size-4 text-muted-foreground" /> variant="ghost"
size="icon"
className="group hover:bg-blue-500/10 "
>
<PenBoxIcon className="size-3.5 text-primary group-hover:text-blue-500" />
</Button> </Button>
</AddDomain> </AddDomain>
<DialogAction <DialogAction

View File

@@ -22,13 +22,13 @@ import { Input } from "@/components/ui/input";
import { api } from "@/utils/api"; import { api } from "@/utils/api";
import type { ServiceType } from "@dokploy/server/db/schema"; import type { ServiceType } from "@dokploy/server/db/schema";
import { zodResolver } from "@hookform/resolvers/zod"; import { zodResolver } from "@hookform/resolvers/zod";
import copy from "copy-to-clipboard";
import { Copy, Trash2 } from "lucide-react"; import { Copy, Trash2 } from "lucide-react";
import { useRouter } from "next/router"; import { useRouter } from "next/router";
import { useState } from "react"; import { useState } from "react";
import { useForm } from "react-hook-form"; import { useForm } from "react-hook-form";
import { toast } from "sonner"; import { toast } from "sonner";
import { z } from "zod"; import { z } from "zod";
import copy from "copy-to-clipboard";
const deleteComposeSchema = z.object({ const deleteComposeSchema = z.object({
projectName: z.string().min(1, { projectName: z.string().min(1, {

View File

@@ -97,8 +97,12 @@ export const ShowDomainsCompose = ({ composeId }: Props) => {
composeId={composeId} composeId={composeId}
domainId={item.domainId} domainId={item.domainId}
> >
<Button variant="ghost"> <Button
<PenBoxIcon className="size-4 text-muted-foreground" /> variant="ghost"
size="icon"
className="group hover:bg-blue-500/10 "
>
<PenBoxIcon className="size-3.5 text-primary group-hover:text-blue-500" />
</Button> </Button>
</AddDomainCompose> </AddDomainCompose>
<DialogAction <DialogAction

View File

@@ -247,7 +247,7 @@ const MENU: Menu = {
settings: [ settings: [
{ {
isSingle: true, isSingle: true,
title: "Server", title: "Web Server",
url: "/dashboard/settings/server", url: "/dashboard/settings/server",
icon: Activity, icon: Activity,
// Only enabled for admins in non-cloud environments // Only enabled for admins in non-cloud environments
@@ -262,7 +262,7 @@ const MENU: Menu = {
}, },
{ {
isSingle: true, isSingle: true,
title: "Servers", title: "Remote Servers",
url: "/dashboard/settings/servers", url: "/dashboard/settings/servers",
icon: Server, icon: Server,
// Only enabled for admins // Only enabled for admins