mirror of
https://github.com/linkwarden/linkwarden.git
synced 2026-03-03 03:47:02 +00:00
@@ -25,6 +25,8 @@ export default function ToggleDarkMode({ hideInMobile, align }: Props) {
|
||||
});
|
||||
};
|
||||
|
||||
if (!data?.theme) return <></>;
|
||||
|
||||
return (
|
||||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
|
||||
@@ -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>",
|
||||
|
||||
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user