refactor: Update context menu styles and colors

This commit is contained in:
2024-08-26 22:15:02 +00:00
parent 01a1f180d6
commit 2f2eb83e3f
2 changed files with 3 additions and 3 deletions

View File

@@ -23,10 +23,11 @@ const ContextMenuContainer: FC<ContextMenuProps> = ({
<div
ref={contextMenuRef}
onClick={closeContextMenu}
className="bg-primary text-white p-2 rounded-md cursor-pointer"
className="bg-secondary text-secondary-content p-2 rounded-md cursor-pointer"
style={{ position: "absolute", top: y, left: x }}
>
<div
className="hover:bg-primary-content hover:text-primary"
onClick={() => {
console.log("Option ", file?.attributes.name);
}}

View File

@@ -98,8 +98,7 @@ const Index = () => {
)}
{fileList.map((file: FileProps) => (
<div
isfile={file.attributes.is_file.toString()}
className="flex justify-between gap-4 bg-slate-400 mb-1 hover:bg-slate-500 pl-4 pr-4 pt-1 pb-1 rounded-md"
className="flex justify-between gap-4 bg-content mb-1 hover:bg-neutral-content pl-4 pr-4 pt-1 pb-1 rounded-md"
key={file.attributes.name}
>
<div className="w-10">