Skip to content

Commit

Permalink
feat: updated buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Vieira committed Dec 27, 2018
1 parent 3d7398c commit 71ad1f1
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 62 deletions.
105 changes: 50 additions & 55 deletions Mariana-Theme-Light.sublime-theme
Original file line number Diff line number Diff line change
@@ -1,47 +1,4 @@
[
{
"class": "popup_control",
"layer0.tint": [
"background",
0.92
],
"layer0.opacity": 1,
"content_margin": [
0,
0
]
},
{
"class": "auto_complete",
"row_padding": [
12,
6
],
"layer0.tint": [
"background",
0.92
],
"layer0.opacity": 1
},
{
"class": "auto_complete_label",
"fg": "hsl(210, 13%, 45%)",
"match_fg": "hsl(180, 36%, 63%)",
"selected_fg": "hsl(0, 0%, 50%)",
"selected_match_fg": "hsl(180, 36%, 63%)"
},
{
"class": "table_row",
"layer0.tint": "hsl(210, 13%, 45%)",
"layer0.opacity": 0
},
{
"class": "table_row",
"attributes": [
"selected"
],
"layer0.opacity": 1
},
{
"class": "button_control",
"layer0.tint": [
Expand All @@ -57,7 +14,7 @@
"layer0.inner_margin": 8,
"min_size": [
80,
38
32
],
"content_margin": 8
},
Expand Down Expand Up @@ -99,14 +56,14 @@
},
{
"class": "icon_button_group",
"spacing": 4
"spacing": 8
},
{
"class": "icon_button_control",
"layer0.texture": "mariana-theme/assets/light/icon_button_highlight.png",
"layer0.opacity": 0,
"layer0.inner_margin": 2,
"content_margin": 2
"layer0.inner_margin": 0,
"content_margin": 10
},
{
"class": "icon_button_control",
Expand Down Expand Up @@ -439,6 +396,49 @@
],
"layer0.opacity": 1
},
{
"class": "popup_control",
"layer0.tint": [
"background",
0.92
],
"layer0.opacity": 1,
"content_margin": [
0,
0
]
},
{
"class": "auto_complete",
"row_padding": [
12,
6
],
"layer0.tint": [
"background",
0.92
],
"layer0.opacity": 1
},
{
"class": "auto_complete_label",
"fg": "hsl(210, 13%, 45%)",
"match_fg": "hsl(180, 36%, 63%)",
"selected_fg": "hsl(0, 0%, 50%)",
"selected_match_fg": "hsl(180, 36%, 63%)"
},
{
"class": "table_row",
"layer0.tint": "hsl(210, 13%, 45%)",
"layer0.opacity": 0
},
{
"class": "table_row",
"attributes": [
"selected"
],
"layer0.opacity": 1
},
{
"class": "fold_button_control",
"layer0.texture": "mariana-theme/assets/light/fold_right.png",
Expand Down Expand Up @@ -611,16 +611,11 @@
224
],
"layer0.opacity": 1,
"layer0.inner_margin": [
20,
5,
20,
5
],
"layer0.inner_margin": 12,
"tint_index": 1,
"content_margin": [
10,
12,
16,
8,
16,
8
]
Expand Down
8 changes: 4 additions & 4 deletions src/themes/light/buttons.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"layer0.tint": [202, 207, 211],
"layer0.opacity": { "target": 0.6, "speed": 4.0, "interpolation": "smoothstep" },
"layer0.inner_margin": 8,
"min_size": [80, 38],
"min_size": [80, 32],
"content_margin": 8
},
{
Expand All @@ -25,14 +25,14 @@
},
{
"class": "icon_button_group",
"spacing": 4
"spacing": 8
},
{
"class": "icon_button_control",
"layer0.texture": "mariana-theme/assets/light/icon_button_highlight.png",
"layer0.opacity": 0.0,
"layer0.inner_margin": 2,
"content_margin": 2
"layer0.inner_margin": 0,
"content_margin": 10
},
{
"class": "icon_button_control",
Expand Down
4 changes: 2 additions & 2 deletions src/themes/light/inputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"class": "text_line_control",
"layer0.tint": [220, 222, 224],
"layer0.opacity": 1.0,
"layer0.inner_margin": [20, 5, 20, 5],
"layer0.inner_margin": 12,
"tint_index": 1,
"content_margin": [10, 12, 16, 8]
"content_margin": [16, 8, 16, 8]
},
{
"class": "text_line_control",
Expand Down
2 changes: 1 addition & 1 deletion src/themes/light/quick_panel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"class": "overlay_control",
"layer0.tint": [220, 222, 224],
"layer1.tint": [220, 222, 224],
"layer0.opacity": 1.0,
"content_margin": 4
},
Expand Down

0 comments on commit 71ad1f1

Please sign in to comment.