-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QSS Stylesheet? #47
Comments
Theme contained only icons - not window colors, gradients, styles and etc... |
@varlesh Ah ok. I have Breeze set as style in preferences, there isn't a Breeze Dark option, I think it only uses my active theme unless I override with QSS. So to have a dark theme applied when using a light theme only seems possible with QSS method. Is this the only colours for theme that Arc applies? |
Smplayer use .RCC files for skin - it's binary contained only PNG files and not support SVG or other vector images. Also nonKDE apps not support kde color scheme - it's imposibble. SMPlayer it's not KDE app. |
@varlesh Yes I know how to apply it, perhaps you misunderstand. I am not asking for SMPlayer theme, but QSS file that SMPlayer theme and other Qt app can use for styling differently than active theme. On KDE I have Breeze Light, but I want to have dark theme for SMPlayer(and some other apps), this can be done with QSS for Qt apps. So Arc theme colours in a This is the reddit thread and specific comment about QSS that I am referring to. And you can see on Breeze Light, with the sample QSS provided there, I get SMPlayer look like this with |
Ok i understand you want use style as on elementaryOS, where all apps have light colorscheme, but some other apps (audience and terminal) use dark. |
style.qss created on Smplayer theme directory or on main system icon theme? |
@varlesh I haven't tried it with any other apps yet. For SMPlayer, using launch options like I added the For those who want to use QSS, they'd normally just use the stylesheet option when launching the app I think, or in SMPlayer case, copy the QSS file to a Icon theme. For clarity, I placed the file at |
On oficial smplayer PPA compiled with Qt4, maybe this happened because non-Qt5 app... |
@varlesh I'm confused what your comment is about. I use KDE with light/white theme. Only for a few apps like SMPlayer, I want the app to use dark/black theme. This issue makes suggestion for |
Are you saying it is not working for you? It works for me with SMPlayer if I place the
That can only affect the titlebar. Nothing is wrong or broken for me. I only suggest for |
A style.qss (and style.qrc) would be much appreciated as well for using with PyQt / pyside. The pip and conda installs are pre-built wheels so only come with Fusion and Windows as themes. Even installing python3-pyqt5 from apt gets the right colours but retains the overall Fusion style. Be amazing if could:
For example, see QDarkStyleSheet. |
I'm not familiar with theming enough to know if qss stylesheets would be useful enough or not, but some applications like SMPlayer seem to be able to use them to make similar changes that the active DE theme would do such as a windows background.
In my case I prefer a light theme but for some apps to have a dark theme. I was able to use Breeze Light and have SMPlayer use the PapirusDark theme, but it would not look like the screenshot. Turns out that you can create a
style.qss
file to place in the themes directory and get a dark styled app.I'm not aware of any other way to apply a theme to an app different from the active one used for the rest of the DE/apps. I suggest it here as it may be useful for some other apps other than SMPlayer, users could then use the file maintained in this repo.
The text was updated successfully, but these errors were encountered: