mirror of
https://github.com/pradyun/Sublime-Rainbow-Theme.git
synced 2024-11-07 13:33:58 +01:00
4ae2a6a05f
Not everything is tested. Niether is everything ready. I have been using this regularly for a while now.
1293 lines
37 KiB
Plaintext
1293 lines
37 KiB
Plaintext
{% if "soda" in variant %}
|
|
{% set assets_path = "Theme - Rainbow/assets/soda" %}
|
|
{% elif "flat" in variant %}
|
|
{% set assets_path = "Theme - Rainbow/assets/flat" %}
|
|
{% endif %}
|
|
|
|
{% if "dark" in variant %}
|
|
{% set sidebar_icon_tint = theme.background.lighten(70) %}
|
|
{% set icon_tint = theme.background.shade(30).saturate(scheme.background.hsv.saturation) %}
|
|
{% set panel_tint = theme.background.lighten(10) %}
|
|
{% elif "light" in variant %}
|
|
{% set sidebar_icon_tint = theme.background.saturate(10) %}
|
|
{% set icon_tint = theme.background %}
|
|
{% set panel_tint = theme.background %}
|
|
{% endif %}
|
|
[
|
|
|
|
//
|
|
// TABS (REGULAR)
|
|
//
|
|
|
|
// Tab set
|
|
{
|
|
"class": "tabset_control",
|
|
"layer0.texture": "{{ assets_path }}/tabset-background.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
{% if "soda" in variant %}
|
|
"layer0.inner_margin": [1, 7],
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [-4, 0, -4, 3],
|
|
"tab_overlap": 5,
|
|
"tab_width": 180,
|
|
"tab_min_width": 45,
|
|
"tab_height": 25,
|
|
{% elif "flat" in variant %}
|
|
"layer0.inner_margin": [10, 0],
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [0, 4, 0, 0],
|
|
"tab_overlap": 6,
|
|
"tab_width": 160,
|
|
"tab_min_width": 48,
|
|
"tab_height": 34,
|
|
{% endif %}
|
|
"mouse_wheel_switch": false
|
|
},
|
|
{% if "soda" in variant %}
|
|
{
|
|
"class": "tabset_control",
|
|
"settings": ["enable_tab_scrolling"],
|
|
"content_margin": [3, 0, 3, 3]
|
|
},
|
|
{% endif %}
|
|
{
|
|
"class": "tabset_control",
|
|
"settings": ["mouse_wheel_switches_tabs"],
|
|
"mouse_wheel_switch": true
|
|
},
|
|
// Tab element
|
|
{
|
|
"class": "tab_control",
|
|
"layer0.texture": "{{ assets_path }}/tab-inactive.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
{% if "soda" in variant %}
|
|
"layer0.inner_margin": [5, 5],
|
|
|
|
"content_margin": [12, 3, 12, 3],
|
|
"max_margin_trim": 0,
|
|
"hit_test_level": 0.0
|
|
{% elif "flat" in variant %}
|
|
"layer0.inner_margin": [20, 4],
|
|
|
|
"content_margin": [14, 0, 14, 6],
|
|
"max_margin_trim": 0,
|
|
"hit_test_level": 0.5
|
|
{% endif %}
|
|
},
|
|
// Tab close state
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["show_tab_close_buttons"],
|
|
"content_margin": [12, 3, 7, 3]
|
|
},
|
|
// Tab hover state
|
|
{
|
|
"class": "tab_control",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/tab-hover.png"
|
|
},
|
|
// Tab active state
|
|
{
|
|
"class": "tab_control",
|
|
"attributes": ["selected"],
|
|
"layer0.texture": "{{ assets_path }}/tab-active.png"
|
|
},
|
|
// Tab dirty state (close button hidden)
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["!show_tab_close_buttons"],
|
|
"attributes": ["dirty"],
|
|
"content_margin": [12, 3, 7, 3]
|
|
},
|
|
|
|
//
|
|
// TABS (CLASSIC)
|
|
//
|
|
|
|
// Tab set
|
|
{
|
|
"class": "tabset_control",
|
|
"settings": ["rainbow_classic_tabs"],
|
|
"content_margin": [3, 4, 3, 3],
|
|
"tab_overlap": 24,
|
|
"tab_height": 28
|
|
},
|
|
{
|
|
"class": "tabset_control",
|
|
"settings": ["rainbow_classic_tabs", "enable_tab_scrolling"],
|
|
"content_margin": [6, 4, 6, 3]
|
|
},
|
|
// Tab element
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["rainbow_classic_tabs"],
|
|
"content_margin": [22, 6, 22, 4],
|
|
"hit_test_level": 0.5,
|
|
"layer0.texture": "{{ assets_path }}/classic/tab-inactive.png",
|
|
"layer0.inner_margin": [18, 4]
|
|
},
|
|
// Tab close state
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["rainbow_classic_tabs", "show_tab_close_buttons"],
|
|
"content_margin": [22, 6, 15, 4]
|
|
},
|
|
// Tab hover state
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["rainbow_classic_tabs"],
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/classic/tab-hover.png"
|
|
},
|
|
// Tab active state
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["rainbow_classic_tabs"],
|
|
"attributes": ["selected"],
|
|
"layer0.texture": "{{ assets_path }}/classic/tab-active.png"
|
|
},
|
|
// Tab dirty state (close button hidden)
|
|
{
|
|
"class": "tab_control",
|
|
"settings": ["rainbow_classic_tabs", "!show_tab_close_buttons"],
|
|
"attributes": ["dirty"],
|
|
"content_margin": [22, 6, 15, 4]
|
|
},
|
|
|
|
//
|
|
// TAB BUTTONS
|
|
//
|
|
|
|
// Tab close button
|
|
{
|
|
"class": "tab_close_button",
|
|
"content_margin": [0, 0],
|
|
"layer0.texture": "{{ assets_path }}/tab-close-inactive.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": 0
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"settings": ["show_tab_close_buttons"],
|
|
"content_margin": [8, 8]
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"parents": [{"class": "tab_control", "attributes": ["hover"]}],
|
|
"layer0.texture": "{{ assets_path }}/tab-close.png",
|
|
"layer0.opacity": 0.85
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"parents": [{"class": "tab_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/tab-close.png",
|
|
"layer0.opacity": 1.0
|
|
},
|
|
// Tab dirty button
|
|
{
|
|
"class": "tab_close_button",
|
|
"parents": [{"class": "tab_control", "attributes": ["dirty"]}],
|
|
"layer0.texture": "{{ assets_path }}/tab-dirty-inactive.png"
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"settings": ["!show_tab_close_buttons"],
|
|
"parents": [{"class": "tab_control", "attributes": ["dirty"]}],
|
|
"content_margin": [8, 8]
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"parents": [{"class": "tab_control", "attributes": ["dirty", "hover"]}],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/tab-dirty.png"
|
|
},
|
|
// Tab highlight button
|
|
{
|
|
"class": "tab_close_button",
|
|
"settings": ["highlight_modified_tabs"],
|
|
"parents": [{"class": "tab_control", "attributes": ["dirty"]}],
|
|
"layer0.tint": {{ theme.background.lighten(60).saturate() }},
|
|
"layer0.texture": "{{ assets_path }}/tab-dirty.png"
|
|
},
|
|
{
|
|
"class": "tab_close_button",
|
|
"settings": ["highlight_modified_tabs"],
|
|
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
|
|
"layer0.tint": {{ theme.background.lighten(100).saturate(100) }},
|
|
"layer0.texture": "{{ assets_path }}/tab-dirty.png"
|
|
},
|
|
// Tab close button hover
|
|
{
|
|
"class": "tab_close_button",
|
|
"settings": ["show_tab_close_buttons"],
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/tab-close-hover.png"
|
|
},
|
|
// Tab close button pressed
|
|
{
|
|
"class": "tab_close_button",
|
|
"settings": ["show_tab_close_buttons"],
|
|
"attributes": ["pressed"],
|
|
"layer0.texture": "{{ assets_path }}/tab-close-pressed.png"
|
|
},
|
|
|
|
//
|
|
// TAB LABELS
|
|
//
|
|
|
|
{
|
|
"class": "tab_label",
|
|
"fade": true,
|
|
"fg": {{ theme.foreground }},
|
|
"shadow_color": {{ theme.background }},
|
|
"shadow_offset": [0, 1],
|
|
"font.italic": false
|
|
},
|
|
{
|
|
"class": "tab_label",
|
|
"parents": [{"class": "tab_control", "attributes": ["hover"]}],
|
|
"fg": {{ contrast_increase(theme.foreground, 5) }},
|
|
"shadow_color": {{ contrast_increase(theme.background, 4) }},
|
|
},
|
|
{
|
|
"class": "tab_label",
|
|
"parents": [{"class": "tab_control", "attributes": ["selected"]}],
|
|
"fg": {{ contrast_increase(theme.foreground, 10) }},
|
|
"shadow_color": {{ contrast_increase(theme.background, 8) }},
|
|
},
|
|
{
|
|
"class": "tab_label",
|
|
"attributes": ["transient"],
|
|
"font.italic": true
|
|
},
|
|
|
|
//
|
|
// TAB SCROLLING
|
|
//
|
|
|
|
// Tab dropdown
|
|
{
|
|
"class": "show_tabs_dropdown_button",
|
|
"content_margin": [9, 7, 8, 6],
|
|
"layer0.texture": "{{ assets_path }}/tabset-list.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": 0
|
|
},
|
|
{
|
|
"class": "show_tabs_dropdown_button",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/tabset-list-hover.png"
|
|
},
|
|
// Tab scroll left
|
|
{
|
|
"class": "scroll_tabs_left_button",
|
|
"content_margin": [9, 7, 8, 6],
|
|
"layer0.texture": "{{ assets_path }}/tabset-left.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": 0
|
|
},
|
|
{
|
|
"class": "scroll_tabs_left_button",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/tabset-left-hover.png"
|
|
},
|
|
// Tab scroll right
|
|
{
|
|
"class": "scroll_tabs_right_button",
|
|
"content_margin": [9, 7, 8, 6],
|
|
"layer0.texture": "{{ assets_path }}/tabset-right.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": 0
|
|
},
|
|
{
|
|
"class": "scroll_tabs_right_button",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/tabset-right-hover.png"
|
|
},
|
|
|
|
//
|
|
// FOLD BUTTONS
|
|
//
|
|
|
|
{
|
|
"class": "fold_button_control",
|
|
"layer0.texture": "{{ assets_path }}/fold-closed.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": 0,
|
|
"content_margin": [8, 8]
|
|
},
|
|
{
|
|
"class": "fold_button_control",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/fold-closed-hover.png"
|
|
},
|
|
{
|
|
"class": "fold_button_control",
|
|
"attributes": ["expanded"],
|
|
"layer0.texture": "{{ assets_path }}/fold-open.png"
|
|
},
|
|
{
|
|
"class": "fold_button_control",
|
|
"attributes": ["expanded", "hover"],
|
|
"layer0.texture": "{{ assets_path }}/fold-open-hover.png"
|
|
},
|
|
|
|
//
|
|
// STANDARD SCROLLBARS
|
|
//
|
|
|
|
// Standard vertical scroll bar
|
|
{
|
|
"class": "scroll_bar_control",
|
|
"layer0.texture": "{{ assets_path }}/standard-scrollbar-vertical.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": [2, 6],
|
|
"blur": false
|
|
},
|
|
// Standard horizontal scroll bar
|
|
{
|
|
"class": "scroll_bar_control",
|
|
"attributes": ["horizontal"],
|
|
"layer0.texture": "{{ assets_path }}/standard-scrollbar-horizontal.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.inner_margin": [6, 2],
|
|
"blur": false
|
|
},
|
|
// Standard scroll bar corner
|
|
{
|
|
"class": "scroll_corner_control",
|
|
"layer0.texture": "{{ assets_path }}/standard-scrollbar-corner.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.inner_margin": [2, 2],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
// Standard vertical scroll puck
|
|
{
|
|
"class": "puck_control",
|
|
"layer0.texture": "{{ assets_path }}/standard-puck-vertical.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": [0, 10],
|
|
"content_margin": [8, 12],
|
|
"blur": false
|
|
},
|
|
// Standard horizontal scroll puck
|
|
{
|
|
"class": "puck_control",
|
|
"attributes": ["horizontal"],
|
|
"layer0.texture": "{{ assets_path }}/standard-puck-horizontal.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.inner_margin": [10, 0],
|
|
"content_margin": [12, 8],
|
|
"blur": false
|
|
},
|
|
|
|
//
|
|
// OVERLAY SCROLLBARS
|
|
//
|
|
|
|
// Overlay toggle scroll bar
|
|
{
|
|
"class": "scroll_area_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"overlay": true
|
|
},
|
|
{
|
|
"class": "scroll_area_control",
|
|
"settings": ["!overlay_scroll_bars"],
|
|
"overlay": false
|
|
},
|
|
// Overlay vertical scroll bar
|
|
{
|
|
"class": "scroll_bar_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"layer0.texture": "{{ assets_path }}/overlay-scrollbar-vertical.png",
|
|
"layer0.inner_margin": [0, 5],
|
|
"blur": true
|
|
},
|
|
// Overlay horizontal scroll bar
|
|
{
|
|
"class": "scroll_bar_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"attributes": ["horizontal"],
|
|
"layer0.texture": "{{ assets_path }}/overlay-scrollbar-horizontal.png",
|
|
"layer0.inner_margin": [5, 0],
|
|
"blur": true
|
|
},
|
|
// Overlay vertical puck
|
|
{
|
|
"class": "puck_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"layer0.texture": "{{ assets_path }}/overlay-puck-vertical.png",
|
|
"layer0.inner_margin": [0, 5],
|
|
"content_margin": [5, 20],
|
|
"blur": true
|
|
},
|
|
// Overlay horizontal puck
|
|
{
|
|
"class": "puck_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"attributes": ["horizontal"],
|
|
"layer0.texture": "{{ assets_path }}/overlay-puck-horizontal.png",
|
|
"layer0.inner_margin": [5, 0],
|
|
"content_margin": [20, 5],
|
|
"blur": true
|
|
},
|
|
// Overlay light puck (for dark content)
|
|
{
|
|
"class": "puck_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"attributes": ["dark"],
|
|
"layer0.texture": "{{ assets_path }}/overlay-dark-puck-vertical.png"
|
|
},
|
|
// Overlay light horizontal puck (for dark content)
|
|
{
|
|
"class": "puck_control",
|
|
"settings": ["overlay_scroll_bars"],
|
|
"attributes": ["horizontal", "dark"],
|
|
"layer0.texture": "{{ assets_path }}/overlay-dark-puck-horizontal.png"
|
|
},
|
|
|
|
//
|
|
// EMPTY WINDOW BACKGROUND
|
|
//
|
|
|
|
{
|
|
"class": "sheet_container_control",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0
|
|
},
|
|
|
|
//
|
|
// GRID LAYOUT
|
|
//
|
|
|
|
{
|
|
"class": "grid_layout_control",
|
|
"border_size": 1,
|
|
"border_color": {{ theme.background.saturate(10).darken(20) }}
|
|
},
|
|
|
|
//
|
|
// MINI MAP
|
|
//
|
|
|
|
{
|
|
"class": "minimap_control",
|
|
"settings": ["always_show_minimap_viewport"],
|
|
"viewport_color": [0, 0, 0, 35],
|
|
"viewport_opacity": 1.0
|
|
},
|
|
{
|
|
"class": "minimap_control",
|
|
"settings": ["!always_show_minimap_viewport"],
|
|
"viewport_color": [0, 0, 0, 35],
|
|
"viewport_opacity": { "target": 0.0, "speed": 10.0, "interpolation": "smoothstep" }
|
|
},
|
|
{
|
|
"class": "minimap_control",
|
|
"attributes": ["hover"],
|
|
"settings": ["!always_show_minimap_viewport"],
|
|
"viewport_opacity": 1.0
|
|
},
|
|
|
|
//
|
|
// DIALOG
|
|
//
|
|
|
|
{
|
|
"class": "dialog",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0
|
|
},
|
|
|
|
//
|
|
// PROGRESS BAR
|
|
//
|
|
|
|
{
|
|
"class": "progress_bar_control",
|
|
"layer0.tint": {{ contrast_increase(theme.background, 10) }},
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "progress_gauge_control",
|
|
"layer0.tint": {{ contrast_increase(theme.background, 20) }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [0, 6]
|
|
},
|
|
|
|
//
|
|
// LABELS
|
|
//
|
|
|
|
// General labels
|
|
{
|
|
"class": "label_control",
|
|
"color": {{ theme.foreground }}
|
|
},
|
|
// Text field labels
|
|
{
|
|
"class": "label_control",
|
|
"parents": [{"class": "panel_control"}],
|
|
"shadow_color": {{ theme.background }},
|
|
"shadow_offset": [0, 1]
|
|
},
|
|
// Button labels
|
|
{
|
|
"class": "label_control",
|
|
"parents": [{"class": "button_control"}],
|
|
"shadow_color": {{ theme.background }},
|
|
"shadow_offset": [0, 1]
|
|
},
|
|
|
|
//
|
|
// TOOLTIP
|
|
//
|
|
|
|
// Tooltip container
|
|
{
|
|
"class": "tool_tip_control",
|
|
"layer0.texture": "{{ assets_path }}/tooltip.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.inner_margin": [1, 1],
|
|
"layer0.opacity": 0.95,
|
|
"content_margin": [3, 3]
|
|
},
|
|
// Tooltip content
|
|
{
|
|
"class": "tool_tip_label_control",
|
|
"color": {{ theme.foreground }}
|
|
},
|
|
|
|
//
|
|
// STATUS BAR
|
|
//
|
|
|
|
// Status bar container
|
|
{
|
|
"class": "status_bar",
|
|
"layer0.texture": "{{ assets_path }}/status-bar-background.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": [2, 2],
|
|
"content_margin": [8, 4, 8, 4]
|
|
},
|
|
// Status bar button
|
|
{
|
|
"class": "status_button",
|
|
"min_size": [100, 0]
|
|
},
|
|
// Status bar label
|
|
{
|
|
"class": "label_control",
|
|
"parents": [{"class": "status_bar"}],
|
|
"color": {{ theme.foreground }},
|
|
"shadow_color": {{ contrast_increase(theme.background, 5) }},
|
|
"shadow_offset": [0, 1]
|
|
},
|
|
|
|
//
|
|
// SIDEBAR
|
|
//
|
|
|
|
// Sidebar container
|
|
{
|
|
"class": "sidebar_container",
|
|
"layer0.texture": "{{ assets_path }}/sidebar-bg.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": [1, 1, 2, 1],
|
|
"content_margin": [0, 0, 1, 0]
|
|
},
|
|
// Sidebar tree
|
|
{
|
|
"class": "sidebar_tree",
|
|
"row_padding": [8, 3],
|
|
"indent": 15,
|
|
"indent_offset": 15,
|
|
"indent_top_level": false
|
|
},
|
|
// From Flatland
|
|
{
|
|
"class": "sidebar_tree",
|
|
"settings": ["rainbow_sidebar_tree_small"],
|
|
"row_padding": [8, 2]
|
|
},
|
|
{
|
|
"class": "sidebar_tree",
|
|
"settings": ["rainbow_sidebar_tree_medium"],
|
|
"row_padding": [8, 3]
|
|
},
|
|
{
|
|
"class": "sidebar_tree",
|
|
"settings": ["rainbow_sidebar_tree_large"],
|
|
"row_padding": [8, 6]
|
|
},
|
|
// Sidebar rows
|
|
{
|
|
"class": "tree_row",
|
|
"layer0.texture": "{{ assets_path }}/sidebar-row-selected.png",
|
|
{% if "light" in variant %}
|
|
"layer0.tint": {{ theme.background.saturate(40).lighten(10) }},
|
|
{% elif "dark" in variant %}
|
|
"layer0.tint": {{ theme.background.saturate(25).lighten(40) }},
|
|
{% endif %}
|
|
"layer0.opacity": 0.0,
|
|
"layer0.inner_margin": [1, 1]
|
|
},
|
|
// Sidebar row selected
|
|
{
|
|
"class": "tree_row",
|
|
"attributes": ["selected"],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
// Sidebar heading
|
|
{
|
|
"class": "sidebar_heading",
|
|
"color": {{ contrast_decrease(theme.foreground, 10).saturate(10) }},
|
|
"font.bold": true,
|
|
"shadow_color": {{ theme.background }},
|
|
"shadow_offset": [0, 1]
|
|
},
|
|
// Sidebar heading selected
|
|
{
|
|
"class": "sidebar_heading",
|
|
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
|
|
"color": {{ theme.foreground.lighten(5).saturate(10) }},
|
|
"shadow_color": {{ theme.background.darken(10) }}
|
|
},
|
|
// Sidebar entry
|
|
{
|
|
"class": "sidebar_label",
|
|
"color": {{ theme.foreground.darken(20).saturate(10) }},
|
|
"shadow_color": {{ theme.background.darken(10) }},
|
|
"shadow_offset": [0, 1],
|
|
"font.bold": false,
|
|
"font.italic": false
|
|
},
|
|
{
|
|
"class": "sidebar_label",
|
|
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
|
|
"color": {{ theme.foreground.darken(10) }}
|
|
},
|
|
// Sidebar folder entry
|
|
{
|
|
"class": "sidebar_label",
|
|
"parents": [{"class": "tree_row", "attributes": ["expandable"]}],
|
|
"color": {{ theme.foreground.lighten(5) }}
|
|
},
|
|
{
|
|
"class": "sidebar_label",
|
|
"parents": [{"class": "tree_row", "attributes": ["expandable", "hover"]}],
|
|
"color": {{ theme.foreground.lighten(15) }}
|
|
},
|
|
{
|
|
"class": "sidebar_label",
|
|
"parents": [{"class": "tree_row", "attributes": ["expandable"]}],
|
|
"settings": ["bold_folder_labels"],
|
|
"color": {{ theme.foreground.lighten(15) }},
|
|
"font.bold": true
|
|
},
|
|
{
|
|
"class": "sidebar_label",
|
|
"parents": [{"class": "tree_row", "attributes": ["expandable", "hover"]}],
|
|
"settings": ["bold_folder_labels"],
|
|
"color": {{ theme.foreground.lighten(20) }}
|
|
},
|
|
// Sidebar entry selected
|
|
{
|
|
"class": "sidebar_label",
|
|
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
|
|
{% if "light" in variant %}
|
|
"color": {{ theme.background.lighten(10) }},
|
|
"shadow_color": {{ theme.foreground.lighten(10) }},
|
|
{% elif "dark" in variant %}
|
|
"color": {{ contrast_increase(theme.foreground, 10) }},
|
|
"shadow_color": {{ contrast_increase(theme.background, 10) }},
|
|
{% endif %}
|
|
"shadow_offset": [0, 1]
|
|
},
|
|
// Sidebar entry transient
|
|
{
|
|
"class": "sidebar_label",
|
|
"attributes": ["transient"],
|
|
"font.italic": true
|
|
},
|
|
|
|
//
|
|
// SIDEBAR - OPEN FILE ICONS
|
|
//
|
|
|
|
// Sidebar file close
|
|
{
|
|
"class": "close_button",
|
|
"layer0.texture": "{{ assets_path }}/file-close.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 0.0,
|
|
"layer0.inner_margin": 0,
|
|
"content_margin": [8, 8]
|
|
},
|
|
{
|
|
"class": "close_button",
|
|
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
// Sidebar file dirty
|
|
{
|
|
"class": "close_button",
|
|
"attributes": ["dirty"],
|
|
"layer0.texture": "{{ assets_path }}/file-dirty.png",
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "close_button",
|
|
"attributes": ["dirty"],
|
|
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/file-dirty-selected.png"
|
|
},
|
|
{
|
|
"class": "close_button",
|
|
"attributes": ["dirty"],
|
|
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
|
|
"layer0.texture": "{{ assets_path }}/file-close.png"
|
|
},
|
|
// Sidebar file close hover
|
|
{
|
|
"class": "close_button",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/file-close-hover.png"
|
|
},
|
|
{
|
|
"class": "close_button",
|
|
"parents": [{"class": "tree_row", "attributes": ["hover", "selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/file-close-selected.png"
|
|
},
|
|
|
|
//
|
|
// SIDEBAR - GENERAL FILE ICONS
|
|
//
|
|
|
|
// Sidebar group closed
|
|
{
|
|
"class": "disclosure_button_control",
|
|
"content_margin": [8, 8],
|
|
"layer0.texture": "{{ assets_path }}/group-closed.png",
|
|
"layer0.tint": {{ sidebar_icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": 0
|
|
},
|
|
{
|
|
"class": "disclosure_button_control",
|
|
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
|
|
"layer0.texture": "{{ assets_path }}/group-closed-hover.png"
|
|
},
|
|
{
|
|
"class": "disclosure_button_control",
|
|
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/group-closed-selected.png"
|
|
},
|
|
// Sidebar group open
|
|
{
|
|
"class": "disclosure_button_control",
|
|
"attributes": ["expanded"],
|
|
"layer0.texture": "{{ assets_path }}/group-open.png"
|
|
},
|
|
{
|
|
"class": "disclosure_button_control",
|
|
"attributes": ["expanded"],
|
|
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
|
|
"layer0.texture": "{{ assets_path }}/group-open-hover.png"
|
|
},
|
|
{
|
|
"class": "disclosure_button_control",
|
|
"attributes": ["expanded"],
|
|
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/group-open-selected.png"
|
|
},
|
|
// Sidebar folder closed
|
|
{
|
|
"class": "icon_folder",
|
|
"layer0.texture": "{{ assets_path }}/folder-closed.png",
|
|
"layer0.tint": {{ sidebar_icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [8, 8]
|
|
},
|
|
{
|
|
"class": "icon_folder",
|
|
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
|
|
"layer0.texture": "{{ assets_path }}/folder-closed-hover.png"
|
|
},
|
|
{
|
|
"class": "icon_folder",
|
|
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/folder-closed-selected.png"
|
|
},
|
|
// Sidebar folder open
|
|
{
|
|
"class": "icon_folder",
|
|
"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
|
|
"layer0.texture": "{{ assets_path }}/folder-open.png"
|
|
},
|
|
{
|
|
"class": "icon_folder",
|
|
"parents": [{"class": "tree_row", "attributes": ["expanded", "hover"]}],
|
|
"layer0.texture": "{{ assets_path }}/folder-open-hover.png"
|
|
},
|
|
{
|
|
"class": "icon_folder",
|
|
"parents": [{"class": "tree_row", "attributes": ["expanded", "selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/folder-open-selected.png"
|
|
},
|
|
// Sidebar folder loading
|
|
{
|
|
"class": "icon_folder_loading",
|
|
"layer0.texture":
|
|
{
|
|
"keyframes":
|
|
[
|
|
"{{ assets_path }}/spinner/spinner7.png",
|
|
"{{ assets_path }}/spinner/spinner6.png",
|
|
"{{ assets_path }}/spinner/spinner5.png",
|
|
"{{ assets_path }}/spinner/spinner4.png",
|
|
"{{ assets_path }}/spinner/spinner3.png",
|
|
"{{ assets_path }}/spinner/spinner2.png",
|
|
"{{ assets_path }}/spinner/spinner1.png",
|
|
"{{ assets_path }}/spinner/spinner.png"
|
|
],
|
|
"loop": true,
|
|
"frame_time": 0.075,
|
|
},
|
|
"layer0.tint": {{ sidebar_icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [8, 8]
|
|
},
|
|
// Sidebar file icons
|
|
{
|
|
"class": "icon_file_type",
|
|
// layer0.texture is filled in by code with the relevant icon name
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [8, 8]
|
|
},
|
|
|
|
//
|
|
// STANDARD TEXT BUTTONS
|
|
//
|
|
|
|
// Default button state
|
|
{
|
|
"class": "button_control",
|
|
"content_margin": [6, 5, 6, 6],
|
|
"min_size": [75, 0],
|
|
"layer0.texture": "{{ assets_path }}/btn-large.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": [6, 6]
|
|
},
|
|
// Pressed button state
|
|
{
|
|
"class": "button_control",
|
|
"attributes": ["pressed"],
|
|
"layer0.texture": "{{ assets_path }}/btn-large-on.png"
|
|
},
|
|
|
|
//
|
|
// TEXT INPUT FIELD
|
|
//
|
|
|
|
// Text input field item
|
|
{
|
|
"class": "text_line_control",
|
|
"layer0.texture": "{{ assets_path }}/text-field.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"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": "{{ assets_path }}/text-field-list.png",
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0,
|
|
"layer0.inner_margin": [4, 4]
|
|
},
|
|
{
|
|
"class": "dropdown_button_control",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/text-field-list-hover.png"
|
|
},
|
|
|
|
//
|
|
// PANEL BACKGROUNDS
|
|
//
|
|
|
|
// Bottom panel background
|
|
{
|
|
"class": "panel_control",
|
|
"layer0.texture": "{{ assets_path }}/panel-background.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.inner_margin": [2, 2, 2, 2],
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [2, 3, 2, 1]
|
|
},
|
|
// Quick panel background
|
|
{
|
|
"class": "overlay_control",
|
|
"settings": ["!rainbow_retina_fix"],
|
|
"layer0.texture": "{{ assets_path }}/quick-panel-background.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.inner_margin": [12, 6, 12, 15],
|
|
"layer0.opacity": 1.0,
|
|
"layer1.texture": "{{ assets_path }}/quick-panel-sections.png",
|
|
"layer1.tint": {{ panel_tint }},
|
|
"layer1.inner_margin": [12, 40, 12, 19],
|
|
"layer1.opacity": 1.0,
|
|
"content_margin": [11, 8, 11, 17]
|
|
},
|
|
// Quick panel background (Retina fix)
|
|
{
|
|
"class": "overlay_control",
|
|
"settings": ["rainbow_retina_fix"],
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [6, 8, 6, 6]
|
|
},
|
|
|
|
//
|
|
// QUICK PANEL
|
|
//
|
|
|
|
{
|
|
"class": "quick_panel",
|
|
"row_padding": [5, 2],
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "quick_panel_row",
|
|
"layer0.texture": "{{ assets_path }}/quick-panel-row.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.inner_margin": [2, 2, 2, 2],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "quick_panel_row",
|
|
"attributes": ["selected"],
|
|
"layer0.texture": "{{ assets_path }}/quick-panel-row-selected.png"
|
|
},
|
|
{
|
|
"class": "quick_panel_label",
|
|
"fg": {{ theme.foreground }},
|
|
"match_fg": {{ contrast_increase(theme.foreground, 5) }},
|
|
"selected_fg": {{ contrast_increase(theme.foreground, 5) }},
|
|
"selected_match_fg": {{ contrast_increase(theme.foreground, 10) }}
|
|
},
|
|
{
|
|
"class": "quick_panel_path_label",
|
|
"fg": {{ contrast_decrease(theme.foreground, 30) }},
|
|
"match_fg": {{ contrast_decrease(theme.foreground, 20) }},
|
|
"selected_fg": {{ contrast_decrease(theme.foreground, 25) }},
|
|
"selected_match_fg": {{ contrast_decrease(theme.foreground, 15) }}
|
|
},
|
|
{
|
|
"class": "quick_panel_score_label",
|
|
"fg": {{ contrast_decrease(theme.foreground, 20).saturate(30) }},
|
|
"selected_fg": {{ contrast_decrease(theme.foreground, 20).saturate(30) }}
|
|
},
|
|
|
|
//
|
|
// MINI QUICK PANEL
|
|
//
|
|
|
|
{
|
|
"class": "mini_quick_panel_row",
|
|
"layer0.texture": "{{ assets_path }}/quick-panel-row.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.inner_margin": [2, 2, 2, 2],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "mini_quick_panel_row",
|
|
"attributes": ["selected"],
|
|
"layer0.texture": "{{ assets_path }}/quick-panel-row-selected.png"
|
|
},
|
|
|
|
//
|
|
// CODE COMPLETION DROPDOWN
|
|
//
|
|
|
|
{
|
|
"class": "popup_control",
|
|
"content_margin": [2, 2],
|
|
"layer0.tint": {{ theme.background }},
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "auto_complete",
|
|
"row_padding": [4, 2]
|
|
},
|
|
{
|
|
"class": "auto_complete_label",
|
|
"fg": {{ theme.foreground }},
|
|
"match_fg": {{ contrast_increase(theme.foreground, 10) }},
|
|
"selected_fg": {{ contrast_increase(theme.foreground, 15) }},
|
|
"selected_match_fg": {{ contrast_increase(theme.foreground, 20) }}
|
|
},
|
|
{
|
|
"class": "table_row",
|
|
"layer0.texture": "{{ assets_path }}/autocomplete-row-selected.png",
|
|
"layer0.tint": {{ theme.background.saturate() }},
|
|
"layer0.opacity": 0.0,
|
|
"layer0.inner_margin": [3, 1]
|
|
},
|
|
{
|
|
"class": "table_row",
|
|
"attributes": ["selected"],
|
|
"layer0.opacity": 1.0
|
|
},
|
|
|
|
//
|
|
// BOTTOM PANEL BUTTONS
|
|
//
|
|
|
|
// Button group middle
|
|
{
|
|
"class": "icon_button_control",
|
|
"layer0.texture": "{{ assets_path }}/btn-group-middle.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.inner_margin": [6, 6],
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [3, 3]
|
|
},
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["selected"],
|
|
"layer0.texture": "{{ assets_path }}/btn-group-middle-on.png"
|
|
},
|
|
// Button group left
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["left"],
|
|
"layer0.texture": "{{ assets_path }}/btn-group-left.png",
|
|
"content_margin": [4, 3, 3, 3]
|
|
},
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["left", "selected"],
|
|
"layer0.texture": "{{ assets_path }}/btn-group-left-on.png"
|
|
},
|
|
// Button group right
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["right"],
|
|
"layer0.texture": "{{ assets_path }}/btn-group-right.png",
|
|
"content_margin": [3, 3, 4, 3]
|
|
},
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["right", "selected"],
|
|
"layer0.texture": "{{ assets_path }}/btn-group-right-on.png"
|
|
},
|
|
// Button single
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["left", "right"],
|
|
"layer0.texture": "{{ assets_path }}/btn-small.png",
|
|
"content_margin": [4, 3]
|
|
},
|
|
{
|
|
"class": "icon_button_control",
|
|
"attributes": ["left", "right", "selected"],
|
|
"layer0.texture": "{{ assets_path }}/btn-small-on.png"
|
|
},
|
|
// Panel close button
|
|
{
|
|
"class": "panel_close_button",
|
|
"layer0.texture": "{{ assets_path }}/panel-close.png",
|
|
"layer0.tint": {{ panel_tint }},
|
|
"layer0.opacity": 0.85,
|
|
"content_margin": [8, 12]
|
|
},
|
|
{
|
|
"class": "panel_close_button",
|
|
"attributes": ["hover"],
|
|
"layer0.texture": "{{ assets_path }}/panel-close.png",
|
|
"layer0.opacity": 1.0
|
|
},
|
|
{
|
|
"class": "panel_close_button",
|
|
"attributes": ["pressed"],
|
|
"layer0.texture": "{{ assets_path }}/panel-close-pressed.png"
|
|
},
|
|
|
|
//
|
|
// BOTTOM PANEL ICONS - GROUP 1
|
|
//
|
|
|
|
// Regex search button
|
|
{
|
|
"class": "icon_regex",
|
|
"layer0.texture": "{{ assets_path }}/icon-regex-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_regex",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-regex-on.png"
|
|
},
|
|
// Case sensitive search button
|
|
{
|
|
"class": "icon_case",
|
|
"layer0.texture": "{{ assets_path }}/icon-case-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_case",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-case-on.png"
|
|
},
|
|
// Match whole word search button
|
|
{
|
|
"class": "icon_whole_word",
|
|
"layer0.texture": "{{ assets_path }}/icon-word-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_whole_word",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-word-on.png"
|
|
},
|
|
|
|
//
|
|
// BOTTOM PANEL ICONS - GROUP 1 (EXTENDED: FIND IN FILES)
|
|
//
|
|
|
|
// Show search context button
|
|
{
|
|
"class": "icon_context",
|
|
"layer0.texture": "{{ assets_path }}/icon-context-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_context",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-context-on.png"
|
|
},
|
|
// Use search buffer
|
|
{
|
|
"class": "icon_use_buffer",
|
|
"layer0.texture": "{{ assets_path }}/icon-buffer-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_use_buffer",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-buffer-on.png"
|
|
},
|
|
|
|
//
|
|
// BOTTOM PANEL ICONS - GROUP 2
|
|
//
|
|
|
|
// Reverse search direction button
|
|
{
|
|
"class": "icon_reverse",
|
|
"layer0.texture": "{{ assets_path }}/icon-reverse-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_reverse",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-reverse-on.png"
|
|
},
|
|
// Search wrap button
|
|
{
|
|
"class": "icon_wrap",
|
|
"layer0.texture": "{{ assets_path }}/icon-wrap-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_wrap",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-wrap-on.png"
|
|
},
|
|
// Search in selection button
|
|
{
|
|
"class": "icon_in_selection",
|
|
"layer0.texture": "{{ assets_path }}/icon-selection-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_in_selection",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-selection-on.png"
|
|
},
|
|
|
|
//
|
|
// BOTTOM PANEL ICONS - GROUP 3
|
|
//
|
|
|
|
// Preserve case button
|
|
{
|
|
"class": "icon_preserve_case",
|
|
"layer0.texture": "{{ assets_path }}/icon-preserve-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_preserve_case",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-preserve-on.png"
|
|
},
|
|
|
|
//
|
|
// BOTTOM PANEL ICONS - GROUP 4
|
|
//
|
|
|
|
// Highlight results button
|
|
{
|
|
"class": "icon_highlight",
|
|
"layer0.texture": "{{ assets_path }}/icon-highlight-off.png",
|
|
"layer0.tint": {{ icon_tint }},
|
|
"layer0.opacity": 1.0,
|
|
"content_margin": [9, 9]
|
|
},
|
|
{
|
|
"class": "icon_highlight",
|
|
"parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
|
|
"layer0.texture": "{{ assets_path }}/icon-highlight-on.png"
|
|
}
|
|
|
|
]
|