update theme (experimental)

This commit is contained in:
Aman Varshney
2025-05-27 21:29:00 +05:30
parent 906b55599b
commit 5d71832518
4 changed files with 52 additions and 56 deletions

View File

@@ -38,7 +38,6 @@ import { useQueryStates } from "nuqs";
import type React from "react";
import { useEffect, useMemo, useRef, useState } from "react";
import { toast } from "sonner";
import SponsorsSection from "./sponsors-section";
const validateProjectName = (name: string): string | undefined => {
const INVALID_CHARS = ["<", ">", ":", '"', "|", "?", "*"];
@@ -1837,7 +1836,7 @@ const StackBuilder = () => {
? "cursor-not-allowed opacity-60"
: "cursor-pointer",
isSelected
? "border-primary bg-primary/10 ring-1 ring-primary"
? "border-primary bg-primary/10"
: `border-border ${
!isDisabled
? "hover:border-muted hover:bg-muted"
@@ -1909,7 +1908,6 @@ const StackBuilder = () => {
);
})}
<div className="h-10" />
<SponsorsSection />
</main>
</ScrollArea>
</div>

View File

@@ -154,13 +154,13 @@ export default function HomePage() {
<Button
size="lg"
variant="outline"
className="w-full hover:text-primary sm:w-auto"
className="w-full hover:bg-muted/50 hover:text-foreground sm:w-auto dark:hover:text-foreground"
disabled={isLoadingStars}
>
<Github className="mr-2 h-4 w-4" />
Star on GitHub
{stars !== null && !isLoadingStars && (
<span className="ml-2 flex items-center gap-1 rounded bg-muted px-1.5 py-0.5 text-xs">
<span className="ml-2 flex items-center gap-1 rounded bg-muted/30 px-1.5 py-0.5 text-xs">
<Star className="h-3 w-3 text-yellow-400" />
{stars}
</span>
@@ -175,7 +175,7 @@ export default function HomePage() {
<Button
size="lg"
variant="outline"
className="w-full hover:text-primary sm:w-auto"
className="w-full hover:bg-muted/50 hover:text-foreground sm:w-auto dark:hover:text-foreground"
>
<Image
src={discordLogo}