inda19plusplus / logik

Logisim clone
MIT License
2 stars 5 forks source link

GTK Theme #43

Open default-username-852 opened 4 years ago

default-username-852 commented 4 years ago

I'm using a dark GTK theme and that makes components close to invisible. Maybe there is a way to invert the components colors if you are using a dark theme?

img

NogginBops commented 4 years ago

@weerox Do you want to take this issue or should I figure it out?

weerox commented 4 years ago

@NogginBops You can have a try at it. I tried to research a solution but it seems to be kinda complicated, because themes aren't labeled as Light/Dark, they just set certain colors (background, text etc.). I think I read somewhere that you could figure it out by fetching background (and other relevant) colors and mix them and check if they exceed some sort of threshold, in which case the theme is determined to be a Dark version.