diff --git a/modules/core/src/web/components/page-header.tsx b/modules/core/src/web/components/page-header.tsx index 941f1bf7..71fe7c00 100644 --- a/modules/core/src/web/components/page-header.tsx +++ b/modules/core/src/web/components/page-header.tsx @@ -40,7 +40,7 @@ export function PageHeader({

{title}

- {description &&
{description}
} + {description &&
{description}
} diff --git a/packages/rdx-ui/src/components/datatable/data-table-column-header.tsx b/packages/rdx-ui/src/components/datatable/data-table-column-header.tsx index fdafb61e..34378671 100644 --- a/packages/rdx-ui/src/components/datatable/data-table-column-header.tsx +++ b/packages/rdx-ui/src/components/datatable/data-table-column-header.tsx @@ -25,7 +25,7 @@ export function DataTableColumnHeader({ const { t } = useTranslation(); if (!column.getCanSort()) { - return
{title}
; + return
{title}
; } return ( diff --git a/packages/rdx-ui/src/components/datatable/data-table-pagination.tsx b/packages/rdx-ui/src/components/datatable/data-table-pagination.tsx index fb5d48d4..3b7cc4d1 100644 --- a/packages/rdx-ui/src/components/datatable/data-table-pagination.tsx +++ b/packages/rdx-ui/src/components/datatable/data-table-pagination.tsx @@ -94,7 +94,7 @@ export function DataTablePagination({ - {[10, 20, 25, 30, 40, 50].map((size) => ( + {[5, 10, 20, 25, 30, 40, 50].map((size) => ( {size} diff --git a/packages/rdx-ui/src/components/datatable/data-table-view-options.tsx b/packages/rdx-ui/src/components/datatable/data-table-view-options.tsx index bee73d6d..263c669e 100644 --- a/packages/rdx-ui/src/components/datatable/data-table-view-options.tsx +++ b/packages/rdx-ui/src/components/datatable/data-table-view-options.tsx @@ -10,7 +10,7 @@ import { DropdownMenuTrigger, } from "@repo/shadcn-ui/components"; import type { Column, Table } from "@tanstack/react-table"; -import { SettingsIcon } from "lucide-react"; +import { Settings2Icon } from "lucide-react"; import { useTranslation } from "../../locales/i18n.ts"; @@ -19,8 +19,13 @@ export function DataTableViewOptions({ table }: { table: Table }) return ( - diff --git a/packages/rdx-ui/src/components/layout/app-content.tsx b/packages/rdx-ui/src/components/layout/app-content.tsx index e6e3b55c..c78abd1a 100644 --- a/packages/rdx-ui/src/components/layout/app-content.tsx +++ b/packages/rdx-ui/src/components/layout/app-content.tsx @@ -8,7 +8,10 @@ export const AppContent = ({ }: PropsWithChildren<{ className?: string }>) => { return (
{children} diff --git a/packages/rdx-ui/src/components/layout/app-layout.tsx b/packages/rdx-ui/src/components/layout/app-layout.tsx index 1e3114e0..52996a42 100644 --- a/packages/rdx-ui/src/components/layout/app-layout.tsx +++ b/packages/rdx-ui/src/components/layout/app-layout.tsx @@ -15,7 +15,7 @@ export const AppLayout = () => { > {/* Aquí está el MAIN */} - + diff --git a/packages/shadcn-ui/package.json b/packages/shadcn-ui/package.json index 6baf8bd9..fab868b9 100644 --- a/packages/shadcn-ui/package.json +++ b/packages/shadcn-ui/package.json @@ -40,7 +40,8 @@ "typescript": "^5.6.0" }, "dependencies": { - "@fontsource-variable/inter": "^5.2.8", + "@fontsource-variable/geist": "^5.2.8", + "@fontsource-variable/geist-mono": "^5.2.7", "@hookform/resolvers": "^5.2.2", "add": "^2.0.6", "class-variance-authority": "^0.7.1", diff --git a/packages/shadcn-ui/src/styles/globals.css b/packages/shadcn-ui/src/styles/globals.css index a8874e98..1d1e32ea 100644 --- a/packages/shadcn-ui/src/styles/globals.css +++ b/packages/shadcn-ui/src/styles/globals.css @@ -1,6 +1,8 @@ @import "tailwindcss"; @import "tw-animate-css"; -@import "@fontsource-variable/inter"; + +@import "@fontsource-variable/geist"; +@import "@fontsource-variable/geist-mono"; @custom-variant dark (&:is(.dark *)); @@ -98,7 +100,8 @@ @layer utilities { body { - font-family: "Inter", ui-sans-serif, sans-serif, system-ui; + font-family: var(--font-sans); + font-variant-ligatures: none; } } @@ -111,7 +114,8 @@ **/ :root { - --font-sans: "Inter", ui-sans-serif, sans-serif, system-ui; + --font-sans: "Geist Variable", ui-sans-serif, sans-serif, system-ui; + --font-mono: "Geist Mono Variable", ui-monospace, monospace; --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); @@ -145,7 +149,7 @@ --sidebar-border: oklch(0.6427 0.1407 253.94); --sidebar-ring: oklch(1 0 0); - --radius: 0.625rem; + --radius: 0.25rem; --shadow-x: 0; --shadow-y: 1px; --shadow-blur: 3px; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 78acfccb..97a55955 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -995,9 +995,12 @@ importers: packages/shadcn-ui: dependencies: - '@fontsource-variable/inter': + '@fontsource-variable/geist': specifier: ^5.2.8 version: 5.2.8 + '@fontsource-variable/geist-mono': + specifier: ^5.2.7 + version: 5.2.7 '@hookform/resolvers': specifier: ^5.2.2 version: 5.2.2(react-hook-form@7.66.0(react@19.2.0)) @@ -1680,8 +1683,11 @@ packages: '@floating-ui/utils@0.2.10': resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} - '@fontsource-variable/inter@5.2.8': - resolution: {integrity: sha512-kOfP2D+ykbcX/P3IFnokOhVRNoTozo5/JxhAIVYLpea/UBmCQ/YWPBfWIDuBImXX/15KH+eKh4xpEUyS2sQQGQ==} + '@fontsource-variable/geist-mono@5.2.7': + resolution: {integrity: sha512-ZKlZ5sjtalb2TwXKs400mAGDlt/+2ENLNySPx0wTz3bP3mWARCsUW+rpxzZc7e05d2qGch70pItt3K4qttbIYA==} + + '@fontsource-variable/geist@5.2.8': + resolution: {integrity: sha512-cJ6m9e+8MQ5dCYJsLylfZrgBh6KkG4bOLckB35Tr9J/EqdkEM6QllH5PxqP1dhTvFup+HtMRPuz9xOjxXJggxw==} '@hapi/hoek@9.3.0': resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==} @@ -7718,7 +7724,9 @@ snapshots: '@floating-ui/utils@0.2.10': {} - '@fontsource-variable/inter@5.2.8': {} + '@fontsource-variable/geist-mono@5.2.7': {} + + '@fontsource-variable/geist@5.2.8': {} '@hapi/hoek@9.3.0': {}