Leo Dark on Linux

64 views
Skip to first unread message

Davy Cottet

unread,
Dec 11, 2014, 3:30:08 AM12/11/14
to leo-e...@googlegroups.com


Hi,
I've played a bit with my theme since I wanted a dark one in order to save my eyes.
I'm glad to show you my nice Leo :

It's pretty straightforward to get it :
 - install this nice theme : http://gnome-look.org/content/show.php/HackStation?content=167255

 - then just override Leo's qt style sheet by adding an empty @data qt-gui-plugin-style-sheet to your @settings

 - I struggled a bit to finally find out that the only settings that are not handled by qt are the log pane text colors, so add those settings :
@color log_text_foreground_color = #93a1a1
@color log_error_color = #dc322f
@color log_warning_color = #268bd2

Finally, I've made a pack of transparent icons to be used more generically :
@string color_theme = transparent

I could upload them to github if you like.


Zoom.Quiet

unread,
Dec 11, 2014, 4:28:32 AM12/11/14
to leo-e...@googlegroups.com
MUST! i love it!
also can working in MAC,i guess ?
 

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.



--
Life's Pathetic, Let's Pythonic! 人生苦短, Python是岸!
俺: http://zoomquiet.io
授: http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization be learnning!

Davy Cottet

unread,
Dec 11, 2014, 4:45:54 AM12/11/14
to leo-e...@googlegroups.com
I really don't know how it works on mac...
From a quick google search, it seems possible to install gtk based themes on mac... then one has to see if Qt-settings is able to detect and use it...
All the magic comes from Qgtkstyle which use gtk themes to render Qt apps.

A more cross platform way would be to transcribe this gtk theme to a qt style sheet, but that's more work to be done.

Davy Cottet

unread,
Dec 11, 2014, 5:00:49 AM12/11/14
to leo-e...@googlegroups.com
I think installing gtk themes for qt use is a bit complicated is your system is not GTK based.
Qt style sheets may be a better way to customize Leo without changing all your desktop theme.
i just did a quick search and find this that looks promizing : https://github.com/ColinDuquesnoy/QDarkStyleSheet

Davy Cottet

unread,
Dec 11, 2014, 5:36:44 AM12/11/14
to leo-e...@googlegroups.com
I've posted a Qt base crossplatform solution, here : https://groups.google.com/forum/#!topic/leo-editor/j9oibfegjE8

Edward K. Ream

unread,
Dec 11, 2014, 7:06:38 AM12/11/14
to leo-editor
On Thu, Dec 11, 2014 at 2:30 AM, Davy Cottet <cotte...@gmail.com> wrote:
 
It's pretty straightforward to get it :
 - install this nice theme : http://gnome-look.org/content/show.php/HackStation?content=167255

 - then just override Leo's qt style sheet by adding an empty @data qt-gui-plugin-style-sheet to your @settings

​Excellent.  Very easy to install and it looks great.  This will be an excellent addition to the FAQ.

Edward
Reply all
Reply to author
Forward
0 new messages