Skip to content

Commit

Permalink
New version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ike Ku committed Nov 24, 2017
1 parent d5abee5 commit ed8ad2d
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 33 deletions.
26 changes: 13 additions & 13 deletions ayu-light.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"class": "grid_layout_control",
"border_size": 0,
"border_color": [240, 240, 240]
"border_color": [237, 237, 237]
},
{
"class": "grid_layout_control",
Expand Down Expand Up @@ -292,7 +292,7 @@
"content_margin": [0, 0, 0, 0],
"layer1.opacity": 1,
"layer1.texture": "ayu/assets/separator-bottom.png",
"layer1.tint": [240, 240, 240],
"layer1.tint": [237, 237, 237],
"layer1.inner_margin": [1, 0, 1, 2]
},
{
Expand All @@ -301,7 +301,7 @@
"settings": ["ui_separator", "!ui_native_titlebar"],
"layer2.opacity": 1,
"layer2.texture": "ayu/assets/separator-top.png",
"layer2.tint": [240, 240, 240],
"layer2.tint": [237, 237, 237],
"layer2.inner_margin": [1, 2, 1, 0]
},

Expand All @@ -314,19 +314,19 @@

// Top
"layer1.texture": "ayu/assets/separator-top.png",
"layer1.tint": [240, 240, 240],
"layer1.tint": [237, 237, 237],
"layer1.inner_margin": [0, 1, 0, 0],
"layer1.opacity": 0.0,

// Right
"layer2.texture": "ayu/assets/separator-right.png",
"layer2.tint": [240, 240, 240],
"layer2.tint": [237, 237, 237],
"layer2.inner_margin": [0, 0, 1, 0],
"layer2.opacity": 0.0,

// Bottom
"layer3.texture": "ayu/assets/separator-bottom.png",
"layer3.tint": [240, 240, 240],
"layer3.tint": [237, 237, 237],
"layer3.inner_margin": [0, 0, 0, 1],
"layer3.opacity": 0.0,

Expand Down Expand Up @@ -368,7 +368,7 @@
{
"class": "tab_control", "attributes": ["hover"],
"settings": ["ui_separator"],
"layer0.tint": [240, 240, 240, 70],
"layer0.tint": [237, 237, 237, 70],
},

// Selected current tab
Expand Down Expand Up @@ -517,7 +517,7 @@
"class": "scroll_tabs_right_button",
"settings": ["ui_separator"],
"layer2.texture": "ayu/assets/separator-right.png",
"layer2.tint": [240, 240, 240],
"layer2.tint": [237, 237, 237],
"layer2.opacity": 1,
"layer2.inner_margin": [0, 1, 2, 1]
},
Expand Down Expand Up @@ -560,7 +560,7 @@
"layer1.texture": "ayu/assets/separator-right.png",
"layer1.inner_margin": [0, 1, 2, 1],
"layer1.opacity": 1,
"layer1.tint": [240, 240, 240],
"layer1.tint": [237, 237, 237],
},

{
Expand Down Expand Up @@ -593,7 +593,7 @@
{
"class": "tree_row",
"layer0.texture": "ayu/assets/tree-highlight.png",
"layer0.tint": [240, 240, 240],
"layer0.tint": [237, 237, 237],
"layer0.inner_margin": [8, 4, 8, 4],
"layer0.opacity": 0
},
Expand Down Expand Up @@ -1029,7 +1029,7 @@
"layer0.tint": [250, 250, 250],
"layer0.opacity": 1,
"layer1.texture": "ayu/assets/separator-top.png",
"layer1.tint": [240, 240, 240],
"layer1.tint": [237, 237, 237],
"layer1.inner_margin": [1, 2, 1, 0],
"content_margin": [16, 3]
},
Expand Down Expand Up @@ -1080,7 +1080,7 @@
"settings": ["ui_separator"],
// "layer0.tint": [255, 255, 255],
"layer1.texture": "ayu/assets/separator-top.png",
"layer1.tint": [240, 240, 240],
"layer1.tint": [237, 237, 237],
"layer1.inner_margin": [1, 2, 1, 0],
"layer1.opacity": 1
},
Expand Down Expand Up @@ -1112,7 +1112,7 @@
"layer1.texture": "ayu/assets/input-border.png",
"layer1.opacity": 1,
"layer1.inner_margin": [10, 8],
"layer1.tint": [240, 240, 240],
"layer1.tint": [237, 237, 237],
"content_margin": [10, 7, 10, 5]
},

Expand Down
26 changes: 13 additions & 13 deletions ayu-mirage.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"class": "grid_layout_control",
"border_size": 0,
"border_color": [28, 33, 43]
"border_color": [26, 31, 41]
},
{
"class": "grid_layout_control",
Expand Down Expand Up @@ -292,7 +292,7 @@
"content_margin": [0, 0, 0, 0],
"layer1.opacity": 1,
"layer1.texture": "ayu/assets/separator-bottom.png",
"layer1.tint": [28, 33, 43],
"layer1.tint": [26, 31, 41],
"layer1.inner_margin": [1, 0, 1, 2]
},
{
Expand All @@ -301,7 +301,7 @@
"settings": ["ui_separator", "!ui_native_titlebar"],
"layer2.opacity": 1,
"layer2.texture": "ayu/assets/separator-top.png",
"layer2.tint": [28, 33, 43],
"layer2.tint": [26, 31, 41],
"layer2.inner_margin": [1, 2, 1, 0]
},

