Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: Dark mode styles for dialog
Richie McIlroyaf16145556c1
diff --git a/apps/web/app/dashboard/settings/workspace/Workspace.tsx b/apps/web/app/dashboard/settings/workspace/Workspace.tsxindex 33078f1e2..0beb99365 100644--- a/apps/web/app/dashboard/settings/workspace/Workspace.tsx+++ b/apps/web/app/dashboard/settings/workspace/Workspace.tsx@@ -419,7 +419,9 @@ export const Workspace = () => {</DialogHeader><div className="space-y-4"><div>- <Label htmlFor="emails">Email</Label>+ <Label htmlFor="emails" className="mb-1">+ </Label><Inputid="emails"value={emailInput}diff --git a/packages/ui/src/components/Dialog.tsx b/packages/ui/src/components/Dialog.tsxindex 19d264f4f..34b481859 100644--- a/packages/ui/src/components/Dialog.tsx+++ b/packages/ui/src/components/Dialog.tsx@@ -31,7 +31,7 @@ const DialogContent = React.forwardRef<<DialogPrimitive.Contentref={ref}className={classNames(- "relative p-6 w-full max-w-lg rounded-xl shadow-lg bg-gray-7 border-gray-9",+ "relative p-6 w-full max-w-lg rounded-xl shadow-lg bg-gray-3 border-gray-9",className)}{...props}@@ -53,7 +53,7 @@ const DialogHeader = ({}: React.HTMLAttributes<HTMLDivElement>) => (<divclassName={classNames(- "flex flex-col space-y-1.5 text-center sm:text-left pb-4 mb-4 border-b border-subtle",+ "flex flex-col space-y-1.5 text-center sm:text-left pb-4 mb-4 border-b border-gray-6",className)}{...props}@@ -82,7 +82,7 @@ const DialogTitle = React.forwardRef<<DialogPrimitive.Titleref={ref}className={classNames(- "text-xl font-bold tracking-tight leading-none",+ "text-xl font-bold tracking-tight leading-none text-gray-12",className)}{...props}@@ -96,7 +96,7 @@ const DialogDescription = React.forwardRef<>(({ className, ...props }, ref) => (<DialogPrimitive.Descriptionref={ref}- className={classNames("text-sm text-muted-foreground", className)}+ className={classNames("text-sm text-gray-11", className)}{...props}/>));diff --git a/packages/ui/src/components/input/Input.tsx b/packages/ui/src/components/input/Input.tsxindex d5db0edb6..d89329519 100644--- a/packages/ui/src/components/input/Input.tsx+++ b/packages/ui/src/components/input/Input.tsx@@ -11,10 +11,10 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(<inputtype={type}className={classNames(- "flex px-4 w-full text-sm font-thin transition-all duration-200 text-gray-12 bg-gray-3 border-gray-4 outline-0 focus:bg-gray-3",- "rounded-xl hover:bg-gray-4 hover:border-gray-5 h-[48px] placeholder:text-gray-8 py-[14px] border-[1px] focus:border-gray-5",+ "flex px-4 w-full text-sm font-thin transition-all duration-200 text-gray-12 bg-gray-1 border-gray-4 outline-0 focus:bg-gray-3",+ "rounded-xl hover:bg-gray-2 hover:border-gray-5 h-[48px] placeholder:text-gray-8 py-[14px] border-[1px] focus:border-gray-5","file:border-0 file:bg-transparent file:text-sm file:font-medium",- "disabled:cursor-not-allowed disabled:bg-gray-1 disabled:bg-gray-2 disabled:text-gray-9 placeholder:transition-all",+ "disabled:cursor-not-allowed disabled:bg-gray-2 disabled:bg-gray-2 disabled:text-gray-9 placeholder:transition-all","ring-0 ring-gray-2 focus:ring-1 focus:ring-gray-12 focus:ring-offset-2 ring-offset-gray-1 placeholder:text-gray-12 placeholder:duration-200",className)}