mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 09:11:38 +00:00
Add dark mode
This commit is contained in:
@ -22,9 +22,9 @@ const CopyButton = ({ onClick }: CopyButtonProps) => {
|
||||
className={classNames(
|
||||
'flex items-center justify-center',
|
||||
'border rounded-md absolute',
|
||||
'top-4 right-4 p-2 opacity-0',
|
||||
'top-4 right-4 p-[6px] opacity-0',
|
||||
'group-hover:opacity-100',
|
||||
'transition-opacity',
|
||||
'transition-opacity dark:border-gray-700',
|
||||
'duration-300',
|
||||
styles.btn
|
||||
)}
|
||||
|
Reference in New Issue
Block a user