ITADN

Customization highlight button

#32Closeddutrieux 创建于 2025-07-18
D
dutrieuxcommented
Hi, I am implementing a dark mode theme for a QuillJS editor using @enzedonline/quill-blot-formatter2. The button highlight effect in the overlay toolbar, applied via this.element.style.setProperty('filter', 'invert(20%)'), does not visually integrate well with a dark mode UI. The filter: invert(20%) effect creates a subtle highlight that is more suited to light themes and appears inconsistent in a dark theme. The documentation lacks guidance on how to customize or override this inline style to better support dark mode (e.g., using a different filter, background color, or border to create a visually appealing highlight effect). Is they a solution for that ? Best regards Duto
关闭于 2025-07-30 4 条评论