Expand All @@ -314,19 +314,19 @@

// Top
"layer1.texture": "ayu/assets/separator-top.png",
"layer1.tint": [28, 33, 43],
"layer1.tint": [26, 31, 41],
"layer1.inner_margin": [0, 1, 0, 0],
"layer1.opacity": 0.0,

// Right
"layer2.texture": "ayu/assets/separator-right.png",
"layer2.tint": [28, 33, 43],
"layer2.tint": [26, 31, 41],
"layer2.inner_margin": [0, 0, 1, 0],
"layer2.opacity": 0.0,

// Bottom
"layer3.texture": "ayu/assets/separator-bottom.png",
"layer3.tint": [28, 33, 43],
"layer3.tint": [26, 31, 41],
"layer3.inner_margin": [0, 0, 0, 1],
"layer3.opacity": 0.0,

Expand Down Expand Up @@ -368,7 +368,7 @@
{
"class": "tab_control", "attributes": ["hover"],
"settings": ["ui_separator"],
"layer0.tint": [28, 33, 43, 70],
"layer0.tint": [26, 31, 41, 70],
},

// Selected current tab
Expand Down Expand Up @@ -517,7 +517,7 @@
"class": "scroll_tabs_right_button",
"settings": ["ui_separator"],
"layer2.texture": "ayu/assets/separator-right.png",
"layer2.tint": [28, 33, 43],
"layer2.tint": [26, 31, 41],
"layer2.opacity": 1,
"layer2.inner_margin": [0, 1, 2, 1]
},
Expand Down Expand Up @@ -560,7 +560,7 @@
"layer1.texture": "ayu/assets/separator-right.png",
"layer1.inner_margin": [0, 1, 2, 1],
"layer1.opacity": 1,
"layer1.tint": [28, 33, 43],
"layer1.tint": [26, 31, 41],
},

{
Expand Down Expand Up @@ -593,7 +593,7 @@
{
"class": "tree_row",
"layer0.texture": "ayu/assets/tree-highlight.png",
"layer0.tint": [28, 33, 43],
"layer0.tint": [26, 31, 41],
"layer0.inner_margin": [8, 4, 8, 4],
"layer0.opacity": 0
},
Expand Down Expand Up @@ -1029,7 +1029,7 @@
"layer0.tint": [33, 39, 51],
"layer0.opacity": 1,
"layer1.texture": "ayu/assets/separator-top.png",
"layer1.tint": [28, 33, 43],
"layer1.tint": [26, 31, 41],
"layer1.inner_margin": [1, 2, 1, 0],
"content_margin": [16, 3]
},
Expand Down Expand Up @@ -1080,7 +1080,7 @@
"settings": ["ui_separator"],
// "layer0.tint": [38, 44, 56],
"layer1.texture": "ayu/assets/separator-top.png",
"layer1.tint": [28, 33, 43],
"layer1.tint": [26, 31, 41],
"layer1.inner_margin": [1, 2, 1, 0],
"layer1.opacity": 1
},
Expand Down Expand Up @@ -1112,7 +1112,7 @@
"layer1.texture": "ayu/assets/input-border.png",
"layer1.opacity": 1,
"layer1.inner_margin": [10, 8],
"layer1.tint": [28, 33, 43],
"layer1.tint": [26, 31, 41],
"content_margin": [10, 7, 10, 5]
},

Expand Down
9 changes: 5 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ gulp.task('widgets', () =>
.pipe(gulp.dest('./widgets'))
)

gulp.task('themes', () => {
gulp.task('themes', () =>
gulp.src('./src/themes/!(color).js')
.pipe(through.obj(themes))
.pipe(gulp.dest('./'))
}
)

gulp.task('default', ['themes', 'widgets'])
gulp.task('watch', () =>
gulp.watch('./src/**/*', ['themes', 'widgets'])
)

gulp.task('watch', () => gulp.watch('./src/**/*', ['themes', 'widgets']))
gulp.task('default', ['themes', 'widgets'])
3 changes: 2 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"3.1.6": "messages/3.1.6.md",
"3.1.8": "messages/3.1.8.md",
"3.2.0": "messages/3.2.0.md",
"3.2.1": "messages/3.2.1.md"
"3.2.1": "messages/3.2.1.md",
"4.0.0": "messages/4.0.0.md"
}
11 changes: 11 additions & 0 deletions messages/4.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**ayu theme for Sublime Text**
https://github.com/dempfi/ayu/releases

********************************************************************************
ayu from version 3.0.0 supports customization via A File Icon package
(https://github.com/ihodev/a-file-icon). Please install it for better expereince.
********************************************************************************

# Version 4.0.0

🎉 UPDATED UI THEMES! 🎨🖼
2 changes: 1 addition & 1 deletion src/themes/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ui = {
},
icon: common.ui.fade60,
scrollbar: { puck: $`000000` },
separator: common.bg.darken4,
separator: common.bg.darken5,
minimap: common.bg.darken10,
opacity: 1
}
Expand Down
2 changes: 1 addition & 1 deletion src/themes/mirage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ui = {
},
icon: common.ui.fade55,
scrollbar: { puck: $`FFFFFF` },
separator: common.bg.darken15,
separator: common.bg.darken20,
minimap: common.bg.darken40,
opacity: 1.0
}
Expand Down

0 comments on commit ed8ad2d

Please sign in to comment.