diff --git a/apps/webapp/app/components/AskAI.tsx b/apps/webapp/app/components/AskAI.tsx index bc55469b84..fecda77384 100644 --- a/apps/webapp/app/components/AskAI.tsx +++ b/apps/webapp/app/components/AskAI.tsx @@ -538,7 +538,7 @@ function GradientSpinnerBackground({ >
{children} diff --git a/apps/webapp/app/components/BlankStatePanels.tsx b/apps/webapp/app/components/BlankStatePanels.tsx index 7423bd61ac..df9d79ded0 100644 --- a/apps/webapp/app/components/BlankStatePanels.tsx +++ b/apps/webapp/app/components/BlankStatePanels.tsx @@ -269,7 +269,7 @@ export function DeploymentsNoneDev() { organization={organization} project={project} environment={environment} - className="w-fit border border-charcoal-600 bg-secondary hover:border-charcoal-550 hover:bg-charcoal-600" + className="w-fit border border-charcoal-600 bg-secondary hover:border-charcoal-550 hover:bg-secondary" /> diff --git a/apps/webapp/app/components/code/ChartConfigPanel.tsx b/apps/webapp/app/components/code/ChartConfigPanel.tsx index 7d563e781d..61b3813a9a 100644 --- a/apps/webapp/app/components/code/ChartConfigPanel.tsx +++ b/apps/webapp/app/components/code/ChartConfigPanel.tsx @@ -374,7 +374,7 @@ export function ChartConfigPanel({ columns, config, onChange, className }: Chart const newColumns = config.yAxisColumns.filter((_, i) => i !== index); updateConfig({ yAxisColumns: newColumns }); }} - className="rounded p-1 text-text-dimmed hover:bg-charcoal-700 hover:text-text-bright" + className="rounded p-1 text-text-dimmed hover:bg-hover-bright hover:text-text-bright" title="Remove series" > @@ -400,7 +400,7 @@ export function ChartConfigPanel({ columns, config, onChange, className }: Chart }); } }} - className="flex items-center gap-1 self-start rounded px-1 py-0.5 text-xs text-text-dimmed hover:bg-charcoal-700 hover:text-text-bright" + className="flex items-center gap-1 self-start rounded px-1 py-0.5 text-xs text-text-dimmed hover:bg-hover-bright hover:text-text-bright" > Add series @@ -546,7 +546,7 @@ function SortDirectionToggle({ "rounded px-2 py-1 text-xs transition-colors", direction === "asc" ? "bg-charcoal-700 text-text-bright" - : "text-text-dimmed hover:bg-charcoal-800 hover:text-text-bright" + : "text-text-dimmed hover:bg-hover hover:text-text-bright" )} title="Ascending" > @@ -559,7 +559,7 @@ function SortDirectionToggle({ "rounded px-2 py-1 text-xs transition-colors", direction === "desc" ? "bg-charcoal-700 text-text-bright" - : "text-text-dimmed hover:bg-charcoal-800 hover:text-text-bright" + : "text-text-dimmed hover:bg-hover hover:text-text-bright" )} title="Descending" > diff --git a/apps/webapp/app/components/code/InlineCode.tsx b/apps/webapp/app/components/code/InlineCode.tsx index 120e864250..4f901544a9 100644 --- a/apps/webapp/app/components/code/InlineCode.tsx +++ b/apps/webapp/app/components/code/InlineCode.tsx @@ -1,7 +1,7 @@ import { cn } from "~/utils/cn"; const inlineCode = - "px-1 py-0.5 rounded border border-charcoal-700 bg-charcoal-800 text-charcoal-200 font-mono text-wrap"; + "px-1 py-0.5 rounded border border-grid-bright bg-tertiary text-text-bright font-mono text-wrap"; const variants = { "extra-extra-small": "text-xxs", diff --git a/apps/webapp/app/components/code/TSQLResultsTable.tsx b/apps/webapp/app/components/code/TSQLResultsTable.tsx index 9b5d9215cc..ef4ca630cd 100644 --- a/apps/webapp/app/components/code/TSQLResultsTable.tsx +++ b/apps/webapp/app/components/code/TSQLResultsTable.tsx @@ -738,7 +738,7 @@ function CopyableCell({ "flex size-6 items-center justify-center rounded border border-charcoal-650 bg-charcoal-750", copied ? "text-green-500" - : "text-text-dimmed hover:border-charcoal-600 hover:bg-charcoal-700 hover:text-text-bright" + : "text-text-dimmed hover:border-charcoal-600 hover:bg-hover-bright hover:text-text-bright" )} > {copied ? ( @@ -831,7 +831,7 @@ function HeaderCellContent({ e.stopPropagation(); onFilterClick(); }} - className="flex-shrink-0 rounded text-text-dimmed transition-colors hover:bg-charcoal-700 hover:text-text-bright" + className="flex-shrink-0 rounded text-text-dimmed transition-colors hover:bg-hover-bright hover:text-text-bright" title="Toggle column filters" > @@ -1147,7 +1147,7 @@ export const TSQLResultsTable = memo(function TSQLResultsTable({ diff --git a/apps/webapp/app/components/logs/LogsTable.tsx b/apps/webapp/app/components/logs/LogsTable.tsx index e8e785ae79..534de3b5da 100644 --- a/apps/webapp/app/components/logs/LogsTable.tsx +++ b/apps/webapp/app/components/logs/LogsTable.tsx @@ -149,7 +149,7 @@ export function LogsTable({ key={log.id} className={cn( "cursor-pointer transition-colors", - isSelected ? "bg-charcoal-750" : "hover:bg-charcoal-850" + isSelected ? "bg-hover" : "hover:bg-hover" )} isSelected={isSelected} > diff --git a/apps/webapp/app/components/navigation/EnvironmentSelector.tsx b/apps/webapp/app/components/navigation/EnvironmentSelector.tsx index ba3cce8232..76ce8f47a8 100644 --- a/apps/webapp/app/components/navigation/EnvironmentSelector.tsx +++ b/apps/webapp/app/components/navigation/EnvironmentSelector.tsx @@ -57,7 +57,7 @@ export function EnvironmentSelector({ button={ diff --git a/apps/webapp/app/components/navigation/SideMenu.tsx b/apps/webapp/app/components/navigation/SideMenu.tsx index 1e7d48cd57..18e448bd83 100644 --- a/apps/webapp/app/components/navigation/SideMenu.tsx +++ b/apps/webapp/app/components/navigation/SideMenu.tsx @@ -98,6 +98,7 @@ import { TextLink } from "../primitives/TextLink"; import { SimpleTooltip, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../primitives/Tooltip"; import { ShortcutsAutoOpen } from "../Shortcuts"; import { UserProfilePhoto } from "../UserProfilePhoto"; +import { ThemeToggle } from "../primitives/ThemeToggle"; import { EnvironmentSelector } from "./EnvironmentSelector"; import { HelpAndFeedback } from "./HelpAndFeedbackPopover"; import { SideMenuHeader } from "./SideMenuHeader"; @@ -583,7 +584,7 @@ function ProjectSelector({ button={ @@ -779,7 +780,7 @@ function SwitchOrganizations({
- +
+ + +
@@ -1006,7 +1010,7 @@ function CollapseToggle({ className={cn( "group flex h-12 w-6 items-center justify-center rounded-md text-text-dimmed transition-all duration-200 focus-custom", isHovering - ? "border border-grid-bright bg-background-bright shadow-md hover:bg-charcoal-750 hover:text-text-bright" + ? "border border-grid-bright bg-background-bright shadow-md hover:bg-hover hover:text-text-bright" : "border border-transparent bg-transparent" )} > diff --git a/apps/webapp/app/components/navigation/SideMenuItem.tsx b/apps/webapp/app/components/navigation/SideMenuItem.tsx index a89765ad44..097d7b282a 100644 --- a/apps/webapp/app/components/navigation/SideMenuItem.tsx +++ b/apps/webapp/app/components/navigation/SideMenuItem.tsx @@ -39,7 +39,7 @@ export function SideMenuItem({ to={to} target={target} className={cn( - "flex h-8 w-full items-center gap-2 overflow-hidden rounded pr-2 pl-[0.4375rem] text-text-bright transition-colors hover:bg-charcoal-750", + "flex h-8 w-full items-center gap-2 overflow-hidden rounded pr-2 pl-[0.4375rem] text-text-bright transition-colors hover:bg-hover", isActive ? "bg-tertiary" : "" )} > diff --git a/apps/webapp/app/components/navigation/SideMenuSection.tsx b/apps/webapp/app/components/navigation/SideMenuSection.tsx index 1f19ffe487..e6114da0d6 100644 --- a/apps/webapp/app/components/navigation/SideMenuSection.tsx +++ b/apps/webapp/app/components/navigation/SideMenuSection.tsx @@ -37,7 +37,7 @@ export function SideMenuSection({
{/* Header - fades out when sidebar is collapsed */} ; const navButtonClass = - "size-7 rounded-[3px] bg-secondary border border-charcoal-600 text-text-bright hover:bg-charcoal-600 hover:border-charcoal-550 transition inline-flex items-center justify-center"; + "size-7 rounded-[3px] bg-secondary border border-charcoal-600 text-text-bright hover:bg-secondary hover:border-charcoal-550 transition inline-flex items-center justify-center"; function CustomMonthCaption({ calendarMonth }: { calendarMonth: { date: Date } }) { const { goToMonth, nextMonth, previousMonth } = useDayPicker(); @@ -27,7 +27,7 @@ function CustomMonthCaption({ calendarMonth }: { calendarMonth: { date: Date } }