Intel build on Apple Silicon
{description}
diff --git a/apps/web/src/components/ui/alert.tsx b/apps/web/src/components/ui/alert.tsx
index e2a08066e6c05bec6e1a4e7f1e3f6486a9d0976e..1521002256ccab9417277a2acd79d8c5de697447 100644
--- a/apps/web/src/components/ui/alert.tsx
+++ b/apps/web/src/components/ui/alert.tsx
@@ -6,9 +6,15 @@ import { cn } from "~/lib/utils";
const alertVariants = cva("relative rounded-xl border px-3.5 py-3 text-card-foreground text-sm", {
defaultVariants: {
+ surface: "default",
variant: "default",
},
variants: {
+ // "glass" floats the alert over content; alert-glass tints from data-variant.
+ surface: {
+ default: "",
+ glass: "alert-glass",
+ },
variant: {
default: "bg-transparent dark:bg-input/32 [&_svg]:text-muted-foreground",
sidebar:
@@ -45,6 +51,7 @@ function alertChildSlot(child: React.ReactElement): string | undefined {
function Alert({
className,
variant,
+ surface,
controlAlignment = "center",
children,
...props
@@ -73,8 +80,9 @@ function Alert({
return (
diff --git a/scripts/lint-restyle-ceiling.ts b/scripts/lint-restyle-ceiling.ts
index 1f284f517959df927bbc8cb232fe655a2e2f253d..06429c1b2e20fabbaac9c0e92f4636ec7e504e31 100644
--- a/scripts/lint-restyle-ceiling.ts
+++ b/scripts/lint-restyle-ceiling.ts
@@ -8,7 +8,7 @@ import * as NodeURL from "node:url";
// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the
// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you
// migrate a file, and delete this script when the rule becomes an error.
-export const RESTYLE_CEILING = 668;
+export const RESTYLE_CEILING = 628;
const RULE = "shadcn(no-restyle)";