From 4ddbda6ca7c0f42e63410bedce36bad3a13482c8 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Tue, 25 Feb 2025 11:47:12 -0700 Subject: [PATCH 1/3] checkpoint; --- app/components/floating-toolbar.tsx | 2 +- app/components/ui/button.tsx | 2 +- app/components/ui/checkbox.tsx | 2 +- app/components/ui/dropdown-menu.tsx | 8 +- app/components/ui/input-otp.tsx | 2 +- app/components/ui/input.tsx | 2 +- app/components/ui/textarea.tsx | 2 +- app/routes/_marketing+/tailwind-preset.ts | 27 - app/styles/tailwind.css | 235 +++-- app/utils/extended-theme.ts | 102 -- app/utils/misc.tsx | 36 +- components.json | 12 +- docs/fonts.md | 2 + package-lock.json | 1079 ++++++++++----------- package.json | 8 +- postcss.config.js | 7 - tailwind.config.ts | 109 ++- vite.config.ts | 2 + 18 files changed, 818 insertions(+), 821 deletions(-) delete mode 100644 app/routes/_marketing+/tailwind-preset.ts delete mode 100644 app/utils/extended-theme.ts delete mode 100644 postcss.config.js diff --git a/app/components/floating-toolbar.tsx b/app/components/floating-toolbar.tsx index 41b5be03d..8ae98faa4 100644 --- a/app/components/floating-toolbar.tsx +++ b/app/components/floating-toolbar.tsx @@ -1,2 +1,2 @@ export const floatingToolbarClassName = - 'absolute bottom-3 left-3 right-3 flex items-center gap-2 rounded-lg bg-muted/80 p-4 pl-5 shadow-xl shadow-accent backdrop-blur-sm md:gap-4 md:pl-7 justify-end' + 'absolute bottom-3 left-3 right-3 flex items-center gap-2 rounded-lg bg-muted/80 p-4 pl-5 shadow-xl shadow-accent backdrop-blur-xs md:gap-4 md:pl-7 justify-end' diff --git a/app/components/ui/button.tsx b/app/components/ui/button.tsx index e42b070f8..02fd17a20 100644 --- a/app/components/ui/button.tsx +++ b/app/components/ui/button.tsx @@ -5,7 +5,7 @@ import * as React from 'react' import { cn } from '#app/utils/misc.tsx' const buttonVariants = cva( - 'inline-flex items-center justify-center rounded-md text-sm font-medium outline-none ring-ring ring-offset-2 ring-offset-background transition-colors focus-within:ring-2 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50', + 'inline-flex items-center justify-center rounded-md text-sm font-medium outline-hidden ring-ring ring-offset-2 ring-offset-background transition-colors focus-within:ring-2 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50', { variants: { variant: { diff --git a/app/components/ui/checkbox.tsx b/app/components/ui/checkbox.tsx index 637a7fdd6..77199c74d 100644 --- a/app/components/ui/checkbox.tsx +++ b/app/components/ui/checkbox.tsx @@ -17,7 +17,7 @@ const Checkbox = React.forwardRef< ( ( return (