Edit Dark Theme

Plug-ins, add-ons, skins, icons, templates and other downloads. Contributions are welcome.

Moderators: XnTriq, helmut, xnview

ausnahmefehler
Posts: 1
Joined: Wed Apr 30, 2014 12:59 pm

Edit Dark Theme

Post by ausnahmefehler »

Hello,

I want to edit the "DarkTheme" in style_sheet.qss file.
Where can I change the color of the main-window like "folder-explorer" and "main menu"?

At this moment is has a light grey, but I wanted it more dark.

It would be great if you can help me.

Thanks a lot.

A.
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Edit Dark Theme

Post by XnTriq »

Code: Select all

QDockWidget::title {
background-color: rgb(90, 90, 90);
}

QTreeView {
background-color: rgb(90, 90, 90);
alternate-background-color: rgb(100, 100, 100);
}

QMenuBar {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(120, 120, 120), stop:1 rgb(100, 100, 100));
}

QToolBar:horizontal {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(100, 100, 100), stop:1 rgb(80, 80, 80));
}
Is that what you're looking for?
Ника
Posts: 13
Joined: Mon Nov 24, 2014 9:24 pm

Re: Edit Dark Theme

Post by Ника »

Hi,

I almost posted a new topic, but then I found this one.

In the dark theme, the Preview background is white.

I suppose it could be changed in black or dark, but what is a exact code?
I tried:
Preview
PreviewVindow...


Preview {
background-color: rgb(90, 90, 90);
}

Thanks in advance,
Cheers,
Nika
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Edit Dark Theme

Post by XnTriq »

Hi Nika

Tools » Settings... » Browser » Browser » Preview background color
Ника
Posts: 13
Joined: Mon Nov 24, 2014 9:24 pm

Re: Edit Dark Theme

Post by Ника »

So, I was looking at the wrong place the whole time...
Got it, it's changed.

Thanks
Nika
yozhic
Posts: 1
Joined: Fri Jun 05, 2015 12:47 pm

Re: Edit Dark Theme

Post by yozhic »

Hello. How can I fix this problem?
Added on next day:
Sorry. It solved.