A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
style: lighten button shadows (#4480)
Akshay Agrawale4fc5151cee3
diff --git a/frontend/src/components/ui/button.tsx b/frontend/src/components/ui/button.tsxindex 3ce7472fda..2a47c73b76 100644--- a/frontend/src/components/ui/button.tsx+++ b/frontend/src/components/ui/button.tsx@@ -8,7 +8,7 @@ import { parseShortcut } from "@/core/hotkeys/shortcuts";import { useEventListener } from "@/hooks/useEventListener";import { Events } from "@/utils/events";-const activeCommon = "active:shadow-xsSolid";+const activeCommon = "active:shadow-none";const buttonVariants = cva(cn(@@ -19,37 +19,37 @@ const buttonVariants = cva(variants: {variant: {default: cn(- "bg-primary text-primary-foreground hover:bg-primary/90 shadow-smSolid border border-primary",+ "bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs border border-primary",activeCommon,),destructive: cn(- "border shadow-smSolid",+ "border shadow-xs","bg-[var(--red-9)] hover:bg-[var(--red-10)] dark:bg-[var(--red-6)] dark:hover:bg-[var(--red-7)]","text-[var(--red-1)] dark:text-[var(--red-12)]","border-[var(--red-11)]",activeCommon,),success: cn(- "border shadow-smSolid",+ "border shadow-xs","bg-[var(--grass-9)] hover:bg-[var(--grass-10)] dark:bg-[var(--grass-6)] dark:hover:bg-[var(--grass-7)]","text-[var(--grass-1)] dark:text-[var(--grass-12)]","border-[var(--grass-11)]",activeCommon,),warn: cn(- "border shadow-smSolid",+ "border shadow-xs","bg-[var(--yellow-9)] hover:bg-[var(--yellow-10)] dark:bg-[var(--yellow-6)] dark:hover:bg-[var(--yellow-7)]","text-[var(--yellow-12)]","border-[var(--yellow-11)]",activeCommon,),action: cn(- "bg-action text-action-foreground shadow-smSolid",+ "bg-action text-action-foreground shadow-xs","hover:bg-action-hover border border-action",activeCommon,),outline: cn(- "border border-slate-300 shadow-smSolid",+ "border border-slate-300 shadow-xs","hover:bg-accent hover:text-accent-foreground","hover:border-primary","aria-selected:text-accent-foreground aria-selected:border-primary",@@ -57,13 +57,13 @@ const buttonVariants = cva(),secondary: cn("bg-secondary text-secondary-foreground hover:bg-secondary/80",- "border border-input shadow-smSolid",+ "border border-input shadow-xs",activeCommon,),text: cn("opacity-80 hover:opacity-100", "active:opacity-100"),ghost: cn("border border-transparent",- "hover:bg-accent hover:text-accent-foreground hover:shadow-xsSolid",+ "hover:bg-accent hover:text-accent-foreground hover:shadow-xs",activeCommon,"active:text-accent-foreground",),diff --git a/frontend/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap b/frontend/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snapindex 76733aedc1..23185f8cb2 100644--- a/frontend/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap+++ b/frontend/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap@@ -887,7 +887,7 @@ exports[`renderZodSchema > should render a form sample_rows 1`] = `class="flex flex-row align-start"><button- class="disabled:opacity-50 disabled:pointer-events-none inline-flex items-center justify-center font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background bg-secondary text-secondary-foreground hover:bg-secondary/80 border border-input shadow-smSolid active:shadow-xsSolid h-7 px-2 rounded-md text-xs"+ class="disabled:opacity-50 disabled:pointer-events-none inline-flex items-center justify-center font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background bg-secondary text-secondary-foreground hover:bg-secondary/80 border border-input shadow-xs active:shadow-none h-7 px-2 rounded-md text-xs"data-testid="marimo-plugin-data-frames-random-number-button"><svg@@ -1030,7 +1030,7 @@ exports[`renderZodSchema > should render a form shuffle_rows 1`] = `class="flex flex-row align-start"><button- class="disabled:opacity-50 disabled:pointer-events-none inline-flex items-center justify-center font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background bg-secondary text-secondary-foreground hover:bg-secondary/80 border border-input shadow-smSolid active:shadow-xsSolid h-7 px-2 rounded-md text-xs"+ class="disabled:opacity-50 disabled:pointer-events-none inline-flex items-center justify-center font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background bg-secondary text-secondary-foreground hover:bg-secondary/80 border border-input shadow-xs active:shadow-none h-7 px-2 rounded-md text-xs"data-testid="marimo-plugin-data-frames-random-number-button"><svg