@k3-tech/react-kit 0.0.66 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/index.js +90 -56
  2. package/dist/kit/layouts/admin/components/AdminLayout.d.ts.map +1 -1
  3. package/dist/kit/themes/clean-slate.css +290 -87
  4. package/dist/kit/themes/default.css +294 -90
  5. package/dist/kit/themes/minimal-modern.css +290 -87
  6. package/dist/kit/themes/spotify.css +290 -87
  7. package/dist/shadcn/ui/breadcrumb.d.ts.map +1 -1
  8. package/dist/shadcn/ui/dialog.d.ts.map +1 -1
  9. package/dist/shadcn/ui/pagination.d.ts.map +1 -1
  10. package/dist/shadcn/ui/sonner.d.ts +1 -1
  11. package/dist/shadcn/ui/sonner.d.ts.map +1 -1
  12. package/dist/shadcn/ui/table.d.ts +6 -2
  13. package/dist/shadcn/ui/table.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/src/kit/components/autocomplete/Autocomplete.tsx +1 -1
  16. package/src/kit/components/fileuploader/FileUploader.tsx +2 -2
  17. package/src/kit/layouts/admin/components/AdminLayout.tsx +13 -12
  18. package/src/kit/themes/default.css +3 -3
  19. package/src/shadcn/ui/accordion.tsx +3 -3
  20. package/src/shadcn/ui/alert-dialog.tsx +2 -2
  21. package/src/shadcn/ui/avatar.tsx +1 -1
  22. package/src/shadcn/ui/badge.tsx +1 -1
  23. package/src/shadcn/ui/breadcrumb.tsx +7 -4
  24. package/src/shadcn/ui/calendar.tsx +2 -2
  25. package/src/shadcn/ui/card.tsx +1 -1
  26. package/src/shadcn/ui/dialog.tsx +8 -5
  27. package/src/shadcn/ui/pagination.tsx +2 -1
  28. package/src/shadcn/ui/progress.tsx +2 -2
  29. package/src/shadcn/ui/sheet.tsx +4 -4
  30. package/src/shadcn/ui/sidebar.tsx +2 -2
  31. package/src/shadcn/ui/sonner.tsx +13 -1
  32. package/src/shadcn/ui/switch.tsx +1 -1
  33. package/src/shadcn/ui/table.tsx +24 -6
  34. package/src/shadcn/ui/tabs.tsx +2 -2
  35. package/src/shadcn/ui/tooltip.tsx +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/shadcn/ui/dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAK1D,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnD;AAED,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAEtD;AAED,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,2CAErD;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAWtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,2CAyBA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK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C,cAAc,CAAC,IAAI,CAAC,2CAQ5B;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAE/D;AAED,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,CAAC,GACnD,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AAE5B,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,IAAa,EACb,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAiBrB;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,2CAY7C;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,2CAY7C;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAY9B;AAED,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,kBAAkB,GACnB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { ToasterProps } from 'sonner';
2
- declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Toaster: ({ toastOptions, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export { Toaster };
4
4
  //# sourceMappingURL=sonner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/shadcn/ui/sonner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE9D,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,4CAiB1C,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/shadcn/ui/sonner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE9D,QAAA,MAAM,OAAO,GAAI,4BAA4B,YAAY,4CA6BxD,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,10 +1,14 @@
1
1
  import type * as React from 'react';
2
- declare function Table({ className, ...props }: React.ComponentProps<'table'>): import("react/jsx-runtime").JSX.Element;
2
+ declare function Table({ className, zebra, ...props }: React.ComponentProps<'table'> & {
3
+ zebra?: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
3
5
  declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): import("react/jsx-runtime").JSX.Element;
4
6
  declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): import("react/jsx-runtime").JSX.Element;
5
7
  declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): import("react/jsx-runtime").JSX.Element;
6
8
  declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>): import("react/jsx-runtime").JSX.Element;
