Skip to content

Commit

Permalink
feat: add icon_use_gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Apr 8, 2020
1 parent 96480ba commit d9d5ada
Show file tree
Hide file tree
Showing 9 changed files with 958 additions and 780 deletions.
1,248 changes: 643 additions & 605 deletions Meetio-Theme.hidden-theme

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion Meetio-Theme.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions scripts/icons/textures/icon_use_gitignore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
183 changes: 10 additions & 173 deletions scripts/theme/files/buttons.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand All @@ -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"
}
}
]
Loading

0 comments on commit d9d5ada

Please sign in to comment.