Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: css variable for ring color

Marc Seitz1754ba96d3ac
diff --git a/components/folders/folder-icon-picker.tsx b/components/folders/folder-icon-picker.tsx
index 620be76f..27198193 100644
--- a/components/folders/folder-icon-picker.tsx
+++ b/components/folders/folder-icon-picker.tsx
@@ -164,8 +164,8 @@ export function FolderIconColorPicker({
)}
style={{
backgroundColor: hex,
- ...(isSelected && { ringColor: hex }),
- }}
+ ...(isSelected && { '--tw-ring-color': hex }),
+ } as React.CSSProperties}
title={colorOption.label}
aria-label={`Select ${colorOption.label} color`}
/>