Skip to content

Instantly share code, notes, and snippets.

@galaydaroman
Last active January 8, 2016 22:22
Show Gist options
  • Save galaydaroman/7025bfc500b92abef958 to your computer and use it in GitHub Desktop.
Save galaydaroman/7025bfc500b92abef958 to your computer and use it in GitHub Desktop.
[
{
"class": "icon_file_type",
"content_margin": [0,0]
},
//
// BOTTOM PANEL ICONS - GROUP 1
//
// Regex search button
{
"class": "icon_regex",
"layer0.texture": "Theme - Soda/Soda Dark/icon-regex-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_regex",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-regex-on.png"
},
// Case sensitive search button
{
"class": "icon_case",
"layer0.texture": "Theme - Soda/Soda Dark/icon-case-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_case",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-case-on.png"
},
// Match whole word search button
{
"class": "icon_whole_word",
"layer0.texture": "Theme - Soda/Soda Dark/icon-word-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_whole_word",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-word-on.png"
},
//
// BOTTOM PANEL ICONS - GROUP 1 (EXTENDED: FIND IN FILES)
//
// Show search context button
{
"class": "icon_context",
"layer0.texture": "Theme - Soda/Soda Dark/icon-context-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_context",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-context-on.png"
},
// Use search buffer
{
"class": "icon_use_buffer",
"layer0.texture": "Theme - Soda/Soda Dark/icon-buffer-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_use_buffer",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-buffer-on.png"
},
//
// BOTTOM PANEL ICONS - GROUP 2
//
// Reverse search direction button
{
"class": "icon_reverse",
"layer0.texture": "Theme - Soda/Soda Dark/icon-reverse-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_reverse",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-reverse-on.png"
},
// Search wrap button
{
"class": "icon_wrap",
"layer0.texture": "Theme - Soda/Soda Dark/icon-wrap-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_wrap",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-wrap-on.png"
},
// Search in selection button
{
"class": "icon_in_selection",
"layer0.texture": "Theme - Soda/Soda Dark/icon-selection-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_in_selection",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-selection-on.png"
},
//
// BOTTOM PANEL ICONS - GROUP 3
//
// Preserve case button
{
"class": "icon_preserve_case",
"layer0.texture": "Theme - Soda/Soda Dark/icon-preserve-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_preserve_case",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-preserve-on.png"
},
//
// BOTTOM PANEL ICONS - GROUP 4
//
// Highlight results button
{
"class": "icon_highlight",
"layer0.texture": "Theme - Soda/Soda Dark/icon-highlight-off.png",
"layer0.opacity": 1.0,
"content_margin": [9, 9]
},
{
"class": "icon_highlight",
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Soda/Soda Dark/icon-highlight-on.png"
},
//
// BOTTOM PANEL BUTTONS
//
// Button group middle
{
"class": "icon_button_control",
"layer0.texture": "Theme - Soda/Soda Dark/btn-group-middle.png",
"layer0.inner_margin": [6, 6],
"layer0.opacity": 1.0,
"content_margin": [3, 3]
},
{
"class": "icon_button_control",
"attributes": ["selected"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-group-middle-on.png"
},
// Button group left
{
"class": "icon_button_control",
"attributes": ["left"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-group-left.png",
"content_margin": [4, 3, 3, 3]
},
{
"class": "icon_button_control",
"attributes": ["left", "selected"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-group-left-on.png"
},
// Button group right
{
"class": "icon_button_control",
"attributes": ["right"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-group-right.png",
"content_margin": [3, 3, 4, 3]
},
{
"class": "icon_button_control",
"attributes": ["right", "selected"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-group-right-on.png"
},
// Button single
{
"class": "icon_button_control",
"attributes": ["left", "right"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-small.png",
"content_margin": [4, 3]
},
{
"class": "icon_button_control",
"attributes": ["left", "right", "selected"],
"layer0.texture": "Theme - Soda/Soda Dark/btn-small-on.png"
},
// Panel close button
// {
// "class": "panel_close_button",
// "layer0.texture": "Theme - Soda/Soda Dark/panel-close.png",
// "layer0.opacity": 0.85,
// "content_margin": [8, 12]
// },
// {
// "class": "panel_close_button",
// "attributes": ["hover"],
// "layer0.texture": "Theme - Soda/Soda Dark/panel-close.png",
// "layer0.opacity": 1.0
// },
// {
// "class": "panel_close_button",
// "attributes": ["pressed"],
// "layer0.texture": "Theme - Soda/Soda Dark/panel-close-pressed.png"
// },
//
// TEXT INPUT FIELD
//
// Text input field item
{
"class": "text_line_control",
"layer0.texture": "Theme - Soda/Soda Dark/text-field.png",
"layer0.opacity": 1.0,
"layer0.inner_margin": [4, 5, 4, 3],
"content_margin": [3, 3, 6, 3]
},
// Text input dropdown
{
"class": "dropdown_button_control",
"content_margin": [8, 8],
"layer0.texture": "Theme - Soda/Soda Dark/text-field-list.png",
"layer0.opacity": 1.0,
"layer0.inner_margin": [4, 4]
},
{
"class": "dropdown_button_control",
"attributes": ["hover"],
"layer0.texture": "Theme - Soda/Soda Dark/text-field-list-hover.png"
},
// Scrollbars
{
"class": "scroll_bar_control",
"layer0.texture": "Theme - Default/normal_bar_vertical.png",
"layer0.opacity": 1,
"layer0.tint": [255, 255, 255],
"layer0.inner_margin": [0, 6],
"blur": false
},
{
"class": "scroll_bar_control",
"attributes": ["dark"],
"layer0.texture": "Theme - Default/normal_bar_vertical.png",
"layer0.opacity": 1,
"layer0.tint": [64, 64, 64],
"layer0.inner_margin": [0, 6],
"blur": false
},
{
"class": "scroll_bar_control",
"attributes": ["horizontal"],
"layer0.texture": "Theme - Default/normal_bar_horizontal.png",
"layer0.opacity": 1,
"layer0.inner_margin": [6, 0],
"blur": true
},
{
"class": "scroll_corner_control",
"attributes": ["dark"],
"layer0.texture": "Theme - Default/normal_bar_corner.png",
"layer0.opacity": 1.0,
"layer0.tint": [255, 255, 255],
"layer0.inner_margin": [1, 1]
},
{
"class": "scroll_corner_control",
"layer0.texture": "Theme - Default/normal_bar_corner.png",
"layer0.opacity": 1.0,
"layer0.tint": [64, 64, 64],
"layer0.inner_margin": [1, 1]
},
{
"class": "puck_control",
"layer0.texture": "Theme - Default/normal_thumb_vertical.png",
"layer0.opacity": 1.0,
"layer0.inner_margin": [0, 10],
"content_margin": [8, 12],
"blur": false
},
{
"class": "puck_control",
"attributes": ["horizontal"],
"layer0.texture": "Theme - Default/normal_thumb_horizontal.png",
"layer0.opacity": 1.0,
"layer0.inner_margin": [10, 0],
"content_margin": [12, 8],
"blur": false
},
{
"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 - Default/overlay_bar_vertical.png",
"layer0.inner_margin": [0, 5],
"blur": true
},
{
"class": "scroll_bar_control",
"settings": ["overlay_scroll_bars"],
"attributes": ["horizontal"],
"layer0.texture": "Theme - Default/overlay_bar_horizontal.png",
"layer0.inner_margin": [5, 0],
"blur": true
},
{
"class": "puck_control",
"settings": ["overlay_scroll_bars"],
"layer0.texture": "Theme - Default/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 - Default/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 - Default/overlay_dark_thumb_vertical.png"
},
{
"class": "puck_control",
"settings": ["overlay_scroll_bars"],
"attributes": ["horizontal", "dark"],
"layer0.texture": "Theme - Default/overlay_dark_thumb_horizontal.png"
},
//
// PANEL BACKGROUNDS
// My changes
{
"class": "overlay_control",
"layer0.tint": [33, 33, 33],
"layer0.opacity": 0.4,
},
{
"class": "quick_panel",
"row_padding": [5, 1],
"layer0.tint": [233, 233, 233],
"layer0.texture": "User/Theme - Default/quick_panel.png",
"layer0.opacity": 1,
"layer1.opacity": 0,
"dark_content": true,
"blur": false
},
{
"class": "quick_panel",
"parents": [{"class": "overlay_control"}],
// "layer0.texture": "",
"layer0.tint": [230, 230, 230],
"layer0.opacity": 0.75,
"layer1.opacity": 0,
"layer2.opacity": 0
},
{
"class": "panel_control",
"layer0.tint": [72, 72, 72, 240],
// "layer0.texture": "User/Theme - Default/quick_panel.png",
"layer0.texture": "",
"layer0.inner_margin": [2, 2, 2, 2],
"content_margin": [0, 1],
"layer0.opacity": 1,
"layer1.opacity": 0,
"layer2.opacity": 0,
"layer3.opacity": 0,
"blur": true
// !!!!!!
// "dark_content": true
},
{
"class": "quick_panel_row",
"layer0.opacity": 0,
"layer1.inner_margin": [1, 2, 1, 2],
"layer1.draw_center": false,
"layer1.opacity": 0
},
{
"class": "quick_panel_row",
"attributes": ["selected"],
"layer0.tint": [201, 129, 46],//[255, 161, 52, 80], //[255, 231, 146], //[87, 87, 87],
"layer0.opacity": 0.8,
"layer1.opacity": 0
},
{
"class": "quick_panel_label",
"fg": [210, 210, 210, 255],
"match_fg": [126, 199, 239, 255],
"selected_fg": [255, 255, 255, 255],
"selected_match_fg": [166, 229, 255, 255],
},
{
"class": "quick_panel_path_label",
"fg": [130, 130, 130, 255],
"match_fg": [220, 220, 220, 255],
"selected_fg": [175, 175, 175, 255],
"selected_match_fg": [220, 220, 220, 255],
},
{
"class": "quick_panel_score_label",
"fg": [126, 199, 239, 255],
"selected_fg": [166, 229, 255, 255],
},
{
"class": "mini_quick_panel_row",
"layer0.opacity": 0,
"layer1.texture": "Theme - Default/panel_row.png",
"layer1.inner_margin": [1, 2, 1, 2],
"layer1.draw_center": false,
"layer1.opacity": 0,
"blur": true
},
{
"class": "mini_quick_panel_row",
"attributes": ["selected"],
"layer0.texture": "",
"layer0.tint": [201, 129, 46],//[255, 161, 52, 80], //[255, 231, 146], //[87, 87, 87],
"layer0.opacity": 0.8,
"layer1.opacity": 0
},
{
"class": "tree_row",
"attributes": ["selected"],
"layer0.texture": "Theme - Default/row_highlight_wide.png",
"layer0.opacity": 0.65
// TODO: fix selected row color & shadow
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment