Merge pull request #1379 from linkwarden/dev

bug fix
This commit is contained in:
Daniel
2025-08-28 16:33:53 -04:00
committed by GitHub
3 changed files with 5 additions and 3 deletions

View File

@@ -25,6 +25,8 @@ export default function ToggleDarkMode({ hideInMobile, align }: Props) {
});
};
if (!data?.theme) return <></>;
return (
<TooltipProvider>
<Tooltip>

View File

@@ -1,6 +1,6 @@
{
"name": "@linkwarden/web",
"version": "v2.12.1",
"version": "v2.12.2",
"main": "index.js",
"repository": "https://github.com/linkwarden/linkwarden.git",
"author": "Daniel31X13 <daniel31x13@gmail.com>",

View File

@@ -104,8 +104,8 @@ export default function PublicCollections() {
className="h-96"
style={{
backgroundImage: `linear-gradient(${collection?.color}30 10%, ${
user?.theme === "dark" ? "#262626" : "#f3f4f6"
} 13rem, ${user?.theme === "dark" ? "#171717" : "#ffffff"} 100%)`,
user?.theme === "light" ? "#f3f4f6" : "#262626"
} 13rem, ${user?.theme === "light" ? "#ffffff" : "#171717"} 100%)`,
}}
>
{collection && (