From 288229fc3ecf29bdbd428033a1dbf5343170a7e7 Mon Sep 17 00:00:00 2001 From: Brayden Wilmoth Date: Sat, 19 Oct 2024 13:38:03 -0400 Subject: [PATCH] Touch up the sidebar options area --- src/app/globals.css | 4 ++-- src/components/gui/database-gui.tsx | 2 +- src/components/gui/schema-sidebar.tsx | 21 ++++++++++++--------- src/components/listview/index.tsx | 6 +++--- src/components/ui/tooltip.tsx | 2 +- tailwind.config.ts | 5 +++++ 6 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 9debf4fe..18e86637 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -53,7 +53,7 @@ body { --destructive: #f1f5f9; --destructive-foreground: red; - --border: #e2e8f0; + --border: #e5e5e5; --input: #e2e8f0; --ring: #ccc; @@ -91,7 +91,7 @@ body { --destructive: red; --destructive-foreground: white; - --border: #313131; + --border: #262626; --input: #333; --ring: #444; diff --git a/src/components/gui/database-gui.tsx b/src/components/gui/database-gui.tsx index afff22fa..9f805f86 100644 --- a/src/components/gui/database-gui.tsx +++ b/src/components/gui/database-gui.tsx @@ -23,7 +23,7 @@ import { Binoculars, GearSix, Table } from "@phosphor-icons/react"; export default function DatabaseGui() { const DEFAULT_WIDTH = 300; - const [defaultWidthPercentage, setDefaultWidthPercentage] = useState(20); + const [defaultWidthPercentage, setDefaultWidthPercentage] = useState(25); useEffect(() => { setDefaultWidthPercentage((DEFAULT_WIDTH / window.innerWidth) * 100); diff --git a/src/components/gui/schema-sidebar.tsx b/src/components/gui/schema-sidebar.tsx index e3a386f9..ce0b78d6 100644 --- a/src/components/gui/schema-sidebar.tsx +++ b/src/components/gui/schema-sidebar.tsx @@ -20,15 +20,15 @@ export default function SchemaView() { return (
-
-
-

Tables

+
+
+

Tables

-
-
- +
+
+
{ setSearch(e.currentTarget.value); }} diff --git a/src/components/listview/index.tsx b/src/components/listview/index.tsx index 39d3d67b..0a0f9f28 100644 --- a/src/components/listview/index.tsx +++ b/src/components/listview/index.tsx @@ -189,10 +189,10 @@ function renderList(props: ListViewRendererProps): React.ReactElement { >