Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(logs): color regressions from design system update (#47676)

Jordi Enricbac48141234a
diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
index afee4c3e51b..4c4a321ed19 100644
--- a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
@@ -455,7 +455,7 @@ export const LogsDatePicker = ({
/>
</div>
{isLargeRange && !hideWarnings && (
- <div className="text-xs px-3 py-1.5 border-y bg-warning-300 text-warning-foreground border-warning-500 text-warning">
+ <div className="text-xs px-3 py-1.5 border-y bg-warning-300 border-warning-500 text-warning">
Large ranges may result in memory errors for <br /> big projects.
</div>
)}
diff --git a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
index bb2596db57f..109431cb146 100644
--- a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
+++ b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
@@ -214,7 +214,7 @@ export function LogsSidebarMenuV2() {
<div
className={cn(
- 'flex gap-x-2 items-center sticky top-0 bg-background-200 z-1 px-4',
+ 'flex gap-x-2 items-center sticky top-0 bg-dash-sidebar z-1 px-4',
!templatesEnabled ? 'pt-4' : 'py-4'
)}
>
diff --git a/apps/studio/components/ui/DataTable/LiveButton.tsx b/apps/studio/components/ui/DataTable/LiveButton.tsx
index ae09100183d..beaf7980f74 100644
--- a/apps/studio/components/ui/DataTable/LiveButton.tsx
+++ b/apps/studio/components/ui/DataTable/LiveButton.tsx
@@ -2,7 +2,7 @@ import type { FetchPreviousPageOptions } from '@tanstack/react-query'
import { CirclePause, CirclePlay } from 'lucide-react'
import { useQueryStates } from 'nuqs'
import { useEffect } from 'react'
-import { Button, cn } from 'ui'
+import { Button } from 'ui'
import { useDataTable } from './providers/DataTableProvider'
import { ShortcutTooltip } from '@/components/ui/ShortcutTooltip'
@@ -66,7 +66,6 @@ export function LiveButton({ fetchPreviousPage, searchParamsParser }: LiveButton
side="bottom"
>
<Button
- className={cn(live && 'border-info text-info hover:text-info')}
onClick={handleClick}
variant={live ? 'primary' : 'default'}
size="tiny"