Closed Khalilsqu closed 5 years ago
Thoughts @jnsebgosselin ?
Not sure wither you agree on these changes.
But maybe there is a better way to get a different color (e.g. red) rather than hard coding it.
Not sure wither you agree on these changes.
Thanks a lot @Khalilsqu for taking a look at this one! I think they are fine, so please create a PR for them.
I think we should try to use a color and thickness defined by the theme, if it is possible, instead of using hard coded values specific for the plots plugin.
I have no idea how to use the theme to get different colors.
There are only two colors returned from colorname = self.canvas.palette().highlight().color().name()
when I tried some different syntax themes.
Dark Mode automatic spyder/dark #1464a0 automatic emacs #1464a0 automatic inkpot #1464a0 automatic monokai #1464a0 automatic nightlion #1464a0 automatic oblivion #1464a0 automatic oblivion #1464a0 automatic obsidian #1464a0 automatic pastel #1464a0 automatic zenburn #1464a0
Light Mode automatic spyder #0078d7 automatic idle #0078d7 automatic minimal #0078d7 automatic notepad++ #0078d7 automatic pydev #0078d7 automatic roboticket #0078d7 automatic scintilla #0078d7
As you can see the color #1464a0 is quite close to the spyder default dark mode/theme background color and thus not clearly visible on highlighted thumbnails.
Ah yeah you are right... it won't be easy to get the value used by the dark theme because those are hard coded in the theme and I'm not sure they are available... Ok then, let's go with the if darkstyle
route.
@goanpeca do you want the color used saved somewhere else, because I think you are trying to gather them in a same place?
I think you are trying to gather them in a same place?
I think that's not possible right now, but in the link below you can find the colors used for selections in QDarkstyle:
https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/qdarkstyle/palette.py
Indeed until we release a newer version of QDarkStyle, we have to "hardcode" them
In the dark mode when scrolling through the figures it is not very clear which is the currently shown figure, Whereas in the light mode there is a blue boundary surrounding the selected figure.
Drak Mode
Light Mode
Is it possible to make a similar boundary with probably a different color than blue for Dark theme to clarify what is the currently displayed figure? and possibly also make the thickness of the boundary line higher
Dependencies