From d9d5adab14fb5ce670a54e89d8a2d26f207a8a91 Mon Sep 17 00:00:00 2001 From: Mauro Reis Vieira Date: Wed, 8 Apr 2020 10:25:51 +0100 Subject: [PATCH] feat: add icon_use_gitignore --- Meetio-Theme.hidden-theme | 1248 +++++++++-------- Meetio-Theme.sublime-theme | 11 +- scripts/icons/textures/icon_use_gitignore.svg | 3 + scripts/theme/files/buttons.json | 183 +-- scripts/theme/files/icon.json | 288 ++++ scripts/theme/variables.ts | 5 +- textures/icon_use_gitignore.png | Bin 0 -> 477 bytes textures/icon_use_gitignore@2x.png | Bin 0 -> 896 bytes textures/icon_use_gitignore@3x.png | Bin 0 -> 1387 bytes 9 files changed, 958 insertions(+), 780 deletions(-) create mode 100644 scripts/icons/textures/icon_use_gitignore.svg create mode 100644 scripts/theme/files/icon.json create mode 100644 textures/icon_use_gitignore.png create mode 100644 textures/icon_use_gitignore@2x.png create mode 100644 textures/icon_use_gitignore@3x.png diff --git a/Meetio-Theme.hidden-theme b/Meetio-Theme.hidden-theme index c7bb3fc6..07cffaa7 100644 --- a/Meetio-Theme.hidden-theme +++ b/Meetio-Theme.hidden-theme @@ -14,11 +14,20 @@ 0.5 ], "buttonBackgroundHover": "color(var(colorAccent) a(0.2))", - "buttonIconFileColor": "var(colorAccent)", "buttonMinSize": [ 80, 28 ], + "buttonIconFileColor": "var(colorAccent)", + "buttonIconFileBackground": [ + "background", + 1 + ], + "buttonIconFileSelectedBackground": "var(buttonIconFileBackground)", + "buttonIconFileContentMargin": [ + 12, + 12 + ], "autoCompleteFontSize": "var(fontSizeSm)", "autoCompleteRowPadding": [ 10, @@ -207,6 +216,100 @@ "vcsMissing": "var(--orangish)" }, "rules": [ + { + "class": "annotation_close_button", + "content_margin": 8, + "layer0.texture": "Meetio Theme/textures/icon_close.png", + "layer0.tint": "var(colorAccent)", + "layer0.opacity": { + "target": 0.8, + "speed": 4, + "interpolation": "smoothstep" + } + }, + { + "class": "annotation_close_button", + "attributes": [ + "hover" + ], + "layer0.opacity": { + "target": 1, + "speed": 4, + "interpolation": "smoothstep" + } + }, + { + "class": "popup_control", + "layer0.tint": [ + "background", + 1 + ], + "layer0.opacity": 1, + "content_margin": 0 + }, + { + "class": "auto_complete_details", + "tint_index": 0, + "layer0.opacity": 1, + "tint_modifier": [ + 0, + 0, + 0, + 0.1 + ], + "content_margin": [ + 8, + 5, + 8, + 5 + ] + }, + { + "class": "auto_complete_info", + "spacing": 8 + }, + { + "class": "auto_complete", + "row_padding": "var(autoCompleteRowPadding)", + "tint_index": 0, + "tint_modifier": [ + "background", + 1 + ], + "layer0.opacity": 1 + }, + { + "class": "auto_complete_label", + "font.face": "var(fontFace)", + "font.size": "var(autoCompleteFontSize)", + "font.italic": "var(autoCompleteFontItalic)", + "fg": "var(autoCompleteColor)", + "match_fg": "var(autoCompleteMatchColor)", + "selected_fg": "var(autoCompleteSelectedColor)", + "selected_match_fg": "var(autoCompleteSelectedMatchColor)", + "fg_blend": "var(autoCompleteBlend)" + }, + { + "class": "auto_complete_kind_name_label", + "font.italic": true, + "border_color": "color(var(--accent) a(0.8))" + }, + { + "class": "auto_complete_description_label", + "font.italic": true + }, + { + "class": "table_row", + "layer0.tint": "var(autoCompleteSelectedBackground)", + "layer0.opacity": 0 + }, + { + "class": "table_row", + "attributes": [ + "selected" + ], + "layer0.opacity": 1 + }, { "class": "button_control", "layer0.tint": "var(buttonBackground)", @@ -247,145 +350,327 @@ } }, { - "class": "icon_button_group", - "spacing": 8 + "class": "fold_button_control", + "layer0.texture": "Meetio Theme/textures/arrow_right.png", + "layer0.tint": "var(colorAccent)", + "layer0.opacity": 0.4, + "layer0.inner_margin": 0, + "content_margin": [ + 12, + 12 + ] }, { - "class": "icon_button_control", - "layer0.texture": "", - "layer0.tint": [ - "background", - 1 + "class": "fold_button_control", + "attributes": [ + "hover" ], - "layer0.opacity": 0, - "layer0.inner_margin": 0, - "content_margin": 8 + "layer0.opacity": 1, + "content_margin": [ + 12, + 12 + ] }, { - "class": "icon_button_control", + "class": "fold_button_control", "attributes": [ - "selected" + "expanded" ], + "layer0.texture": "Meetio Theme/textures/arrow_down.png", + "layer0.tint": "var(colorAccent)", + "content_margin": [ + 12, + 12 + ] + }, + { + "class": "dialog", "layer0.tint": [ "background", - 0 + 0.94 ], "layer0.opacity": 1 }, { - "class": "icon_regex", - "layer0.texture": "Meetio Theme/textures/icon_regex.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { - "target": 0.5, - "speed": 5, - "interpolation": "smoothstep" - }, + "class": "dropdown_button_control", + "layer0.texture": "Meetio Theme/textures/overflow_menu.png", + "layer0.tint": "var(colorAccent)", + "layer0.opacity": 1, + "layer0.inner_margin": 0, "content_margin": [ 12, 12 ] }, { - "class": "icon_regex", + "class": "dropdown_button_control", "attributes": [ "hover" ], - "layer0.opacity": { - "target": 0.9, - "speed": 5, - "interpolation": "smoothstep" - } + "layer0.opacity": 0.8 }, { - "class": "icon_regex", - "parents": [ - { - "class": "icon_button_control", - "attributes": [ - "selected" - ] - } + "class": "disclosure_button_control", + "layer0.texture": "Meetio Theme/textures/disclosure.png", + "layer0.tint": [ + "foreground", + 0.6 ], - "layer0.opacity": 1 - }, - { - "class": "icon_case", - "layer0.texture": "Meetio Theme/textures/icon_case_sensitive.png", - "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { - "target": 0.5, - "speed": 5, + "target": 0.3, + "speed": 4, "interpolation": "smoothstep" }, "content_margin": [ - 12, - 12 + 0, + 0, + 0, + 0 ] }, { - "class": "icon_case", + "class": "disclosure_button_control", + "attributes": [ + "expanded" + ], + "layer0.texture": "Meetio Theme/textures/disclosure_expanded.png", + "layer0.tint": "var(sidebarIconFolderColor)" + }, + { + "class": "disclosure_button_control", "attributes": [ "hover" ], "layer0.opacity": { - "target": 0.9, - "speed": 5, + "target": 0.5, + "speed": 4, "interpolation": "smoothstep" } }, { - "class": "icon_case", - "parents": [ - { - "class": "icon_button_control", - "attributes": [ - "selected" - ] - } + "class": "disclosure_button_control", + "settings": [ + "meetio_sidebar_disclosure" + ], + "content_margin": [ + 8, + 8 ], "layer0.opacity": 1 }, { - "class": "icon_whole_word", - "layer0.texture": "Meetio Theme/textures/icon_whole_word.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { - "target": 0.5, - "speed": 5, - "interpolation": "smoothstep" - }, + "class": "icon_folder", + "layer0.texture": "Meetio Theme/textures/folder_closed.png", + "layer0.tint": "var(sidebarIconFolderColor)", + "layer0.opacity": 1, "content_margin": [ - 12, - 12 + 9, + 9 ] }, { - "class": "icon_whole_word", - "attributes": [ - "hover" - ], - "layer0.opacity": { - "target": 0.9, - "speed": 5, - "interpolation": "smoothstep" - } - }, - { - "class": "icon_whole_word", + "class": "icon_folder", "parents": [ { - "class": "icon_button_control", + "class": "tree_row", "attributes": [ - "selected" + "expanded" ] } ], - "layer0.opacity": 1 + "layer0.texture": "Meetio Theme/textures/folder_open.png", + "layer0.tint": "var(sidebarIconFolderExpandedColor)", + "layer0.opacity": 1, + "content_margin": [ + 9, + 9 + ] }, { - "class": "icon_wrap", - "layer0.texture": "Meetio Theme/textures/icon_wrap.png", + "class": "icon_folder_dup", + "layer0.texture": "Meetio Theme/textures/folder_dup.png", + "layer0.tint": "var(sidebarIconFolderColor)", + "layer0.opacity": 1, + "content_margin": [ + 9, + 9 + ] + }, + { + "class": "icon_folder_loading", + "layer0.texture": { + "keyframes": [ + "Meetio Theme/textures/spinner11.png", + "Meetio Theme/textures/spinner10.png", + "Meetio Theme/textures/spinner9.png", + "Meetio Theme/textures/spinner8.png", + "Meetio Theme/textures/spinner7.png", + "Meetio Theme/textures/spinner6.png", + "Meetio Theme/textures/spinner5.png", + "Meetio Theme/textures/spinner4.png", + "Meetio Theme/textures/spinner3.png", + "Meetio Theme/textures/spinner2.png", + "Meetio Theme/textures/spinner1.png", + "Meetio Theme/textures/spinner.png" + ], + "loop": true, + "frame_time": 0.08 + }, + "layer0.tint": "var(sidebarIconFolderColor)", + "layer0.opacity": 1, + "content_margin": [ + 9, + 9 + ] + }, + { + "class": "icon_file_type", + "layer0.opacity": 1, + "content_margin": "var(sidebarIconFileSize)" + }, + { + "class": "icon_file_type", + "parents": [ + { + "class": "tree_row", + "attributes": [ + "hover" + ] + } + ], + "layer0.opacity": 1 + }, + { + "class": "icon_file_type", + "parents": [ + { + "class": "tree_row", + "attributes": [ + "selected" + ] + } + ], + "layer0.opacity": 1 + }, + { + "class": "grid_layout_control", + "border_color": "var(gridLayoutBorderColor)", + "border_size": "var(gridLayoutBorderSize)" + }, + { + "class": "label_control", + "fg": [ + "foreground", + 1 + ], + "font.bold": false + }, + { + "class": "label_control", + "parents": [ + { + "class": "button_control" + } + ], + "color": [ + "foreground", + 1 + ], + "font.bold": true + }, + { + "class": "label_control", + "parents": [ + { + "class": "panel_control" + } + ], + "color": [ + "foreground", + 1 + ], + "font.bold": true + }, + { + "class": "title_label_control", + "fg": [ + "foreground", + 1 + ], + "font.size": "var(fontSizeHuge)" + }, + { + "class": "label_control", + "parents": [ + { + "class": "button_control" + } + ] + }, + { + "class": "close_button", + "layer0.texture": "Meetio Theme/textures/icon_close.png", + "layer0.tint": "var(colorAccent)", + "layer0.opacity": 1, + "layer0.inner_margin": [ + 3, + 3 + ], + "content_margin": [ + 8, + 8 + ] + }, + { + "class": "close_button", + "parents": [ + { + "class": "tree_row", + "attributes": [ + "hover" + ] + } + ], + "layer0.opacity": 1 + }, + { + "class": "close_button", + "attributes": [ + "dirty" + ], + "layer0.texture": "Meetio Theme/textures/dirty_icon.png", + "layer0.tint": "var(colorAccent)" + }, + { + "class": "close_button", + "attributes": [ + "hover", + "dirty" + ], + "layer0.texture": "Meetio Theme/textures/dirty_icon.png", + "layer0.tint": "var(colorAccent)" + }, + { + "class": "icon_button_group", + "spacing": 8 + }, + { + "class": "icon_button_control", + "layer0.tint": "var(buttonIconFileBackground)", + "layer0.inner_margin": 0, + "layer0.opacity": 1, + "content_margin": 8 + }, + { + "class": "icon_button_control", + "attributes": [ + "selected" + ], + "layer0.tint": "var(buttonIconFileSelectedBackground)" + }, + { + "class": "icon_regex", + "layer0.texture": "Meetio Theme/textures/icon_regex.png", "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { "target": 0.5, @@ -398,7 +683,7 @@ ] }, { - "class": "icon_wrap", + "class": "icon_regex", "attributes": [ "hover" ], @@ -409,7 +694,7 @@ } }, { - "class": "icon_wrap", + "class": "icon_regex", "parents": [ { "class": "icon_button_control", @@ -421,8 +706,8 @@ "layer0.opacity": 1 }, { - "class": "icon_in_selection", - "layer0.texture": "Meetio Theme/textures/icon_in_selection.png", + "class": "icon_case", + "layer0.texture": "Meetio Theme/textures/icon_case_sensitive.png", "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { "target": 0.5, @@ -435,7 +720,7 @@ ] }, { - "class": "icon_in_selection", + "class": "icon_case", "attributes": [ "hover" ], @@ -446,7 +731,7 @@ } }, { - "class": "icon_in_selection", + "class": "icon_case", "parents": [ { "class": "icon_button_control", @@ -458,8 +743,8 @@ "layer0.opacity": 1 }, { - "class": "icon_highlight", - "layer0.texture": "Meetio Theme/textures/icon_highlight_matches.png", + "class": "icon_whole_word", + "layer0.texture": "Meetio Theme/textures/icon_whole_word.png", "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { "target": 0.5, @@ -472,7 +757,7 @@ ] }, { - "class": "icon_highlight", + "class": "icon_whole_word", "attributes": [ "hover" ], @@ -483,7 +768,7 @@ } }, { - "class": "icon_highlight", + "class": "icon_whole_word", "parents": [ { "class": "icon_button_control", @@ -495,8 +780,8 @@ "layer0.opacity": 1 }, { - "class": "icon_preserve_case", - "layer0.texture": "Meetio Theme/textures/icon_preserve_case.png", + "class": "icon_wrap", + "layer0.texture": "Meetio Theme/textures/icon_wrap.png", "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { "target": 0.5, @@ -509,7 +794,7 @@ ] }, { - "class": "icon_preserve_case", + "class": "icon_wrap", "attributes": [ "hover" ], @@ -520,7 +805,7 @@ } }, { - "class": "icon_preserve_case", + "class": "icon_wrap", "parents": [ { "class": "icon_button_control", @@ -532,8 +817,8 @@ "layer0.opacity": 1 }, { - "class": "icon_context", - "layer0.texture": "Meetio Theme/textures/icon_in_context.png", + "class": "icon_in_selection", + "layer0.texture": "Meetio Theme/textures/icon_in_selection.png", "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { "target": 0.5, @@ -546,7 +831,7 @@ ] }, { - "class": "icon_context", + "class": "icon_in_selection", "attributes": [ "hover" ], @@ -557,7 +842,7 @@ } }, { - "class": "icon_context", + "class": "icon_in_selection", "parents": [ { "class": "icon_button_control", @@ -569,8 +854,8 @@ "layer0.opacity": 1 }, { - "class": "icon_use_buffer", - "layer0.texture": "Meetio Theme/textures/icon_use_buffer.png", + "class": "icon_highlight", + "layer0.texture": "Meetio Theme/textures/icon_highlight_matches.png", "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { "target": 0.5, @@ -583,7 +868,7 @@ ] }, { - "class": "icon_use_buffer", + "class": "icon_highlight", "attributes": [ "hover" ], @@ -594,7 +879,7 @@ } }, { - "class": "icon_use_buffer", + "class": "icon_highlight", "parents": [ { "class": "icon_button_control", @@ -606,158 +891,170 @@ "layer0.opacity": 1 }, { - "class": "popup_control", - "layer0.tint": [ - "background", - 1 - ], - "layer0.opacity": 1, - "content_margin": 0 + "class": "icon_preserve_case", + "layer0.texture": "Meetio Theme/textures/icon_preserve_case.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5, + "interpolation": "smoothstep" + }, + "content_margin": [ + 12, + 12 + ] }, { - "class": "auto_complete_details", - "tint_index": 0, - "layer0.opacity": 1, - "tint_modifier": [ - 0, - 0, - 0, - 0.1 + "class": "icon_preserve_case", + "attributes": [ + "hover" ], - "content_margin": [ - 8, - 5, - 8, - 5 - ] - }, - { - "class": "auto_complete_info", - "spacing": 8 + "layer0.opacity": { + "target": 0.9, + "speed": 5, + "interpolation": "smoothstep" + } }, { - "class": "auto_complete", - "row_padding": "var(autoCompleteRowPadding)", - "tint_index": 0, - "tint_modifier": [ - "background", - 1 + "class": "icon_preserve_case", + "parents": [ + { + "class": "icon_button_control", + "attributes": [ + "selected" + ] + } ], "layer0.opacity": 1 }, { - "class": "auto_complete_label", - "font.face": "var(fontFace)", - "font.size": "var(autoCompleteFontSize)", - "font.italic": "var(autoCompleteFontItalic)", - "fg": "var(autoCompleteColor)", - "match_fg": "var(autoCompleteMatchColor)", - "selected_fg": "var(autoCompleteSelectedColor)", - "selected_match_fg": "var(autoCompleteSelectedMatchColor)", - "fg_blend": "var(autoCompleteBlend)" - }, - { - "class": "auto_complete_kind_name_label", - "font.italic": true, - "border_color": "color(var(--accent) a(0.8))" - }, - { - "class": "auto_complete_description_label", - "font.italic": true + "class": "icon_context", + "layer0.texture": "Meetio Theme/textures/icon_in_context.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5, + "interpolation": "smoothstep" + }, + "content_margin": [ + 12, + 12 + ] }, { - "class": "table_row", - "layer0.tint": "var(autoCompleteSelectedBackground)", - "layer0.opacity": 0 + "class": "icon_context", + "attributes": [ + "hover" + ], + "layer0.opacity": { + "target": 0.9, + "speed": 5, + "interpolation": "smoothstep" + } }, { - "class": "table_row", - "attributes": [ - "selected" + "class": "icon_context", + "parents": [ + { + "class": "icon_button_control", + "attributes": [ + "selected" + ] + } ], "layer0.opacity": 1 }, { - "class": "annotation_close_button", - "content_margin": 8, - "layer0.texture": "Meetio Theme/textures/icon_close.png", - "layer0.tint": "var(colorAccent)", + "class": "icon_use_buffer", + "layer0.texture": "Meetio Theme/textures/icon_use_buffer.png", + "layer0.tint": "var(buttonIconFileColor)", "layer0.opacity": { - "target": 0.8, - "speed": 4, + "target": 0.5, + "speed": 5, "interpolation": "smoothstep" - } + }, + "content_margin": [ + 12, + 12 + ] }, { - "class": "annotation_close_button", + "class": "icon_use_buffer", "attributes": [ "hover" ], "layer0.opacity": { - "target": 1, - "speed": 4, + "target": 0.9, + "speed": 5, "interpolation": "smoothstep" } }, { - "class": "fold_button_control", - "layer0.texture": "Meetio Theme/textures/arrow_right.png", - "layer0.tint": "var(colorAccent)", - "layer0.opacity": 0.4, - "layer0.inner_margin": 0, - "content_margin": [ - 12, - 12 - ] + "class": "icon_use_buffer", + "parents": [ + { + "class": "icon_button_control", + "attributes": [ + "selected" + ] + } + ], + "layer0.opacity": 1 }, { - "class": "fold_button_control", - "attributes": [ - "hover" - ], - "layer0.opacity": 1, + "class": "icon_use_gitignore", + "layer0.texture": "Meetio Theme/textures/icon_use_gitignore.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5, + "interpolation": "smoothstep" + }, "content_margin": [ 12, 12 ] }, { - "class": "fold_button_control", + "class": "icon_use_gitignore", "attributes": [ - "expanded" + "hover" ], - "layer0.texture": "Meetio Theme/textures/arrow_down.png", - "layer0.tint": "var(colorAccent)", - "content_margin": [ - 12, - 12 - ] + "layer0.opacity": { + "target": 0.9, + "speed": 5, + "interpolation": "smoothstep" + } }, { - "class": "dialog", - "layer0.tint": [ - "background", - 0.94 + "class": "icon_use_gitignore", + "parents": [ + { + "class": "icon_button_control", + "attributes": [ + "selected" + ] + } ], "layer0.opacity": 1 }, { - "class": "dropdown_button_control", - "layer0.texture": "Meetio Theme/textures/overflow_menu.png", - "layer0.tint": "var(colorAccent)", - "layer0.opacity": 1, - "layer0.inner_margin": 0, + "class": "kind_container", "content_margin": [ - 12, - 12 - ] + 7, + 0, + 6, + 0 + ], + "layer1.draw_center": false, + "layer1.inner_margin": 0 }, { - "class": "dropdown_button_control", - "attributes": [ - "hover" - ], - "layer0.opacity": 0.8 + "class": "kind_label", + "font.face": "var(kindFontFace)", + "font.size": "var(kindFontSize)", + "font.bold": true, + "font.italic": false }, { "class": "text_line_control", @@ -836,293 +1133,34 @@ "content_margin": [ 52, 10, - 10, - 10 - ], - "settings": [ - "meetio_input_search_icon" - ] - }, - { - "class": "text_line_control", - "parents": [ - { - "class": "switch_project_window" - } - ], - "layer2.inner_margin": [ - 52, - 48, - 0, - 0 - ], - "layer2.draw_center": false, - "layer2.texture": "Meetio Theme/textures/inputs/icon_search.png", - "layer2.tint": "var(colorAccent)", - "layer2.opacity": 1, - "layer1.opacity": 0, - "settings": [ - "meetio_input_search_icon" - ] - }, - { - "class": "disclosure_button_control", - "layer0.texture": "Meetio Theme/textures/disclosure.png", - "layer0.tint": [ - "foreground", - 0.6 - ], - "layer0.opacity": { - "target": 0.3, - "speed": 4, - "interpolation": "smoothstep" - }, - "content_margin": [ - 0, - 0, - 0, - 0 - ] - }, - { - "class": "disclosure_button_control", - "attributes": [ - "expanded" - ], - "layer0.texture": "Meetio Theme/textures/disclosure_expanded.png", - "layer0.tint": "var(sidebarIconFolderColor)" - }, - { - "class": "disclosure_button_control", - "attributes": [ - "hover" - ], - "layer0.opacity": { - "target": 0.5, - "speed": 4, - "interpolation": "smoothstep" - } - }, - { - "class": "disclosure_button_control", - "settings": [ - "meetio_sidebar_disclosure" - ], - "content_margin": [ - 8, - 8 - ], - "layer0.opacity": 1 - }, - { - "class": "icon_folder", - "layer0.texture": "Meetio Theme/textures/folder_closed.png", - "layer0.tint": "var(sidebarIconFolderColor)", - "layer0.opacity": 1, - "content_margin": [ - 9, - 9 - ] - }, - { - "class": "icon_folder", - "parents": [ - { - "class": "tree_row", - "attributes": [ - "expanded" - ] - } - ], - "layer0.texture": "Meetio Theme/textures/folder_open.png", - "layer0.tint": "var(sidebarIconFolderExpandedColor)", - "layer0.opacity": 1, - "content_margin": [ - 9, - 9 - ] - }, - { - "class": "icon_folder_dup", - "layer0.texture": "Meetio Theme/textures/folder_dup.png", - "layer0.tint": "var(sidebarIconFolderColor)", - "layer0.opacity": 1, - "content_margin": [ - 9, - 9 - ] - }, - { - "class": "icon_folder_loading", - "layer0.texture": { - "keyframes": [ - "Meetio Theme/textures/spinner11.png", - "Meetio Theme/textures/spinner10.png", - "Meetio Theme/textures/spinner9.png", - "Meetio Theme/textures/spinner8.png", - "Meetio Theme/textures/spinner7.png", - "Meetio Theme/textures/spinner6.png", - "Meetio Theme/textures/spinner5.png", - "Meetio Theme/textures/spinner4.png", - "Meetio Theme/textures/spinner3.png", - "Meetio Theme/textures/spinner2.png", - "Meetio Theme/textures/spinner1.png", - "Meetio Theme/textures/spinner.png" - ], - "loop": true, - "frame_time": 0.08 - }, - "layer0.tint": "var(sidebarIconFolderColor)", - "layer0.opacity": 1, - "content_margin": [ - 9, - 9 - ] - }, - { - "class": "icon_file_type", - "layer0.opacity": 1, - "content_margin": "var(sidebarIconFileSize)" - }, - { - "class": "icon_file_type", - "parents": [ - { - "class": "tree_row", - "attributes": [ - "hover" - ] - } - ], - "layer0.opacity": 1 - }, - { - "class": "icon_file_type", - "parents": [ - { - "class": "tree_row", - "attributes": [ - "selected" - ] - } - ], - "layer0.opacity": 1 - }, - { - "class": "kind_container", - "content_margin": [ - 7, - 0, - 6, - 0 - ], - "layer1.draw_center": false, - "layer1.inner_margin": 0 - }, - { - "class": "kind_label", - "font.face": "var(kindFontFace)", - "font.size": "var(kindFontSize)", - "font.bold": true, - "font.italic": false - }, - { - "class": "grid_layout_control", - "border_color": "var(gridLayoutBorderColor)", - "border_size": "var(gridLayoutBorderSize)" - }, - { - "class": "label_control", - "fg": [ - "foreground", - 1 - ], - "font.bold": false - }, - { - "class": "label_control", - "parents": [ - { - "class": "button_control" - } - ], - "color": [ - "foreground", - 1 - ], - "font.bold": true - }, - { - "class": "label_control", - "parents": [ - { - "class": "panel_control" - } - ], - "color": [ - "foreground", - 1 - ], - "font.bold": true - }, - { - "class": "title_label_control", - "fg": [ - "foreground", - 1 - ], - "font.size": "var(fontSizeHuge)" - }, - { - "class": "label_control", - "parents": [ - { - "class": "button_control" - } - ] - }, - { - "class": "close_button", - "layer0.texture": "Meetio Theme/textures/icon_close.png", - "layer0.tint": "var(colorAccent)", - "layer0.opacity": 1, - "layer0.inner_margin": [ - 3, - 3 - ], - "content_margin": [ - 8, - 8 - ] - }, - { - "class": "close_button", - "parents": [ - { - "class": "tree_row", - "attributes": [ - "hover" - ] - } - ], - "layer0.opacity": 1 - }, - { - "class": "close_button", - "attributes": [ - "dirty" + 10, + 10 ], - "layer0.texture": "Meetio Theme/textures/dirty_icon.png", - "layer0.tint": "var(colorAccent)" + "settings": [ + "meetio_input_search_icon" + ] }, { - "class": "close_button", - "attributes": [ - "hover", - "dirty" + "class": "text_line_control", + "parents": [ + { + "class": "switch_project_window" + } ], - "layer0.texture": "Meetio Theme/textures/dirty_icon.png", - "layer0.tint": "var(colorAccent)" + "layer2.inner_margin": [ + 52, + 48, + 0, + 0 + ], + "layer2.draw_center": false, + "layer2.texture": "Meetio Theme/textures/inputs/icon_search.png", + "layer2.tint": "var(colorAccent)", + "layer2.opacity": 1, + "layer1.opacity": 0, + "settings": [ + "meetio_input_search_icon" + ] }, { "class": "overlay_control", @@ -1265,6 +1303,100 @@ "interpolation": "smoothstep" } }, + { + "class": "mini_quick_panel_row", + "layer0.tint": "var(panelRowBackground)", + "layer0.inner_margin": [ + 2, + 2, + 2, + 2 + ], + "layer0.opacity": 1 + }, + { + "class": "mini_quick_panel_row", + "attributes": [ + "selected" + ], + "layer0.tint": "var(panelRowSelectedBackground)" + }, + { + "class": "quick_panel", + "row_padding": "var(panelRowPadding)", + "layer0.tint": [ + "background", + 1 + ], + "layer0.opacity": 1 + }, + { + "class": "quick_panel", + "parents": [ + { + "class": "overlay_control goto_symbol" + } + ], + "row_padding": [ + 0, + 0, + 0, + 0 + ] + }, + { + "class": "quick_panel", + "parents": [ + { + "class": "overlay_control goto_symbol_in_project" + } + ], + "row_padding": [ + 0, + 0, + 0, + 0 + ] + }, + { + "class": "quick_panel_row", + "layer0.opacity": 1 + }, + { + "class": "quick_panel_row", + "layer0.tint": "var(panelRowBackground)", + "layer0.opacity": 1 + }, + { + "class": "quick_panel_row", + "attributes": [ + "selected" + ], + "layer0.tint": "var(panelRowSelectedBackground)" + }, + { + "class": "quick_panel_label", + "font.face": "var(fontFace)", + "font.size": "var(panelRowFontSize)", + "fg": "var(panelRowColor)", + "match_fg": "var(panelRowMatchColor)", + "selected_fg": "var(panelRowSelectedColor)", + "selected_match_fg": "var(panelRowSelectedMatchColor)" + }, + { + "class": "quick_panel_path_label", + "font.face": "var(fontFace)", + "font.size": "var(panelPathRowFontSize)", + "font.italic": "var(panelPathRowFontItalic)", + "fg": "var(panelPathRowColor)", + "match_fg": "var(panelRowMatchColor)", + "selected_fg": "var(panelRowSelectedColor)", + "selected_match_fg": "var(panelRowSelectedMatchColor)" + }, + { + "class": "quick_panel_entry", + "spacing": 1 + }, { "class": "progress_bar_control", "layer0.tint": [ @@ -1541,100 +1673,6 @@ ], "layer0.tint": "var(scrollTrack)" }, - { - "class": "mini_quick_panel_row", - "layer0.tint": "var(panelRowBackground)", - "layer0.inner_margin": [ - 2, - 2, - 2, - 2 - ], - "layer0.opacity": 1 - }, - { - "class": "mini_quick_panel_row", - "attributes": [ - "selected" - ], - "layer0.tint": "var(panelRowSelectedBackground)" - }, - { - "class": "quick_panel", - "row_padding": "var(panelRowPadding)", - "layer0.tint": [ - "background", - 1 - ], - "layer0.opacity": 1 - }, - { - "class": "quick_panel", - "parents": [ - { - "class": "overlay_control goto_symbol" - } - ], - "row_padding": [ - 0, - 0, - 0, - 0 - ] - }, - { - "class": "quick_panel", - "parents": [ - { - "class": "overlay_control goto_symbol_in_project" - } - ], - "row_padding": [ - 0, - 0, - 0, - 0 - ] - }, - { - "class": "quick_panel_row", - "layer0.opacity": 1 - }, - { - "class": "quick_panel_row", - "layer0.tint": "var(panelRowBackground)", - "layer0.opacity": 1 - }, - { - "class": "quick_panel_row", - "attributes": [ - "selected" - ], - "layer0.tint": "var(panelRowSelectedBackground)" - }, - { - "class": "quick_panel_label", - "font.face": "var(fontFace)", - "font.size": "var(panelRowFontSize)", - "fg": "var(panelRowColor)", - "match_fg": "var(panelRowMatchColor)", - "selected_fg": "var(panelRowSelectedColor)", - "selected_match_fg": "var(panelRowSelectedMatchColor)" - }, - { - "class": "quick_panel_path_label", - "font.face": "var(fontFace)", - "font.size": "var(panelPathRowFontSize)", - "font.italic": "var(panelPathRowFontItalic)", - "fg": "var(panelPathRowColor)", - "match_fg": "var(panelRowMatchColor)", - "selected_fg": "var(panelRowSelectedColor)", - "selected_match_fg": "var(panelRowSelectedMatchColor)" - }, - { - "class": "quick_panel_entry", - "spacing": 1 - }, { "class": "sidebar_container", "layer0.tint": "var(sidebarBackground)", @@ -1832,6 +1870,11 @@ ], "content_margin": 4 }, + { + "class": "title_bar", + "bg": "var(titleBarBackground)", + "fg": "var(titleBarColor)" + }, { "class": "tabset_control", "layer0.opacity": 1, @@ -2185,24 +2228,6 @@ ], "layer0.opacity": 0.8 }, - { - "class": "tool_tip_control", - "layer0.tint": "var(tooltipBackground)", - "layer0.opacity": 1, - "content_margin": [ - 12, - 8 - ] - }, - { - "class": "tool_tip_label_control", - "fg": "var(tooltipLabelColor)" - }, - { - "class": "title_bar", - "bg": "var(titleBarBackground)", - "fg": "var(titleBarColor)" - }, { "class": "minimap_control", "settings": [ @@ -2467,6 +2492,19 @@ 3, 1 ] + }, + { + "class": "tool_tip_control", + "layer0.tint": "var(tooltipBackground)", + "layer0.opacity": 1, + "content_margin": [ + 12, + 8 + ] + }, + { + "class": "tool_tip_label_control", + "fg": "var(tooltipLabelColor)" } ] } \ No newline at end of file diff --git a/Meetio-Theme.sublime-theme b/Meetio-Theme.sublime-theme index a14b4f67..87394bfe 100644 --- a/Meetio-Theme.sublime-theme +++ b/Meetio-Theme.sublime-theme @@ -15,11 +15,20 @@ 0.5 ], "buttonBackgroundHover": "color(var(colorAccent) a(0.2))", - "buttonIconFileColor": "var(colorAccent)", "buttonMinSize": [ 80, 28 ], + "buttonIconFileColor": "var(colorAccent)", + "buttonIconFileBackground": [ + "background", + 1 + ], + "buttonIconFileSelectedBackground": "var(buttonIconFileBackground)", + "buttonIconFileContentMargin": [ + 12, + 12 + ], "autoCompleteFontSize": "var(fontSizeSm)", "autoCompleteRowPadding": [ 10, diff --git a/scripts/icons/textures/icon_use_gitignore.svg b/scripts/icons/textures/icon_use_gitignore.svg new file mode 100644 index 00000000..a40bddae --- /dev/null +++ b/scripts/icons/textures/icon_use_gitignore.svg @@ -0,0 +1,3 @@ + + + diff --git a/scripts/theme/files/buttons.json b/scripts/theme/files/buttons.json index 0171c299..5fd065f2 100644 --- a/scripts/theme/files/buttons.json +++ b/scripts/theme/files/buttons.json @@ -2,7 +2,11 @@ { "class": "button_control", "layer0.tint": "var(buttonBackground)", - "layer0.opacity": { "target": 0.6, "speed": 4.0, "interpolation": "smoothstep" }, + "layer0.opacity": { + "target": 0.6, + "speed": 4.0, + "interpolation": "smoothstep" + }, "layer0.inner_margin": [6, 6], "content_margin": [6, 10, 6, 10], "min_size": "var(buttonMinSize)" @@ -16,177 +20,10 @@ { "class": "button_control", "attributes": ["pressed"], - "layer0.opacity": { "target": 0.1, "speed": 4.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_button_group", - "spacing": 8 - }, - { - "class": "icon_button_control", - "layer0.texture": "", - "layer0.tint": ["background", 1.0], - "layer0.opacity": 0.0, - "layer0.inner_margin": 0, - "content_margin": 8 - }, - { - "class": "icon_button_control", - "attributes": ["selected"], - "layer0.tint": ["background", 0.0], - "layer0.opacity": 1.0 - }, - { - "class": "icon_regex", - "layer0.texture": "Meetio Theme/textures/icon_regex.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_regex", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_regex", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_case", - "layer0.texture": "Meetio Theme/textures/icon_case_sensitive.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_case", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_case", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_whole_word", - "layer0.texture": "Meetio Theme/textures/icon_whole_word.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_whole_word", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_whole_word", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_wrap", - "layer0.texture": "Meetio Theme/textures/icon_wrap.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_wrap", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_wrap", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_in_selection", - "layer0.texture": "Meetio Theme/textures/icon_in_selection.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_in_selection", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_in_selection", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_highlight", - "layer0.texture": "Meetio Theme/textures/icon_highlight_matches.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_highlight", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_highlight", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_preserve_case", - "layer0.texture": "Meetio Theme/textures/icon_preserve_case.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_preserve_case", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_preserve_case", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_context", - "layer0.texture": "Meetio Theme/textures/icon_in_context.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_context", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_context", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 - }, - { - "class": "icon_use_buffer", - "layer0.texture": "Meetio Theme/textures/icon_use_buffer.png", - "layer0.tint": "var(buttonIconFileColor)", - "layer0.opacity": { "target": 0.5, "speed": 5.0, "interpolation": "smoothstep" }, - "content_margin": [12, 12] - }, - { - "class": "icon_use_buffer", - "attributes": ["hover"], - "layer0.opacity": { "target": 0.9, "speed": 5.0, "interpolation": "smoothstep" } - }, - { - "class": "icon_use_buffer", - "parents": [{ "class": "icon_button_control", "attributes": ["selected"] }], - "layer0.opacity": 1.0 + "layer0.opacity": { + "target": 0.1, + "speed": 4.0, + "interpolation": "smoothstep" + } } ] diff --git a/scripts/theme/files/icon.json b/scripts/theme/files/icon.json new file mode 100644 index 00000000..1442ca57 --- /dev/null +++ b/scripts/theme/files/icon.json @@ -0,0 +1,288 @@ +[ + { + "class": "icon_button_group", + "spacing": 8 + }, + { + "class": "icon_button_control", + "layer0.tint": "var(buttonIconFileBackground)", + "layer0.inner_margin": 0, + "layer0.opacity": 1.0, + "content_margin": 8 + }, + { + "class": "icon_button_control", + "attributes": ["selected"], + "layer0.tint": "var(buttonIconFileSelectedBackground)" + }, + { + "class": "icon_regex", + "layer0.texture": "Meetio Theme/textures/icon_regex.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_regex", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_regex", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_case", + "layer0.texture": "Meetio Theme/textures/icon_case_sensitive.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_case", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_case", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_whole_word", + "layer0.texture": "Meetio Theme/textures/icon_whole_word.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_whole_word", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_whole_word", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_wrap", + "layer0.texture": "Meetio Theme/textures/icon_wrap.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_wrap", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_wrap", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_in_selection", + "layer0.texture": "Meetio Theme/textures/icon_in_selection.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_in_selection", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_in_selection", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_highlight", + "layer0.texture": "Meetio Theme/textures/icon_highlight_matches.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_highlight", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_highlight", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_preserve_case", + "layer0.texture": "Meetio Theme/textures/icon_preserve_case.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_preserve_case", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_preserve_case", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_context", + "layer0.texture": "Meetio Theme/textures/icon_in_context.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_context", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_context", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_use_buffer", + "layer0.texture": "Meetio Theme/textures/icon_use_buffer.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_use_buffer", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_use_buffer", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + }, + { + "class": "icon_use_gitignore", + "layer0.texture": "Meetio Theme/textures/icon_use_gitignore.png", + "layer0.tint": "var(buttonIconFileColor)", + "layer0.opacity": { + "target": 0.5, + "speed": 5.0, + "interpolation": "smoothstep" + }, + "content_margin": [12, 12] + }, + { + "class": "icon_use_gitignore", + "attributes": ["hover"], + "layer0.opacity": { + "target": 0.9, + "speed": 5.0, + "interpolation": "smoothstep" + } + }, + { + "class": "icon_use_gitignore", + "parents": [ + { "class": "icon_button_control", "attributes": ["selected"] } + ], + "layer0.opacity": 1.0 + } +] diff --git a/scripts/theme/variables.ts b/scripts/theme/variables.ts index 5322e5c2..93d826d0 100644 --- a/scripts/theme/variables.ts +++ b/scripts/theme/variables.ts @@ -10,8 +10,11 @@ export const variables = { kindFontSize: 'var(fontSizeLg)', buttonBackground: ['background', 0.5], buttonBackgroundHover: 'color(var(colorAccent) a(0.2))', - buttonIconFileColor: 'var(colorAccent)', buttonMinSize: [80, 28], + buttonIconFileColor: 'var(colorAccent)', + buttonIconFileBackground: ['background', 1.0], + buttonIconFileSelectedBackground: 'var(buttonIconFileBackground)', + buttonIconFileContentMargin: [12, 12], autoCompleteFontSize: 'var(fontSizeSm)', autoCompleteRowPadding: [10, 3], autoCompleteFontItalic: true, diff --git a/textures/icon_use_gitignore.png b/textures/icon_use_gitignore.png new file mode 100644 index 0000000000000000000000000000000000000000..7b928bfd62f0ebc0a6a69252947f777b41e9193d GIT binary patch literal 477 zcmV<30V4j1P)a$8)Y%a?rpR4(z?x`>vO@_gM?B@n1o` zr|zh4)p_-12bykmPJOTLsbewTRpL(pgTRygd#)}4y}&Tg2b=(Vz$VZHmVt?o<1w&N zXE0FOKLA!Ps-lGcxVcdZ{=8(eDr~ni=)MAjoyt>nQ2p({V@qvRRj>%$x`GPs0}I6_ zg$h0Zj{@-<@Cx_^+yzE}J9(^0cGpF0j_ijh@Ghk^^_Q*M3}t?fWnKiep?(SaW)SYZ|nm@Us!B$w88?X~Z&5tUB*I^x7zf(-sJN9aR*^KR5P=ppCHw(^7*!YCvi?t%A@ZwhD?0{sV4w zW1%9{E(>nlxEB=t18O%?L1}mGvS1N}7)^*ZvEa`l?Mu_xACi7t%n0$ld++4Uo7cLS z54_DebI$pmcW3V0IndJ5($dnBK;5n`sSD}}^^m%Gi1kL*H`HV5kLsejZIFbA?d7`q zvAVrM;ak-A)Ju_iM+QlJB9ic57S%V^FrfHX)r*-rpXcJ&Rpg(@_(p+GfLF>QlfYxZ zL%=5BZr~nZ1-J%ufMs9~_#T)B_5kk#xj*5NoWShAr!D{w=dQU8{2D??-mW7R!M7R~ zQwMX-ss?^(P)J?=$T_PTm}*c+UC!p5RSirxD5Nf*<($cfSRDtx0qVa7)jQy?rZ31=!4_3sD051Tat~SOR zc&;MR0`N9)DumGUmQ=?mjvw2AvC`Zr#r_mR=tN=y@G|fL@Mxy?i`@8P1m5 z>rha~%Ni-ZT1%1(iQpCW$zh3KRsX57R*Z$UBv?)a-?nX4J(1`8Hwi(H3hUb$q>2TTcHhChWg=8)6O2CxY**EvJ9R680W# zu?Eg1f`_(!M%bFL_h^eXa3&G_Ol>*+ld5&PGExodd~6R^tELzOqpnNTpLeYz9QCcl zK74q{`cdCW)IQWtk`3xqB*~I`V2I-Pmo>VXQrGvJ>YigDq2ioN;@#ar`6 z>EB2(W*ns$6;1*>fnAxL=YZEj2)&utg8_G*>0+)fmDZb7wP~2`m0J9;4i-YKBX=!P>bNmBB W^5w9PN1%TI0000oe61 zzB?x9SiX~Vd(}k5Yr9#}E`z==t0iETq|*igk~AvmO-WZ)Ma<>8wn#c})OJSF9IJox zJxJ0T;Fm!CeZXet+*jj#Eds6s>VSG+PW1O&U=$d^-{*#bv%ny5+&On?oS%ijN5Gwd zy4E`94p|Im1vp(5C<0&^uv=0)umD&G+yutWj4?hZTC&m*J7*Ti~y%IGYBav4OYXD1f9$vq^JyA4MP(2X9gif#XP7D zd5SgQpC%zmEh>wxBY$&aopZy$fy|PM!-0_3qR`&(b)bC_c_+l!oFGY!z=OeZibqR` zu_-~4W&s}qH)K&%Fdmcitku}sgI)k`%ciH0yew(G#W3|LCTS&b7`S4xstQI2&@%r0 zZakJA^b*rAIRMST6KO_?JxJ10pa=gRG#&X1Smm6%5ND9qgC1x4CI?_CDNp9K1U;0W zmcsH#($3gROwwxLNDcx9@N+>y1p))YzxrgIhN*B7SmK-;m}qCxd{Aq~fIk7-fn7jf z<@%0h5gYLnZ!4qE717p+Z)io&C4A$L0lm@IgRiLcME~!1&MBHcU52k_YETP{dymaP|! zWO07M;CO!(+LbGk_8HnS8h3osK=GU*{x`vjYtJ5oO>7TJO3+z@(;Mj5*PBj*dy>UB|64Y&QyvSfP)mZBAU2!{-64YsM zY_4%nA(oRE+t#E6?KL>Q)?hQ$G#YGT+nSW1gFt_Z(%%T$lYFGjD88Gre=hKFkm}mf2Fy>f**>WVlJ=&YfnG^zB5IDLd6Ifk zw11mNpbaTOBxzd?ZORo%uN!o4%q!SihG1KA36=wro;T=yJI{dgC3PBtzM(0++~hB- zZ3dl(B-P~|e7XGnCXH@MZIWuXrcu(&C}y`o-%&}+t0kmK(ys;)lGG(>tEA?th~fVU zv8_=o3r8e1g~SN1K**1KwgdME9CiZu9$#ns4fs9!9B|GhzD!D*i!TY?2&^8nZ6ItU zzZ2NxoEr={CVMeYQXB9pzI;1bhJf?HKhgJk{DO%*2BF7*=bUrz=in<0Np+H*mhIkD zYkK9iWv;V9PUT?v6=-+kYxxh5&zaA{5bz1`0q}X++8+yf*UKx(T95yMNh^LG&Wb9; z5`Lnq1NZ?yKfW)Iq>Lr^1Wkne8tW!}4ShMV1izqR0lv3Ye%vx6()4fieFWbt2BXgt t_?gZ=petIMTvAd}Qc_Y