Skip to content

Commit 5549143

Browse files
committed
style(card): replace gradients with solid colors and add themed shadows
1 parent 9500938 commit 5549143

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/app/generator/repo-tree-generator.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,11 +456,11 @@ export default function RepoProjectStructure() {
456456
</Dialog>
457457

458458
<Card
459-
className="w-full max-w-5xl mx-auto p-2 md:p-8 bg-gradient-to-br from-blue-50 to-white dark:from-gray-900 dark:to-gray-800 shadow-xl"
459+
className="w-full max-w-5xl mx-auto p-2 md:p-8 bg-white dark:bg-gray-900 shadow-2xl shadow-indigo-400/50"
460460
id="generator"
461461
>
462462
<CardHeader>
463-
<CardTitle className="text-3xl md:text-4xl lg:text-5xl font-semibold text-black dark:text-white flex items-center justify-center gap-2">
463+
<CardTitle className="text-3xl md:text-5xl lg:text-6xl font-semibold text-black dark:text-white flex items-center justify-center gap-2">
464464
Repo<span className="text-blue-600">Tree</span>Generator
465465
</CardTitle>
466466
<p className="text-center text-sm md:text-base text-gray-600 dark:text-gray-300">
@@ -515,7 +515,7 @@ export default function RepoProjectStructure() {
515515

516516
{/* Repository URL Input with Private Repos Label */}
517517
<div className="sm:col-span-7">
518-
<div className="flex items-center gap-3 mb-2">
518+
<div className="flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-3 mb-2">
519519
<label className="text-sm font-medium text-gray-700 dark:text-gray-300">
520520
Repository URL
521521
</label>

src/components/about.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ const AboutCard = ({
2222
animate={{ opacity: 1, y: 0 }}
2323
transition={{ duration: 0.5, delay: index * 0.2 }}
2424
>
25-
<Card className="p-6 rounded-xl bg-gradient-to-br from-blue-50 to-white dark:from-gray-800 dark:to-blue-900 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105">
25+
<Card className="p-6 rounded-xl bg-white dark:bg-blue-700 shadow-cyan-400/50 hover:shadow-2xl hover:shadow-cyan-400/50 transition-all duration-300 transform hover:scale-105">
2626
<CardHeader className="flex flex-col items-center space-y-4">
27-
<Icon className="w-16 h-16 text-blue-600" />
27+
<Icon className="w-16 h-16 text-blue-600 dark:text-white" />
2828
<CardTitle className="font-bold text-xl sm:text-2xl md:text-3xl text-gray-800 dark:text-white">
2929
{title}
3030
</CardTitle>

src/components/hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Hero = () => {
2323
variants={fadeIn}
2424
className="text-center"
2525
>
26-
<h1 className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl text-gray-900 dark:text-white font-bold mb-6 leading-tight">
26+
<h1 className="text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl text-gray-900 dark:text-white font-bold mb-6 leading-tight">
2727
Visualize Your<br />
2828
<Highlight>GitHub & GitLab Repos</Highlight>
2929
</h1>

0 commit comments

Comments
 (0)