The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Light mode fixes
Terry Sutton31afeedaa8ba
diff --git a/apps/docs/components/Clippy/ClippyBubble.tsx b/apps/docs/components/Clippy/ClippyBubble.tsxindex 3ab4c2e8a7f..47d0aaa8893 100644--- a/apps/docs/components/Clippy/ClippyBubble.tsx+++ b/apps/docs/components/Clippy/ClippyBubble.tsx@@ -1,5 +1,5 @@import { FC } from 'react'-import { IconCommand } from '~/../../packages/ui'+import { IconCommand } from 'ui'interface Props {className?: string@@ -9,9 +9,13 @@ interface Props {const ClippyBubble: FC<Props> = ({ className, onClick }) => {return (<div- className={`flex gap-2 dark:bg-scale-600 rounded-xl p-6 max-w-xs shadow-xl mb-4 relative cursor-pointer ${className}`}+ className={`flex gap-2 border bg-white dark:bg-scale-300 relative rounded-xl p-6 max-w-xs shadow-xl mb-4 cursor-pointer hover:bg-scale-200 transition-colors overflow-hidden border-scale-500 hover:border-scale-700 ${className}`}onClick={onClick}>+ <img+ className="z-0 absolute -left-24 -top-4 w-[260px]"+ src="/docs/img/purple-glow-dark.png"+ />What can I help you with?<div className="flex items-center space-x-1"><div className="text-scale-1200 md:flex items-center justify-center h-5 w-10 border rounded bg-scale-500 border-scale-700 gap-1">diff --git a/apps/docs/components/Clippy/ClippyModal.tsx b/apps/docs/components/Clippy/ClippyModal.tsxindex 1489cce51b7..46638dc8ed7 100644--- a/apps/docs/components/Clippy/ClippyModal.tsx+++ b/apps/docs/components/Clippy/ClippyModal.tsx@@ -2,7 +2,7 @@ import { useSupabaseClient } from '@supabase/auth-helpers-react'import { FC, useCallback, useState } from 'react'import ReactMarkdown from 'react-markdown'import remarkGfm from 'remark-gfm'-import { Input, Loading } from '~/../../packages/ui'+import { IconSearch, Input, Loading } from 'ui'import components from '~/components'type Props = {@@ -34,11 +34,11 @@ const ClippyModal: FC<Props> = ({ onClose }) => {return (<div- className="flex flex-col items-center fixed top-0 left-0 w-screen h-screen p-4 md:p-[12vh] backdrop-blur-sm z-50 cursor-pointer bg-black/30"+ className="flex flex-col items-center fixed top-0 left-0 w-screen h-screen p-4 md:p-[12vh] backdrop-blur-sm z-50 cursor-pointer bg-black/40 dark:bg-black/30 "onClick={onClose}><div- className={`prose dark:prose-dar mx-auto flex flex-col gap-4 rounded-lg p-6 w-full max-w-3xl shadow-2xl overflow-hidden border text-left border-scale-500 dark:bg-scale-300 cursor-auto`}+ className={`prose dark:prose-dark mx-auto flex flex-col gap-4 rounded-lg p-6 w-full max-w-3xl shadow-2xl overflow-hidden border text-left border-scale-500 bg-scale-300 cursor-auto`}onClick={(e) => e.stopPropagation()}><Input@@ -48,6 +48,7 @@ const ClippyModal: FC<Props> = ({ onClose }) => {placeholder="Ask me anything about Supabase"value={query}onChange={(e) => setQuery(e.target.value)}+ icon={<IconSearch size="small" />}onKeyDown={(e) => {switch (e.key) {case 'Enter':