7
- declare function TableHead({ className, ...props }: React.ComponentProps<'th'>): import("react/jsx-runtime").JSX.Element;
9
+ declare function TableHead({ className, required, children, ...props }: React.ComponentProps<'th'> & {
10
+ required?: boolean;
11
+ }): import("react/jsx-runtime").JSX.Element;
8
12
  declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): import("react/jsx-runtime").JSX.Element;
9
13
  declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): import("react/jsx-runtime").JSX.Element;
10
14
  export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/shadcn/ui/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAapE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQ1E;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAW1E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWpE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,2CAQjC;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/shadcn/ui/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,iBAAS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5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -693,7 +693,7 @@ export function Autocomplete<T = unknown>({
693
693
  {...getItemProps({ item, index })}
694
694
  className={cn(
695
695
  'flex cursor-pointer items-center justify-between px-2 py-2 text-sm outline-none transition-colors',
696
- isHighlighted && 'bg-accent text-accent-foreground',
696
+ isHighlighted && 'bg-[#FAFAFA] text-foreground',
697
697
  isSelected && 'font-medium',
698
698
  )}
699
699
  >
@@ -529,9 +529,9 @@ export function FileUploader({
529
529
  }, [files]);
530
530
 
531
531
  const rootClasses = cn(
532
- "w-full border border-dashed rounded-md p-4 text-sm transition-colors bg-background",
532
+ "w-full border-2 border-dashed rounded-[10px] p-4 text-sm transition-colors bg-background",
533
533
  "hover:border-foreground/50",
534
- isDragActive && "border-primary",
534
+ isDragActive && "border-[#30A4A1] bg-[#F0FAFA]",
535
535
  isDragReject && "border-destructive",
536
536
  (disabled || disabledBecauseFull) && "opacity-50 pointer-events-none",
537
537
  );
@@ -89,8 +89,9 @@ function AdminLayoutContent({
89
89
  const isOpen =
90
90
  openMap[item.id] ?? (hasChildren && hasActiveDescendant(item));
91
91
 
92
- const indentClassMap = ['', 'pl-6', 'pl-10', 'pl-14'] as const;
93
- const indent = indentClassMap[Math.min(level, 3)];
92
+ // Nesting indentation is provided by the bordered <ul> wrapper around each
93
+ // child group (see below), so individual rows need no extra left padding.
94
+ const indent = '';
94
95
 
95
96
  // When a row is active its background is the (teal) sidebar-primary, so
96
97
  // icon + label must flip to the contrasting foreground to stay readable.
@@ -101,7 +102,7 @@ function AdminLayoutContent({
101
102
  const content = (
102
103
  <SidebarMenuItem
103
104
  key={item.id}
104
- className={`mb-1 ${level > 0 ? 'ml-1' : ''}`}
105
+ className="mb-1"
105
106
  >
106
107
  <SidebarMenuButton
107
108
  asChild={!!item.url && !hasChildren}
@@ -111,7 +112,7 @@ function AdminLayoutContent({
111
112
  if (hasChildren) setOpen(item.id);
112
113
  }}
113
114
  disabled={item.disabled}
114
- className={`group relative overflow-hidden rounded-lg transition-all duration-200 hover:bg-sidebar-accent/70 data-[active=true]:bg-sidebar-primary data-[active=true]:text-sidebar-primary-foreground ${indent}`}
115
+ className={`group relative overflow-hidden rounded-lg transition-all duration-200 hover:bg-[#FAFAFA] data-[active=true]:bg-sidebar-primary data-[active=true]:text-sidebar-primary-foreground ${indent}`}
115
116
  >
116
117
  {item.url && !hasChildren ? (
117
118
  <Link to={item.url} className="flex items-center gap-3 px-3">
@@ -178,7 +179,7 @@ function AdminLayoutContent({
178
179
  // (rendered as <li>) children don't end up as direct descendants of
179
180
  // a <div> inside another <li> — that's invalid HTML and triggers a
180
181
  // React hydration warning.
181
- <ul className="mt-1 flex flex-col list-none p-0 m-0">
182
+ <ul className="mt-1 ml-[18px] flex flex-col list-none border-l border-sidebar-border pl-2 py-0.5 m-0 group-data-[collapsible=icon]:hidden">
182
183
  {(item.children ?? []).map((child: AdminMenuItem) =>
183
184
  renderItem(child, Math.min(level + 1, 3)),
184
185
  )}
@@ -200,12 +201,12 @@ function AdminLayoutContent({
200
201
  {sidebarHeader ? (
201
202
  sidebarHeader
202
203
  ) : (
203
- <div className="sidebar-header-content flex items-center justify-center px-4 py-3">
204
- <div className="flex items-center gap-2">
205
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground">
204
+ <div className="sidebar-header-content flex items-center justify-center px-4 py-3 group-data-[collapsible=icon]:px-0">
205
+ <div className="flex items-center gap-2 group-data-[collapsible=icon]:gap-0">
206
+ <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-[#1A9E8F] text-sidebar-primary-foreground">
206
207
  <SidebarHeaderIcon className="h-4 w-4" />
207
208
  </div>
208
- <span className="font-semibold text-sidebar-foreground">
209
+ <span className="font-bold text-[18px] text-[#0d9488] tracking-[-0.01em] group-data-[collapsible=icon]:hidden">
209
210
  {sidebarTitle}
210
211
  </span>
211
212
  </div>
@@ -216,7 +217,7 @@ function AdminLayoutContent({
216
217
  {sidebarGroups.map((group, idx) => (
217
218
  <Fragment key={group.id}>
218
219
  <SidebarGroup>
219
- <SidebarGroupLabel className="text-xs font-semibold text-muted-foreground uppercase tracking-wider px-3 mb-2 group-data-[collapsible=icon]:hidden">
220
+ <SidebarGroupLabel className="text-[10.5px] font-semibold text-[#9CA3AF] uppercase tracking-[0.14em] px-3 pt-2 mb-1.5 group-data-[collapsible=icon]:hidden">
220
221
  {group.label}
221
222
  </SidebarGroupLabel>
222
223
  <SidebarGroupContent>
@@ -240,7 +241,7 @@ function AdminLayoutContent({
240
241
  <SidebarMenuItem className="group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:justify-center">
241
242
  <SidebarMenuButton
242
243
  tooltip="Logout"
243
- className="cursor-pointer group relative overflow-hidden rounded-lg mx-1 transition-all duration-200 hover:bg-sidebar-accent/70 hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:!justify-center group-data-[collapsible=icon]:!px-0 group-data-[collapsible=icon]:!gap-0"
244
+ className="cursor-pointer group relative overflow-hidden rounded-lg mx-1 transition-all duration-200 hover:bg-[#FAFAFA] hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:!justify-center group-data-[collapsible=icon]:!px-0 group-data-[collapsible=icon]:!gap-0"
244
245
  onClick={() => { void onLogout(); }}
245
246
  >
246
247
  <div className="flex items-center gap-3 px-3 py-2.5 group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:!justify-center group-data-[collapsible=icon]:!gap-0 group-data-[collapsible=icon]:!px-0">
@@ -256,7 +257,7 @@ function AdminLayoutContent({
256
257
  )}
257
258
  </Sidebar>
258
259
  <SidebarInset>
259
- <header className="flex h-16 shrink-0 items-center justify-between gap-4 border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 px-6">
260
+ <header className="flex h-[69px] shrink-0 items-center justify-between gap-4 border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 px-6">
260
261
  <div className="flex items-center gap-4">
261
262
  {sidebarCollapsible && (
262
263
  <SidebarTrigger className="h-8 w-8 text-foreground hover:bg-accent hover:text-accent-foreground rounded-md" />
@@ -55,7 +55,7 @@
55
55
  --shadow-2xl: 0px 4px 8px 0px hsl(0 0% 0% / 0.13);
56
56
  --tracking-normal: 0em;
57
57
  --spacing: 0.25rem;
58
- --font-sans: Roboto Flex, ui-sans-serif, sans-serif, system-ui;
58
+ --font-sans: "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
59
59
  --font-serif: Crete Round, ui-serif, serif;
60
60
  --font-mono: JetBrains Mono, ui-monospace, monospace;
61
61
  --shadow-color: #000000;
@@ -114,7 +114,7 @@
114
114
  --shadow-xl:
115
115
  0px 2px 4px 0px hsl(0 0% 0% / 0.1), 0px 8px 10px -1px hsl(0 0% 0% / 0.1);
116
116
  --shadow-2xl: 0px 2px 4px 0px hsl(0 0% 0% / 0.25);
117
- --font-sans: Roboto Flex, ui-sans-serif, sans-serif, system-ui;
117
+ --font-sans: "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
118
118
  --font-serif: Crete Round, ui-serif, serif;
119
119
  --font-mono: JetBrains Mono, ui-monospace, monospace;
120
120
  --shadow-color: #000000;
@@ -161,7 +161,7 @@
161
161
  --color-sidebar-border: var(--sidebar-border);
162
162
  --color-sidebar-ring: var(--sidebar-ring);
163
163
 
164
- --font-sans: Roboto Flex, ui-sans-serif, sans-serif, system-ui;
164
+ --font-sans: "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
165
165
  --font-mono: JetBrains Mono, ui-monospace, monospace;
166
166
  --font-serif: Crete Round, ui-serif, serif;
167
167
 
@@ -35,13 +35,13 @@ function AccordionTrigger({
35
35
  <AccordionPrimitive.Trigger
36
36
  data-slot="accordion-trigger"
37
37
  className={cn(
38
- 'focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',
38
+ 'focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md px-4 py-[14px] text-left text-[13.5px] font-semibold text-[#424242] transition-all outline-none hover:bg-[#FAFAFA] hover:no-underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',
39
39
  className,
40
40
  )}
41
41
  {...props}
42
42
  >
43
43
  {children}
44
- <ChevronDownIcon className="text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" />
44
+ <ChevronDownIcon className="text-muted-foreground pointer-events-none size-3 shrink-0 translate-y-0.5 transition-transform duration-200" />
45
45
  </AccordionPrimitive.Trigger>
46
46
  </AccordionPrimitive.Header>
47
47
  );
@@ -58,7 +58,7 @@ function AccordionContent({
58
58
  className="data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm"
59
59
  {...props}
60
60
  >
61
- <div className={cn('pt-0 pb-4', className)}>{children}</div>
61
+ <div className={cn('px-4 pb-[14px] pt-0 text-[13px] text-[#2B2F36]', className)}>{children}</div>
62
62
  </AccordionPrimitive.Content>
63
63
  );
64
64
  }
@@ -54,7 +54,7 @@ function AlertDialogContent({
54
54
  <AlertDialogPrimitive.Content
55
55
  data-slot="alert-dialog-content"
56
56
  className={cn(
57
- 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
57
+ 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[10px] border p-6 shadow-[0_24px_48px_rgba(15,17,21,.18),0_6px_12px_rgba(15,17,21,.08)] duration-200 sm:max-w-[440px]',
58
58
  className,
59
59
  )}
60
60
  {...props}
@@ -99,7 +99,7 @@ function AlertDialogTitle({
99
99
  return (
100
100
  <AlertDialogPrimitive.Title
101
101
  data-slot="alert-dialog-title"
102
- className={cn('text-lg font-semibold', className)}
102
+ className={cn('text-base font-bold', className)}
103
103
  {...props}
104
104
  />
105
105
  );
@@ -42,7 +42,7 @@ function AvatarFallback({
42
42
  <AvatarPrimitive.Fallback
43
43
  data-slot="avatar-fallback"
44
44
  className={cn(
45
- 'bg-muted flex size-full items-center justify-center rounded-full',
45
+ 'bg-[#30A4A1] text-white text-xs font-semibold flex size-full items-center justify-center rounded-full',
46
46
  className,
47
47
  )}
48
48
  {...props}
@@ -5,7 +5,7 @@ import { cva, type VariantProps } from 'class-variance-authority';
5
5
  import { cn } from '../../shadcn/lib/utils';
6
6
 
7
7
  const badgeVariants = cva(
8
- 'inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden',
8
+ 'inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden',
9
9
  {
10
10
  variants: {
11
11
  variant: {
@@ -12,7 +12,7 @@ function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {
12
12
  <ol
13
13
  data-slot="breadcrumb-list"
14
14
  className={cn(
15
- 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',
15
+ 'text-muted-foreground flex flex-wrap items-center gap-1 text-[12.5px] break-words sm:gap-1.5',
16
16
  className,
17
17
  )}
18
18
  {...props}
@@ -42,7 +42,10 @@ function BreadcrumbLink({
42
42
  return (
43
43
  <Comp
44
44
  data-slot="breadcrumb-link"
45
- className={cn('hover:text-foreground transition-colors', className)}
45
+ className={cn(
46
+ 'transition-colors hover:text-[#0d9488] hover:underline',
47
+ className,
48
+ )}
46
49
  {...props}
47
50
  />
48
51
  );
@@ -55,7 +58,7 @@ function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {
55
58
  role="link"
56
59
  aria-disabled="true"
57
60
  aria-current="page"
58
- className={cn('text-foreground font-normal', className)}
61
+ className={cn('font-semibold text-[#2b2f36]', className)}
59
62
  {...props}
60
63
  />
61
64
  );
@@ -71,7 +74,7 @@ function BreadcrumbSeparator({
71
74
  data-slot="breadcrumb-separator"
72
75
  role="presentation"
73
76
  aria-hidden="true"
74
- className={cn('[&>svg]:size-3.5', className)}
77
+ className={cn('text-[#9ca3af] [&>svg]:size-3', className)}
75
78
  {...props}
76
79
  >
77
80
  {children ?? <ChevronRightIcon />}
@@ -114,7 +114,7 @@ function Calendar({
114
114
  range_middle: cn('rounded-none', defaultClassNames.range_middle),
115
115
  range_end: cn('rounded-r-md bg-accent', defaultClassNames.range_end),
116
116
  today: cn(
117
- 'bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none',
117
+ 'text-[#0D9488] font-semibold rounded-md data-[selected=true]:rounded-none',
118
118
  defaultClassNames.today,
119
119
  ),
120
120
  outside: cn(
@@ -205,7 +205,7 @@ function CalendarDayButton({
205
205
  data-range-end={modifiers.range_end}
206
206
  data-range-middle={modifiers.range_middle}
207
207
  className={cn(
208
- 'data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70',
208
+ 'data-[selected-single=true]:bg-[#0D9488] data-[selected-single=true]:text-white data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-[#0D9488] data-[range-start=true]:text-white data-[range-end=true]:bg-[#0D9488] data-[range-end=true]:text-white group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70',
209
209
  defaultClassNames.day,
210
210
  className,
211
211
  )}
@@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<'div'>) {
7
7
  <div
8
8
  data-slot="card"
9
9
  className={cn(
10
- 'bg-card text-card-foreground flex flex-col gap-6 rounded-xl border border-border py-6 shadow-sm',
10
+ 'bg-card text-card-foreground flex flex-col gap-6 rounded-md border border-border py-6 shadow-sm',
11
11
  className,
12
12
  )}
13
13
  {...props}
@@ -60,7 +60,7 @@ function DialogContent({
60
60
  <DialogPrimitive.Content
61
61
  data-slot="dialog-content"
62
62
  className={cn(
63
- 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
63
+ 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-md border p-6 shadow-[0_8px_24px_rgba(15,17,21,.12),0_2px_6px_rgba(15,17,21,.06)] duration-200 sm:max-w-[520px]',
64
64
  className,
65
65
  )}
66
66
  {...props}
@@ -69,7 +69,7 @@ function DialogContent({
69
69
  {showCloseButton && (
70
70
  <DialogPrimitive.Close
71
71
  data-slot="dialog-close"
72
- 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"
72
+ className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 flex size-6 items-center justify-center rounded-full border-[1.5px] border-[#2B2F36] 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"
73
73
  >
74
74
  <XIcon />
75
75
  <span className="sr-only">Close</span>
@@ -84,7 +84,10 @@ function DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {
84
84
  return (
85
85
  <div
86
86
  data-slot="dialog-header"
87
- className={cn('flex flex-col gap-2 text-center sm:text-left', className)}
87
+ className={cn(
88
+ 'flex flex-col gap-2 border-b border-[#F0F0F0] pb-3 text-center sm:text-left',
89
+ className,
90
+ )}
88
91
  {...props}
89
92
  />
90
93
  );
@@ -95,7 +98,7 @@ function DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {
95
98
  <div
96
99
  data-slot="dialog-footer"
97
100
  className={cn(
98
- 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
101
+ 'flex flex-col-reverse gap-2 border-t border-[#F0F0F0] pt-3 sm:flex-row sm:justify-end',
99
102
  className,
100
103
  )}
101
104
  {...props}
@@ -110,7 +113,7 @@ function DialogTitle({
110
113
  return (
111
114
  <DialogPrimitive.Title
112
115
  data-slot="dialog-title"
113
- className={cn('text-lg leading-none font-semibold', className)}
116
+ className={cn('text-[15px] leading-none font-bold', className)}
114
117
  {...props}
115
118
  />
116
119
  );
@@ -52,12 +52,13 @@ function PaginationLink({
52
52
  <a
53
53
  aria-current={isActive ? 'page' : undefined}
54
54
  data-slot="pagination-link"
55
- data-active={isActive}
55
+ data-active={isActive ? true : undefined}
56
56
  className={cn(
57
57
  buttonVariants({
58
58
  variant: isActive ? 'outline' : 'ghost',
59
59
  size,
60
60
  }),
61
+ 'data-[active=true]:bg-[#F0FAFA] data-[active=true]:text-[#0D9488] data-[active=true]:font-semibold data-[active=true]:border-[#E0F2F1]',
61
62
  className,
62
63
  )}
63
64
  {...props}
@@ -14,14 +14,14 @@ function Progress({
14
14
  <ProgressPrimitive.Root
15
15
  data-slot="progress"
16
16
  className={cn(
17
- 'bg-primary/20 relative h-2 w-full overflow-hidden rounded-full',
17
+ 'bg-primary/20 relative h-[3px] w-full overflow-hidden rounded-full',
18
18
  className,
19
19
  )}
20
20
  {...props}
21
21
  >
22
22
  <ProgressPrimitive.Indicator
23
23
  data-slot="progress-indicator"
24
- className="bg-primary h-full w-full flex-1 transition-all"
24
+ className="bg-[#30A4A1] h-full w-full flex-1 transition-all"
25
25
  style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
26
26
  />
27
27
  </ProgressPrimitive.Root>
@@ -60,7 +60,7 @@ function SheetContent({
60
60
  className={cn(
61
61
  'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',
62
62
  side === 'right' &&
63
- 'data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',
63
+ 'data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l shadow-[-8px_0_24px_rgba(15,17,21,.08)] sm:max-w-[360px]',
64
64
  side === 'left' &&
65
65
  'data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',
66
66
  side === 'top' &&
@@ -85,7 +85,7 @@ function SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {
85
85
  return (
86
86
  <div
87
87
  data-slot="sheet-header"
88
- className={cn('flex flex-col gap-1.5 p-4', className)}
88
+ className={cn('flex flex-col gap-1.5 border-b border-[#F5F5F5] p-4', className)}
89
89
  {...props}
90
90
  />
91
91
  );
@@ -95,7 +95,7 @@ function SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {
95
95
  return (
96
96
  <div
97
97
  data-slot="sheet-footer"
98
- className={cn('mt-auto flex flex-col gap-2 p-4', className)}
98
+ className={cn('mt-auto flex flex-col gap-2 border-t border-[#F5F5F5] p-4', className)}
99
99
  {...props}
100
100
  />
101
101
  );
@@ -108,7 +108,7 @@ function SheetTitle({
108
108
  return (
109
109
  <SheetPrimitive.Title
110
110
  data-slot="sheet-title"
111
- className={cn('text-foreground font-semibold', className)}
111
+ className={cn('text-foreground text-sm font-bold', className)}
112
112
  {...props}
113
113
  />
114
114
  );
@@ -27,9 +27,9 @@ import {
27
27
 
28
28
  const SIDEBAR_COOKIE_NAME = 'sidebar_state';
29
29
  const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
30
- const SIDEBAR_WIDTH = '16rem';
30
+ const SIDEBAR_WIDTH = '15.5rem';
31
31
  const SIDEBAR_WIDTH_MOBILE = '18rem';
32
- const SIDEBAR_WIDTH_ICON = '3rem';
32
+ const SIDEBAR_WIDTH_ICON = '4.125rem';
33
33
  const SIDEBAR_KEYBOARD_SHORTCUT = 'b';
34
34
 
35
35
  type SidebarContextProps = {
@@ -3,7 +3,7 @@
3
3
  import { useTheme } from 'next-themes';
4
4
  import { Toaster as Sonner, type ToasterProps } from 'sonner';
5
5
 
6
- const Toaster = ({ ...props }: ToasterProps) => {
6
+ const Toaster = ({ toastOptions, ...props }: ToasterProps) => {
7
7
  const { theme = 'system' } = useTheme();
8
8
 
9
9
  return (
@@ -18,6 +18,18 @@ const Toaster = ({ ...props }: ToasterProps) => {
18
18
  } as React.CSSProperties
19
19
  }
20
20
  {...props}
21
+ toastOptions={{
22
+ ...toastOptions,
23
+ classNames: {
24
+ toast:
25
+ 'rounded-lg border-l-4 border-l-[#1976F2] shadow-[0_8px_24px_rgba(15,17,21,.12),0_2px_6px_rgba(15,17,21,.06)]',
26
+ success: 'border-l-[#2BA84A]',
27
+ error: 'border-l-[#EF4444]',
28
+ warning: 'border-l-[#F59E0B]',
29
+ info: 'border-l-[#1976F2]',
30
+ ...toastOptions?.classNames,
31
+ },
32
+ }}
21
33
  />
22
34
  );
23
35
  };
@@ -13,7 +13,7 @@ function Switch({
13
13
  <SwitchPrimitive.Root
14
14
  data-slot="switch"
15
15
  className={cn(
16
- 'peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',
16
+ 'peer data-[state=checked]:bg-[#30A4A1] data-[state=unchecked]:bg-[#e5e7eb] focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',
17
17
  className,
18
18
  )}
19
19
  {...props}
@@ -4,7 +4,11 @@ import type * as React from 'react';
4
4
 
5
5
  import { cn } from '../../shadcn/lib/utils';
6
6
 
7
- function Table({ className, ...props }: React.ComponentProps<'table'>) {
7
+ function Table({
8
+ className,
9
+ zebra,
10
+ ...props
11
+ }: React.ComponentProps<'table'> & { zebra?: boolean }) {
8
12
  return (
9
13
  <div
10
14
  data-slot="table-container"
@@ -12,7 +16,11 @@ function Table({ className, ...props }: React.ComponentProps<'table'>) {
12
16
  >
13
17
  <table
14
18
  data-slot="table"
15
- className={cn('w-full caption-bottom text-sm border-border', className)}
19
+ className={cn(
20
+ 'w-full caption-bottom text-[13px] border-border',
21
+ zebra && '[&_tbody_tr:nth-child(even)_td]:bg-[#CBF6F4]',
22
+ className,
23
+ )}
16
24
  {...props}
17
25
  />
18
26
  </div>
@@ -57,7 +65,7 @@ function TableRow({ className, ...props }: React.ComponentProps<'tr'>) {
57
65
  <tr
58
66
  data-slot="table-row"
59
67
  className={cn(
60
- 'hover:bg-muted/50 data-[state=selected]:bg-muted border-b border-border transition-colors',
68
+ 'hover:bg-[#F7FAFB] data-[state=selected]:bg-[#CBF6F4] border-b border-border transition-colors',
61
69
  className,
62
70
  )}
63
71
  {...props}
@@ -65,7 +73,12 @@ function TableRow({ className, ...props }: React.ComponentProps<'tr'>) {
65
73
  );
66
74
  }
67
75
 
68
- function TableHead({ className, ...props }: React.ComponentProps<'th'>) {
76
+ function TableHead({
77
+ className,
78
+ required,
79
+ children,
80
+ ...props
81
+ }: React.ComponentProps<'th'> & { required?: boolean }) {
69
82
  return (
70
83
  <th
71
84
  data-slot="table-head"
@@ -74,7 +87,12 @@ function TableHead({ className, ...props }: React.ComponentProps<'th'>) {
74
87
  className,
75
88
  )}
76
89
  {...props}
77
- />
90
+ >
91
+ {children}
92
+ {required && (
93
+ <span className="ml-[3px] text-[#FCA5A5] font-bold">*</span>
94
+ )}
95
+ </th>
78
96
  );
79
97
  }
80
98
 
@@ -83,7 +101,7 @@ function TableCell({ className, ...props }: React.ComponentProps<'td'>) {
83
101
  <td
84
102
  data-slot="table-cell"
85
103
  className={cn(
86
- 'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
104
+ 'px-3 py-3.5 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
87
105
  className,
88
106
  )}
89
107
  {...props}
@@ -26,7 +26,7 @@ function TabsList({
26
26
  <TabsPrimitive.List
27
27
  data-slot="tabs-list"
28
28
  className={cn(
29
- 'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',
29
+ 'inline-flex items-center gap-1 border-b border-[#E5E7EB] bg-transparent p-0 h-auto',
30
30
  className,
31
31
  )}
32
32
  {...props}
@@ -42,7 +42,7 @@ function TabsTrigger({
42
42
  <TabsPrimitive.Trigger
43
43
  data-slot="tabs-trigger"
44
44
  className={cn(
45
- "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-border dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
45
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring inline-flex items-center justify-center gap-1.5 rounded-t-md border border-transparent border-b-0 px-3 py-2 text-[13px] font-medium text-[#1976F2] whitespace-nowrap -mb-px transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-[#E5E7EB] data-[state=active]:bg-white data-[state=active]:text-[#424242] data-[state=active]:font-semibold [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
46
46
  className,
47
47
  )}
48
48
  {...props}
@@ -46,13 +46,13 @@ function TooltipContent({
46
46
  data-slot="tooltip-content"
47
47
  sideOffset={sideOffset}
48
48
  className={cn(
49
- 'bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance',
49
+ 'bg-[#424242] text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-[5px] px-2.5 py-[5px] text-[11.5px] text-balance',
50
50
  className,
51
51
  )}
52
52
  {...props}
53
53
  >
54
54
  {children}
55
- <TooltipPrimitive.Arrow className="bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" />
55
+ <TooltipPrimitive.Arrow className="bg-[#424242] fill-[#424242] z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" />
56
56
  </TooltipPrimitive.Content>
57
57
  </TooltipPrimitive.Portal>
58
58
  );