refactor: Update context menu styles and colors
This commit is contained in:
@@ -23,10 +23,11 @@ const ContextMenuContainer: FC<ContextMenuProps> = ({
|
|||||||
<div
|
<div
|
||||||
ref={contextMenuRef}
|
ref={contextMenuRef}
|
||||||
onClick={closeContextMenu}
|
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 }}
|
style={{ position: "absolute", top: y, left: x }}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
className="hover:bg-primary-content hover:text-primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.log("Option ", file?.attributes.name);
|
console.log("Option ", file?.attributes.name);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -98,8 +98,7 @@ const Index = () => {
|
|||||||
)}
|
)}
|
||||||
{fileList.map((file: FileProps) => (
|
{fileList.map((file: FileProps) => (
|
||||||
<div
|
<div
|
||||||
isfile={file.attributes.is_file.toString()}
|
className="flex justify-between gap-4 bg-content mb-1 hover:bg-neutral-content pl-4 pr-4 pt-1 pb-1 rounded-md"
|
||||||
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"
|
|
||||||
key={file.attributes.name}
|
key={file.attributes.name}
|
||||||
>
|
>
|
||||||
<div className="w-10">
|
<div className="w-10">
|
||||||
|
|||||||
Reference in New Issue
Block a user