# [Ipe-discuss] LaTeX code unreadable in Edit Text Object window on a dark theme

Otfried Cheong ipe at otfried.org
Wed May 26 19:51:18 CEST 2021

On Wed, May 26, 2021, at 09:52, Manoj Baishya via Ipe-discuss wrote:
> I am using Ipe v7.2.20 on LinuxMint 20.1 with a dark theme. When
> inserting LaTeX labels on a diagram, the math symbols code text (for ex,
> "\sigma_t", "\alpha_p", etc) in the editor area of the "Edit Text
> Object" window is highlighted in a dark blue colour, making it
> unreadable and I have to squint my eyes to see what I have typed :) Is
> it possible to change the math code highlight colour to match the dark
> theme? Eg. through the Qt5 settings window, I may be able to set font
> colour properties in a custom .qss using the class of the math code
> text. This is a minor annoyance but nonetheless some pointers will be
> appreciated!

I'm afraid these colours are currently hardcoded.  It should probably be changed to take colours from the current theme.

Somehow this has been overlooked so far, I guess the dark mode is not used that much.

Cheers,
Otfried