Skip to content

Commit edafb37

Browse files
committed
Use explicit shared theme effects
1 parent fe782ce commit edafb37

6 files changed

Lines changed: 21 additions & 20 deletions

File tree

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "tailwindcss";
22
@import "@ipior/custom-tailwind-shadcn-themes/styles.css";
3+
@import "@ipior/custom-tailwind-shadcn-themes/effects.css";
34

45
@layer base {
56
* {

src/components/LayoutDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function LayoutDropdown({ className }: { className?: string }) {
5050
{open && (
5151
<div
5252
role="menu"
53-
className="bloom-glass absolute right-0 z-50 mt-2 w-52 origin-top-right rounded-sketch border border-border bg-card/95 p-1.5 shadow-sketch"
53+
className="theme-glass absolute right-0 z-50 mt-2 w-52 origin-top-right rounded-sketch border border-border bg-card/95 p-1.5 shadow-sketch"
5454
>
5555
<div className="px-2.5 pb-1.5 pt-1 font-serif text-[11px] italic tracking-wide text-muted-foreground">
5656
Layout

src/components/ThemeDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function ThemeDropdown({ className }: { className?: string }) {
5252
{open && (
5353
<div
5454
role="menu"
55-
className="bloom-glass absolute right-0 z-50 mt-2 w-52 origin-top-right rounded-sketch border border-border bg-card/95 p-1.5 shadow-sketch"
55+
className="theme-glass absolute right-0 z-50 mt-2 w-52 origin-top-right rounded-sketch border border-border bg-card/95 p-1.5 shadow-sketch"
5656
>
5757
<div className="px-2.5 pb-1.5 pt-1 font-serif text-[11px] italic tracking-wide text-muted-foreground">
5858
Theme

src/layouts/Bento.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ export default function Bento() {
2222

2323
return (
2424
<main className="relative min-h-screen overflow-hidden bg-background font-sans text-foreground">
25-
<div className="bloom-mesh" aria-hidden="true">
26-
<div className="bloom-blob b1" />
27-
<div className="bloom-blob b2" />
28-
<div className="bloom-blob b3" />
29-
<div className="bloom-blob b4" />
30-
<div className="bloom-blob b5" />
25+
<div className="theme-mesh" aria-hidden="true">
26+
<div className="theme-blob b1" />
27+
<div className="theme-blob b2" />
28+
<div className="theme-blob b3" />
29+
<div className="theme-blob b4" />
30+
<div className="theme-blob b5" />
3131
</div>
32-
<div className="bloom-grain" aria-hidden="true" />
32+
<div className="theme-grain" aria-hidden="true" />
3333

3434
<div className="relative z-10 mx-auto w-full max-w-6xl px-4 pb-10 pt-6 sm:px-6 sm:pt-10">
3535
<header className="mb-5 flex items-center justify-between gap-4">

src/layouts/Console.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ export default function Console() {
5555
className="relative flex min-h-screen items-start justify-center bg-background px-4 pb-28 pt-10 text-foreground sm:items-center sm:pt-10"
5656
style={{ fontFamily: MONO }}
5757
>
58-
<div className="bloom-mesh" aria-hidden="true">
59-
<div className="bloom-blob b1" />
60-
<div className="bloom-blob b2" />
61-
<div className="bloom-blob b3" />
62-
<div className="bloom-blob b4" />
63-
<div className="bloom-blob b5" />
58+
<div className="theme-mesh" aria-hidden="true">
59+
<div className="theme-blob b1" />
60+
<div className="theme-blob b2" />
61+
<div className="theme-blob b3" />
62+
<div className="theme-blob b4" />
63+
<div className="theme-blob b5" />
6464
</div>
65-
<div className="bloom-grain" aria-hidden="true" />
65+
<div className="theme-grain" aria-hidden="true" />
6666

6767
<div className="hp-fade relative z-10 w-full max-w-3xl">
6868
<div className="mb-3 flex items-center justify-between">

0 commit comments

Comments
 (0)