pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.45k stars 272 forks source link

Improve support for dark themes #550

Closed J5lx closed 11 months ago

J5lx commented 7 years ago

Note: This issue is about general problems with existing dark theme support on macOS and Linux. For macOS-specific issues, see #1229. For dark mode support on Windows, see QTBUG-72028.

When using Pencil with a dark theme (in this case Adapta-Nokto via the gtk style of Qt), there currently are some components that don't adapt properly. Most of this was originally mentioned in https://github.com/pencil2d/pencil/issues/540#issuecomment-253976402 and then simply extracted into this separate issue upon suggestion of @scribblemaniac.

Pencil with the Adapta-Nokto theme

These are the issues that I see there right now, in no particular order:

Some additional remarks:

FrostyFurry commented 5 years ago

How did you even get a dark theme? I really want one.

J5lx commented 5 years ago

@FrostyFurry Sorry for not responding earlier, I noticed your comment only now. As mentioned very briefly in the OP, I configured Qt (which is the technology that Pencil2D uses for its graphical interface among many, many other things) to hand off the drawing of interface components to another technology called GTK, then in turn I configured GTK to draw the interface using a dark third-party theme (in this case Adapta-Nokto). This is a very common setup on Linux-based operating systems, however it requires additional software to be present and Pencil2D must be able to use it. Usually this is only the case on Linux-based systems where Pencil2D was provided by the operating system vendor or manually compiled from its source code, since currently none of the official releases that we provide ourselves include the necessary software. It should be possible to obtain that software yourself and configure Pencil2D to use it, however doing so will most likely prove to be very difficult and I can’t really help you with that. It has also previously been suggested that we could include a dark theme with Pencil2D by default and make it easy to use, but so far unfortunately no-one has started working on that as far as I know.