Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
fix: fields name/label on dark mode (documenso#1242)
Browse files Browse the repository at this point in the history
Updates the dark mode styling for field editing to improve readability.
  • Loading branch information
catalinpit authored Jul 31, 2024
1 parent 1beb434 commit 909c38f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ui/primitives/document-flow/add-fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,11 @@ export const AddFieldsFormPartial = ({
{selectedField && (
<div
className={cn(
'pointer-events-none fixed z-50 flex cursor-pointer flex-col items-center justify-center bg-white transition duration-200',
'text-muted-foreground dark:text-muted-background pointer-events-none fixed z-50 flex cursor-pointer flex-col items-center justify-center bg-white transition duration-200',
selectedSignerStyles.default.base,
{
'-rotate-6 scale-90 opacity-50': !isFieldWithinBounds,
'-rotate-6 scale-90 opacity-50 dark:bg-black/20': !isFieldWithinBounds,
'dark:text-black/60': isFieldWithinBounds,
},
)}
style={{
Expand Down

0 comments on commit 909c38f

Please sign in to comment.