That a pretty elegant and pythonic way to get a dark theme for leo

(sudo )pip install qdarkstyle


Then in the body of a node and copy the following, then type CTR+B and you 
get it :)

import qdarkstyle
from leo.core.leoQt import isQt5
if isQt5:
  sheet = qdarkstyle.load_stylesheet_pyqt5()
else:
  sheet = qdarkstyle.load_stylesheet(pyside=False)
  
g.app.gui.frameFactory.masterFrame.setStyleSheet(sheet)


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to