Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat: new theme

dextmorgn24415ae26389
diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/page.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/page.tsx
index 1c843b06..b309ab6c 100644
--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/page.tsx
+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/page.tsx
@@ -60,7 +60,7 @@ const DashboardPage = () => {
return (
<>
- <div className="sticky z-40 bg-background top-[48px] border-b">
+ <div className="sticky z-40 bg-card top-[48px] border-b">
<InvestigationNavigation investigation_id={investigation_id as string} />
</div>
<div className="w-full space-y-8 container mx-auto py-12 px-8">
@@ -116,7 +116,7 @@ const DashboardPage = () => {
<Loader />
</div>
) : (
- <Card className="border rounded-md bg-background shadow-xs">
+ <Card className="border rounded-md bg-card shadow-xs">
<Table>
<TableHeader>
<TableRow>
@@ -135,11 +135,13 @@ const DashboardPage = () => {
<TableCell colSpan={7} className="text-center w-full py-2 text-muted-foreground">
<div className="flex flex-col justify-center items-center p-3 gap-2">
No sketch yet or document yet.
- <NewSketch noDropDown>
- <Button size="sm" className="gap-2">
- <PlusIcon className="h-4 w-4" /> Create a new sketch
- </Button>
- </NewSketch>
+ <div className="mt-4">
+ <NewSketch noDropDown>
+ <Button size="sm" className="gap-2">
+ <PlusIcon className="h-4 w-4" />Create a new sketch
+ </Button>
+ </NewSketch>
+ </div>
</div>
</TableCell>
</TableRow>
diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/layout.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/layout.tsx
index 9eef1a91..13497c29 100644
--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/layout.tsx
+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/layout.tsx
@@ -23,7 +23,7 @@ const DashboardLayout = async ({
}
return (
<SketchProvider>
- <div className="sticky z-40 bg-background w-full hidden md:flex top-[48px] border-b">
+ <div className="sticky z-40 bg-card w-full hidden md:flex top-[48px] border-b">
<SketchNavigation user_id={data?.user?.id} investigation_id={investigation_id} sketch_id={sketch_id} sketch={sketch as Sketch} />
</div>
{children}
diff --git a/flowsint-web/src/app/dashboard/layout.tsx b/flowsint-web/src/app/dashboard/layout.tsx
index 969a83db..c928247e 100644
--- a/flowsint-web/src/app/dashboard/layout.tsx
+++ b/flowsint-web/src/app/dashboard/layout.tsx
@@ -27,8 +27,8 @@ const DashboardLayout = async ({
return (
<SidebarProvider>
<SidebarInset>
- <div className="flex flex-col flex-1 min-h-screen flex-col bg-accent">
- <header className="sticky top-0 z-50 bg-background border-b">
+ <div className="flex flex-col flex-1 min-h-screen flex-col bg-background">
+ <header className="sticky top-0 z-50 bg-card border-b">
<div className="flex h-12 items-center px-4">
<Link href="/dashboard" className="flex items-center gap-1">
<FingerprintIcon className="mr-2 h-6 w-6 text-primary" />
diff --git a/flowsint-web/src/app/dashboard/page.tsx b/flowsint-web/src/app/dashboard/page.tsx
index e82a2892..e096e6af 100644
--- a/flowsint-web/src/app/dashboard/page.tsx
+++ b/flowsint-web/src/app/dashboard/page.tsx
@@ -42,7 +42,7 @@ const DashboardPage = () => {
return (
<>
- <div className="sticky z-40 bg-background w-full hidden md:flex top-[48px] border-b">
+ <div className="sticky z-40 bg-card w-full hidden md:flex top-[48px] border-b">
<SubNav />
</div>
<div className="w-full space-y-8 container mx-auto py-12 px-8">
@@ -54,12 +54,12 @@ const DashboardPage = () => {
<Input
type="text"
placeholder="Search investigations and investigations..."
- className="pl-10 pr-16 py-2 h-10 text-sm bg-background"
+ className="pl-10 pr-16 py-2 h-10 text-sm bg-card"
/>
<div className="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none">
<div className="flex items-center gap-1 text-xs">
- <kbd className="px-1.5 py-0.5 bg-accent border rounded">⌘</kbd>
- <kbd className="px-1.5 py-0.5 bg-accent border rounded">K</kbd>
+ <kbd className="px-1.5 py-0.5 bg-background border rounded">⌘</kbd>
+ <kbd className="px-1.5 py-0.5 bg-background border rounded">K</kbd>
</div>
</div>
</div>
@@ -67,7 +67,7 @@ const DashboardPage = () => {
<div className="flex items-center gap-2">
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <Button variant="outline" className="flex items-center gap-2 h-10">
+ <Button variant="outline" className="flex items-center bg-card gap-2 h-10">
<span>Sort by activity</span>
<ChevronDown className="h-4 w-4" />
</Button>
@@ -80,11 +80,11 @@ const DashboardPage = () => {
</DropdownMenuContent>
</DropdownMenu>
- <div className="flex items-center border bg-background rounded-md overflow-hidden">
+ <div className="flex items-center border bg-card rounded-md overflow-hidden">
<Button
variant="ghost"
size="icon"
- className={`rounded-none ${viewMode === "grid" ? "bg-accent" : ""}`}
+ className={`rounded-none ${viewMode === "grid" ? "bg-background" : ""}`}
onClick={() => setViewMode("grid")}
>
<Grid className="h-4 w-4" />
@@ -92,7 +92,7 @@ const DashboardPage = () => {
<Button
variant="ghost"
size="icon"
- className={`rounded-none ${viewMode === "list" ? "bg-accent" : ""}`}
+ className={`rounded-none ${viewMode === "list" ? "bg-background" : ""}`}
onClick={() => setViewMode("list")}
>
<List className="h-4 w-4" />
@@ -134,7 +134,7 @@ const DashboardPage = () => {
<Loader />
</div>
) : (
- <Card className="border rounded-md bg-background shadow-xs">
+ <Card className="border rounded-md bg-card shadow-xs">
<Table>
<TableHeader>
<TableRow>
@@ -153,11 +153,13 @@ const DashboardPage = () => {
<TableCell colSpan={7} className="text-center py-8 text-muted-foreground">
{searchQuery !== "" ? "No investigations found" :
<div className="flex items-center flex-col gap-3">No investigations yet
- <NewInvestigation noDropDown>
- <Button size="sm" className="gap-2">
- <PlusIcon className="h-4 w-4" /> Create a new investigation
- </Button>
- </NewInvestigation>
+ <div className="mt-4">
+ <NewInvestigation noDropDown>
+ <Button size="sm" className="gap-2">
+ <PlusIcon className="h-4 w-4" /> Create a new investigation
+ </Button>
+ </NewInvestigation>
+ </div>
</div>}
</TableCell>
</TableRow>
diff --git a/flowsint-web/src/app/dashboard/settings/appearance/appearance-form.tsx b/flowsint-web/src/app/dashboard/settings/appearance/appearance-form.tsx
index 10636d49..45cbc74c 100644
--- a/flowsint-web/src/app/dashboard/settings/appearance/appearance-form.tsx
+++ b/flowsint-web/src/app/dashboard/settings/appearance/appearance-form.tsx
@@ -129,7 +129,7 @@ export function AppearanceForm() {
<FormControl>
<RadioGroupItem value="dark" className="sr-only" />
</FormControl>
- <div className="items-center rounded-md border-2 border-muted bg-popover p-1 hover:bg-accent hover:text-accent-foreground">
+ <div className="items-center rounded-md border-2 border-muted bg-popover p-1 hover:bg-background hover:text-accent-foreground">
<div className="space-y-2 rounded-sm bg-slate-950 p-2">
<div className="space-y-2 rounded-md bg-slate-800 p-2 shadow-sm">
<div className="h-2 w-[80px] rounded-lg bg-slate-400" />
@@ -155,7 +155,7 @@ export function AppearanceForm() {
<FormControl>
<RadioGroupItem value="system" className="sr-only" />
</FormControl>
- <div className="items-center rounded-md border-2 border-muted bg-popover p-1 hover:bg-accent hover:text-accent-foreground">
+ <div className="items-center rounded-md border-2 border-muted bg-popover p-1 hover:bg-background hover:text-accent-foreground">
<div className="space-y-2 rounded-sm bg-slate-950 p-2">
<div className="space-y-2 rounded-md bg-slate-800 p-2 shadow-sm">
<div className="h-2 w-[80px] rounded-lg bg-slate-400" />
diff --git a/flowsint-web/src/app/layout.tsx b/flowsint-web/src/app/layout.tsx
index 0868535d..3f037661 100644
--- a/flowsint-web/src/app/layout.tsx
+++ b/flowsint-web/src/app/layout.tsx
@@ -45,7 +45,7 @@ export default function RootLayout({
</head>
<body
className={clsx(
- "min-h-screen !bg-accent font-sans antialiased",
+ "min-h-screen !bg-background font-sans antialiased",
fontSans.variable,
)}
>
diff --git a/flowsint-web/src/components/dashboard/recent-sketches.tsx b/flowsint-web/src/components/dashboard/recent-sketches.tsx
index 63289ee0..b9b7e6e2 100644
--- a/flowsint-web/src/components/dashboard/recent-sketches.tsx
+++ b/flowsint-web/src/components/dashboard/recent-sketches.tsx
@@ -62,7 +62,7 @@ const RecentSketches = () => {
{sketches?.map((sketch: Sketch) => {
return (
<Link href={`/dashboard/investigations/${sketch.investigation_id}/sketches/${sketch.id}`} key={sketch.id} className="group">
- <Card className="bg-background shadow-xs h-full min-h-32 transition-all duration-200 hover:border-primary rounded-md">
+ <Card className="bg-card shadow-xs h-full min-h-32 transition-all duration-200 hover:border-primary rounded-md">
<CardContent className="p-4 relative h-full flex flex-col justify-between">
<div className="flex flex items-center gap-3 w-full">
<div>
diff --git a/flowsint-web/src/components/dashboard/sub-nav.tsx b/flowsint-web/src/components/dashboard/sub-nav.tsx
index b3476dc6..63d0115e 100644
--- a/flowsint-web/src/components/dashboard/sub-nav.tsx
+++ b/flowsint-web/src/components/dashboard/sub-nav.tsx
@@ -55,8 +55,8 @@ export function SubNav() {
className={cn(
"flex items-center text-sm gap-2 px-4 py-2 transition-colors",
section?.href == pathname
- ? "bg-accent text-accent-foreground"
- : "text-muted-foreground hover:text-foreground hover:bg-accent/50",
+ ? "bg-card text-accent-foreground"
+ : "text-muted-foreground hover:text-foreground hover:bg-card/50",
)}
>
<section.icon className="h-4 w-4" />
diff --git a/flowsint-web/src/components/investigations/investigation-navigation.tsx b/flowsint-web/src/components/investigations/investigation-navigation.tsx
index a1f8d212..ee0ff5ac 100644
--- a/flowsint-web/src/components/investigations/investigation-navigation.tsx
+++ b/flowsint-web/src/components/investigations/investigation-navigation.tsx
@@ -48,8 +48,8 @@ export function InvestigationNavigation({ investigation_id }: { investigation_id
className={cn(
"flex items-center text-sm gap-2 px-4 py-2 transition-colors",
section?.href == pathname
- ? "bg-accent text-accent-foreground"
- : "text-muted-foreground hover:text-foreground hover:bg-accent/50",
+ ? "bg-background text-accent-foreground"
+ : "text-muted-foreground hover:text-foreground hover:bg-card/50",
)}
>
<section.icon className="h-4 w-4" />
diff --git a/flowsint-web/src/components/investigations/investigation-selector.tsx b/flowsint-web/src/components/investigations/investigation-selector.tsx
index 15a9119b..4ee10de5 100644
--- a/flowsint-web/src/components/investigations/investigation-selector.tsx
+++ b/flowsint-web/src/components/investigations/investigation-selector.tsx
@@ -33,7 +33,7 @@ export default function InvestigationSelector() {
{isLoading ? <Skeleton className="h-8 w-40 bg-foreground/10" /> :
// @ts-ignore
<Select onValueChange={handleSelectionChange} defaultValue={investigation_id}>
- <SelectTrigger className="min-w-none h-8 w-full hover:bg-sidebar-accent rounded-sm font-medium shadow-none border-none text-ellipsis truncate gap-1">
+ <SelectTrigger className="min-w-none h-8 w-full hover:bg-foreground/10 rounded-sm font-medium shadow-none border-none text-ellipsis truncate gap-1">
<SelectValue placeholder="Select an investigation" /><Badge variant="outline" className="ml-1 rounded-full shadow-none">Case</Badge>
</SelectTrigger>
<SelectContent>
diff --git a/flowsint-web/src/components/investigations/section-cards.tsx b/flowsint-web/src/components/investigations/section-cards.tsx
index 8468e7e0..5fcb9265 100644
--- a/flowsint-web/src/components/investigations/section-cards.tsx
+++ b/flowsint-web/src/components/investigations/section-cards.tsx
@@ -12,7 +12,7 @@ import {
export function SectionCards() {
return (
<div className="*:data-[slot=card]:shadow-xs grid-cols-2 xl:grid-cols-4 grid grid-cols-1 gap-4">
- <Card className="bg-background">
+ <Card className="bg-card">
<CardHeader className="relative">
<CardDescription>Total sketches</CardDescription>
<CardTitle className="@[250px]/card:text-3xl text-2xl font-semibold tabular-nums">
@@ -34,7 +34,7 @@ export function SectionCards() {
</div>
</CardFooter>
</Card>
- <Card className="bg-background">
+ <Card className="bg-card">
<CardHeader className="relative">
<CardDescription>New entities</CardDescription>
<CardTitle className="@[250px]/card:text-3xl text-2xl font-semibold tabular-nums">
@@ -56,7 +56,7 @@ export function SectionCards() {
</div>
</CardFooter>
</Card>
- <Card className="bg-background">
+ <Card className="bg-card">
<CardHeader className="relative">
<CardDescription>Verified accounts</CardDescription>
<CardTitle className="@[250px]/card:text-3xl text-2xl font-semibold tabular-nums">
@@ -76,7 +76,7 @@ export function SectionCards() {
<div className="text-muted-foreground">Amount of verified social accounts</div>
</CardFooter>
</Card>
- <Card className="bg-background">
+ <Card className="bg-card">
<CardHeader className="relative">
<CardDescription>Collaborators</CardDescription>
<CardTitle className="@[250px]/card:text-3xl text-2xl font-semibold tabular-nums">
diff --git a/flowsint-web/src/components/organigrams/graph.tsx b/flowsint-web/src/components/organigrams/graph.tsx
index 817289a5..5064086a 100644
--- a/flowsint-web/src/components/organigrams/graph.tsx
+++ b/flowsint-web/src/components/organigrams/graph.tsx
@@ -99,7 +99,7 @@ const FlowControls = memo(({
</Panel>
<Panel position="top-left" className="flex flex-col items-center gap-1">
<NewActions addNodes={addNodes}>
- <Button className="bg-gradient-to-r from-purple-600 to-indigo-400 hover:from-purple-700 hover:to-indigo-500 transition-all duration-300" size="icon">
+ <Button className="bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none" size="icon">
<PlusIcon />
</Button>
</NewActions>
@@ -290,7 +290,7 @@ const LayoutFlow = memo(({ refetch, theme }: any) => {
nodeTypes,
edgeTypes,
proOptions: { hideAttribution: true },
- className: "!bg-accent dark:!bg-background"
+ className: "!bg-background dark:!bg-background"
}), [
theme,
nodes,
@@ -328,7 +328,7 @@ const LayoutFlow = memo(({ refetch, theme }: any) => {
zoomOut={zoomOut}
addNodes={addNodes}
/>
- <Background className="dark:bg-background bg-accent" />
+ <Background className="dark:bg-background bg-background" />
{showMiniMap && <MiniMap className="!z-40" pannable />}
</ReactFlow>
</ContextMenuTrigger>
diff --git a/flowsint-web/src/components/sketches/add-contributor.tsx b/flowsint-web/src/components/sketches/add-contributor.tsx
index 3583ab13..bea8249f 100644
--- a/flowsint-web/src/components/sketches/add-contributor.tsx
+++ b/flowsint-web/src/components/sketches/add-contributor.tsx
@@ -98,8 +98,8 @@ export function AddInvestigationModal({ sketchId, open, setOpen }: AddInvestigat
<Dialog open={open} onOpenChange={handleOpenChange}>
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
- <DialogTitle>Ajouter un profil à l'investigation</DialogTitle>
- <DialogDescription>Sélectionnez un profil à associer à cette esquisse d'investigation.</DialogDescription>
+ <DialogTitle>Add a collaborator to the investigation</DialogTitle>
+ <DialogDescription>Select a profile to associate with this investigation's sketcH.</DialogDescription>
</DialogHeader>
<div className="py-4">
<Popover open={popoverOpen} onOpenChange={setPopoverOpen}>
@@ -115,7 +115,7 @@ export function AddInvestigationModal({ sketchId, open, setOpen }: AddInvestigat
{isLoading ? (
<div className="flex items-center gap-2">
<Loader2 className="h-4 w-4 animate-spin" />
- <span>Chargement des profils...</span>
+ <span>Loading profiles...</span>
</div>
) : selectedProfile ? (
<div className="flex items-center gap-2">
@@ -135,14 +135,14 @@ export function AddInvestigationModal({ sketchId, open, setOpen }: AddInvestigat
</span>
</div>
) : (
- "Sélectionner un profil"
+ "Select a profile"
)}
<ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
</Button>
</PopoverTrigger>
<PopoverContent className="w-[400px] p-0">
<Command>
- <CommandInput placeholder="Rechercher un profil..." />
+ <CommandInput placeholder="Search for a profile..." />
<CommandList>
<CommandEmpty>Could not find any profile.</CommandEmpty>
<CommandGroup className="max-h-[300px] overflow-y-auto">
diff --git a/flowsint-web/src/components/sketches/case-selector.tsx b/flowsint-web/src/components/sketches/case-selector.tsx
index bf18b278..b3aa0060 100644
--- a/flowsint-web/src/components/sketches/case-selector.tsx
+++ b/flowsint-web/src/components/sketches/case-selector.tsx
@@ -30,7 +30,7 @@ export default function CaseSelector() {
<div className="flex items-center">
{isLoading || sketch.isLoading ? <Skeleton className="h-8 w-40 bg-foreground/10" /> :
<Select onValueChange={handleSelectionChange} defaultValue={sketch?.data?.id}>
- <SelectTrigger className="min-w-none h-8 rounded-sm w-full hover:bg-sidebar-accent font-medium shadow-none border-none text-ellipsis truncate gap-1">
+ <SelectTrigger className="min-w-none h-8 rounded-sm w-full hover:bg-foreground/10 font-medium shadow-none border-none text-ellipsis truncate gap-1">
<SelectValue defaultValue={sketch?.data?.title || ""} placeholder="Select an investigation" />
</SelectTrigger>
<SelectContent>
diff --git a/flowsint-web/src/components/sketches/more-menu.tsx b/flowsint-web/src/components/sketches/more-menu.tsx
index 3e685840..067b2cba 100644
--- a/flowsint-web/src/components/sketches/more-menu.tsx
+++ b/flowsint-web/src/components/sketches/more-menu.tsx
@@ -18,7 +18,7 @@ export default function MoreMenu({ sketch, user_id }: { sketch: Sketch, user_id:
<>
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <Button variant="outline" size="icon" className="rounded-none border-none">
+ <Button variant="ghost" size="icon" className="rounded-none border-none">
<Ellipsis className="h-4 w-4" />
</Button>
</DropdownMenuTrigger>
diff --git a/flowsint-web/src/components/sketches/new-actions.tsx b/flowsint-web/src/components/sketches/new-actions.tsx
index 0355514e..6880a066 100644
--- a/flowsint-web/src/components/sketches/new-actions.tsx
+++ b/flowsint-web/src/components/sketches/new-actions.tsx
@@ -203,7 +203,7 @@ function ActionCard({ item, onSelect }: ActionCardProps) {
return (
<Card
className={cn(
- "cursor-pointer transition-all bg-accent hover:border-primary border border-transparent hover:shadow-md",
+ "cursor-pointer transition-all bg-background hover:border-primary border border-transparent hover:shadow-md",
item.disabled && "opacity-50 cursor-not-allowed",
"h-full",
)}
diff --git a/flowsint-web/src/components/sketches/panel-context-menu.tsx b/flowsint-web/src/components/sketches/panel-context-menu.tsx
index 8cc4db98..753ac10f 100644
--- a/flowsint-web/src/components/sketches/panel-context-menu.tsx
+++ b/flowsint-web/src/components/sketches/panel-context-menu.tsx
@@ -188,7 +188,7 @@ function ActionCard({ item, onSelect }: ActionCardProps) {
return (
<Card
className={cn(
- "cursor-pointer transition-all bg-accent hover:scale-105 hover:shadow-md",
+ "cursor-pointer transition-all bg-background hover:scale-105 hover:shadow-md",
item.disabled && "opacity-50 cursor-not-allowed",
"h-full",
)}
diff --git a/flowsint-web/src/components/sketches/scan-drawer.tsx b/flowsint-web/src/components/sketches/scan-drawer.tsx
index cb5b5c95..701556c3 100644
--- a/flowsint-web/src/components/sketches/scan-drawer.tsx
+++ b/flowsint-web/src/components/sketches/scan-drawer.tsx
@@ -131,7 +131,7 @@ export function ScanDrawer() {
{/* Stats Cards */}
<div className="grid grid-cols-3 gap-4 mb-4">
- <Card className="bg-accent shadow-none">
+ <Card className="bg-background shadow-none">
<CardContent className="p-4 flex items-center gap-2">
<Shield className="h-4 w-4 text-green-500" />
<div>
@@ -140,7 +140,7 @@ export function ScanDrawer() {
</div>
</CardContent>
</Card>
- <Card className="bg-accent shadow-none">
+ <Card className="bg-background shadow-none">
<CardContent className="p-4 flex items-center gap-2">
<Clock className="h-4 w-4 text-yellow-500" />
<div>
@@ -149,7 +149,7 @@ export function ScanDrawer() {
</div>
</CardContent>
</Card>
- <Card className="bg-accent shadow-none">
+ <Card className="bg-background shadow-none">
<CardContent className="p-4 flex items-center gap-2">
<ShieldAlert className="h-4 w-4 text-destructive" />
<div>
@@ -250,7 +250,7 @@ export function ScanDrawer() {
) : (
<div className="grid grid-cols-2 md:grid-cols-3 gap-4 p-4 overflow-auto">
{filteredResults?.map((result: any, index: number) => (
- <Card key={index} className="overflow-hidden bg-accent">
+ <Card key={index} className="overflow-hidden bg-background">
<CardContent className="p-4">
{isErrorResult(result) ? (
<div className="flex items-start gap-2 text-destructive">
diff --git a/flowsint-web/src/components/sketches/sketch-navigation.tsx b/flowsint-web/src/components/sketches/sketch-navigation.tsx
index f36df5ba..65daec99 100644
--- a/flowsint-web/src/components/sketches/sketch-navigation.tsx
+++ b/flowsint-web/src/components/sketches/sketch-navigation.tsx
@@ -61,8 +61,8 @@ function SketchNavigation({ investigation_id, sketch_id, sketch, user_id }: { in
className={cn(
"flex items-center text-sm gap-2 border-b-2 border-transparent px-4 py-2 transition-colors",
section?.href == pathname
- ? "bg-accent text-accent-foreground border-b-primary"
- : "text-muted-foreground hover:text-foreground hover:bg-accent/50",
+ ? "bg-background text-accent-foreground border-b-primary"
+ : "text-muted-foreground hover:text-foreground hover:bg-background/50",
)}
>
<section.icon className="h-4 w-4" />
diff --git a/flowsint-web/src/components/sketches/sketch/graph.tsx b/flowsint-web/src/components/sketches/sketch/graph.tsx
index d33910fb..d68d9691 100644
--- a/flowsint-web/src/components/sketches/sketch/graph.tsx
+++ b/flowsint-web/src/components/sketches/sketch/graph.tsx
@@ -102,7 +102,7 @@ const FlowControls = memo(({
</Panel>
<Panel position="top-left" className="flex flex-col items-center gap-1">
<NewActions addNodes={addNodes}>
- <Button className="bg-gradient-to-r from-purple-600 to-indigo-400 hover:from-purple-700 hover:to-indigo-500 transition-all duration-300" size="icon">
+ <Button className="bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none" size="icon">
<PlusIcon />
</Button>
</NewActions>
@@ -293,7 +293,6 @@ const LayoutFlow = memo(({ refetch, theme }: any) => {
proOptions: { hideAttribution: true },
edgeTypes,
nodeTypes,
- className: "!bg-accent dark:!bg-background"
}), [
theme,
nodes,
@@ -331,7 +330,7 @@ const LayoutFlow = memo(({ refetch, theme }: any) => {
zoomOut={zoomOut}
addNodes={addNodes}
/>
- <Background className="dark:bg-background bg-accent" />
+ <Background bgColor="var(--background)" />
{showMiniMap && <MiniMap className="!z-40" pannable />}
</ReactFlow>
</ContextMenuTrigger>
@@ -358,7 +357,7 @@ const LayoutFlow = memo(({ refetch, theme }: any) => {
</TooltipProvider>
</ResizablePanel>
<ResizableHandle withHandle />
- <ResizablePanel defaultSize={20} minSize={15} maxSize={40} className="h-full bg-background">
+ <ResizablePanel defaultSize={20} minSize={15} maxSize={40} className="h-full bg-card">
<ResizablePanelGroup autoSaveId="conditional" direction="vertical">
{currentNode && (
<>
diff --git a/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx b/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx
index 837808ce..bdb2eee0 100644
--- a/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx
+++ b/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx
@@ -30,7 +30,7 @@ const SocialNode = memo(({ node, setCurrentNode, currentNodeId }: {
variant={"ghost"}
className={cn(
'flex items-center justify-start p-4 !py-5 rounded-none text-left border-b border-l-2 border-l-transparent',
- node.id === currentNodeId && 'border-l-primary bg-accent'
+ node.id === currentNodeId && 'border-l-primary bg-background'
)}
onClick={handleClick}
>
@@ -75,12 +75,12 @@ const NodeRenderer = memo(({
<Button
variant={"ghost"}
className={cn(
- 'flex items-center justify-start p-4 !py-5 rounded-none text-left border-b border-l-2 border-l-transparent',
- node.id === currentNodeId && 'border-l-primary bg-accent'
+ 'flex items-center justify-start p-4 !py-5 hover:bg-muted rounded-none text-left border-b border-l-2 border-l-transparent',
+ node.id === currentNodeId && 'border-l-primary bg-muted'
)}
onClick={handleClick}
>
- <Badge variant="secondary" className="h-7 w-7 p-0 rounded-full">
+ <Badge variant="outline" className="h-7 w-7 p-0 rounded-full">
<Icon className="h-4 w-4 opacity-60" />
</Badge>
<div className='grow truncate text-ellipsis'>{node?.data?.label}</div>
@@ -133,8 +133,8 @@ const NodesPanel = memo(({ nodes }: { nodes: Node[] }) => {
}, [])
return (
- <div className="overflow-auto h-full flex flex-col w-full !p-0 !m-0">
- <div className="sticky border-b top-0 p-2 bg-background z-10">
+ <div className="overflow-auto bg-card h-full flex flex-col w-full !p-0 !m-0">
+ <div className="sticky border-b top-0 p-2 bg-card z-10">
<div className="flex items-center gap-2">
<h3 className="text-sm font-medium">Nodes</h3>
<Badge variant={"outline"}>{nodes?.length || 0}</Badge>
diff --git a/flowsint-web/src/components/sketches/sketch/nodes/custom-node.tsx b/flowsint-web/src/components/sketches/sketch/nodes/custom-node.tsx
index c75aa78a..054c594a 100644
--- a/flowsint-web/src/components/sketches/sketch/nodes/custom-node.tsx
+++ b/flowsint-web/src/components/sketches/sketch/nodes/custom-node.tsx
@@ -26,7 +26,7 @@ export default memo(({ data, selected }: any) => {
<TooltipNode className={cn('p-.5 rounded-full', typeColorMap[data.type])} selected={active}>
<TooltipTrigger>
<div className="inline-flex items-center gap-2 p-1 w-auto">
- <Badge variant="secondary" className={cn("p-0 rounded-full", item?.size || "h-5 w-5")}>
+ <Badge variant="outline" className={cn("p-0 rounded-full", item?.size || "h-5 w-5")}>
<Icon className="h-4 w-4" />
</Badge>
{showNodeLabel && <div className="flex items-center gap-1">
diff --git a/flowsint-web/src/components/sketches/sketch/profile-panel.tsx b/flowsint-web/src/components/sketches/sketch/profile-panel.tsx
index 8bc3f601..f23f3d90 100644
--- a/flowsint-web/src/components/sketches/sketch/profile-panel.tsx
+++ b/flowsint-web/src/components/sketches/sketch/profile-panel.tsx
@@ -46,13 +46,13 @@ export default function ProfilePanel({ data, type }: { data: any, type: string }
return (
<div className=" overflow-y-auto overflow-x-hidden h-full">
- <div className="flex items-center sticky bg-background top-0 border-b justify-between px-4 py-2 gap-2 z-50">
+ <div className="flex items-center sticky bg-card top-0 border-b justify-between px-4 py-2 gap-2 z-50">
<h1 className="text-md font-semibold truncate">{data?.label}</h1>
<div className="flex items-center gap-2">
{data?.type === "organization" ?
<Link href={`/dashboard/investigations/${investigation_id}/organigrams/${data.id}`}>
<Button
- className="relative min-w-[80px] h-8 overflow-hidden truncate bg-gradient-to-r from-purple-600 to-indigo-400 hover:from-purple-700 hover:to-indigo-500 transition-all duration-300 px-6 py-2 text-white border-none font-medium rounded-full"
+ className="relative min-w-[80px] h-8 overflow-hidden truncate bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none font-medium rounded-full"
>
<span className="flex items-center truncate gap-2">
<Sparkles className={'h-4 w-4 transition-transform duration-300'} />
@@ -65,8 +65,8 @@ export default function ProfilePanel({ data, type }: { data: any, type: string }
<Button
onClick={handleCheckEmail}
disabled={data?.type !== "email"}
- className="relative min-w-[80px] h-8 overflow-hidden bg-gradient-to-r from-purple-600 to-indigo-400 hover:from-purple-700 hover:to-indigo-500 transition-all duration-300 px-6 py-2 text-white border-none font-medium rounded-full"
- >
+ className="relative min-w-[80px] h-8 overflow-hidden truncate bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none font-medium rounded-full"
+ >
<span className="flex items-center gap-2">
<Sparkles className={'h-4 w-4 transition-transform duration-300'} />
<span>Search</span>
@@ -103,8 +103,8 @@ function KeyValueDisplay({ data, className }: KeyValueDisplayProps) {
const display = (typeof val === "string" && val.startsWith("https://")) ? <a href={val} className="underline text-primary" target="_blank">{val}</a> : val
return (
<div key={index} className="flex w-full items-center border-b border-border divide-x divide-border">
- <div className="w-1/2 bg-background px-4 p-2 text-sm text-muted-foreground font-normal">{key}</div>
- <div className="w-1/2 bg-background px-4 p-2 text-sm font-medium flex items-center justify-between"><div className="truncate font-semibold">{display || <span className="italic text-muted-foreground">N/A</span>}</div> <div>{display && <CopyButton className="h-6 w-6" content={val} />}</div></div>
+ <div className="w-1/2 bg-card px-4 p-2 text-sm text-muted-foreground font-normal">{key}</div>
+ <div className="w-1/2 bg-card px-4 p-2 text-sm font-medium flex items-center justify-between"><div className="truncate font-semibold">{display || <span className="italic text-muted-foreground">N/A</span>}</div> <div>{display && <CopyButton className="h-6 w-6" content={val} />}</div></div>
</div>
)
})}
diff --git a/flowsint-web/src/components/ui/badge.tsx b/flowsint-web/src/components/ui/badge.tsx
index 6fb74fa4..18990897 100644
--- a/flowsint-web/src/components/ui/badge.tsx
+++ b/flowsint-web/src/components/ui/badge.tsx
@@ -16,7 +16,7 @@ const badgeVariants = cva(
destructive:
"border-transparent bg-destructive text-destructive-foreground shadow-sm [a&]:hover:bg-destructive/90",
outline:
- "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
+ "text-foreground [a&]:hover:bg-background [a&]:hover:text-accent-foreground",
},
},
defaultVariants: {
diff --git a/flowsint-web/src/components/ui/button.tsx b/flowsint-web/src/components/ui/button.tsx
index 8aa1082f..d326b98d 100644
--- a/flowsint-web/src/components/ui/button.tsx
+++ b/flowsint-web/src/components/ui/button.tsx
@@ -14,10 +14,10 @@ const buttonVariants = cva(
destructive:
"bg-destructive text-destructive-foregroundhover:bg-destructive/90",
outline:
- "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
+ "border border-input bg-background hover:bg-background hover:text-accent-foreground",
secondary:
"bg-secondary text-secondary-foregroundhover:bg-secondary/80",
- ghost: "hover:bg-accent hover:text-accent-foreground",
+ ghost: "hover:bg-background hover:text-accent-foreground",
link: "text-primary underline-offset-4 hover:underline",
},
size: {
diff --git a/flowsint-web/src/components/ui/calendar.tsx b/flowsint-web/src/components/ui/calendar.tsx
index f8168937..7587bd2f 100644
--- a/flowsint-web/src/components/ui/calendar.tsx
+++ b/flowsint-web/src/components/ui/calendar.tsx
@@ -35,7 +35,7 @@ function Calendar({
"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",
row: "flex w-full mt-2",
cell: cn(
- "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",
+ "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-background [&:has([aria-selected].day-outside)]:bg-background/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",
props.mode === "range"
? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md"
: "[&:has([aria-selected])]:rounded-md"
@@ -48,12 +48,12 @@ function Calendar({
day_range_end: "day-range-end",
day_selected:
"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
- day_today: "bg-accent text-accent-foreground",
+ day_today: "bg-background text-accent-foreground",
day_outside:
- "day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",
+ "day-outside text-muted-foreground aria-selected:bg-background/50 aria-selected:text-muted-foreground",
day_disabled: "text-muted-foreground opacity-50",
day_range_middle:
- "aria-selected:bg-accent aria-selected:text-accent-foreground",
+ "aria-selected:bg-background aria-selected:text-accent-foreground",
day_hidden: "invisible",
...classNames,
}}
diff --git a/flowsint-web/src/components/ui/card.tsx b/flowsint-web/src/components/ui/card.tsx
index 3ff199be..19460930 100644
--- a/flowsint-web/src/components/ui/card.tsx
+++ b/flowsint-web/src/components/ui/card.tsx
@@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="card"
className={cn(
- "bg-card text-card-foreground rounded-xl border shadow-sm",
+ "bg-background text-card-foreground rounded-xl border shadow-sm",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/command.tsx b/flowsint-web/src/components/ui/command.tsx
index 4ca53497..37beb304 100644
--- a/flowsint-web/src/components/ui/command.tsx
+++ b/flowsint-web/src/components/ui/command.tsx
@@ -140,7 +140,7 @@ function CommandItem({
<CommandPrimitive.Item
data-slot="command-item"
className={cn(
- "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "data-[selected=true]:bg-background data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/context-menu.tsx b/flowsint-web/src/components/ui/context-menu.tsx
index 7b0f2ad7..9566890f 100644
--- a/flowsint-web/src/components/ui/context-menu.tsx
+++ b/flowsint-web/src/components/ui/context-menu.tsx
@@ -66,7 +66,7 @@ function ContextMenuSubTrigger({
data-slot="context-menu-sub-trigger"
data-inset={inset}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground data-[state=open]:bg-background data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
@@ -126,7 +126,7 @@ function ContextMenuItem({
data-inset={inset}
data-variant={variant}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
@@ -144,7 +144,7 @@ function ContextMenuCheckboxItem({
<ContextMenuPrimitive.CheckboxItem
data-slot="context-menu-checkbox-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
checked={checked}
@@ -169,7 +169,7 @@ function ContextMenuRadioItem({
<ContextMenuPrimitive.RadioItem
data-slot="context-menu-radio-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/dialog.tsx b/flowsint-web/src/components/ui/dialog.tsx
index 14f8560c..4751c461 100644
--- a/flowsint-web/src/components/ui/dialog.tsx
+++ b/flowsint-web/src/components/ui/dialog.tsx
@@ -64,7 +64,7 @@ function DialogContent({
>
{children}
- <DialogPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4">
+ <DialogPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-background data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4">
<XIcon />
<span className="sr-only">Close</span>
</DialogPrimitive.Close>
diff --git a/flowsint-web/src/components/ui/dropdown-menu.tsx b/flowsint-web/src/components/ui/dropdown-menu.tsx
index 0e8a9748..c0f6b354 100644
--- a/flowsint-web/src/components/ui/dropdown-menu.tsx
+++ b/flowsint-web/src/components/ui/dropdown-menu.tsx
@@ -74,7 +74,7 @@ function DropdownMenuItem({
data-inset={inset}
data-variant={variant}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
@@ -92,7 +92,7 @@ function DropdownMenuCheckboxItem({
<DropdownMenuPrimitive.CheckboxItem
data-slot="dropdown-menu-checkbox-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
checked={checked}
@@ -128,7 +128,7 @@ function DropdownMenuRadioItem({
<DropdownMenuPrimitive.RadioItem
data-slot="dropdown-menu-radio-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
@@ -211,7 +211,7 @@ function DropdownMenuSubTrigger({
data-slot="dropdown-menu-sub-trigger"
data-inset={inset}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
+ "focus:bg-background focus:text-accent-foreground data-[state=open]:bg-background data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/menubar.tsx b/flowsint-web/src/components/ui/menubar.tsx
index e1fd8620..a90e83fa 100644
--- a/flowsint-web/src/components/ui/menubar.tsx
+++ b/flowsint-web/src/components/ui/menubar.tsx
@@ -56,7 +56,7 @@ function MenubarTrigger({
<MenubarPrimitive.Trigger
data-slot="menubar-trigger"
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
+ "focus:bg-background focus:text-accent-foreground data-[state=open]:bg-background data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
className
)}
{...props}
@@ -103,7 +103,7 @@ function MenubarItem({
data-inset={inset}
data-variant={variant}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
@@ -121,7 +121,7 @@ function MenubarCheckboxItem({
<MenubarPrimitive.CheckboxItem
data-slot="menubar-checkbox-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
checked={checked}
@@ -146,7 +146,7 @@ function MenubarRadioItem({
<MenubarPrimitive.RadioItem
data-slot="menubar-radio-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "focus:bg-background focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
@@ -229,7 +229,7 @@ function MenubarSubTrigger({
data-slot="menubar-sub-trigger"
data-inset={inset}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",
+ "focus:bg-background focus:text-accent-foreground data-[state=open]:bg-background data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/navigation-menu.tsx b/flowsint-web/src/components/ui/navigation-menu.tsx
index 7a1f964c..3b578825 100644
--- a/flowsint-web/src/components/ui/navigation-menu.tsx
+++ b/flowsint-web/src/components/ui/navigation-menu.tsx
@@ -61,7 +61,7 @@ function NavigationMenuItem({
}
const navigationMenuTriggerStyle = cva(
- "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[active=true]:bg-accent/50 data-[state=open]:bg-accent/50 data-[active=true]:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1"
+ "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-background hover:text-accent-foreground focus:bg-background focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[active=true]:bg-background/50 data-[state=open]:bg-background/50 data-[active=true]:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1"
)
function NavigationMenuTrigger({
@@ -131,7 +131,7 @@ function NavigationMenuLink({
<NavigationMenuPrimitive.Link
data-slot="navigation-menu-link"
className={cn(
- "hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
+ "hover:bg-background hover:text-accent-foreground focus:bg-background focus:text-accent-foreground data-[active=true]:bg-background/50 data-[active=true]:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/select.tsx b/flowsint-web/src/components/ui/select.tsx
index b3d27c33..8f7648e6 100644
--- a/flowsint-web/src/components/ui/select.tsx
+++ b/flowsint-web/src/components/ui/select.tsx
@@ -103,7 +103,7 @@ function SelectItem({
<SelectPrimitive.Item
data-slot="select-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
+ "focus:bg-background focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
className
)}
{...props}
diff --git a/flowsint-web/src/components/ui/toggle.tsx b/flowsint-web/src/components/ui/toggle.tsx
index 3870ae88..82bb4998 100644
--- a/flowsint-web/src/components/ui/toggle.tsx
+++ b/flowsint-web/src/components/ui/toggle.tsx
@@ -7,13 +7,13 @@ import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "@/lib/utils"
const toggleVariants = cva(
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 focus-visible:ring-4 focus-visible:outline-1 aria-invalid:focus-visible:ring-0 transition-[color,box-shadow]",
+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-background data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 focus-visible:ring-4 focus-visible:outline-1 aria-invalid:focus-visible:ring-0 transition-[color,box-shadow]",
{
variants: {
variant: {
default: "bg-transparent",
outline:
- "border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground",
+ "border border-input bg-transparent shadow-xs hover:bg-background hover:text-accent-foreground",
},
size: {
default: "h-9 px-2 min-w-9",
diff --git a/flowsint-web/styles/globals.css b/flowsint-web/styles/globals.css
index 492b7abe..cdbb6277 100644
--- a/flowsint-web/styles/globals.css
+++ b/flowsint-web/styles/globals.css
@@ -10,147 +10,6 @@
--radius-thumb: 999999px !important;
} */
-:root {
- --card: hsl(0 0% 100%);
- --card-foreground: hsl(0 0% 3.9%);
- --popover: hsl(0 0% 100%);
- --popover-foreground: hsl(0 0% 3.9%);
- --primary: oklch(0.49 0.24 293);
- --primary-foreground: hsl(0 0% 98%);
- --secondary: hsl(0 0% 96.1%);
- --secondary-foreground: hsl(0 0% 9%);
- --muted: hsl(0 0% 96.1%);
- --muted-foreground: hsl(0 0% 45.1%);
- --accent: #FAFAFA;
- --accent-foreground: hsl(0 0% 9%);
- --destructive: hsl(0 84.2% 60.2%);
- --destructive-foreground: hsl(0 0% 98%);
- --border: hsla(0, 0%, 90%, 0.807);
- --input: hsl(0 0% 89.8%);
- --ring: hsl(0 0% 3.9%);
- --chart-1: hsl(221.2 83.2% 53.3%);
- --chart-2: hsl(173 58% 39%);
- --chart-3: hsl(197 37% 24%);
- --chart-4: hsl(43 74% 66%);
- --chart-5: hsl(27 87% 67%);
- --radius: 0.6rem;
- --background: hsl(0 0% 100%);
- --foreground: hsl(0 0% 3.9%);
- --sidebar: hsl(0 0% 98%);
- --sidebar-foreground: hsl(240 5.3% 26.1%);
- --sidebar-primary: hsl(240 5.9% 10%);
- --sidebar-primary-foreground: hsl(0 0% 98%);
- --sidebar-accent: hsl(240 4.8% 95.9%);
- --sidebar-accent-foreground: hsl(240 5.9% 10%);
- --sidebar-border: hsl(220 13% 91%);
- --sidebar-ring: hsl(160.1 84.1% 39.4%);
-}
-
-.dark {
- --background: hsl(240 0% 9.9%);
- --foreground: hsl(0 0% 98%);
- --card: hsl(0 0% 3.9%);
- --card-foreground: hsl(0 0% 98%);
- --popover: hsl(240 0% 9.9%);
- --popover-foreground: hsl(0 0% 98%);
- --primary: oklch(0.49 0.24 293);
- --primary-foreground: hsl(0, 0%, 100%);
- --secondary: hsl(0 0% 14.9%);
- --secondary-foreground: hsl(0 0% 98%);
- --muted: hsl(0 0% 14.9%);
- --muted-foreground: hsl(0 0% 63.9%);
- --accent: hsl(0, 0%, 12.5%);
- --accent-foreground: hsl(0 0% 98%);
- --destructive: hsl(0 62.8% 30.6%);
- --destructive-foreground: hsl(0 0% 98%);
- --border: hsla(0, 0%, 23%, 0.67);
- --input: hsl(0 0% 14.9%);
- --ring: hsl(0 0% 83.1%);
- --chart-1: hsl(160.1 84.1% 39.4%);
- --chart-2: hsl(160 60% 45%);
- --chart-3: hsl(30 80% 55%);
- --chart-4: hsl(160.1 84.1% 39.4%);
- --chart-5: hsl(340 75% 55%);
- --sidebar: hsl(0, 0%, 11%);
- --sidebar-foreground: hsl(240 4.8% 95.9%);
- --sidebar-primary: hsl(160.1 84.1% 39.4%);
- --sidebar-primary-foreground: hsl(0 0% 100%);
- --sidebar-accent: hsl(240 3.7% 15.9%);
- --sidebar-accent-foreground: hsl(240 4.8% 95.9%);
- --sidebar-border: hsl(240 3.7% 15.9%);
- --sidebar-ring: hsl(258.3 89.5% 66.3%);
-}
-
-@theme inline {
- --color-background: var(--background);
- --color-foreground: var(--foreground);
- --color-card: var(--card);
- --color-card-foreground: var(--card-foreground);
- --color-popover: var(--popover);
- --color-popover-foreground: var(--popover-foreground);
- --color-primary: var(--primary);
- --color-primary-foreground: var(--primary-foreground);
- --color-secondary: var(--secondary);
- --color-secondary-foreground: var(--secondary-foreground);
- --color-muted: var(--muted);
- --color-muted-foreground: var(--muted-foreground);
- --color-accent: var(--accent);
- --color-accent-foreground: var(--accent-foreground);
- --color-destructive: var(--destructive);
- --color-destructive-foreground: var(--destructive-foreground);
- --color-border: var(--border);
- --color-input: var(--input);
- --color-ring: var(--ring);
- --color-chart-1: var(--chart-1);
- --color-chart-2: var(--chart-2);
- --color-chart-3: var(--chart-3);
- --color-chart-4: var(--chart-4);
- --color-chart-5: var(--chart-5);
- --radius-sm: calc(var(--radius) - 4px);
- --radius-md: calc(var(--radius) - 2px);
- --radius-lg: var(--radius);
- --radius-xl: calc(var(--radius) + 4px);
- --sidebar-background: var(--sidebar-background);
- --sidebar-foreground: var(--sidebar-foreground);
- --sidebar-primary: var(--sidebar-primary);
- --sidebar-primary-foreground: var(--sidebar-primary-foreground);
- --sidebar-accent: var(--sidebar-accent);
- --sidebar-accent-foreground: var(--sidebar-accent-foreground);
- --sidebar-border: var(--sidebar-border);
- --sidebar-ring: var(--sidebar-ring);
- --color-sidebar-ring: var(--sidebar-ring);
- --color-sidebar-border: var(--sidebar-border);
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
- --color-sidebar-accent: var(--sidebar-accent);
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
- --color-sidebar-primary: var(--sidebar-primary);
- --color-sidebar-foreground: var(--sidebar-foreground);
- --color-sidebar: var(--sidebar);
- --sigma-background-color: var(--background);
- --animate-accordion-down: accordion-down 0.2s ease-out;
- --animate-accordion-up: accordion-up 0.2s ease-out;
-
- @keyframes accordion-down {
- from {
- height: 0;
- }
-
- to {
- height: var(--radix-accordion-content-height);
- }
- }
-
- @keyframes accordion-up {
- from {
- height: var(--radix-accordion-content-height);
- }
-
- to {
- height: 0;
- }
- }
-}
-
@layer base {
:root {
--sidebar-background: hsl(0, 0%, 98%);
@@ -202,4 +61,151 @@
.react-sigma {
background-color: var(--background) !important;
-}
\ No newline at end of file
+}
+
+:root {
+ --background: oklch(0.98 0.00 286.38);
+ --foreground: oklch(0.32 0 0);
+ --card: oklch(1.00 0 0);
+ --card-foreground: oklch(0.32 0 0);
+ --popover: oklch(1.00 0 0);
+ --popover-foreground: oklch(0.32 0 0);
+ --primary: oklch(0.65 0.15 150.31);
+ --primary-foreground: oklch(1.00 0 0);
+ --secondary: oklch(0.67 0.14 261.34);
+ --secondary-foreground: oklch(1.00 0 0);
+ --muted: oklch(0.88 0.03 98.10);
+ --muted-foreground: oklch(0.54 0 0);
+ --accent: oklch(0.83 0.11 211.96);
+ --accent-foreground: oklch(0.32 0 0);
+ --destructive: oklch(0.64 0.21 25.33);
+ --destructive-foreground: oklch(1.00 0 0);
+ --border: oklch(0.87 0 0);
+ --input: oklch(0.87 0 0);
+ --ring: oklch(0.65 0.15 150.31);
+ --chart-1: oklch(0.65 0.15 150.31);
+ --chart-2: oklch(0.67 0.14 261.34);
+ --chart-3: oklch(0.83 0.11 211.96);
+ --chart-4: oklch(0.59 0.10 245.74);
+ --chart-5: oklch(0.59 0.16 148.24);
+ --sidebar: oklch(0.98 0.00 286.38);
+ --sidebar-foreground: oklch(0.32 0 0);
+ --sidebar-primary: oklch(0.65 0.15 150.31);
+ --sidebar-primary-foreground: oklch(1.00 0 0);
+ --sidebar-accent: oklch(0.83 0.11 211.96);
+ --sidebar-accent-foreground: oklch(0.32 0 0);
+ --sidebar-border: oklch(0.87 0 0);
+ --sidebar-ring: oklch(0.65 0.15 150.31);
+ --font-sans: Plus Jakarta Sans, sans-serif;
+ --font-serif: Source Serif 4, serif;
+ --font-mono: JetBrains Mono, monospace;
+ --radius: 0.5rem;
+ --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
+ --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
+ --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
+ --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
+ --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 2px 4px -1px hsl(0 0% 0% / 0.10);
+ --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 4px 6px -1px hsl(0 0% 0% / 0.10);
+ --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 8px 10px -1px hsl(0 0% 0% / 0.10);
+ --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);
+ }
+
+ .dark {
+ --background: oklch(0.21 0.01 264.29);
+ --foreground: oklch(0.92 0 0);
+ --card: oklch(0.2 0.01 264.29);
+ --card-foreground: oklch(0.92 0 0);
+ --popover: oklch(0.23 0.01 223.67);
+ --popover-foreground: oklch(0.92 0 0);
+ --primary: oklch(0.65 0.15 150.31);
+ --primary-foreground: oklch(1.00 0 0);
+ --secondary: oklch(0.59 0.10 245.74);
+ --secondary-foreground: oklch(0.92 0 0);
+ --muted: oklch(0.23 0 0);
+ --muted-foreground: oklch(0.72 0 0);
+ --accent: oklch(0.67 0.14 261.34);
+ --accent-foreground: oklch(0.92 0 0);
+ --destructive: oklch(0.64 0.21 25.33);
+ --destructive-foreground: oklch(1.00 0 0);
+ --border: oklch(0.39 0 0);
+ --input: oklch(0.39 0 0);
+ --ring: oklch(0.65 0.15 150.31);
+ --chart-1: oklch(0.65 0.15 150.31);
+ --chart-2: oklch(0.59 0.10 245.74);
+ --chart-3: oklch(0.67 0.14 261.34);
+ --chart-4: oklch(0.83 0.11 211.96);
+ --chart-5: oklch(0.59 0.16 148.24);
+ --sidebar: oklch(0.23 0.01 264.29);
+ --sidebar-foreground: oklch(0.92 0 0);
+ --sidebar-primary: oklch(0.65 0.15 150.31);
+ --sidebar-primary-foreground: oklch(1.00 0 0);
+ --sidebar-accent: oklch(0.67 0.14 261.34);
+ --sidebar-accent-foreground: oklch(0.92 0 0);
+ --sidebar-border: oklch(0.39 0 0);
+ --sidebar-ring: oklch(0.65 0.15 150.31);
+ --font-sans: Plus Jakarta Sans, sans-serif;
+ --font-serif: Source Serif 4, serif;
+ --font-mono: JetBrains Mono, monospace;
+ --radius: 0.5rem;
+ --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
+ --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
+ --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
+ --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
+ --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 2px 4px -1px hsl(0 0% 0% / 0.10);
+ --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 4px 6px -1px hsl(0 0% 0% / 0.10);
+ --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 8px 10px -1px hsl(0 0% 0% / 0.10);
+ --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);
+ }
+
+ @theme inline {
+ --color-background: var(--background);
+ --color-foreground: var(--foreground);
+ --color-card: var(--card);
+ --color-card-foreground: var(--card-foreground);
+ --color-popover: var(--popover);
+ --color-popover-foreground: var(--popover-foreground);
+ --color-primary: var(--primary);
+ --color-primary-foreground: var(--primary-foreground);
+ --color-secondary: var(--secondary);
+ --color-secondary-foreground: var(--secondary-foreground);
+ --color-muted: var(--muted);
+ --color-muted-foreground: var(--muted-foreground);
+ --color-accent: var(--accent);
+ --color-accent-foreground: var(--accent-foreground);
+ --color-destructive: var(--destructive);
+ --color-destructive-foreground: var(--destructive-foreground);
+ --color-border: var(--border);
+ --color-input: var(--input);
+ --color-ring: var(--ring);
+ --color-chart-1: var(--chart-1);
+ --color-chart-2: var(--chart-2);
+ --color-chart-3: var(--chart-3);
+ --color-chart-4: var(--chart-4);
+ --color-chart-5: var(--chart-5);
+ --color-sidebar: var(--sidebar);
+ --color-sidebar-foreground: var(--sidebar-foreground);
+ --color-sidebar-primary: var(--sidebar-primary);
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
+ --color-sidebar-accent: var(--sidebar-accent);
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
+ --color-sidebar-border: var(--sidebar-border);
+ --color-sidebar-ring: var(--sidebar-ring);
+
+ --font-sans: var(--font-sans);
+ --font-mono: var(--font-mono);
+ --font-serif: var(--font-serif);
+
+ --radius-sm: calc(var(--radius) - 4px);
+ --radius-md: calc(var(--radius) - 2px);
+ --radius-lg: var(--radius);
+ --radius-xl: calc(var(--radius) + 4px);
+
+ --shadow-2xs: var(--shadow-2xs);
+ --shadow-xs: var(--shadow-xs);
+ --shadow-sm: var(--shadow-sm);
+ --shadow: var(--shadow);
+ --shadow-md: var(--shadow-md);
+ --shadow-lg: var(--shadow-lg);
+ --shadow-xl: var(--shadow-xl);
+ --shadow-2xl: var(--shadow-2xl);
+ }
\ No newline at end of file