Last active
December 25, 2015 19:09
-
-
Save gatesphere/7025807 to your computer and use it in GitHub Desktop.
Leo - Light Dusk theme (body editor only) Copy the raw text below (it contains a Leo tree) and paste it into your myLeoSettings.leo under @settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Created by Leo (http://leoeditor.com/leo_toc.html) --> | |
<?xml-stylesheet ekr_test?> | |
<leo_file xmlns:leo="http://www.leo-editor.org/2011/leo" > | |
<leo_header file_format="2"/> | |
<vnodes> | |
<v t="peckj.20131009135732.3509"><vh>Body editor: light-dusk</vh> | |
<v t="peckj.20131009135732.3491"><vh>Colors</vh> | |
<v t="peckj.20131122130640.6165"><vh>Color definitions</vh> | |
<v t="peckj.20131122130640.6166"><vh>@color MistyRose1 = #FFE4E1</vh></v> | |
<v t="peckj.20131122130640.6167"><vh>@color LightSteelBlue1 = #CAE1FF</vh></v> | |
<v t="peckj.20131122130640.6168"><vh>@color LightBlue = #ADD8E6</vh></v> | |
<v t="peckj.20131122130640.6169"><vh>@color LightDuskKeyword = #859900</vh></v> | |
<v t="peckj.20131122130640.6170"><vh>@color LightDuskLiteral = #269186</vh></v> | |
<v t="peckj.20131122130640.6171"><vh>@color LightDuskURL = #CB4B16</vh></v> | |
<v t="peckj.20131122130640.6172"><vh>@color LightDuskLeoKeyword = #268BD2</vh></v> | |
<v t="peckj.20131122133327.6090"><vh>@color LightDuskBodyBackground = #FDF6E3</vh></v> | |
<v t="peckj.20131122133327.6091"><vh>@color LightDuskBodyForeground = #3A484D</vh></v> | |
<v t="peckj.20131122133327.6094"><vh>@color LightDuskBodySelectionForeground = @LightDuskBodyForeground</vh></v> | |
<v t="peckj.20131122133327.6095"><vh>@color LightDuskBodySelectionBackground = #DEDDB1</vh></v> | |
</v> | |
<v t="peckj.20131122130640.6173"><vh>Text</vh> | |
<v t="peckj.20131122133157.4863"><vh>Syntax highlighting (doesn't dereference)</vh> | |
<v t="peckj.20131009135732.3492"><vh>@color blank_color = grey</vh></v> | |
<v t="peckj.20131009135732.3493"><vh>@color tab_color = red</vh></v> | |
<v t="peckj.20131009135732.3494"><vh>@color label_color = red</vh></v> | |
<v t="peckj.20131122132728.4863"><vh>@color leo_keyword_color = #268BD2</vh></v> | |
<v t="peckj.20131122132728.4864"><vh>@color url_color = #CB4B16</vh></v> | |
<v t="peckj.20131009135732.3495"><vh>@color keyword1_color = #859900</vh></v> | |
<v t="peckj.20131009135732.3511"><vh>@color keyword2_color = #859900</vh></v> | |
<v t="peckj.20131009135732.3513"><vh>@color keyword3_color = #859900</vh></v> | |
<v t="peckj.20131009135732.3515"><vh>@color keyword4_color = #859900</vh></v> | |
<v t="peckj.20131009135732.3499"><vh>@color literal1_color = #269186</vh></v> | |
<v t="peckj.20131009135732.3500"><vh>@color literal2_color = #269186</vh></v> | |
<v t="peckj.20131009135732.3501"><vh>@color literal3_color = #269186</vh></v> | |
<v t="peckj.20131009135732.3502"><vh>@color literal4_color = #269186</vh></v> | |
<v t="peckj.20131009135732.3504"><vh>@color comment1_color = #586E76</vh></v> | |
<v t="peckj.20131009135732.3505"><vh>@color comment2_color = #586E76</vh></v> | |
<v t="peckj.20131009135732.3506"><vh>@color comment3_color = #586E76</vh></v> | |
<v t="peckj.20131009135732.3507"><vh>@color comment4_color = #586E76</vh></v> | |
<v t="peckj.20131009135732.3508"><vh>@color operator_color = #839496</vh></v> | |
</v> | |
<v t="peckj.20131122133327.6081"><vh>Styling (dereferences)</vh> | |
<v t="peckj.20131122133327.6092"><vh>@color text-selection-foreground = @LightDuskBodySelectionForeground</vh></v> | |
<v t="peckj.20131122133327.6093"><vh>@color text-selection-background = @LightDuskBodySelectionBackground</vh></v> | |
<v t="peckj.20131122133327.6083"><vh>@color text-foreground = black</vh></v> | |
<v t="peckj.20131122133327.6085"><vh>@color text-foreground-body = @LightDuskBodyForeground</vh></v> | |
<v t="peckj.20131122133327.6087"><vh>@color text-foreground-tree = @text-foreground</vh></v> | |
<v t="peckj.20131122133327.6089"><vh>@color text-foreground-log = @text-foreground</vh></v> | |
</v> | |
</v> | |
<v t="peckj.20131122130640.6174"><vh>Minibuffer (dereferences)</vh> | |
<v t="peckj.20131122124037.6143"><vh>@color minibuffer-warning-color = lightgrey</vh></v> | |
<v t="peckj.20131122124037.6145"><vh>@color minibuffer-background-color = lightblue</vh></v> | |
<v t="peckj.20131122124037.6147"><vh>@color minibuffer-error-color = red</vh></v> | |
<v t="peckj.20131122124037.6149"><vh>@color minibuffer-foreground-color = black</vh></v> | |
</v> | |
<v t="peckj.20131122130640.6175"><vh>Script Buttons (dereferences)</vh> | |
<v t="peckj.20131122130322.6154"><vh>@color script-button-button-btn-bg = #ffffcc</vh></v> | |
<v t="peckj.20131122130640.6154"><vh>@color run-script-btn-bg = @MistyRose1</vh></v> | |
<v t="peckj.20131122130640.6156"><vh>@color debug-script-btn-bg = @MistyRose1</vh></v> | |
<v t="peckj.20131122130640.6158"><vh>@color script-button-btn-bg = @MistyRose1</vh></v> | |
<v t="peckj.20131122130640.6160"><vh>@color generic-button-btn-bg = @LightSteelBlue1</vh></v> | |
<v t="peckj.20131122131811.6070"><vh>@color quick-move-btn-bg = @LightSteelBlue1</vh></v> | |
<v t="peckj.20131122132210.6073"><vh>@color interact-btn-bg = @LightBlue</vh></v> | |
<v t="peckj.20131122132210.6075"><vh>@color at-button-btn-bg = @LightSteelBlue1</vh></v> | |
</v> | |
</v> | |
<v t="peckj.20131122130640.6182"><vh>Fonts</vh> | |
<v t="peckj.20131122130640.6183"><vh>@string font-family = DejaVu Sans Mono</vh></v> | |
<v t="peckj.20131122130640.6184"><vh>@string font-size = 12px</vh></v> | |
<v t="peckj.20131122130640.6185"><vh>@string font-size-body = 13px</vh></v> | |
<v t="peckj.20131122130640.6186"><vh>@string font-size-tree = @font-size</vh></v> | |
<v t="peckj.20131122130640.6187"><vh>@string font-size-log = @font-size</vh></v> | |
</v> | |
<v t="peckj.20131122140520.4903"><vh>@data qt-gui-plugin-style-sheet</vh></v> | |
</v> | |
</vnodes> | |
<tnodes> | |
<t tx="peckj.20131009135732.3491"></t> | |
<t tx="peckj.20131009135732.3492"></t> | |
<t tx="peckj.20131009135732.3493"></t> | |
<t tx="peckj.20131009135732.3494"></t> | |
<t tx="peckj.20131009135732.3495">was blue | |
Solarized blue #268bd2</t> | |
<t tx="peckj.20131009135732.3499">was #00aa00 (Idle comment green) | |
Solarize green #859900 | |
Solarized cyan #2aa198 | |
Solarized violet #6c71c4 | |
Solarized orange #cb4b16</t> | |
<t tx="peckj.20131009135732.3500"></t> | |
<t tx="peckj.20131009135732.3501"></t> | |
<t tx="peckj.20131009135732.3502"></t> | |
<t tx="peckj.20131009135732.3504">was firebrick3 | |
Solarized colors: | |
magenta #d33682 | |
Dark comments base01 | |
Light comments base1 comments | |
</t> | |
<t tx="peckj.20131009135732.3505"></t> | |
<t tx="peckj.20131009135732.3506"></t> | |
<t tx="peckj.20131009135732.3507"></t> | |
<t tx="peckj.20131009135732.3508"></t> | |
<t tx="peckj.20131009135732.3509"></t> | |
<t tx="peckj.20131009135732.3511">was blue | |
Solarized blue #268bd2</t> | |
<t tx="peckj.20131009135732.3513">was blue | |
Solarized blue #268bd2</t> | |
<t tx="peckj.20131009135732.3515">was blue | |
Solarized blue #268bd2</t> | |
<t tx="peckj.20131122124037.6143"></t> | |
<t tx="peckj.20131122124037.6145"></t> | |
<t tx="peckj.20131122124037.6147"></t> | |
<t tx="peckj.20131122124037.6149"></t> | |
<t tx="peckj.20131122130322.6154"></t> | |
<t tx="peckj.20131122130640.6154"></t> | |
<t tx="peckj.20131122130640.6156"></t> | |
<t tx="peckj.20131122130640.6158"></t> | |
<t tx="peckj.20131122130640.6160"></t> | |
<t tx="peckj.20131122130640.6165">These are definitions of colors not defined by default, so | |
you can refer to "solarized-red" as "@solarized-red" instead | |
of "#dc322f". You probably don't need to touch these, although | |
you could add new color names of your own.</t> | |
<t tx="peckj.20131122130640.6166"></t> | |
<t tx="peckj.20131122130640.6167"></t> | |
<t tx="peckj.20131122130640.6168"></t> | |
<t tx="peckj.20131122130640.6169"></t> | |
<t tx="peckj.20131122130640.6170"></t> | |
<t tx="peckj.20131122130640.6171"></t> | |
<t tx="peckj.20131122130640.6172"></t> | |
<t tx="peckj.20131122130640.6173"></t> | |
<t tx="peckj.20131122130640.6174"></t> | |
<t tx="peckj.20131122130640.6175"></t> | |
<t tx="peckj.20131122130640.6182">You can change all font sizes at once by changing @font-size, or set -body, | |
-tree and -log settings to individual 'XXpt' values.</t> | |
<t tx="peckj.20131122130640.6183">test text</t> | |
<t tx="peckj.20131122130640.6184">Size for primary text windows.</t> | |
<t tx="peckj.20131122130640.6185">This setting must exists for Ctrl-mousewheel font zooming to work.</t> | |
<t tx="peckj.20131122130640.6186"></t> | |
<t tx="peckj.20131122130640.6187"></t> | |
<t tx="peckj.20131122131811.6070"></t> | |
<t tx="peckj.20131122132210.6073"></t> | |
<t tx="peckj.20131122132210.6075"></t> | |
<t tx="peckj.20131122132728.4863"></t> | |
<t tx="peckj.20131122132728.4864"></t> | |
<t tx="peckj.20131122133157.4863"></t> | |
<t tx="peckj.20131122133327.6081"></t> | |
<t tx="peckj.20131122133327.6083"></t> | |
<t tx="peckj.20131122133327.6085"></t> | |
<t tx="peckj.20131122133327.6087"></t> | |
<t tx="peckj.20131122133327.6089">Doesn't work just at the moment.</t> | |
<t tx="peckj.20131122133327.6090"></t> | |
<t tx="peckj.20131122133327.6091"></t> | |
<t tx="peckj.20131122133327.6092"></t> | |
<t tx="peckj.20131122133327.6093"></t> | |
<t tx="peckj.20131122133327.6094"></t> | |
<t tx="peckj.20131122133327.6095"></t> | |
<t tx="peckj.20131122140520.4903">/* Documentation of Qt stylesheets at http://doc.trolltech.com/4.2/stylesheet.html */ | |
/* | |
Buttons may be styled by name: | |
QPushButton#<button text>-button { <style> } | |
or by kind: | |
QPushButton[button_kind="<button kind>"] { <style> } | |
Button kinds are: | |
'run-script' (the singleton run-script button), | |
'debug-script', | |
'script-button-button' (the singleton script-button button), | |
'script-button' (buttons created by the script-button button), | |
'generic-button' (default), | |
'quick-move' from the quickMove plugin, | |
'interact' from the interact plugin, | |
'at-button' (created from @button nodes) | |
Search 'button_kind' below for button styling examples. | |
*/ | |
/* Valid color names: http://www.w3.org/TR/SVG/types.html#ColorKeywords */ | |
/* | |
Important: this stylesheets is responsible for most, but *not* all, of Leos appearance. | |
See also settings in "Colorizer and colors" | |
*/ | |
QScrollArea { | |
background-color: white; | |
} | |
/* Components of the Find Tab */ | |
QWidget#findTab { | |
background-color: white; | |
} | |
QLabel#findHeading { | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
QLabel#findLabel { | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
QLabel#changeLabel { | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
QLabel#findHelp { | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
QLineEdit#findPattern { | |
font-family: DejaVu Sans Mono; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
QLineEdit#findChange { | |
font-family: DejaVu Sans Mono; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
/* A QWidget: supports only background attributes.*/ | |
QSplitter::handle { | |
background-color: @LightSteelBlue1; | |
} | |
QStackedWidget { | |
/* background-color:lightpink; */ | |
border-color: red; | |
padding: 0px; | |
/* border-width: 0px; */ | |
/* background-color: yellow; */ | |
} | |
QSplitter { | |
border-color: white; | |
background-color: white; | |
border-style: solid; | |
} | |
QTreeWidget { | |
/* These apply to the selected item, but not to editing items.*/ | |
color: @text-foreground-tree; | |
background-color: #ffffec; /* Leo's traditional tree color */ | |
selection-color: black; /* was white */ | |
selection-background-color: lightgrey; | |
/* font-family: SansSerif; */ | |
font-family: @font-family; | |
font-size: @font-size-tree; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal, italic,oblique */ | |
show-decoration-selected: 1 /* 1: select entire row */ | |
} | |
/* Headline edit widgets */ | |
QTreeWidget QLineEdit { | |
background-color: cornsilk; | |
selection-color: white; | |
selection-background-color: blue; | |
font-family: @font-family; | |
font-size: @font-size-tree; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal, italic,oblique */ | |
} | |
/* The log panes */ | |
QTextEdit { | |
background-color: white; /* #f2fdff; */ | |
color: @text-foreground-log; | |
selection-color: white; | |
selection-background-color: blue; | |
/* font-family: Courier New; */ | |
font-family: @font-family; | |
font-size: @font-size-log; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal, italic,oblique */ | |
} | |
/* The body pane */ | |
QTextEdit#richTextEdit { | |
background-color: @LightDuskBodyBackground; /* #fdf5f5; A kind of pink. */ | |
color: @text-foreground-body; | |
selection-color: @LightDuskBodySelectionForeground; | |
selection-background-color: @LightDuskBodySelectionBackground; | |
font-family: @font-family; | |
/* font-family: Courier New; */ | |
font-size: @font-size-body; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
/* Editor labels */ | |
QLineEdit#editorLabel { | |
background-color: #ffffec; | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
border: 2px; | |
margin: 2px; | |
} | |
/* The text "Minibuffer" in the minibuffer area. | |
Do not overide QLabel directly. It is used for dialog text. | |
*/ | |
QLabel#minibufferLabel { | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; | |
font-style: normal; | |
} | |
/* | |
QLabel { | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; | |
font-style: normal; | |
border: 2px; | |
margin: 2px; | |
} | |
*/ | |
/* The mini-buffer | |
**Important**: Because Leo changes the color of the minibuffer dynamically, | |
stylesheets can not be used. Instead, set the desired colors using one of the | |
following settings, with defaults as shown:: | |
@color minibuffer-background-color = lightblue | |
@color minibuffer-error-color = red | |
@color minibuffer-foreground-color = black | |
@color minibuffer-warning-color = lightgrey | |
*/ | |
QLineEdit#lineEdit { | |
color: @minibuffer_foreground_color; | |
background-color: @minibuffer_background_color; | |
} | |
QLineEdit#lineEdit[style_class ~= 'minibuffer_warning'] { | |
background-color: @minibuffer_warning_color; | |
} | |
QLineEdit#lineEdit[style_class ~= 'minibuffer_error'] { | |
color: @minibuffer_error_color; | |
background-color: @minibuffer_warning_color; | |
} | |
QLineEdit#lineEdit { | |
selection-color: white; | |
selection-background-color: lightgrey; | |
font-family: @font-family; | |
font-size: 10pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
QLineEdit#status1 { | |
background-color: lightgrey; | |
border-width: 1px; | |
border-style: solid; | |
border-color: darkgrey; | |
font-size: 10pt; | |
} | |
QLineEdit#status2 { | |
background-color: lightgrey; | |
border-width: 1px; | |
border-style: solid; | |
border-color: darkgrey; | |
font-size: 10pt; | |
} | |
/* button_kind based button coloring */ | |
QPushButton[button_kind="run-script"] { | |
background-color: @run-script-btn-bg; } | |
QPushButton[button_kind="debug-script"] { | |
background-color: @debug-script-btn-bg; } | |
QPushButton[button_kind="generic-button"] { | |
background-color: @generic-button-btn-bg; } | |
QPushButton[button_kind="quick-move"] { | |
background-color: @quick-move-btn-bg; } | |
QPushButton[button_kind="interact"] { | |
background-color: @interact-btn-bg; } | |
QPushButton[button_kind="at-button"] { | |
background-color: @at-button-btn-bg; } | |
QPushButton[button_kind="script-button"] { | |
background-color: @script-button-btn-bg; } | |
/* example of name based button coloring. Coincidentally, the | |
name and button_kind of this button are the same */ | |
QPushButton#script-button-button { | |
background-color: @script-button-button-btn-bg; } | |
QPlainTextEdit#screencastcaption { | |
background-color: yellow; | |
font-family: @font-family; /* Times New Roman; */ | |
font-size: 18pt; | |
font-weight: normal; /* normal,bold,100,..,900 */ | |
font-style: normal; /* normal,italic,oblique */ | |
} | |
/* focused pane border highlight */ | |
QTextEdit#log-widget, LeoQTreeWidget#treeWidget, QTextEdit#richTextEdit { | |
border-style: @focused-border-style; | |
border-width: @focused-border-width; | |
border-color: @focused-border-unfocus-color; | |
} | |
QTextEdit:focus#log-widget, LeoQTreeWidget:focus#treeWidget, QTextEdit:focus#richTextEdit { | |
border-style: @focused-border-style; | |
border-width: @focused-border-width; | |
border-color: @focused-border-focus-color; | |
} | |
</t> | |
</tnodes> | |
</leo_file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment