Skip to content

Commit

Permalink
feat: updated arrow in code folding.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Dec 28, 2018
1 parent 75cdbf8 commit 220c0c0
Showing 5 changed files with 125 additions and 116 deletions.
228 changes: 118 additions & 110 deletions Mariana-Theme-Light.sublime-theme
Original file line number Diff line number Diff line change
@@ -460,26 +460,34 @@
{
"class": "fold_button_control",
"layer0.texture": "mariana-theme/assets/light/arrow_right.png",
"layer0.opacity": 1,
"layer0.opacity": 0.4,
"layer0.inner_margin": 0,
"content_margin": [
4,
4
12,
12
]
},
{
"class": "fold_button_control",
"attributes": [
"hover"
],
"layer0.opacity": 0.8
"layer0.opacity": 1,
"content_margin": [
12,
12
]
},
{
"class": "fold_button_control",
"attributes": [
"expanded"
],
"layer0.texture": "mariana-theme/assets/light/arrow_down.png"
"layer0.texture": "mariana-theme/assets/light/arrow_down.png",
"content_margin": [
12,
12
]
},
{
"class": "dialog",
@@ -719,43 +727,11 @@
}
]
},
{
"class": "close_button",
"layer0.texture": "mariana-theme/assets/light/icon_close.png",
"layer0.opacity": 1,
"content_margin": [
8,
8
]
},
{
"class": "close_button",
"attributes": [
"hover"
],
"layer0.texture": "mariana-theme/assets/light/icon_close.png",
"layer0.opacity": 1
},
{
"class": "close_button",
"attributes": [
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon.png"
},
{
"class": "close_button",
"attributes": [
"hover",
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon.png"
},
{
"class": "panel_control",
"layer0.tint": [
"background",
0.9
0.94
],
"layer0.inner_margin": [
2,
@@ -814,6 +790,38 @@
"interpolation": "smoothstep"
}
},
{
"class": "close_button",
"layer0.texture": "mariana-theme/assets/light/icon_close.png",
"layer0.opacity": 1,
"content_margin": [
8,
8
]
},
{
"class": "close_button",
"attributes": [
"hover"
],
"layer0.texture": "mariana-theme/assets/light/icon_close.png",
"layer0.opacity": 1
},
{
"class": "close_button",
"attributes": [
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon.png"
},
{
"class": "close_button",
"attributes": [
"hover",
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon.png"
},
{
"class": "overlay_control",
"layer0.texture": "mariana-theme/assets/light/overlay_bg.png",
@@ -868,7 +876,7 @@
],
"layer0.tint": [
"foreground",
1
0.9
]
},
{
@@ -926,7 +934,7 @@
],
"layer0.tint": [
"foreground",
1
0.9
],
"layer1.opacity": 0
},
@@ -1406,76 +1414,6 @@
],
"font.italic": false
},
{
"class": "status_bar",
"layer0.tint": [
"hsl",
242,
15,
36
],
"layer0.opacity": 1,
"content_margin": [
10,
2,
0,
2
]
},
{
"class": "panel_button_control",
"layer0.texture": "mariana-theme/assets/light/overflow_menu.png",
"layer0.opacity": 1,
"content_margin": [
8,
8
]
},
{
"class": "panel_button_control",
"attributes": [
"hover"
],
"layer0.texture": "mariana-theme/assets/light/overflow_menu.png"
},
{
"class": "status_container",
"content_margin": [
8,
0,
0,
0
]
},
{
"class": "status_button",
"content_margin": [
10,
0,
10,
0
],
"min_size": [
80,
0
]
},
{
"class": "label_control",
"parents": [
{
"class": "status_bar"
}
],
"font.size": 11,
"color": [
"hsl",
220,
0,
100
],
"font.bold": false
},
{
"class": "tabset_control",
"layer0.opacity": 1,
@@ -1832,6 +1770,76 @@
"interpolation": "smoothstep"
}
},
{
"class": "status_bar",
"layer0.tint": [
"hsl",
242,
15,
36
],
"layer0.opacity": 1,
"content_margin": [
10,
2,
0,
2
]
},
{
"class": "panel_button_control",
"layer0.texture": "mariana-theme/assets/light/overflow_menu.png",
"layer0.opacity": 1,
"content_margin": [
8,
8
]
},
{
"class": "panel_button_control",
"attributes": [
"hover"
],
"layer0.texture": "mariana-theme/assets/light/overflow_menu.png"
},
{
"class": "status_container",
"content_margin": [
8,
0,
0,
0
]
},
{
"class": "status_button",
"content_margin": [
10,
0,
10,
0
],
"min_size": [
80,
0
]
},
{
"class": "label_control",
"parents": [
{
"class": "status_bar"
}
],
"font.size": 11,
"color": [
"hsl",
220,
0,
100
],
"font.bold": false
},
{
"class": "title_bar",
"bg": [
Empty file removed examples/hello.json
Empty file.
1 change: 0 additions & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@
<title>Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="./dist/css/bootstrap.css" rel="stylesheet">

<!-- Documentation extras -->
<link href="./assets/css/docs.css" rel="stylesheet">
<link href="./assets/css/pygments-manni.css" rel="stylesheet">
10 changes: 6 additions & 4 deletions src/themes/light/code_folding.json
Original file line number Diff line number Diff line change
@@ -2,18 +2,20 @@
{
"class": "fold_button_control",
"layer0.texture": "mariana-theme/assets/light/arrow_right.png",
"layer0.opacity": 1.0,
"layer0.opacity": 0.4,
"layer0.inner_margin": 0,
"content_margin": [4, 4]
"content_margin": [12, 12]
},
{
"class": "fold_button_control",
"attributes": ["hover"],
"layer0.opacity": 0.8
"layer0.opacity": 1.0,
"content_margin": [12, 12]
},
{
"class": "fold_button_control",
"attributes": ["expanded"],
"layer0.texture": "mariana-theme/assets/light/arrow_down.png"
"layer0.texture": "mariana-theme/assets/light/arrow_down.png",
"content_margin": [12, 12]
}
]
2 changes: 1 addition & 1 deletion src/themes/light/panels.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"class": "panel_control",
"layer0.tint": ["background", 0.9],
"layer0.tint": ["background", 0.94],
"layer0.inner_margin": [2, 2, 2, 2],
"layer0.opacity": 1.0,
"content_margin": [6, 12, 6, 12]

0 comments on commit 220c0c0

Please sign in to comment.