Skip to content

Commit 07d2004

Browse files
committed
style(luxe): increase generative art opacity on journal and archive cards
1 parent cf305e5 commit 07d2004

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/apps/github-thumbnail/themes/luxe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { wrapText } from '../utils';
22

33
export const luxe = (ctx, width, height, scale, data) => {
4-
const { repoOwner, repoName, description, language, stars, primaryColor, secondaryColor, bgColor } = data;
4+
const { repoOwner, repoName, description, language, stars } = data;
55

66
// LCG Random Generator (Ported from LuxeArt.jsx)
77
const seed = repoName + repoOwner;

src/pages/luxe-views/LuxeBlogPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const LuxeBlogPage = () => {
203203
backgroundSize: '20px 20px',
204204
}}
205205
/>
206-
<div className="absolute inset-0 opacity-0 group-hover:opacity-[0.04] transition-opacity duration-1000 pointer-events-none">
206+
<div className="absolute inset-0 opacity-[0.05] group-hover:opacity-[0.12] transition-opacity duration-1000 pointer-events-none">
207207
<LuxeArt seed={item.title} colorful={false} className="w-full h-full mix-blend-multiply" />
208208
</div>
209209
<h2 className="font-playfairDisplay text-[#1A1A1A] leading-tight group-hover:scale-105 transition-transform duration-700 ease-out text-3xl md:text-4xl relative z-10">

src/pages/luxe-views/LuxeLogsPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const LuxeLogsPage = () => {
181181
className="group relative block aspect-square bg-white rounded-xl overflow-hidden border border-[#1A1A1A]/5 shadow-sm hover:shadow-xl transition-all duration-500"
182182
>
183183
<div className="absolute inset-0 opacity-[0.02] pointer-events-none" style={{ backgroundImage: 'radial-gradient(#1A1A1A 1px, transparent 1px)', backgroundSize: '16px 16px' }} />
184-
<div className="absolute inset-0 opacity-[0.02] group-hover:opacity-[0.06] transition-opacity duration-700 pointer-events-none">
184+
<div className="absolute inset-0 opacity-[0.05] group-hover:opacity-[0.15] transition-opacity duration-700 pointer-events-none overflow-hidden rounded-xl">
185185
<LuxeArt seed={log.title} colorful={true} className="w-full h-full mix-blend-multiply transition-transform duration-1000 group-hover:scale-110" />
186186
</div>
187187
<div className="absolute inset-0 p-6 md:p-8 flex flex-col justify-between">

0 commit comments

Comments
 (0)