Bump to 0.9.3
- .bp-glass: recolors Card's default ring to the accent token (ring-accent) instead of leaving it at foreground/10; border-accent is currently a no-op since nothing sets a border-width utility - Dashboard hero card: tightens vertical padding (py-8 -> py-4) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ export default async function DashboardPage() {
|
|||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-8">
|
<div className="flex flex-col gap-8">
|
||||||
<Card className="bp-glass overflow-hidden">
|
<Card className="bp-glass overflow-hidden">
|
||||||
<CardContent className="flex flex-col items-start gap-4 py-8">
|
<CardContent className="flex flex-col items-start gap-4 py-4">
|
||||||
<BrandMark size={48} animated className="rounded-[9px]" />
|
<BrandMark size={48} animated className="rounded-[9px]" />
|
||||||
<h1 className="font-heading text-3xl font-semibold">Welcome back</h1>
|
<h1 className="font-heading text-3xl font-semibold">Welcome back</h1>
|
||||||
<p className="max-w-xl text-sm text-muted-foreground">
|
<p className="max-w-xl text-sm text-muted-foreground">
|
||||||
|
|||||||
+6
-5
@@ -181,12 +181,13 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Console-module surface: translucent + blurred so the animated background
|
/* Console-module surface: translucent + blurred so the animated background
|
||||||
sweep shines through. Card's own default `ring-1 ring-foreground/10`
|
sweep shines through. Card's own default ring (components/ui/card.tsx:
|
||||||
(components/ui/card.tsx) still shows through here - shadow-xs's box-shadow
|
`ring-1 ring-foreground/10`) still shows - ring-accent recolors it to the
|
||||||
formula reads the same --tw-ring-shadow custom property Card sets, and
|
accent token instead of resetting it. border-accent is currently a no-op
|
||||||
nothing here resets it. */
|
(neither Card nor this rule sets a border-width utility to give it a
|
||||||
|
border to color). */
|
||||||
.bp-glass {
|
.bp-glass {
|
||||||
@apply shadow-xs;
|
@apply shadow-xs ring-accent border-accent;
|
||||||
background: color-mix(in srgb, var(--card) 55%, transparent);
|
background: color-mix(in srgb, var(--card) 55%, transparent);
|
||||||
backdrop-filter: blur(20px) saturate(150%);
|
backdrop-filter: blur(20px) saturate(150%);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sexy",
|
"name": "sexy",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user