Last active
August 29, 2015 14:02
-
-
Save spikensbror/02c1f22cb21cb44429f0 to your computer and use it in GitHub Desktop.
Various fixes for the Ayin theme that comes with Nil.
This file contains 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
Show hidden characters
[ | |
/* | |
Ayin theme for Sublime Text 2 | |
Bright variant of the Nil theme. | |
https://github.com/nilium/st2-nil-theme | |
*/ | |
/*============================================================================== | |
TABS | |
==============================================================================*/ | |
/** Tabset **/ | |
{ | |
"class": "tabset_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/tabset-bg.png", | |
"layer0.inner_margin": [2, 6], | |
"layer0.opacity": 1.0, | |
"content_margin": [0, 0, 0, 1], // left, top, right, bottom | |
"tab_overlap": 0, | |
"tab_width": 180, | |
"tab_min_width": 40, | |
"tab_height": 32, | |
"mouse_wheel_switch": false | |
}, | |
{ | |
"class": "tabset_control", | |
"settings": ["mouse_wheel_switches_tabs"], | |
"mouse_wheel_switch": true | |
}, | |
/** Tab element **/ | |
{ | |
"class": "tab_control", | |
"content_margin": [8, 4, 8, 4], | |
"max_margin_trim": 0, | |
"hit_test_level": 0.5, | |
// Tab texture (default: inactive) | |
"layer0.texture": "Theme - Nil/assets/ayin/tabs/tab-inactive.png", | |
"layer0.inner_margin": [6, 6], | |
"layer0.opacity": 1.0, | |
// Hover texture (default: clean) | |
"layer1.texture": "Theme - Nil/assets/ayin/tabs/tab-hover.png", | |
"layer1.inner_margin": [6, 6], | |
"layer1.opacity": 0.0 | |
}, | |
{ | |
/** Tab close state **/ | |
"class": "tab_control", | |
"settings": ["show_tab_close_buttons"], | |
"content_margin": [8, 4, 4, 4] | |
}, | |
{ | |
/** Hover tab state **/ | |
"class": "tab_control", | |
"attributes": ["hover"], | |
"layer1.opacity": 1.0 | |
}, | |
{ | |
/** Active tab state **/ | |
"class": "tab_control", | |
"attributes": ["selected"], | |
"layer0.texture": "Theme - Nil/assets/ayin/tabs/tab-active.png", | |
"layer1.opacity": 0.0 | |
}, | |
{ | |
"class": "tab_control", | |
"settings": ["highlight_modified_tabs"], | |
"attributes": ["dirty"], | |
"layer0.texture": "Theme - Nil/assets/ayin/tabs/tab-inactive-modified.png", | |
"layer1.texture": "Theme - Nil/assets/ayin/tabs/tab-hover-dirty.png" | |
}, | |
{ | |
"class": "tab_control", | |
"settings": ["highlight_modified_tabs"], | |
"attributes": ["dirty", "selected"], | |
"layer0.texture": "Theme - Nil/assets/ayin/tabs/tab-active-modified.png" | |
}, | |
/** Tab labels **/ | |
/** Inactive tab label **/ | |
{ | |
"class": "tab_label", | |
"fg": [80, 70, 90], | |
"shadow_color": [230, 230, 230, 255], | |
"shadow_offset": [0, 1], | |
"font.size": 11, | |
"font.bold": true, | |
"font.face": "Fira Mono", | |
}, | |
/** Active tab label **/ | |
{ | |
"class": "tab_label", | |
"parents": [{"class": "tab_control", "attributes": ["selected"]}], | |
"shadow_color": [240, 240, 240, 255], | |
"shadow_offset": [0, 1], | |
"fg": [73, 64, 85, 255] | |
}, | |
/** Dirty inactive tab label **/ | |
{ | |
"class": "tab_label", | |
"parents": [{"class": "tab_control", "attributes": ["dirty"]}], | |
"settings": ["highlight_modified_tabs"] | |
}, | |
/** Dirty active tab label **/ | |
{ | |
"class": "tab_label", | |
"parents": [{"class": "tab_control", "attributes": ["selected", "dirty"]}], | |
"settings": ["highlight_modified_tabs"] | |
}, | |
/** Tab buttons **/ | |
/** Tab button **/ | |
{ | |
"class": "tab_close_button", | |
"content_margin": [0, 0], | |
/** Tab close default settings **/ | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close.png", | |
"layer1.opacity": 0.0, // hide by default | |
"layer1.inner_margin": 0.0, | |
/** Tab close hover settings **/ | |
"layer0.texture": "Theme - Nil/assets/tab-buttons/tab-button-close-hover.png", | |
"layer0.opacity": 0.0 | |
}, | |
{ | |
/** Tab button size **/ | |
"class": "tab_close_button", | |
"settings": ["show_tab_close_buttons"], | |
"content_margin": [8, 8] | |
}, | |
{ | |
"class": "tab_close_button", | |
"parents": [{"class": "tab_control", "attributes": ["dirty"]}], | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close-dirty.png" | |
}, | |
{ | |
/** Tab close hover action **/ | |
"class": "tab_close_button", | |
"parents": [{"class": "tab_control", "attributes": ["hover"]}], | |
"layer1.opacity": 0.0, | |
"layer0.opacity": 1.0 | |
}, | |
{ | |
/** Tab close press action **/ | |
"class": "tab_close_button", | |
"attributes": ["hover"], | |
"layer1.opacity": 0.4, | |
"layer0.opacity": 1.0 | |
}, | |
{ | |
/** Tab close press action **/ | |
"class": "tab_close_button", | |
"attributes": ["pressed"], | |
"layer1.opacity": 1.0, | |
"layer0.opacity": 0.0 | |
}, | |
/*============================================================================== | |
FOLD BUTTONS | |
==============================================================================*/ | |
{ | |
"class": "fold_button_control", | |
"layer0.texture": "Theme - Nil/assets/arrows/arrow-right.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": 0, | |
"layer1.texture": "Theme - Nil/assets/arrows/arrow-right-hover.png", | |
"layer1.opacity": 0.0, | |
"layer1.inner_margin": 0, | |
"content_margin": [9, 7, 8, 6] | |
}, | |
{ | |
"class": "fold_button_control", | |
"attributes": ["hover"], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 0.75 | |
}, | |
{ | |
"class": "fold_button_control", | |
"attributes": ["pressed"], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 1.0 | |
}, | |
{ | |
"class": "fold_button_control", | |
"attributes": ["expanded"], | |
"layer0.texture": "Theme - Nil/assets/arrows/arrow-down.png", | |
"layer1.texture": "Theme - Nil/assets/arrows/arrow-down-hover.png" | |
}, | |
/*============================================================================== | |
SCROLLBARS (overlays from the default theme) | |
==============================================================================*/ | |
{ | |
"class": "scroll_bar_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/scrollbar/well-vertical.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [1, 1], | |
"blur": false | |
}, | |
{ | |
"class": "scroll_bar_control", | |
"attributes": ["horizontal"], | |
"layer0.texture": "Theme - Nil/assets/ayin/scrollbar/well-horizontal.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [1, 1], | |
"blur": false | |
}, | |
{ | |
"class": "scroll_corner_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/scrollbar/well-corner.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [1, 1] | |
}, | |
{ | |
"class": "puck_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/scrollbar/bar-vertical.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [3, 3], | |
"content_margin": [6, 6], | |
"blur": false | |
}, | |
{ | |
"class": "puck_control", | |
"attributes": ["horizontal"], | |
"layer0.texture": "Theme - Nil/assets/ayin/scrollbar/bar-horizontal.png" | |
}, | |
{ | |
"class": "scroll_area_control", | |
"settings": ["overlay_scroll_bars"], | |
"overlay": true | |
}, | |
{ | |
"class": "scroll_area_control", | |
"settings": ["!overlay_scroll_bars"], | |
"overlay": false | |
}, | |
{ | |
"class": "scroll_bar_control", | |
"settings": ["overlay_scroll_bars"], | |
"layer0.texture": "Theme - Nil/assets/overlay/overlay_bar_vertical.png", | |
"layer0.inner_margin": [0, 5], | |
"blur": true | |
}, | |
{ | |
"class": "scroll_bar_control", | |
"settings": ["overlay_scroll_bars"], | |
"attributes": ["horizontal"], | |
"layer0.texture": "Theme - Nil/assets/overlay/overlay_bar_horizontal.png", | |
"layer0.inner_margin": [5, 0], | |
"blur": true | |
}, | |
{ | |
"class": "puck_control", | |
"settings": ["overlay_scroll_bars"], | |
"layer0.texture": "Theme - Nil/assets/overlay/overlay_thumb_vertical.png", | |
"layer0.inner_margin": [0, 5], | |
"content_margin": [5, 20], | |
"blur": true | |
}, | |
{ | |
"class": "puck_control", | |
"settings": ["overlay_scroll_bars"], | |
"attributes": ["horizontal"], | |
"layer0.texture": "Theme - Nil/assets/overlay/overlay_thumb_horizontal.png", | |
"layer0.inner_margin": [5, 0], | |
"content_margin": [20, 5], | |
"blur": true | |
}, | |
{ | |
"class": "puck_control", | |
"settings": ["overlay_scroll_bars"], | |
"attributes": ["dark"], | |
"layer0.texture": "Theme - Nil/assets/overlay/overlay_dark_thumb_vertical.png" | |
}, | |
{ | |
"class": "puck_control", | |
"settings": ["overlay_scroll_bars"], | |
"attributes": ["horizontal", "dark"], | |
"layer0.texture": "Theme - Nil/assets/overlay/overlay_dark_thumb_horizontal.png" | |
}, | |
/*============================================================================== | |
EMPTY WINDOW BACKGROUND | |
==============================================================================*/ | |
{ | |
"class": "sheet_container_control", | |
"layer0.tint": [180, 180, 180], | |
"layer0.opacity": 1.0 | |
}, | |
/*============================================================================== | |
GRID LAYOUT | |
==============================================================================*/ | |
{ | |
"class": "grid_layout_control", | |
"border_size": 1, | |
"border_color": [92, 92, 92] | |
}, | |
/*============================================================================== | |
MINI MAP | |
==============================================================================*/ | |
{ | |
"class": "minimap_control", | |
"viewport_color": [185, 185, 185, 50] | |
}, | |
/*============================================================================== | |
LABELS | |
==============================================================================*/ | |
/** General labels **/ | |
{ | |
"class": "label_control", | |
"color": [70, 70, 70] | |
}, | |
/** Text field labels **/ | |
{ | |
"class": "label_control", | |
"parents": [{"class": "panel_control"}], | |
"shadow_color": [255, 255, 255, 160], | |
"shadow_offset": [0, 1] | |
}, | |
/** Button labels **/ | |
{ | |
"class": "label_control", | |
"parents": [{"class": "button_control"}], | |
"color": [70, 70, 70], | |
"shadow_color": [255, 255, 255, 160], | |
"shadow_offset": [0, 1] | |
}, | |
/*============================================================================== | |
TOOLTIP | |
==============================================================================*/ | |
/** Tooltip container **/ | |
{ | |
"class": "tool_tip_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/tooltip.png", | |
"layer0.inner_margin": [4, 4], | |
"layer0.opacity": 1, | |
"color": [110, 110, 110], | |
"content_margin": [6, 4] | |
}, | |
/** Tooltip content **/ | |
{ | |
"class": "tool_tip_label_control", | |
"color": [90, 90, 90], | |
"shadow_offset": [0, 1], | |
"shadow_color": [255, 255, 255, 160] | |
}, | |
/*============================================================================== | |
STATUS BAR | |
==============================================================================*/ | |
/** Status bar container **/ | |
{ | |
"class": "status_bar", | |
"layer0.texture": "Theme - Nil/assets/ayin/status-bar-bg.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [2, 2], | |
"content_margin": [6, 5, 6, 5] | |
}, | |
{ | |
"class": "status_button", | |
"min_size": [100, 0] | |
}, | |
/** Status bar label **/ | |
{ | |
"class": "label_control", | |
"parents": [{"class": "status_bar"}], | |
"font.size": 10, | |
"color": [80, 80, 80], | |
"shadow_color": [255, 255, 255, 160], | |
"shadow_offset": [0, 1] | |
}, | |
/*============================================================================== | |
SIDEBAR | |
==============================================================================*/ | |
/** Sidebar container (border) **/ | |
{ | |
"class": "sidebar_container", | |
"layer0.tint": [92, 92, 92], | |
"layer0.opacity": 1.0, | |
"layer0.draw_center": false, | |
"layer0.inner_margin": [0, 0, 1, 0], | |
"content_margin": [0, 0, 1, 0] | |
}, | |
/** Sidebar tree (bg) **/ | |
{ | |
"class": "sidebar_tree", | |
"dark_content": false, | |
"row_padding": [14, 5], | |
"indent": 13, | |
"indent_offset": 15, | |
"indent_top_level": false, | |
"layer0.tint": [203, 203, 203], // darker gray | |
"layer0.opacity": 1.0 | |
}, | |
/** Sidebar rows **/ | |
{ | |
"class": "tree_row", | |
"layer0.texture": "Theme - Nil/assets/ayin/tree/row-active.png", | |
"layer0.opacity": 0.0, | |
"layer0.inner_margin": [8, 3], | |
"layer1.opacity": 0.0, | |
"layer1.inner_margin": [8, 3] | |
}, | |
/** Sidebar row selected **/ | |
{ | |
"class": "tree_row", | |
"attributes": ["selected"], | |
"layer0.opacity": 1.0 | |
}, | |
/** Sidebar heading **/ | |
{ | |
"class": "sidebar_heading", | |
"color": [90, 90, 90], | |
"font.bold": true, | |
"shadow_color": [240, 240, 240, 255], | |
"shadow_offset": [0, 1], | |
"font.size": 15, | |
"font.face": "Fira Sans" | |
}, | |
{ | |
"class": "sidebar_heading", | |
"settings": ["disable_colored_group_labels"], | |
"color": [100, 100, 100] | |
}, | |
{ | |
"class": "sidebar_heading", | |
"parents": [{"class": "tree_row", "attributes": ["selected"]}], | |
"color": [80, 80, 80] | |
}, | |
/** Sidebar entry label **/ | |
{ | |
"class": "sidebar_label", | |
"color": [80, 80, 80], | |
"shadow_color": [230, 230, 230], | |
"shadow_offset": [0, 1], | |
"font.size": 14, | |
"font.bold": false, | |
"font.face": "Fira Sans" | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "tree_row", "attributes": ["expandable"]}], | |
"color": [110, 110, 110], | |
"font.bold": true | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "tree_row", "attributes": ["expandable"]}], | |
"settings": ["bold_folder_labels"], | |
"font.bold": true, | |
"color": [100, 64, 180] // text is bold, so make the color a bit sublter | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "tree_row", "attributes": ["expandable"]}], | |
"settings": ["disable_colored_folder_labels"], | |
"color": [80, 80, 80] | |
}, | |
{ // Sidebar selected entry label | |
"class": "sidebar_label", | |
"parents": [{"class": "tree_row", "attributes": ["selected"]}], | |
"color": [90, 90, 90], | |
"font.bold": true, | |
"shadow_color": [220, 220, 220], | |
"shadow_offset": [0, 1] | |
}, | |
/** Sidebar open files close/dirty **/ | |
{ | |
"class": "close_button", | |
"layer0.texture": "Theme - Nil/assets/tab-buttons/tab-button-close-hover.png", | |
"layer0.opacity": 0.75, | |
"layer0.inner_margin": 4, | |
"layer1.opacity": 0.0, | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close.png", | |
"layer1.inner_margin": 4, | |
"content_margin": [8, 8] | |
}, | |
{ | |
"class": "close_button", | |
"attributes": ["dirty"], | |
"layer0.texture": "Theme - Nil/assets/tab-buttons/tab-button-dirty.png", | |
"layer0.opacity": 0.75 | |
}, | |
{ | |
"class": "close_button", | |
"attributes": ["hover"], | |
"layer0.texture": "Theme - Nil/assets/tab-buttons/tab-button-close-hover.png", | |
"layer1.opacity": 0.75, | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close.png" | |
}, | |
{ | |
"class": "close_button", | |
"attributes": ["hover", "dirty"], | |
"layer1.opacity": 0.75, | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close-dirty.png" | |
}, | |
{ | |
"class": "close_button", | |
"attributes": ["pressed"], | |
"layer1.opacity": 1.0, | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close.png" | |
}, | |
{ | |
"class": "close_button", | |
"attributes": ["pressed", "dirty"], | |
"layer1.opacity": 1.0, | |
"layer1.texture": "Theme - Nil/assets/tab-buttons/tab-button-close-dirty.png" | |
}, | |
/** Sidebar group closed **/ | |
{ | |
"class": "disclosure_button_control", | |
"layer0.opacity": 0.7, | |
"layer0.inner_margin": 0, | |
"layer1.opacity": 0.0, | |
"layer1.inner_margin": 0, | |
"layer2.opacity": 0.0, | |
"layer2.inner_margin": 0, | |
"layer3.opacity": 0.0, | |
"layer3.inner_margin": 0 | |
}, | |
/** Arrow sidebar icons (enabled by default) **/ | |
{ | |
"class": "disclosure_button_control", | |
"settings": ["!sidebar_folders"], | |
"content_margin": [9, 7, 8, 6], | |
"layer0.texture": "Theme - Nil/assets/arrows/arrow-right.png", | |
"layer1.texture": "Theme - Nil/assets/arrows/arrow-down.png", | |
"layer2.texture": "Theme - Nil/assets/arrows/arrow-right-hover.png", | |
"layer3.texture": "Theme - Nil/assets/arrows/arrow-down-hover.png" | |
}, | |
/** Folder sidebar icons (disabled by default) **/ | |
{ | |
"class": "disclosure_button_control", | |
"settings": ["sidebar_folders"], | |
"content_margin": [10, 8, 10, 8], | |
"layer0.texture": "Theme - Nil/assets/arrows/folder-closed.png", | |
"layer1.texture": "Theme - Nil/assets/arrows/folder-open.png", | |
"layer2.texture": "Theme - Nil/assets/arrows/folder-closed-hover.png", | |
"layer3.texture": "Theme - Nil/assets/arrows/folder-open-hover.png" | |
}, | |
/** Colored folder icons (disabled by default) **/ | |
{ | |
"class": "disclosure_button_control", | |
"settings": ["colored_folder_glyphs"], | |
"layer0.tint": [240, 220, 255], | |
"layer1.tint": [240, 220, 255], | |
"layer2.tint": [206, 168, 255], | |
"layer3.tint": [206, 168, 255] | |
}, | |
{ | |
"class": "disclosure_button_control", | |
"settings": ["!colored_folder_glyphs"], | |
"layer0.tint": [255, 255, 255], | |
"layer1.tint": [255, 255, 255], | |
"layer2.tint": [255, 255, 255], | |
"layer3.tint": [255, 255, 255] | |
}, | |
/** Sidebar group closed & highlighted **/ | |
{ | |
"class": "disclosure_button_control", | |
"parents": [{"class": "tree_row", "attributes": ["hover"]}], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 0.0, | |
"layer2.opacity": 0.9, | |
"layer3.opacity": 0.0 | |
}, | |
{ | |
"class": "disclosure_button_control", | |
"parents": [{"class": "tree_row", "attributes": ["selected"]}], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 0.0, | |
"layer2.opacity": 0.9, | |
"layer3.opacity": 0.0 | |
}, | |
/** Sidebar group open **/ | |
{ | |
"class": "disclosure_button_control", | |
"attributes": ["expanded"], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 0.7, | |
"layer2.opacity": 0.0, | |
"layer3.opacity": 0.0 | |
}, | |
/** Sidebar group open & highlighted **/ | |
{ | |
"class": "disclosure_button_control", | |
"attributes": ["expanded"], | |
"parents": [{"class": "tree_row", "attributes": ["hover"]}], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 0.0, | |
"layer2.opacity": 0.0, | |
"layer3.opacity": 0.9 | |
}, | |
{ | |
"class": "disclosure_button_control", | |
"attributes": ["expanded"], | |
"parents": [{"class": "tree_row", "attributes": ["selected"]}], | |
"layer0.opacity": 0.0, | |
"layer1.opacity": 0.0, | |
"layer2.opacity": 0.0, | |
"layer3.opacity": 0.9 | |
}, | |
/*============================================================================== | |
STANDARD TEXT BUTTONS | |
==============================================================================*/ | |
/** Standard buttons (used for Find / Replace panel) **/ | |
{ | |
"class": "button_control", | |
"content_margin": [6, 5, 6, 6], | |
"min_size": [75, 0], | |
// Default button state | |
"layer0.texture": "Theme - Nil/assets/ayin/btn-large.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [6, 6], | |
// Pressed button setup | |
"layer1.texture": "Theme - Nil/assets/ayin/btn-large-active.png", | |
"layer1.opacity": 0.0, | |
"layer1.inner_margin": [6, 6] | |
}, | |
{ | |
// Pressed button state | |
"class": "button_control", | |
"attributes": ["pressed"], | |
"layer1.opacity": 1.0, | |
"content_margin": [6, 6, 6, 6] | |
}, | |
/*============================================================================== | |
TEXT INPUT FIELD | |
==============================================================================*/ | |
/** Text input field item **/ | |
{ | |
"class": "text_line_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/text-field.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [5, 5, 5, 5], | |
"content_margin": [5, 5, 5, 5] | |
}, | |
/*============================================================================== | |
PANEL BACKGROUNDS | |
==============================================================================*/ | |
/** Bottom panel background **/ | |
{ | |
"class": "panel_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/panel-bg.png", | |
"layer0.inner_margin": [4, 4, 4, 4], | |
"layer0.opacity": 1.0 | |
}, | |
/** Quick panel background **/ | |
{ | |
"class": "overlay_control", | |
"layer0.texture": "Theme - Nil/assets/ayin/quickpanel.png", | |
"layer0.inner_margin": [8, 8, 8, 8], // left, top, right, bottom | |
"layer0.opacity": 1.0, | |
"layer1.opacity": 0, // HIDDEN | |
"content_margin": [11, 8, 11, 17] | |
}, | |
/*============================================================================== | |
QUICK PANEL | |
==============================================================================*/ | |
{ | |
"class": "quick_panel", | |
"row_padding": [4, 3], | |
"layer0.tint": [45, 45, 45], | |
"layer0.opacity": 1, | |
"dark_content": false | |
}, | |
{ | |
"class": "quick_panel_row", | |
"layer0.texture": "Theme - Nil/assets/ayin/qp-row.png", | |
"layer0.opacity": 1.0, | |
"layer0.inner_margin": [6, 6, 6, 6] | |
}, | |
{ | |
"class": "quick_panel_row", | |
"attributes": ["selected"], | |
"layer0.texture": "Theme - Nil/assets/ayin/qp-row-selected.png" | |
}, | |
{ | |
"class": "quick_panel_label", | |
"fg": [60, 44, 80], | |
"match_fg": [100, 40, 180], | |
"bg": [240, 240, 240], | |
"selected_fg": [100, 40, 140], | |
"selected_match_fg": [100, 40, 180], | |
"selected_bg": [240, 240, 240] | |
}, | |
{ | |
"class": "quick_panel_path_label", | |
"fg": [60, 44, 80], | |
"match_fg": [100, 40, 180], | |
"bg": [240, 240, 240], | |
"selected_fg": [100, 40, 140], | |
"selected_match_fg": [100, 40, 180], | |
"selected_bg": [240, 240, 240] | |
}, | |
{ | |
"class": "quick_panel_score_label", | |
"fg": [60, 44, 88, 255], | |
"bg": [240, 240, 240, 255], | |
"selected_fg": [100, 40, 140, 255], | |
"selected_bg": [240, 240, 240, 255] | |
}, | |
/*============================================================================== | |
MINI QUICK PANEL | |
==============================================================================*/ | |
{ | |
"class": "mini_quick_panel_row", | |
"layer0.texture": "Theme - Nil/assets/ayin/qp-row.png", | |
"layer0.inner_margin": [6, 6, 6, 6], | |
"layer0.opacity": 1.0 | |
}, | |
{ | |
"class": "mini_quick_panel_row", | |
"attributes": ["selected"], | |
"layer0.texture": "Theme - Nil/assets/ayin/qp-row-selected.png" | |
}, | |
/*============================================================================== | |
CODE COMPLETION DROPDOWN | |
==============================================================================*/ | |
{ | |
"class": "popup_control", | |
"content_margin": [0, 0] | |
}, | |
{ | |
"class": "auto_complete", | |
"row_padding": [2, 2], | |
"layer0.tint": [240, 240, 240], | |
"layer0.opacity": 1.0, | |
"dark_content": false | |
}, | |
{ | |
"class": "auto_complete_label", | |
"fg": [92, 92, 92], | |
"match_fg": [100, 40, 180], | |
"bg": [240, 240, 240], | |
"selected_fg": [100, 40, 140], | |
"selected_match_fg": [100, 40, 180], | |
"selected_bg": [219, 173, 244] | |
}, | |
{ | |
"class": "table_row", | |
"layer0.tint": [219, 173, 244], | |
"layer0.opacity": 0.0, | |
"layer0.inner_margin": [1, 1] | |
}, | |
{ | |
"class": "table_row", | |
"attributes": ["selected"], | |
"layer0.opacity": 1.0 | |
}, | |
/*============================================================================== | |
BOTTOM PANEL BUTTONS | |
==============================================================================*/ | |
{ | |
"class": "icon_button_control", | |
"content_margin": [4, 4] | |
}, | |
{ | |
"class": "icon_button_control", | |
"attributes": ["pressed"] | |
}, | |
/** Regex search button **/ | |
{ | |
"class": "icon_regex", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/regex-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_regex", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/regex-on.png" | |
}, | |
/** Case sensitive search button **/ | |
{ | |
"class": "icon_case", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/case-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_case", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/case-on.png" | |
}, | |
/** Match whole word search button **/ | |
{ | |
"class": "icon_whole_word", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/whole-word-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_whole_word", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/whole-word-on.png" | |
}, | |
/** Reverse search direction button **/ | |
{ | |
"class": "icon_reverse", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/reverse-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_reverse", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/reverse-on.png" | |
}, | |
/** Search wrap button **/ | |
{ | |
"class": "icon_wrap", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/wrap-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_wrap", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/wrap-on.png" | |
}, | |
/** Search in selection button **/ | |
{ | |
"class": "icon_in_selection", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/selection-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_in_selection", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/selection-on.png" | |
}, | |
/** Preserve case button **/ | |
{ | |
"class": "icon_preserve_case", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/preserve-case-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_preserve_case", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/preserve-case-on.png" | |
}, | |
/** Highlight results button **/ | |
{ | |
"class": "icon_highlight", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/highlight-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_highlight", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/highlight-on.png" | |
}, | |
/*============================================================================== | |
BOTTOM PANEL ICONS (EXTENDED: FIND IN FILES) | |
==============================================================================*/ | |
/** Show search context button **/ | |
{ | |
"class": "icon_context", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/context-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_context", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/context-on.png" | |
}, | |
/** Use search buffer **/ | |
{ | |
"class": "icon_use_buffer", | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/buffer-off.png", | |
"layer0.opacity": 1.0, | |
"content_margin": [9, 10] | |
}, | |
{ | |
"class": "icon_use_buffer", | |
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}], | |
"layer0.texture": "Theme - Nil/assets/ayin/icons/buffer-on.png" | |
}, | |
{ | |
"class": "icon_folder", | |
"layer0.opacity": 0.0, | |
"content_margin": [0, 0] | |
}, | |
{ | |
"class": "icon_file_type", | |
"layer0.opacity": 0.0, | |
"content_margin": [0, 0] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment