replace tw colors with semantic colors [WIP]

This commit is contained in:
daniel31x13 2023-11-24 09:39:38 -05:00
parent 75d4fce8ec
commit a8172a9dbe
51 changed files with 166 additions and 170 deletions

View File

@ -22,11 +22,11 @@ export default function Checkbox({ label, state, className, onClick }: Props) {
/> />
<FontAwesomeIcon <FontAwesomeIcon
icon={faSquareCheck} icon={faSquareCheck}
className="w-5 h-5 text-sky-500 dark:text-sky-500 peer-checked:block hidden" className="w-5 h-5 text-primary peer-checked:block hidden"
/> />
<FontAwesomeIcon <FontAwesomeIcon
icon={faSquare} icon={faSquare}
className="w-5 h-5 text-sky-500 dark:text-sky-500 peer-checked:hidden block" className="w-5 h-5 text-primary peer-checked:hidden block"
/> />
<span className="rounded select-none">{label}</span> <span className="rounded select-none">{label}</span>
</label> </label>

View File

@ -47,7 +47,7 @@ export default function CollectionCard({ collection, className }: Props) {
settings.theme === "dark" ? "#262626" : "#f3f4f6" settings.theme === "dark" ? "#262626" : "#f3f4f6"
} 50%, ${settings.theme === "dark" ? "#262626" : "#f9fafb"} 100%)`, } 50%, ${settings.theme === "dark" ? "#262626" : "#f9fafb"} 100%)`,
}} }}
className={`border border-solid border-sky-100 dark:border-neutral-700 self-stretch min-h-[12rem] rounded-2xl shadow duration-100 hover:shadow-none hover:opacity-80 group relative ${ className={`border border-solid border-neutral self-stretch min-h-[12rem] rounded-2xl shadow duration-100 hover:shadow-none hover:opacity-80 group relative ${
className || "" className || ""
}`} }`}
> >
@ -84,7 +84,7 @@ export default function CollectionCard({ collection, className }: Props) {
}) })
.slice(0, 4)} .slice(0, 4)}
{collection.members.length - 4 > 0 ? ( {collection.members.length - 4 > 0 ? (
<div className="h-10 w-10 text-white flex items-center justify-center rounded-full border-[3px] bg-sky-600 dark:bg-sky-600 border-slate-200 dark:border-neutral-700 -mr-3"> <div className="h-10 w-10 text-white flex items-center justify-center rounded-full border-[3px] bg-sky-600 dark:bg-sky-600 border-slate-200 -mr-3">
+{collection.members.length - 4} +{collection.members.length - 4}
</div> </div>
) : null} ) : null}

View File

@ -10,19 +10,14 @@ type Props = {
export default function dashboardItem({ name, value, icon }: Props) { export default function dashboardItem({ name, value, icon }: Props) {
return ( return (
<div className="flex gap-4 items-end"> <div className="flex gap-4 items-end">
<div className="p-4 bg-sky-500 bg-opacity-20 dark:bg-opacity-10 rounded-xl select-none"> <div className="p-4 bg-primary bg-opacity-20 dark:bg-opacity-10 rounded-xl select-none">
<FontAwesomeIcon <FontAwesomeIcon icon={icon} className="w-8 h-8 text-primary" />
icon={icon}
className="w-8 h-8 text-sky-500 dark:text-sky-500"
/>
</div> </div>
<div className="flex flex-col justify-center"> <div className="flex flex-col justify-center">
<p className="text-gray-500 dark:text-gray-400 text-sm tracking-wider"> <p className="text-gray-500 dark:text-gray-400 text-sm tracking-wider">
{name} {name}
</p> </p>
<p className="font-thin text-6xl text-sky-500 dark:text-sky-500 mt-2"> <p className="font-thin text-6xl text-primary mt-2">{value}</p>
{value}
</p>
</div> </div>
</div> </div>
); );

View File

@ -78,7 +78,7 @@ export default function Dropdown({
onClickOutside={onClickOutside} onClickOutside={onClickOutside}
className={`${ className={`${
className || "" className || ""
} py-1 shadow-md border border-sky-100 dark:border-neutral-700 bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`} } py-1 shadow-md border border-neutral-content bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`}
> >
{items.map((e, i) => { {items.map((e, i) => {
const inner = e && ( const inner = e && (

View File

@ -25,7 +25,7 @@ export default function FilterSearchDropdown({
const target = e.target as HTMLInputElement; const target = e.target as HTMLInputElement;
if (target.id !== "filter-dropdown") setFilterDropdown(false); if (target.id !== "filter-dropdown") setFilterDropdown(false);
}} }}
className="absolute top-8 right-0 border border-sky-100 dark:border-neutral-700 shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-40" className="absolute top-8 right-0 border border-neutral shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-40"
> >
<p className="mb-2 text-center font-semibold">Filter by</p> <p className="mb-2 text-center font-semibold">Filter by</p>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">

View File

@ -138,7 +138,7 @@ export default function LinkCard({ link, count, className }: Props) {
return ( return (
<> <>
<div <div
className={`h-fit border border-solid border-sky-100 dark:border-neutral-700 bg-gradient-to-tr from-slate-200 dark:from-neutral-800 from-10% to-gray-50 dark:to-[#303030] via-20% shadow hover:shadow-none duration-100 rounded-2xl relative group ${ className={`h-fit border border-solid border-neutral-content bg-gradient-to-tr from-slate-200 dark:from-neutral-800 from-10% to-gray-50 dark:to-[#303030] via-20% shadow hover:shadow-none duration-100 rounded-2xl relative group ${
className || "" className || ""
}`} }`}
> >
@ -150,7 +150,7 @@ export default function LinkCard({ link, count, className }: Props) {
setExpandDropdown({ x: e.clientX, y: e.clientY }); setExpandDropdown({ x: e.clientX, y: e.clientY });
}} }}
id={"expand-dropdown" + link.id} id={"expand-dropdown" + link.id}
className="text-gray-500 dark:text-gray-300 inline-flex rounded-md cursor-pointer hover:bg-slate-200 dark:hover:bg-neutral-700 absolute right-4 top-4 z-10 duration-100 p-1" className="text-neutral-content dark:text-gray-300 inline-flex rounded-md cursor-pointer btn btn-ghost btn-sm btn-square dark:hover:bg-neutral-700 absolute right-4 top-4 z-10 duration-100"
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faEllipsis} icon={faEllipsis}

View File

@ -49,7 +49,7 @@ export default function LinkPreview({ link, className, settings }: Props) {
return ( return (
<> <>
<div <div
className={`h-fit border border-solid border-sky-100 dark:border-neutral-700 bg-gradient-to-tr from-slate-200 dark:from-neutral-800 from-10% to-gray-50 dark:to-[#303030] via-20% shadow hover:shadow-none duration-100 rounded-2xl relative group ${ className={`h-fit border border-solid border-neutral-content bg-gradient-to-tr from-slate-200 dark:from-neutral-800 from-10% to-gray-50 dark:to-[#303030] via-20% shadow hover:shadow-none duration-100 rounded-2xl relative group ${
className || "" className || ""
}`} }`}
> >

View File

@ -47,7 +47,7 @@ export default function LinkSidebar({ className, onClick }: Props) {
return ( return (
<div <div
className={`dark:bg-neutral-900 bg-white h-full lg:w-10 w-62 overflow-y-auto lg:p-0 p-5 border-solid border-white border dark:border-neutral-900 dark:lg:border-r-neutral-900 lg:border-r-white border-r-sky-100 dark:border-r-neutral-700 z-20 flex flex-col gap-5 lg:justify-center justify-start ${ className={`dark:bg-neutral-900 bg-white h-full lg:w-10 w-62 overflow-y-auto lg:p-0 p-5 border-solid border-white border dark:border-neutral-900 dark:lg:border-r-neutral-900 lg:border-r-white border-r-neutral-content dark:border-r-neutral-700 z-20 flex flex-col gap-5 lg:justify-center justify-start ${
className || "" className || ""
}`} }`}
> >

View File

@ -98,7 +98,7 @@ export default function CollectionInfo({
<div className="w-full"> <div className="w-full">
<p className="mb-2">Description</p> <p className="mb-2">Description</p>
<textarea <textarea
className="w-full h-[11.4rem] resize-none border rounded-md duration-100 bg-gray-50 dark:bg-neutral-950 p-2 outline-none border-sky-100 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600" className="w-full h-[11.4rem] resize-none border rounded-md duration-100 bg-gray-50 dark:bg-neutral-950 p-2 outline-none border-neutral-content focus:border-sky-300 dark:focus:border-sky-600"
placeholder="The purpose of this Collection..." placeholder="The purpose of this Collection..."
value={collection.description} value={collection.description}
onChange={(e) => onChange={(e) =>

View File

@ -131,7 +131,7 @@ export default function TeamManagement({
console.log(err); console.log(err);
} }
}} }}
className="w-full hide-scrollbar overflow-x-auto whitespace-nowrap rounded-md p-2 dark:bg-neutral-950 border-sky-100 dark:border-neutral-700 border-solid border outline-none hover:border-sky-300 dark:hover:border-sky-600 duration-100 cursor-text" className="w-full hide-scrollbar overflow-x-auto whitespace-nowrap rounded-md p-2 dark:bg-neutral-950 border-neutral-content border-solid border outline-none hover:border-sky-300 dark:hover:border-sky-600 duration-100 cursor-text"
> >
{publicCollectionURL} {publicCollectionURL}
</div> </div>
@ -139,7 +139,7 @@ export default function TeamManagement({
) : null} ) : null}
{permissions !== true && collection.isPublic && ( {permissions !== true && collection.isPublic && (
<hr className="mb-3 border border-sky-100 dark:border-neutral-700" /> <hr className="mb-3 border border-neutral-content" />
)} )}
{permissions === true && ( {permissions === true && (
@ -191,7 +191,7 @@ export default function TeamManagement({
return ( return (
<div <div
key={i} key={i}
className="relative border p-2 rounded-md border-sky-100 dark:border-neutral-700 flex flex-col sm:flex-row sm:items-center gap-2 justify-between" className="relative border p-2 rounded-md border-neutral flex flex-col sm:flex-row sm:items-center gap-2 justify-between"
> >
{permissions === true && ( {permissions === true && (
<FontAwesomeIcon <FontAwesomeIcon
@ -393,7 +393,7 @@ export default function TeamManagement({
)} )}
<div <div
className="relative border px-2 rounded-md border-sky-100 dark:border-neutral-700 flex min-h-[7rem] sm:min-h-[5rem] gap-2 justify-between" className="relative border px-2 rounded-md border-neutral-content flex min-h-[7rem] sm:min-h-[5rem] gap-2 justify-between"
title={`'@${collectionOwner.username}' is the owner of this collection.`} title={`'@${collectionOwner.username}' is the owner of this collection.`}
> >
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">

View File

@ -33,7 +33,7 @@ export default function ViewTeam({ collection }: Props) {
<p>Here are all the members who are collaborating on this collection.</p> <p>Here are all the members who are collaborating on this collection.</p>
<div <div
className="relative border px-2 rounded-md border-sky-100 dark:border-neutral-700 flex min-h-[4rem] gap-2 justify-between" className="relative border px-2 rounded-md border-neutral flex min-h-[4rem] gap-2 justify-between"
title={`'@${collectionOwner.username}' is the owner of this collection.`} title={`'@${collectionOwner.username}' is the owner of this collection.`}
> >
<div className="flex items-center gap-2 w-full"> <div className="flex items-center gap-2 w-full">
@ -68,7 +68,7 @@ export default function ViewTeam({ collection }: Props) {
return ( return (
<div <div
key={i} key={i}
className="relative border p-2 rounded-md border-sky-100 dark:border-neutral-700 flex flex-col sm:flex-row sm:items-center gap-2 justify-between" className="relative border p-2 rounded-md border-neutral flex flex-col sm:flex-row sm:items-center gap-2 justify-between"
> >
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<ProfilePhoto <ProfilePhoto

View File

@ -186,7 +186,7 @@ export default function AddOrEditLink({
{optionsExpanded ? ( {optionsExpanded ? (
<div> <div>
{/* <hr className="mb-3 border border-sky-100 dark:border-neutral-700" /> */} {/* <hr className="mb-3 border border-neutral-content" /> */}
<div className="grid sm:grid-cols-2 gap-3"> <div className="grid sm:grid-cols-2 gap-3">
<div className={`${method === "UPDATE" ? "sm:col-span-2" : ""}`}> <div className={`${method === "UPDATE" ? "sm:col-span-2" : ""}`}>
<p className="mb-2">Name</p> <p className="mb-2">Name</p>
@ -241,7 +241,7 @@ export default function AddOrEditLink({
? "Will be auto generated if nothing is provided." ? "Will be auto generated if nothing is provided."
: "" : ""
} }
className="resize-none w-full rounded-md p-2 border-sky-100 bg-gray-50 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600 border-solid border outline-none duration-100 dark:bg-neutral-950" className="resize-none w-full rounded-md p-2 border-neutral-content bg-gray-50 focus:border-sky-300 dark:focus:border-sky-600 border-solid border outline-none duration-100 dark:bg-neutral-950"
/> />
</div> </div>
</div> </div>

View File

@ -91,7 +91,7 @@ export default function PreservedFormats() {
return ( return (
<div className={`flex flex-col gap-3 sm:w-[35rem] w-80 pt-3`}> <div className={`flex flex-col gap-3 sm:w-[35rem] w-80 pt-3`}>
{link?.screenshotPath && link?.screenshotPath !== "pending" ? ( {link?.screenshotPath && link?.screenshotPath !== "pending" ? (
<div className="flex justify-between items-center pr-1 border border-sky-100 dark:border-neutral-700 rounded-md"> <div className="flex justify-between items-center pr-1 border border-neutral-content rounded-md">
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<div className="text-white bg-sky-300 dark:bg-sky-600 p-2 rounded-l-md"> <div className="text-white bg-sky-300 dark:bg-sky-600 p-2 rounded-l-md">
<FontAwesomeIcon icon={faFileImage} className="w-6 h-6" /> <FontAwesomeIcon icon={faFileImage} className="w-6 h-6" />
@ -126,7 +126,7 @@ export default function PreservedFormats() {
) : undefined} ) : undefined}
{link?.pdfPath && link.pdfPath !== "pending" ? ( {link?.pdfPath && link.pdfPath !== "pending" ? (
<div className="flex justify-between items-center pr-1 border border-sky-100 dark:border-neutral-700 rounded-md"> <div className="flex justify-between items-center pr-1 border border-neutral-content rounded-md">
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<div className="text-white bg-sky-300 dark:bg-sky-600 p-2 rounded-l-md"> <div className="text-white bg-sky-300 dark:bg-sky-600 p-2 rounded-l-md">
<FontAwesomeIcon icon={faFilePdf} className="w-6 h-6" /> <FontAwesomeIcon icon={faFilePdf} className="w-6 h-6" />

View File

@ -16,7 +16,7 @@ export default function Modal({ toggleModal, className, children }: Props) {
onClickOutside={toggleModal} onClickOutside={toggleModal}
className={`m-auto ${className || ""}`} className={`m-auto ${className || ""}`}
> >
<div className="slide-up relative border-sky-100 dark:border-neutral-700 rounded-2xl border-solid border shadow-lg p-5 bg-white dark:bg-neutral-900"> <div className="slide-up relative border-neutral-content rounded-2xl border-solid border shadow-lg p-5 bg-white dark:bg-neutral-900">
<div <div
onClick={toggleModal as MouseEventHandler<HTMLDivElement>} onClick={toggleModal as MouseEventHandler<HTMLDivElement>}
className="absolute top-5 left-5 inline-flex rounded-md cursor-pointer hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 z-20 p-2" className="absolute top-5 left-5 inline-flex rounded-md cursor-pointer hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 z-20 p-2"

View File

@ -50,7 +50,7 @@ export default function Navbar() {
}; };
return ( return (
<div className="flex justify-between gap-2 items-center px-5 py-2 border-solid border-b-sky-100 dark:border-b-neutral-700 border-b h-16"> <div className="flex justify-between gap-2 items-center px-5 py-2 border-solid border-b-neutral-content dark:border-b-neutral-700 border-b h-16">
<div <div
onClick={toggleSidebar} onClick={toggleSidebar}
className="inline-flex lg:hidden gap-1 items-center select-none cursor-pointer p-[0.687rem] text-gray-500 dark:text-gray-300 rounded-md duration-100 hover:bg-slate-200 dark:hover:bg-neutral-700" className="inline-flex lg:hidden gap-1 items-center select-none cursor-pointer p-[0.687rem] text-gray-500 dark:text-gray-300 rounded-md duration-100 hover:bg-slate-200 dark:hover:bg-neutral-700"
@ -67,7 +67,7 @@ export default function Navbar() {
method: "CREATE", method: "CREATE",
}); });
}} }}
className="inline-flex gap-1 relative sm:w-[7.2rem] items-center font-semibold select-none cursor-pointer p-[0.687rem] sm:p-2 sm:px-3 rounded-md sm:rounded-full hover:bg-sky-100 dark:hover:bg-sky-800 sm:dark:hover:bg-sky-600 text-sky-500 sm:text-white sm:bg-sky-700 sm:hover:bg-sky-600 duration-100 group" className="inline-flex gap-1 relative sm:w-[7.2rem] items-center font-semibold select-none cursor-pointer p-[0.687rem] sm:p-2 sm:px-3 rounded-md sm:rounded-full hover:bg-neutral-content dark:hover:bg-sky-800 sm:dark:hover:bg-sky-600 text-primary sm:text-white sm:bg-sky-700 sm:hover:bg-sky-600 duration-100 group"
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faPlus} icon={faPlus}

View File

@ -11,7 +11,7 @@ export default function NoLinksFound({ text }: Props) {
const { setModal } = useModalStore(); const { setModal } = useModalStore();
return ( return (
<div className="border border-solid border-sky-100 dark:border-neutral-700 w-full h-full flex flex-col justify-center p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800"> <div className="border border-solid border-neutral-content w-full h-full flex flex-col justify-center p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800">
<p className="text-center text-2xl"> <p className="text-center text-2xl">
{text || "You haven't created any Links Here"} {text || "You haven't created any Links Here"}
</p> </p>

View File

@ -24,7 +24,7 @@ export default function ProfilePhoto({ src, className, priority }: Props) {
return !image ? ( return !image ? (
<div <div
className={`bg-sky-600 dark:bg-sky-600 text-white h-10 w-10 aspect-square shadow rounded-full border border-slate-200 dark:border-neutral-700 flex items-center justify-center ${ className={`bg-sky-600 dark:bg-sky-600 text-white h-10 w-10 aspect-square shadow rounded-full border border-slate-200 flex items-center justify-center ${
className || "" className || ""
}`} }`}
> >
@ -39,7 +39,7 @@ export default function ProfilePhoto({ src, className, priority }: Props) {
priority={priority} priority={priority}
draggable={false} draggable={false}
onError={() => setImage("")} onError={() => setImage("")}
className={`h-10 w-10 bg-sky-600 dark:bg-sky-600 shadow rounded-full aspect-square border border-slate-200 dark:border-neutral-700 ${ className={`h-10 w-10 bg-sky-600 dark:bg-sky-600 shadow rounded-full aspect-square border border-slate-200 ${
className || "" className || ""
}`} }`}
/> />

View File

@ -28,7 +28,7 @@ export default function LinkCard({ link, count }: Props) {
}); });
return ( return (
<div className="border border-solid border-sky-100 dark:border-neutral-700 bg-gradient-to-tr from-slate-200 dark:from-neutral-800 from-10% to-gray-50 dark:to-[#303030] via-20% shadow hover:shadow-none duration-100 rounded-lg p-3 flex items-start relative gap-3 group/item"> <div className="border border-solid border-neutral-content bg-gradient-to-tr from-slate-200 dark:from-neutral-800 from-10% to-gray-50 dark:to-[#303030] via-20% shadow hover:shadow-none duration-100 rounded-lg p-3 flex items-start relative gap-3 group/item">
<div className="flex justify-between items-end gap-5 w-full h-full z-0"> <div className="flex justify-between items-end gap-5 w-full h-full z-0">
<div className="flex flex-col justify-between w-full"> <div className="flex flex-col justify-between w-full">
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">

View File

@ -23,7 +23,7 @@ export default function PublicSearchBar({ placeHolder }: Props) {
<div className="flex items-center relative group"> <div className="flex items-center relative group">
<label <label
htmlFor="search-box" htmlFor="search-box"
className="inline-flex w-fit absolute left-2 pointer-events-none rounded-md text-sky-500 dark:text-sky-500" className="inline-flex w-fit absolute left-2 pointer-events-none rounded-md text-primary"
> >
<FontAwesomeIcon icon={faMagnifyingGlass} className="w-4 h-4" /> <FontAwesomeIcon icon={faMagnifyingGlass} className="w-4 h-4" />
</label> </label>
@ -52,7 +52,7 @@ export default function PublicSearchBar({ placeHolder }: Props) {
); );
} }
}} }}
className="border text-sm border-sky-100 bg-gray-50 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600 rounded-md pl-8 py-2 pr-2 w-44 sm:w-60 dark:hover:border-neutral-600 md:focus:w-80 hover:border-sky-300 duration-100 outline-none dark:bg-neutral-800" className="border text-sm border-neutral-content bg-gray-50 focus:border-sky-300 dark:focus:border-sky-600 rounded-md pl-8 py-2 pr-2 w-44 sm:w-60 dark:hover:border-neutral-600 md:focus:w-80 hover:border-sky-300 duration-100 outline-none dark:bg-neutral-800"
/> />
</div> </div>
); );

View File

@ -20,11 +20,11 @@ export default function RadioButton({ label, state, onClick }: Props) {
/> />
<FontAwesomeIcon <FontAwesomeIcon
icon={faCircleCheck} icon={faCircleCheck}
className="w-5 h-5 text-sky-500 dark:text-sky-500 peer-checked:block hidden" className="w-5 h-5 text-primary peer-checked:block hidden"
/> />
<FontAwesomeIcon <FontAwesomeIcon
icon={faCircle} icon={faCircle}
className="w-5 h-5 text-sky-500 dark:text-sky-500 peer-checked:hidden block" className="w-5 h-5 text-primary peer-checked:hidden block"
/> />
<span className="rounded select-none">{label}</span> <span className="rounded select-none">{label}</span>
</label> </label>

View File

@ -17,7 +17,7 @@ export default function SearchBar() {
<div className="flex items-center relative group"> <div className="flex items-center relative group">
<label <label
htmlFor="search-box" htmlFor="search-box"
className="inline-flex w-fit absolute left-2 pointer-events-none rounded-md p-1 text-sky-500 dark:text-sky-500" className="inline-flex w-fit absolute left-2 pointer-events-none rounded-md p-1 text-primary"
> >
<FontAwesomeIcon icon={faMagnifyingGlass} className="w-5 h-5" /> <FontAwesomeIcon icon={faMagnifyingGlass} className="w-5 h-5" />
</label> </label>
@ -36,7 +36,7 @@ export default function SearchBar() {
e.key === "Enter" && e.key === "Enter" &&
router.push("/search?q=" + encodeURIComponent(searchQuery)) router.push("/search?q=" + encodeURIComponent(searchQuery))
} }
className="border border-sky-100 bg-gray-50 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600 rounded-md pl-10 py-2 pr-2 w-44 sm:w-60 dark:hover:border-neutral-600 md:focus:w-80 hover:border-sky-300 duration-100 outline-none dark:bg-neutral-800" className="border border-neutral-content bg-gray-50 focus:border-sky-300 dark:focus:border-sky-600 rounded-md pl-10 py-2 pr-2 w-44 sm:w-60 dark:hover:border-neutral-600 md:focus:w-80 hover:border-sky-300 duration-100 outline-none dark:bg-neutral-800"
/> />
</div> </div>
); );

View File

@ -35,7 +35,7 @@ export default function SettingsSidebar({ className }: { className?: string }) {
return ( return (
<div <div
className={`dark:bg-neutral-900 bg-white h-full w-64 overflow-y-auto border-solid border-white border dark:border-neutral-900 border-r-sky-100 dark:border-r-neutral-700 p-5 z-20 flex flex-col gap-5 justify-between ${ className={`dark:bg-neutral-900 bg-white h-full w-64 overflow-y-auto border-solid border-white border dark:border-neutral-900 border-r-neutral-content dark:border-r-neutral-700 p-5 z-20 flex flex-col gap-5 justify-between ${
className || "" className || ""
}`} }`}
> >
@ -44,14 +44,11 @@ export default function SettingsSidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/settings/account` active === `/settings/account`
? "bg-sky-500" ? "bg-primary"
: "hover:bg-slate-500" : "hover:bg-slate-500"
} duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon icon={faUser} className="w-6 h-6 text-primary" />
icon={faUser}
className="w-6 h-6 text-sky-500 dark:text-sky-500"
/>
<p className="truncate w-full pr-7">Account</p> <p className="truncate w-full pr-7">Account</p>
</div> </div>
@ -61,13 +58,13 @@ export default function SettingsSidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/settings/appearance` active === `/settings/appearance`
? "bg-sky-500" ? "bg-primary"
: "hover:bg-slate-500" : "hover:bg-slate-500"
} duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faPalette} icon={faPalette}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">Appearance</p> <p className="truncate w-full pr-7">Appearance</p>
@ -78,13 +75,13 @@ export default function SettingsSidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/settings/archive` active === `/settings/archive`
? "bg-sky-500" ? "bg-primary"
: "hover:bg-slate-500" : "hover:bg-slate-500"
} duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faBoxArchive} icon={faBoxArchive}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">Archive</p> <p className="truncate w-full pr-7">Archive</p>
@ -94,13 +91,10 @@ export default function SettingsSidebar({ className }: { className?: string }) {
<Link href="/settings/api"> <Link href="/settings/api">
<div <div
className={`${ className={`${
active === `/settings/api` ? "bg-sky-500" : "hover:bg-slate-500" active === `/settings/api` ? "bg-primary" : "hover:bg-slate-500"
} duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon icon={faKey} className="w-6 h-6 text-primary" />
icon={faKey}
className="w-6 h-6 text-sky-500 dark:text-sky-500"
/>
<p className="truncate w-full pr-7">API Keys</p> <p className="truncate w-full pr-7">API Keys</p>
</div> </div>
@ -110,14 +104,11 @@ export default function SettingsSidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/settings/password` active === `/settings/password`
? "bg-sky-500" ? "bg-primary"
: "hover:bg-slate-500" : "hover:bg-slate-500"
} duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon icon={faLock} className="w-6 h-6 text-primary" />
icon={faLock}
className="w-6 h-6 text-sky-500 dark:text-sky-500"
/>
<p className="truncate w-full pr-7">Password</p> <p className="truncate w-full pr-7">Password</p>
</div> </div>
@ -128,13 +119,13 @@ export default function SettingsSidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/settings/billing` active === `/settings/billing`
? "bg-sky-500" ? "bg-primary"
: "hover:bg-slate-500" : "hover:bg-slate-500"
} duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-2 px-2 hover:bg-opacity-20 bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faCreditCard} icon={faCreditCard}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">Billing</p> <p className="truncate w-full pr-7">Billing</p>
@ -157,7 +148,7 @@ export default function SettingsSidebar({ className }: { className?: string }) {
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faCircleQuestion as any} icon={faCircleQuestion as any}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">Help</p> <p className="truncate w-full pr-7">Help</p>
@ -170,7 +161,7 @@ export default function SettingsSidebar({ className }: { className?: string }) {
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faGithub as any} icon={faGithub as any}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">GitHub</p> <p className="truncate w-full pr-7">GitHub</p>
@ -183,7 +174,7 @@ export default function SettingsSidebar({ className }: { className?: string }) {
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faXTwitter as any} icon={faXTwitter as any}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">Twitter</p> <p className="truncate w-full pr-7">Twitter</p>
@ -196,7 +187,7 @@ export default function SettingsSidebar({ className }: { className?: string }) {
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faMastodon as any} icon={faMastodon as any}
className="w-6 h-6 text-sky-500 dark:text-sky-500" className="w-6 h-6 text-primary"
/> />
<p className="truncate w-full pr-7">Mastodon</p> <p className="truncate w-full pr-7">Mastodon</p>

View File

@ -52,7 +52,7 @@ export default function Sidebar({ className }: { className?: string }) {
return ( return (
<div <div
className={`bg-gray-100 dark:bg-neutral-800 h-full w-64 xl:w-80 overflow-y-auto border-solid border dark:border-neutral-800 border-r-sky-100 dark:border-r-neutral-700 px-2 z-20 ${ className={`bg-base-200 dark:bg-neutral-800 h-full w-64 xl:w-80 overflow-y-auto border-solid border dark:border-neutral-800 border-r-neutral-content dark:border-r-neutral-700 px-2 z-20 ${
className || "" className || ""
}`} }`}
> >
@ -60,12 +60,14 @@ export default function Sidebar({ className }: { className?: string }) {
<Link href={`/dashboard`}> <Link href={`/dashboard`}>
<div <div
className={`${ className={`${
active === `/dashboard` ? "bg-sky-500" : "hover:bg-slate-500" active === `/dashboard`
} duration-100 py-5 px-2 bg-opacity-20 hover:bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} ? "bg-primary/20"
: "hover:bg-slate-500/20"
} duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faChartSimple} icon={faChartSimple}
className="w-7 h-7 drop-shadow text-sky-500 dark:text-sky-500" className="w-7 h-7 drop-shadow text-primary"
/> />
<p className="truncate w-full">Dashboard</p> <p className="truncate w-full">Dashboard</p>
</div> </div>
@ -74,12 +76,12 @@ export default function Sidebar({ className }: { className?: string }) {
<Link href={`/links`}> <Link href={`/links`}>
<div <div
className={`${ className={`${
active === `/links` ? "bg-sky-500" : "hover:bg-slate-500" active === `/links` ? "bg-primary/20" : "hover:bg-slate-500/20"
} duration-100 py-5 px-2 bg-opacity-20 hover:bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} } duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faLink} icon={faLink}
className="w-7 h-7 drop-shadow text-sky-500 dark:text-sky-500" className="w-7 h-7 drop-shadow text-primary"
/> />
<p className="truncate w-full">All Links</p> <p className="truncate w-full">All Links</p>
</div> </div>
@ -88,12 +90,14 @@ export default function Sidebar({ className }: { className?: string }) {
<Link href={`/collections`}> <Link href={`/collections`}>
<div <div
className={`${ className={`${
active === `/collections` ? "bg-sky-500" : "hover:bg-slate-500" active === `/collections`
} duration-100 py-5 px-2 bg-opacity-20 hover:bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} ? "bg-primary/20"
: "hover:bg-slate-500/20"
} duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faFolder} icon={faFolder}
className="w-7 h-7 drop-shadow text-sky-500 dark:text-sky-500" className="w-7 h-7 drop-shadow text-primary"
/> />
<p className="truncate w-full">All Collections</p> <p className="truncate w-full">All Collections</p>
</div> </div>
@ -102,12 +106,14 @@ export default function Sidebar({ className }: { className?: string }) {
<Link href={`/links/pinned`}> <Link href={`/links/pinned`}>
<div <div
className={`${ className={`${
active === `/links/pinned` ? "bg-sky-500" : "hover:bg-slate-500" active === `/links/pinned`
} duration-100 py-5 px-2 bg-opacity-20 hover:bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} ? "bg-primary/20"
: "hover:bg-slate-500/20"
} duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faThumbTack} icon={faThumbTack}
className="w-7 h-7 drop-shadow text-sky-500 dark:text-sky-500" className="w-7 h-7 drop-shadow text-primary"
/> />
<p className="truncate w-full">Pinned Links</p> <p className="truncate w-full">Pinned Links</p>
</div> </div>
@ -148,9 +154,9 @@ export default function Sidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/collections/${e.id}` active === `/collections/${e.id}`
? "bg-sky-500" ? "bg-primary/20"
: "hover:bg-slate-500" : "hover:bg-slate-500/20"
} duration-100 py-1 px-2 bg-opacity-20 hover:bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} } duration-100 py-1 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faFolder} icon={faFolder}
@ -216,13 +222,13 @@ export default function Sidebar({ className }: { className?: string }) {
<div <div
className={`${ className={`${
active === `/tags/${e.id}` active === `/tags/${e.id}`
? "bg-sky-500" ? "bg-primary/20"
: "hover:bg-slate-500" : "hover:bg-slate-500/20"
} duration-100 py-1 px-2 bg-opacity-20 hover:bg-opacity-20 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} } duration-100 py-1 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`}
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faHashtag} icon={faHashtag}
className="w-4 h-4 text-sky-500 dark:text-sky-500 mt-1" className="w-4 h-4 text-primary mt-1"
/> />
<p className="truncate w-full pr-7">{e.name}</p> <p className="truncate w-full pr-7">{e.name}</p>

View File

@ -21,7 +21,7 @@ export default function SortDropdown({
const target = e.target as HTMLInputElement; const target = e.target as HTMLInputElement;
if (target.id !== "sort-dropdown") toggleSortDropdown(); if (target.id !== "sort-dropdown") toggleSortDropdown();
}} }}
className="absolute top-8 right-0 border border-sky-100 dark:border-neutral-700 shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-52" className="absolute top-8 right-0 border border-neutral-content shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-52"
> >
<p className="mb-2 text-center font-semibold">Sort by</p> <p className="mb-2 text-center font-semibold">Sort by</p>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">

View File

@ -27,7 +27,7 @@ export default function TextInput({
value={value} value={value}
onChange={onChange} onChange={onChange}
onKeyDown={onKeyDown} onKeyDown={onKeyDown}
className={`w-full rounded-md p-2 border-sky-100 dark:border-neutral-700 bg-gray-50 dark:bg-neutral-950 border-solid border outline-none focus:border-sky-300 focus:dark:border-sky-600 duration-100 ${ className={`w-full rounded-md p-2 border-neutral-content bg-gray-100 dark:bg-neutral-950 border-solid border outline-none focus:border-sky-300 focus:dark:border-sky-600 duration-100 ${
className || "" className || ""
}`} }`}
/> />

View File

@ -54,7 +54,7 @@ export default function App({
reverseOrder={false} reverseOrder={false}
toastOptions={{ toastOptions={{
className: className:
"border border-sky-100 dark:border-neutral-700 dark:bg-neutral-900 dark:text-white", "border border-neutral-content dark:bg-neutral-900 dark:text-white",
}} }}
/> />
<Component {...pageProps} /> <Component {...pageProps} />

View File

@ -41,12 +41,12 @@ export default function ChooseUsername() {
return ( return (
<CenteredForm> <CenteredForm>
<form onSubmit={submitUsername}> <form onSubmit={submitUsername}>
<div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:border-neutral-700 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100"> <div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<p className="text-3xl text-center font-extralight"> <p className="text-3xl text-center font-extralight">
Choose a Username Choose a Username
</p> </p>
<hr className="border-1 border-sky-100 dark:border-neutral-700" /> <hr className="border-1 border-neutral-content" />
<div> <div>
<p className="text-sm w-fit font-semibold mb-1">Username</p> <p className="text-sm w-fit font-semibold mb-1">Username</p>

View File

@ -58,7 +58,7 @@ export default function Index() {
settings.theme === "dark" ? "#262626" : "#f3f4f6" settings.theme === "dark" ? "#262626" : "#f3f4f6"
} 50%, ${settings.theme === "dark" ? "#262626" : "#f9fafb"} 100%)`, } 50%, ${settings.theme === "dark" ? "#262626" : "#f9fafb"} 100%)`,
}} }}
className="border border-solid border-sky-100 dark:border-neutral-700 rounded-2xl shadow min-h-[10rem] p-5 flex gap-5 flex-col justify-between" className="border border-solid border-neutral-content rounded-2xl shadow min-h-[10rem] p-5 flex gap-5 flex-col justify-between"
> >
<div className="flex flex-col sm:flex-row gap-3 justify-between sm:items-start"> <div className="flex flex-col sm:flex-row gap-3 justify-between sm:items-start">
{activeCollection && ( {activeCollection && (
@ -111,7 +111,7 @@ export default function Index() {
.slice(0, 4)} .slice(0, 4)}
{activeCollection?.members.length && {activeCollection?.members.length &&
activeCollection.members.length - 4 > 0 ? ( activeCollection.members.length - 4 > 0 ? (
<div className="h-10 w-10 text-white flex items-center justify-center rounded-full border-[3px] bg-sky-600 dark:bg-sky-600 border-slate-200 dark:border-neutral-700 -mr-3"> <div className="h-10 w-10 text-white flex items-center justify-center rounded-full border-[3px] bg-sky-600 dark:bg-sky-600 border-slate-200 -mr-3">
+{activeCollection?.members?.length - 4} +{activeCollection?.members?.length - 4}
</div> </div>
) : null} ) : null}

View File

@ -37,7 +37,7 @@ export default function Collections() {
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<FontAwesomeIcon <FontAwesomeIcon
icon={faFolder} icon={faFolder}
className="sm:w-10 sm:h-10 w-6 h-6 text-sky-500 dark:text-sky-500 drop-shadow" className="sm:w-10 sm:h-10 w-6 h-6 text-primary drop-shadow"
/> />
<div> <div>
<p className="text-3xl capitalize font-thin"> <p className="text-3xl capitalize font-thin">
@ -117,7 +117,7 @@ export default function Collections() {
})} })}
<div <div
className="p-5 bg-gray-50 dark:bg-neutral-800 self-stretch border border-solid border-sky-100 dark:border-neutral-700 min-h-[12rem] rounded-2xl cursor-pointer shadow duration-100 hover:shadow-none flex flex-col gap-4 justify-center items-center group" className="p-5 bg-gray-50 dark:bg-neutral-800 self-stretch border border-solid border-neutral-content min-h-[12rem] rounded-2xl cursor-pointer shadow duration-100 hover:shadow-none flex flex-col gap-4 justify-center items-center group"
onClick={() => { onClick={() => {
setModal({ setModal({
modal: "COLLECTION", modal: "COLLECTION",
@ -129,7 +129,7 @@ export default function Collections() {
<p className="group-hover:opacity-0 duration-100">New Collection</p> <p className="group-hover:opacity-0 duration-100">New Collection</p>
<FontAwesomeIcon <FontAwesomeIcon
icon={faPlus} icon={faPlus}
className="w-8 h-8 text-sky-500 dark:text-sky-500 group-hover:w-12 group-hover:h-12 group-hover:-mt-10 duration-100" className="w-8 h-8 text-primary group-hover:w-12 group-hover:h-12 group-hover:-mt-10 duration-100"
/> />
</div> </div>
</div> </div>
@ -139,7 +139,7 @@ export default function Collections() {
<div className="flex items-center gap-3 my-5"> <div className="flex items-center gap-3 my-5">
<FontAwesomeIcon <FontAwesomeIcon
icon={faFolder} icon={faFolder}
className="sm:w-10 sm:h-10 w-6 h-6 text-sky-500 dark:text-sky-500 drop-shadow" className="sm:w-10 sm:h-10 w-6 h-6 text-primary drop-shadow"
/> />
<div> <div>
<p className="text-3xl capitalize font-thin"> <p className="text-3xl capitalize font-thin">

View File

@ -5,12 +5,12 @@ import React from "react";
export default function EmailConfirmaion() { export default function EmailConfirmaion() {
return ( return (
<CenteredForm> <CenteredForm>
<div className="p-4 max-w-[30rem] min-w-80 w-full rounded-2xl shadow-md mx-auto border border-sky-100 dark:border-neutral-700 bg-slate-50 dark:bg-neutral-800"> <div className="p-4 max-w-[30rem] min-w-80 w-full rounded-2xl shadow-md mx-auto border border-neutral-content bg-slate-50 dark:bg-neutral-800">
<p className="text-center text-2xl sm:text-3xl font-extralight mb-2 "> <p className="text-center text-2xl sm:text-3xl font-extralight mb-2 ">
Please check your Email Please check your Email
</p> </p>
<hr className="border-1 border-sky-100 dark:border-neutral-700 my-3" /> <hr className="border-1 border-neutral my-3" />
<p>A sign in link has been sent to your email address.</p> <p>A sign in link has been sent to your email address.</p>

View File

@ -110,7 +110,7 @@ export default function Dashboard() {
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<FontAwesomeIcon <FontAwesomeIcon
icon={faChartSimple} icon={faChartSimple}
className="sm:w-10 sm:h-10 w-6 h-6 text-sky-500 dark:text-sky-500 drop-shadow" className="sm:w-10 sm:h-10 w-6 h-6 text-primary drop-shadow"
/> />
<div> <div>
<p className="text-3xl capitalize font-thin">Dashboard</p> <p className="text-3xl capitalize font-thin">Dashboard</p>
@ -120,15 +120,15 @@ export default function Dashboard() {
</div> </div>
<div> <div>
<div className="flex justify-evenly flex-col md:flex-row md:items-center gap-2 md:w-full h-full rounded-2xl p-8 border border-sky-100 dark:border-neutral-700 bg-gray-100 dark:bg-neutral-800"> <div className="flex justify-evenly flex-col md:flex-row md:items-center gap-2 md:w-full h-full rounded-2xl p-8 border border-neutral-content bg-base-200 dark:bg-neutral-800">
<DashboardItem <DashboardItem
name={numberOfLinks === 1 ? "Link" : "Links"} name={numberOfLinks === 1 ? "Link" : "Links"}
value={numberOfLinks} value={numberOfLinks}
icon={faLink} icon={faLink}
/> />
<hr className="border-sky-100 dark:border-neutral-700 md:hidden my-5" /> <hr className="border-neutral-content md:hidden my-5" />
<div className="h-24 border-1 border-l border-sky-100 dark:border-neutral-700 hidden md:block"></div> <div className="h-24 border-1 border-l border-neutral-content hidden md:block"></div>
<DashboardItem <DashboardItem
name={collections.length === 1 ? "Collection" : "Collections"} name={collections.length === 1 ? "Collection" : "Collections"}
@ -136,8 +136,8 @@ export default function Dashboard() {
icon={faFolder} icon={faFolder}
/> />
<hr className="border-sky-100 dark:border-neutral-700 md:hidden my-5" /> <hr className="border-neutral-content md:hidden my-5" />
<div className="h-24 border-1 border-r border-sky-100 dark:border-neutral-700 hidden md:block"></div> <div className="h-24 border-1 border-r border-neutral-content hidden md:block"></div>
<DashboardItem <DashboardItem
name={tags.length === 1 ? "Tag" : "Tags"} name={tags.length === 1 ? "Tag" : "Tags"}
@ -151,7 +151,7 @@ export default function Dashboard() {
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<FontAwesomeIcon <FontAwesomeIcon
icon={faClockRotateLeft} icon={faClockRotateLeft}
className="w-5 h-5 text-sky-500 dark:text-sky-500 drop-shadow" className="w-5 h-5 text-primary drop-shadow"
/> />
<p className="text-2xl">Recently Added Links</p> <p className="text-2xl">Recently Added Links</p>
</div> </div>
@ -181,7 +181,7 @@ export default function Dashboard() {
) : ( ) : (
<div <div
style={{ flex: "1 1 auto" }} style={{ flex: "1 1 auto" }}
className="sky-shadow flex flex-col justify-center h-full border border-solid border-sky-100 dark:border-neutral-700 w-full mx-auto p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800" className="sky-shadow flex flex-col justify-center h-full border border-solid border-neutral-content w-full mx-auto p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800"
> >
<p className="text-center text-2xl"> <p className="text-center text-2xl">
View Your Recently Added Links Here! View Your Recently Added Links Here!
@ -215,7 +215,7 @@ export default function Dashboard() {
<div <div
onClick={() => setImportDropdown(!importDropdown)} onClick={() => setImportDropdown(!importDropdown)}
id="import-dropdown" id="import-dropdown"
className="flex gap-2 select-none text-sm cursor-pointer p-2 px-3 rounded-md border dark:hover:border-sky-600 text-black border-black dark:text-white dark:border-white hover:border-sky-500 hover:dark:border-sky-500 hover:text-sky-500 hover:dark:text-sky-500 duration-100 group" className="flex gap-2 select-none text-sm cursor-pointer p-2 px-3 rounded-md border dark:hover:border-sky-600 text-black border-black dark:text-white dark:border-white hover:border-primary hover:dark:border-primary hover:text-primary duration-100 group"
> >
<FontAwesomeIcon <FontAwesomeIcon
icon={faFileImport} icon={faFileImport}
@ -236,7 +236,7 @@ export default function Dashboard() {
if (target.id !== "import-dropdown") if (target.id !== "import-dropdown")
setImportDropdown(false); setImportDropdown(false);
}} }}
className={`absolute top-10 left-0 w-52 py-1 shadow-md border border-sky-100 dark:border-neutral-700 bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`} className={`absolute top-10 left-0 w-52 py-1 shadow-md border border-neutral-content bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`}
> >
<div className="cursor-pointer rounded-md"> <div className="cursor-pointer rounded-md">
<label <label
@ -286,7 +286,7 @@ export default function Dashboard() {
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<FontAwesomeIcon <FontAwesomeIcon
icon={faThumbTack} icon={faThumbTack}
className="w-5 h-5 text-sky-500 dark:text-sky-500 drop-shadow" className="w-5 h-5 text-primary drop-shadow"
/> />
<p className="text-2xl">Pinned Links</p> <p className="text-2xl">Pinned Links</p>
</div> </div>
@ -318,7 +318,7 @@ export default function Dashboard() {
) : ( ) : (
<div <div
style={{ flex: "1 1 auto" }} style={{ flex: "1 1 auto" }}
className="sky-shadow flex flex-col justify-center h-full border border-solid border-sky-100 dark:border-neutral-700 w-full mx-auto p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800" className="sky-shadow flex flex-col justify-center h-full border border-solid border-neutral-content w-full mx-auto p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800"
> >
<p className="text-center text-2xl"> <p className="text-center text-2xl">
Pin Your Favorite Links Here! Pin Your Favorite Links Here!

View File

@ -43,12 +43,12 @@ export default function Forgot() {
return ( return (
<CenteredForm> <CenteredForm>
<form onSubmit={sendConfirmation}> <form onSubmit={sendConfirmation}>
<div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:border-neutral-700 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100"> <div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<p className="text-3xl text-center font-extralight"> <p className="text-3xl text-center font-extralight">
Password Recovery Password Recovery
</p> </p>
<hr className="border-1 border-sky-100 dark:border-neutral-700" /> <hr className="border-1 border-neutral-content" />
<div> <div>
<p> <p>

View File

@ -152,7 +152,7 @@ export default function Index() {
> >
<div <div
id="link-banner" id="link-banner"
className="link-banner p-5 mb-4 relative bg-opacity-10 border border-solid border-sky-100 dark:border-neutral-700 shadow-md" className="link-banner p-5 mb-4 relative bg-opacity-10 border border-solid border-neutral-content shadow-md"
> >
<div id="link-banner-inner" className="link-banner-inner"></div> <div id="link-banner-inner" className="link-banner-inner"></div>
@ -259,7 +259,7 @@ export default function Index() {
}} }}
></div> ></div>
) : ( ) : (
<div className="border border-solid border-sky-100 dark:border-neutral-700 w-full h-full flex flex-col justify-center p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800"> <div className="border border-solid border-neutral-content w-full h-full flex flex-col justify-center p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800">
{link?.readabilityPath === "pending" ? ( {link?.readabilityPath === "pending" ? (
<p className="text-center"> <p className="text-center">
Generating readable format, please wait... Generating readable format, please wait...

View File

@ -24,7 +24,7 @@ export default function Links() {
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<FontAwesomeIcon <FontAwesomeIcon
icon={faLink} icon={faLink}
className="sm:w-10 sm:h-10 w-6 h-6 text-sky-500 dark:text-sky-500 drop-shadow" className="sm:w-10 sm:h-10 w-6 h-6 text-primary drop-shadow"
/> />
<div> <div>
<p className="text-3xl capitalize font-thin">All Links</p> <p className="text-3xl capitalize font-thin">All Links</p>

View File

@ -24,7 +24,7 @@ export default function PinnedLinks() {
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<FontAwesomeIcon <FontAwesomeIcon
icon={faThumbTack} icon={faThumbTack}
className="sm:w-10 sm:h-10 w-6 h-6 text-sky-500 dark:text-sky-500 drop-shadow" className="sm:w-10 sm:h-10 w-6 h-6 text-primary drop-shadow"
/> />
<div> <div>
<p className="text-3xl capitalize font-thin">Pinned Links</p> <p className="text-3xl capitalize font-thin">Pinned Links</p>
@ -64,7 +64,7 @@ export default function PinnedLinks() {
) : ( ) : (
<div <div
style={{ flex: "1 1 auto" }} style={{ flex: "1 1 auto" }}
className="sky-shadow flex flex-col justify-center h-full border border-solid border-sky-100 dark:border-neutral-700 w-full mx-auto p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800" className="sky-shadow flex flex-col justify-center h-full border border-solid border-neutral-content w-full mx-auto p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800"
> >
<p className="text-center text-2xl"> <p className="text-center text-2xl">
Pin Your Favorite Links Here! Pin Your Favorite Links Here!

View File

@ -63,12 +63,12 @@ export default function Login() {
return ( return (
<CenteredForm text="Sign in to your account"> <CenteredForm text="Sign in to your account">
<form onSubmit={loginUser}> <form onSubmit={loginUser}>
<div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100 dark:border-neutral-700"> <div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<p className="text-3xl text-center font-extralight"> <p className="text-3xl text-center font-extralight">
Enter your credentials Enter your credentials
</p> </p>
<hr className="border-1 border-sky-100 dark:border-neutral-700" /> <hr className="border-1 border-neutral-content" />
<div> <div>
<p className="text-sm w-fit font-semibold mb-1"> <p className="text-sm w-fit font-semibold mb-1">

View File

@ -179,7 +179,7 @@ export default function PublicCollections() {
.slice(0, 3)} .slice(0, 3)}
{collection?.members.length && {collection?.members.length &&
collection.members.length - 3 > 0 ? ( collection.members.length - 3 > 0 ? (
<div className="w-8 h-8 min-w-[2rem] text-white text-sm flex items-center justify-center rounded-full border-2 bg-sky-600 dark:bg-sky-600 border-slate-200 dark:border-neutral-700"> <div className="w-8 h-8 min-w-[2rem] text-white text-sm flex items-center justify-center rounded-full border-2 bg-sky-600 dark:bg-sky-600 border-slate-200">
+{collection?.members?.length - 3} +{collection?.members?.length - 3}
</div> </div>
) : null} ) : null}

View File

@ -152,7 +152,7 @@ export default function Index() {
> >
<div <div
id="link-banner" id="link-banner"
className="link-banner p-5 mb-4 relative bg-opacity-10 border border-solid border-sky-100 dark:border-neutral-700 shadow-md" className="link-banner p-5 mb-4 relative bg-opacity-10 border border-solid border-neutral-content shadow-md"
> >
<div id="link-banner-inner" className="link-banner-inner"></div> <div id="link-banner-inner" className="link-banner-inner"></div>
@ -259,7 +259,7 @@ export default function Index() {
}} }}
></div> ></div>
) : ( ) : (
<div className="border border-solid border-sky-100 dark:border-neutral-700 w-full h-full flex flex-col justify-center p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800"> <div className="border border-solid border-neutral-content w-full h-full flex flex-col justify-center p-10 rounded-2xl bg-gray-50 dark:bg-neutral-800">
{link?.readabilityPath === "pending" ? ( {link?.readabilityPath === "pending" ? (
<p className="text-center"> <p className="text-center">
Generating readable format, please wait... Generating readable format, please wait...

View File

@ -104,7 +104,7 @@ export default function Register() {
} }
> >
{process.env.NEXT_PUBLIC_DISABLE_REGISTRATION === "true" ? ( {process.env.NEXT_PUBLIC_DISABLE_REGISTRATION === "true" ? (
<div className="p-4 flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100 dark:border-neutral-700"> <div className="p-4 flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<p> <p>
Registration is disabled for this instance, please contact the admin Registration is disabled for this instance, please contact the admin
in case of any issues. in case of any issues.
@ -112,12 +112,12 @@ export default function Register() {
</div> </div>
) : ( ) : (
<form onSubmit={registerUser}> <form onSubmit={registerUser}>
<div className="p-4 flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full mx-auto bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100 dark:border-neutral-700"> <div className="p-4 flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full mx-auto bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<p className="text-3xl text-center font-extralight"> <p className="text-3xl text-center font-extralight">
Enter your details Enter your details
</p> </p>
<hr className="border-1 border-sky-100 dark:border-neutral-700" /> <hr className="border-1 border-neutral-content" />
<div> <div>
<p className="text-sm w-fit font-semibold mb-1">Display Name</p> <p className="text-sm w-fit font-semibold mb-1">Display Name</p>

View File

@ -45,7 +45,7 @@ export default function Search() {
<div className="flex gap-2"> <div className="flex gap-2">
<FontAwesomeIcon <FontAwesomeIcon
icon={faSearch} icon={faSearch}
className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 dark:text-sky-500 drop-shadow" className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-primary drop-shadow"
/> />
<p className="sm:text-4xl text-3xl capitalize font-thin"> <p className="sm:text-4xl text-3xl capitalize font-thin">
Search Results Search Results

View File

@ -153,7 +153,7 @@ export default function Account() {
<SettingsLayout> <SettingsLayout>
<p className="capitalize text-3xl font-thin inline">Account Settings</p> <p className="capitalize text-3xl font-thin inline">Account Settings</p>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<div className="flex flex-col gap-10"> <div className="flex flex-col gap-10">
<div className="grid sm:grid-cols-2 gap-3 auto-rows-auto"> <div className="grid sm:grid-cols-2 gap-3 auto-rows-auto">
@ -206,13 +206,13 @@ export default function Account() {
image: "", image: "",
}) })
} }
className="absolute top-1 left-1 w-5 h-5 flex items-center justify-center border p-1 border-slate-200 dark:border-neutral-700 rounded-full bg-white dark:bg-neutral-800 text-center select-none cursor-pointer duration-100 hover:text-red-500" className="absolute top-1 left-1 w-5 h-5 flex items-center justify-center border p-1 border-slate-200 rounded-full bg-white dark:bg-neutral-800 text-center select-none cursor-pointer duration-100 hover:text-red-500"
> >
<FontAwesomeIcon icon={faClose} className="w-3 h-3" /> <FontAwesomeIcon icon={faClose} className="w-3 h-3" />
</div> </div>
)} )}
<div className="absolute -bottom-3 left-0 right-0 mx-auto w-fit text-center"> <div className="absolute -bottom-3 left-0 right-0 mx-auto w-fit text-center">
<label className="border border-slate-200 dark:border-neutral-700 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600"> <label className="border border-slate-200 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600">
Browse... Browse...
<input <input
type="file" type="file"
@ -235,7 +235,7 @@ export default function Account() {
</p> </p>
</div> </div>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<div className="flex gap-3 flex-col"> <div className="flex gap-3 flex-col">
<div> <div>
@ -247,7 +247,7 @@ export default function Account() {
> >
<div <div
id="import-dropdown" id="import-dropdown"
className="border border-slate-200 dark:border-neutral-700 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600" className="border border-slate-200 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600"
> >
Import From Import From
</div> </div>
@ -258,7 +258,7 @@ export default function Account() {
if (target.id !== "import-dropdown") if (target.id !== "import-dropdown")
setImportDropdown(false); setImportDropdown(false);
}} }}
className={`absolute top-7 left-0 w-52 py-1 shadow-md border border-sky-100 dark:border-neutral-700 bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`} className={`absolute top-7 left-0 w-52 py-1 shadow-md border border-neutral-content bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`}
> >
<div className="cursor-pointer rounded-md"> <div className="cursor-pointer rounded-md">
<label <label
@ -304,7 +304,7 @@ export default function Account() {
<div> <div>
<p className="mb-2">Download your data instantly.</p> <p className="mb-2">Download your data instantly.</p>
<Link className="w-fit" href="/api/v1/migration"> <Link className="w-fit" href="/api/v1/migration">
<div className="border w-fit border-slate-200 dark:border-neutral-700 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600"> <div className="border w-fit border-slate-200 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600">
Export Data Export Data
</div> </div>
</Link> </Link>
@ -319,7 +319,7 @@ export default function Account() {
</p> </p>
</div> </div>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<Checkbox <Checkbox
label="Make profile private" label="Make profile private"
@ -339,7 +339,7 @@ export default function Account() {
visibility to your profile. Separated by comma. visibility to your profile. Separated by comma.
</p> </p>
<textarea <textarea
className="w-full resize-none border rounded-md duration-100 bg-gray-50 dark:bg-neutral-950 p-2 outline-none border-sky-100 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600" className="w-full resize-none border rounded-md duration-100 bg-gray-50 dark:bg-neutral-950 p-2 outline-none border-neutral-content focus:border-sky-300 dark:focus:border-sky-600"
placeholder="Your profile is hidden from everyone right now..." placeholder="Your profile is hidden from everyone right now..."
value={whitelistedUsersTextbox} value={whitelistedUsersTextbox}
onChange={(e) => setWhiteListedUsersTextbox(e.target.value)} onChange={(e) => setWhiteListedUsersTextbox(e.target.value)}
@ -362,7 +362,7 @@ export default function Account() {
</p> </p>
</div> </div>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<p> <p>
This will permanently delete ALL the Links, Collections, Tags, and This will permanently delete ALL the Links, Collections, Tags, and

View File

@ -56,7 +56,7 @@ export default function Api() {
<SettingsLayout> <SettingsLayout>
<p className="capitalize text-3xl font-thin inline">API Keys (Soon)</p> <p className="capitalize text-3xl font-thin inline">API Keys (Soon)</p>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<div className="flex flex-col gap-3"> <div className="flex flex-col gap-3">
<div className="badge bg-orange-500 rounded-md border border-black w-fit px-2 text-black"> <div className="badge bg-orange-500 rounded-md border border-black w-fit px-2 text-black">

View File

@ -69,16 +69,16 @@ export default function Appearance() {
<SettingsLayout> <SettingsLayout>
<p className="capitalize text-3xl font-thin inline">Appearance</p> <p className="capitalize text-3xl font-thin inline">Appearance</p>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<div className="flex flex-col gap-10"> <div className="flex flex-col gap-10">
<div> <div>
<p className="mb-3">Select Theme</p> <p className="mb-3">Select Theme</p>
<div className="flex gap-3 w-full"> <div className="flex gap-3 w-full">
<div <div
className={`w-full text-center outline-solid outline-sky-100 outline dark:outline-neutral-700 h-40 duration-100 rounded-md flex items-center justify-center cursor-pointer select-none bg-black ${ className={`w-full text-center outline-solid outline-neutral-content outline dark:outline-neutral-700 h-40 duration-100 rounded-md flex items-center justify-center cursor-pointer select-none bg-black ${
localStorage.getItem("theme") === "dark" localStorage.getItem("theme") === "dark"
? "dark:outline-sky-500 text-sky-500" ? "dark:outline-primary text-primary"
: "text-white" : "text-white"
}`} }`}
onClick={() => updateSettings({ theme: "dark" })} onClick={() => updateSettings({ theme: "dark" })}
@ -86,19 +86,19 @@ export default function Appearance() {
<FontAwesomeIcon icon={faMoon} className="w-1/2 h-1/2" /> <FontAwesomeIcon icon={faMoon} className="w-1/2 h-1/2" />
<p className="text-2xl">Dark Theme</p> <p className="text-2xl">Dark Theme</p>
{/* <hr className="my-3 outline-1 outline-sky-100 dark:outline-neutral-700" /> */} {/* <hr className="my-3 outline-1 outline-neutral-content dark:outline-neutral-700" /> */}
</div> </div>
<div <div
className={`w-full text-center outline-solid outline-sky-100 outline dark:outline-neutral-700 h-40 duration-100 rounded-md flex items-center justify-center cursor-pointer select-none bg-white ${ className={`w-full text-center outline-solid outline-neutral-content outline dark:outline-neutral-700 h-40 duration-100 rounded-md flex items-center justify-center cursor-pointer select-none bg-white ${
localStorage.getItem("theme") === "light" localStorage.getItem("theme") === "light"
? "outline-sky-500 text-sky-500" ? "outline-primary text-primary"
: "text-black" : "text-black"
}`} }`}
onClick={() => updateSettings({ theme: "light" })} onClick={() => updateSettings({ theme: "light" })}
> >
<FontAwesomeIcon icon={faSun} className="w-1/2 h-1/2" /> <FontAwesomeIcon icon={faSun} className="w-1/2 h-1/2" />
<p className="text-2xl">Light Theme</p> <p className="text-2xl">Light Theme</p>
{/* <hr className="my-3 outline-1 outline-sky-100 dark:outline-neutral-700" /> */} {/* <hr className="my-3 outline-1 outline-neutral-content dark:outline-neutral-700" /> */}
</div> </div>
</div> </div>
</div> </div>
@ -107,7 +107,7 @@ export default function Appearance() {
<div className="flex items-center gap-2 w-full rounded-md h-8"> <div className="flex items-center gap-2 w-full rounded-md h-8">
<p className="truncate w-full pr-7 text-3xl font-thin">Link Card</p> <p className="truncate w-full pr-7 text-3xl font-thin">Link Card</p>
</div> </div>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<Checkbox <Checkbox
label="Display Icons" label="Display Icons"
state={user.displayLinkIcons} state={user.displayLinkIcons}

View File

@ -59,7 +59,7 @@ export default function Archive() {
<SettingsLayout> <SettingsLayout>
<p className="capitalize text-3xl font-thin inline">Archive Settings</p> <p className="capitalize text-3xl font-thin inline">Archive Settings</p>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<p>Formats to Archive webpages:</p> <p>Formats to Archive webpages:</p>
<div className="p-3"> <div className="p-3">

View File

@ -13,7 +13,7 @@ export default function Billing() {
<SettingsLayout> <SettingsLayout>
<p className="capitalize text-3xl font-thin inline">Billing Settings</p> <p className="capitalize text-3xl font-thin inline">Billing Settings</p>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<div className="w-full mx-auto flex flex-col gap-3 justify-between"> <div className="w-full mx-auto flex flex-col gap-3 justify-between">
<p className="text-md"> <p className="text-md">

View File

@ -54,7 +54,7 @@ export default function Password() {
return ( return (
<CenteredForm> <CenteredForm>
<div className="p-4 mx-auto relative flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 dark:border-neutral-700 bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100"> <div className="p-4 mx-auto relative flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<Link <Link
href="/settings/account" href="/settings/account"
className="absolute top-4 left-4 gap-1 items-center select-none cursor-pointer p-2 text-gray-500 dark:text-gray-300 rounded-md duration-100 hover:bg-slate-200 dark:hover:bg-neutral-700" className="absolute top-4 left-4 gap-1 items-center select-none cursor-pointer p-2 text-gray-500 dark:text-gray-300 rounded-md duration-100 hover:bg-slate-200 dark:hover:bg-neutral-700"
@ -67,7 +67,7 @@ export default function Password() {
</p> </p>
</div> </div>
<hr className="border-1 border-sky-100 dark:border-neutral-700" /> <hr className="border-1 border-neutral-content" />
<p> <p>
This will permanently delete all the Links, Collections, Tags, and This will permanently delete all the Links, Collections, Tags, and
@ -92,8 +92,8 @@ export default function Password() {
) : undefined} ) : undefined}
{process.env.NEXT_PUBLIC_STRIPE ? ( {process.env.NEXT_PUBLIC_STRIPE ? (
<fieldset className="border rounded-md p-2 border-sky-500"> <fieldset className="border rounded-md p-2 border-primary">
<legend className="px-3 py-1 text-sm sm:text-base border rounded-md border-sky-500"> <legend className="px-3 py-1 text-sm sm:text-base border rounded-md border-primary">
<b>Optional</b>{" "} <b>Optional</b>{" "}
<i className="min-[390px]:text-sm text-xs"> <i className="min-[390px]:text-sm text-xs">
(but it really helps us improve!) (but it really helps us improve!)
@ -102,7 +102,7 @@ export default function Password() {
<label className="w-full flex min-[430px]:items-center items-start gap-2 mb-3 min-[430px]:flex-row flex-col"> <label className="w-full flex min-[430px]:items-center items-start gap-2 mb-3 min-[430px]:flex-row flex-col">
<p className="text-sm">Reason for cancellation:</p> <p className="text-sm">Reason for cancellation:</p>
<select <select
className="rounded-md p-1 border-sky-100 bg-gray-50 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600 border-solid border outline-none duration-100 dark:bg-neutral-950" className="rounded-md p-1 border-neutral-content bg-gray-50 focus:border-sky-300 dark:focus:border-sky-600 border-solid border outline-none duration-100 dark:bg-neutral-950"
value={feedback} value={feedback}
onChange={(e) => setFeedback(e.target.value)} onChange={(e) => setFeedback(e.target.value)}
> >
@ -127,7 +127,7 @@ export default function Password() {
value={comment} value={comment}
onChange={(e) => setComment(e.target.value)} onChange={(e) => setComment(e.target.value)}
placeholder="e.g. I needed a feature that..." placeholder="e.g. I needed a feature that..."
className="resize-none w-full rounded-md p-2 border-sky-100 bg-gray-50 dark:border-neutral-700 focus:border-sky-300 dark:focus:border-sky-600 border-solid border outline-none duration-100 dark:bg-neutral-950" className="resize-none w-full rounded-md p-2 border-neutral-content bg-gray-50 focus:border-sky-300 dark:focus:border-sky-600 border-solid border outline-none duration-100 dark:bg-neutral-950"
/> />
</div> </div>
</fieldset> </fieldset>

View File

@ -47,7 +47,7 @@ export default function Password() {
<SettingsLayout> <SettingsLayout>
<p className="capitalize text-3xl font-thin inline">Change Password</p> <p className="capitalize text-3xl font-thin inline">Change Password</p>
<hr className="my-3 border-1 border-sky-100 dark:border-neutral-700" /> <hr className="my-3 border-1 border-neutral-content" />
<p className="mb-3"> <p className="mb-3">
To change your password, please fill out the following. Your password To change your password, please fill out the following. Your password

View File

@ -30,12 +30,12 @@ export default function Subscribe() {
process.env.NEXT_PUBLIC_TRIAL_PERIOD_DAYS || 14 process.env.NEXT_PUBLIC_TRIAL_PERIOD_DAYS || 14
}-day free trial, cancel anytime!`} }-day free trial, cancel anytime!`}
> >
<div className="p-4 mx-auto flex flex-col gap-3 justify-between dark:border-neutral-700 max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100"> <div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-neutral-content">
<p className="sm:text-3xl text-2xl text-center font-extralight"> <p className="sm:text-3xl text-2xl text-center font-extralight">
Subscribe to Linkwarden! Subscribe to Linkwarden!
</p> </p>
<hr className="border-1 border-sky-100 dark:border-neutral-700" /> <hr className="border-1 border-neutral-content" />
<div> <div>
<p> <p>
@ -47,7 +47,7 @@ export default function Subscribe() {
</p> </p>
</div> </div>
<div className="flex text-white dark:text-black gap-3 border border-solid border-sky-100 dark:border-neutral-700 w-4/5 mx-auto p-1 rounded-xl relative"> <div className="flex text-white dark:text-black gap-3 border border-solid border-neutral-content w-4/5 mx-auto p-1 rounded-xl relative">
<button <button
onClick={() => setPlan(Plan.monthly)} onClick={() => setPlan(Plan.monthly)}
className={`w-full duration-100 text-sm rounded-lg p-1 ${ className={`w-full duration-100 text-sm rounded-lg p-1 ${
@ -84,8 +84,8 @@ export default function Subscribe() {
<p className="font-semibold"> <p className="font-semibold">
Billed {plan === Plan.monthly ? "Monthly" : "Yearly"} Billed {plan === Plan.monthly ? "Monthly" : "Yearly"}
</p> </p>
<fieldset className="w-full flex-col flex justify-evenly px-4 pb-4 pt-1 rounded-md border border-sky-100 dark:border-neutral-700"> <fieldset className="w-full flex-col flex justify-evenly px-4 pb-4 pt-1 rounded-md border border-neutral-content">
<legend className="w-fit font-extralight px-2 border border-sky-100 dark:border-neutral-700 rounded-md text-xl"> <legend className="w-fit font-extralight px-2 border border-neutral rounded-md text-xl">
Total Total
</legend> </legend>

View File

@ -107,7 +107,7 @@ export default function Index() {
<div className="flex gap-2 items-end font-thin"> <div className="flex gap-2 items-end font-thin">
<FontAwesomeIcon <FontAwesomeIcon
icon={faHashtag} icon={faHashtag}
className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 dark:text-sky-500" className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-primary"
/> />
{renameTag ? ( {renameTag ? (
<> <>
@ -115,7 +115,7 @@ export default function Index() {
<input <input
type="text" type="text"
autoFocus autoFocus
className="sm:text-4xl text-3xl capitalize bg-transparent h-10 w-3/4 outline-none border-b border-b-sky-100 dark:border-b-neutral-700" className="sm:text-4xl text-3xl capitalize bg-transparent h-10 w-3/4 outline-none border-b border-b-neutral-content dark:border-b-neutral-700"
value={newTagName} value={newTagName}
onChange={(e) => setNewTagName(e.target.value)} onChange={(e) => setNewTagName(e.target.value)}
/> />

View File

@ -160,17 +160,17 @@ body {
/* react-select */ /* react-select */
@layer components { @layer components {
.react-select-container .react-select__control { .react-select-container .react-select__control {
@apply dark:bg-neutral-950 bg-gray-50 dark:border-neutral-700 dark:hover:border-neutral-500; @apply dark:bg-neutral-950 bg-gray-50 dark:hover:border-neutral-500;
}
.react-select-container {
@apply dark:border-neutral-700;
} }
.react-select-container .react-select__menu { .react-select-container .react-select__menu {
@apply dark:bg-neutral-900 dark:border-neutral-700 border; @apply dark:bg-neutral-900 dark:border-neutral-700 border;
} }
.react-select-container .react-select__menu {
@apply dark:bg-neutral-900 border;
}
.react-select-container .react-select__option { .react-select-container .react-select__option {
@apply dark:hover:bg-neutral-800; @apply dark:hover:bg-neutral-800;
} }

View File

@ -10,7 +10,9 @@ module.exports = {
secondary: "#22d3ee", secondary: "#22d3ee",
accent: "#4f46e5", accent: "#4f46e5",
neutral: "#6b7280", neutral: "#6b7280",
"neutral-content": "#d1d5db",
"base-100": "#ffffff", "base-100": "#ffffff",
"base-200": "#f3f4f6",
info: "#a5f3fc", info: "#a5f3fc",
success: "#22c55e", success: "#22c55e",
warning: "#facc15", warning: "#facc15",
@ -22,8 +24,10 @@ module.exports = {
primary: "#38bdf8", primary: "#38bdf8",
secondary: "#0284c7", secondary: "#0284c7",
accent: "#818cf8", accent: "#818cf8",
neutral: "#1f2937", neutral: "#9ca3af",
"neutral-content": "#404040",
"base-100": "#171717", "base-100": "#171717",
"base-200": "#1f2937",
info: "#009ee4", info: "#009ee4",
success: "#00b17d", success: "#00b17d",
warning: "#eac700", warning: "#eac700",