On Thursday, March 9, 2017 at 12:13:26 PM UTC-6, Edward K. Ream wrote:
>
> Rev 1311548 adds *@theme windows ekr dark* to leoSettings.leo.
>
... 

> The new theme is exactly the same as "leo_dark theme 0", except...
>             All stylesheet entries in zz overrides.
>

The funny name ensures that the node will be last in the list of children 
of the @data node, even if alphabetized, which insures that the contents of 
the zz node overrides all other stylesheet entries.  Here it is:

    /* ===== Overrides of previous settings ===== */
    
    QTreeWidget QLineEdit {
        font-family:    14pt;
    }
    QTreeWidget::selected {
        background: @solarized-yellow; 
    }
    QTreeWidget::active:selected {
        background: @solarized-yellow;
    }
    QTreeView::item:selected {
        background: @solarized-yellow;
    }
    QTreeView::item:active:selected {
        background: @solarized-yellow;
    }

This is great.  I can confine my hacking to a single node, which 
drastically lessens confusion.

Edward

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to