Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.

Commit 07fb41d

Browse files
author
Piotr Kubisa
committed
Spammed repo within flat tabs based on El Capitan theme tabset
1 parent a507646 commit 07fb41d

22 files changed

+117
-3
lines changed

Elementary Dark.sublime-theme

Lines changed: 116 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
// Tab element
446446
{
447447
"class": "tab_control",
448-
"content_margin": [12, 3, 12, 3], // 12, 3, 12, 3
448+
"content_margin": [12, 3, 12, 3],
449449
"max_margin_trim": 0,
450450
"hit_test_level": 0.0,
451451
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/tab-inactive.png",
@@ -481,7 +481,7 @@
481481
// {
482482
// "class": "tab_control",
483483
// "attributes": ["selected", "file_light"],
484-
// "layer1.texture": "Theme - Elementary/Elementary Dark/tabs/tab-active-low.png",
484+
// "layer1.texture": "Theme - Elementary/Elementary Dark/tabs/tab-active-low.png",
485485
// "layer1.opacity": 1
486486
// },
487487

@@ -526,7 +526,6 @@
526526
"attributes": ["dirty"],
527527
"settings": ["highlight_modified_tabs"],
528528
"fg": [192, 198, 196],
529-
"fg": [0, 175, 255],
530529
"fg": [0, 175, 255]
531530
},
532531

@@ -707,6 +706,120 @@
707706
"layer1.opacity": 1.0
708707
},
709708

709+
{
710+
"class": "tabset_control",
711+
"settings": ["enable_tab_scrolling"],
712+
"content_margin": [3, 0, 3, 0]
713+
},
714+
{
715+
"class": "tabset_control",
716+
"settings": ["mouse_wheel_switches_tabs"],
717+
"mouse_wheel_switch": true
718+
},
719+
// Tab element
720+
{
721+
"class": "tab_control",
722+
"content_margin": [12, 0, 12, 0],
723+
"max_margin_trim": 0,
724+
"hit_test_level": 0.0,
725+
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-inactive.png",
726+
"layer0.tint": [56, 56, 56],
727+
"layer0.inner_margin": [5, 5],
728+
"layer0.opacity": 0.2
729+
},
730+
// Tab close state
731+
{
732+
"class": "tab_control",
733+
"settings": ["show_tab_close_buttons"],
734+
"content_margin": [12, 0, 7, 0]
735+
},
736+
// Tab hover state
737+
{
738+
"class": "tab_control",
739+
"attributes": ["hover"],
740+
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-hover.png",
741+
"layer0.tint": [175, 175, 175],
742+
},
743+
// Tab active state
744+
{
745+
"class": "tab_control",
746+
"attributes": ["selected"],
747+
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-active.png",
748+
// "layer0.tint": [88, 90, 83]
749+
"layer0.tint": [28, 28, 28],
750+
"layer0.opacity": 0.7
751+
},
752+
753+
//
754+
// TAB BUTTONS
755+
//
756+
// Tab close button
757+
{
758+
"class": "tab_close_button",
759+
"content_margin": [8, 8],
760+
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-close.png",
761+
"layer0.opacity": 0.0,
762+
"layer0.inner_margin": 0
763+
},
764+
{
765+
"class": "tab_close_button",
766+
"parents": [{"class": "tab_control", "attributes": ["hover"]}],
767+
"layer0.opacity": 1.0
768+
},
769+
// {
770+
// "class": "tab_close_button",
771+
// "parents": [{"class": "tab_control", "attributes": ["hover"]}],
772+
// "fg": [255, 255, 255],
773+
// // "layer0.tint": [0, 0, 0],
774+
// "layer0.opacity": 1.0
775+
// },
776+
// Tab dirty button
777+
{
778+
"class": "tab_close_button",
779+
"parents": [{"class": "tab_control", "attributes": ["dirty"]}],
780+
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-dirty.png",
781+
"layer0.opacity": 0.5
782+
},
783+
// Tab close button hover
784+
{
785+
"class": "tab_close_button",
786+
"attributes": ["hover"],
787+
"layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-close-hover.png"
788+
},
789+
// Tab close button pressed
790+
{
791+
"class": "tab_close_button",
792+
"attributes": ["pressed"],
793+
"layer0.opacity": 0.85
794+
},
795+
//
796+
// TAB LABELS
797+
//
798+
{
799+
"class": "tab_label",
800+
"fade": true,
801+
"fg": [196, 196, 196],
802+
"shadow_color": [12, 12, 12],
803+
"shadow_offset": [0, 1],
804+
"font.face": "Droid Sans",
805+
"font.size": 12,
806+
"font.italic": false,
807+
"font.bold": true,
808+
},
809+
{
810+
"class": "tab_label",
811+
"parents": [{"class": "tab_control", "attributes": ["hover"]}],
812+
"fg": [255, 255, 255]
813+
},
814+
{
815+
"class": "tab_label",
816+
"parents": [{"class": "tab_control", "attributes": ["selected"]}],
817+
},
818+
{
819+
"class": "tab_label",
820+
"attributes": ["transient"],
821+
"font.italic": true
822+
},
710823
//
711824
// FOLDING
712825
//

Elementary Dark/tabs/flat/author.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Assets from El Capitan theme: https://packagecontrol.io/packages/Theme%20-%20El%20Capitan
426 Bytes
Loading
660 Bytes
Loading
341 Bytes
Loading
453 Bytes
Loading
260 Bytes
Loading
346 Bytes
Loading
265 Bytes
Loading
313 Bytes
Loading

0 commit comments

Comments
 (0)