@@ -113,7 +121,9 @@ export function SettingsDialog() {
}
>
-
+
Add or remove options for the amount of rows per page
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
index 34064fa..c92c514 100644
--- a/frontend/src/main.tsx
+++ b/frontend/src/main.tsx
@@ -1,6 +1,12 @@
import { RouterProvider, createRouter } from "@tanstack/react-router";
import { StrictMode } from "react";
import ReactDOM from "react-dom/client";
+import "@fontsource/inter/300.css";
+import "@fontsource/inter/400.css";
+import "@fontsource/inter/500.css";
+import "@fontsource/inter/600.css";
+import "@fontsource/inter/700.css";
+import "@fontsource/inter/800.css";
import "./index.css";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
diff --git a/frontend/src/routes/__root.tsx b/frontend/src/routes/__root.tsx
index 0a8ac22..cb410f6 100644
--- a/frontend/src/routes/__root.tsx
+++ b/frontend/src/routes/__root.tsx
@@ -20,13 +20,7 @@ import {
useParams,
} from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
-import {
- Database,
- PanelLeft,
- PanelLeftClose,
- Rows3,
- Table2,
-} from "lucide-react";
+import { Database, PanelLeft, PanelLeftClose, Rows3 } from "lucide-react";
export const Route = createRootRoute({
component: Root,
@@ -97,13 +91,17 @@ function Root() {
to={"/db/$dbName/tables"}
params={{ dbName }}
activeOptions={{ exact: true }}
+ title={dbName}
className={cn(
"flex items-center gap-2 rounded py-1.5 pl-1.5",
"hover:bg-muted",
"[&.active]:bg-muted [&.active]:font-semibold",
)}
>
-
{dbName}
+
+
+ {dbName}
+
)}
{tables?.map((table) => {
@@ -116,19 +114,20 @@ function Root() {
>
-
{table.table_name}
- Explore data
+ Explore data
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
index 7cb7e37..a6dbb40 100644
--- a/frontend/tailwind.config.js
+++ b/frontend/tailwind.config.js
@@ -1,11 +1,12 @@
/** @type {import('tailwindcss').Config} */
+const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: ["class"],
content: [
- './pages/**/*.{ts,tsx}',
- './components/**/*.{ts,tsx}',
- './app/**/*.{ts,tsx}',
- './src/**/*.{ts,tsx}',
+ "./pages/**/*.{ts,tsx}",
+ "./components/**/*.{ts,tsx}",
+ "./app/**/*.{ts,tsx}",
+ "./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
@@ -17,6 +18,9 @@ module.exports = {
},
},
extend: {
+ fontFamily: {
+ sans: ["Inter", ...defaultTheme.fontFamily.sans],
+ },
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
@@ -74,4 +78,4 @@ module.exports = {
},
},
plugins: [require("tailwindcss-animate")],
-}
\ No newline at end of file
+};