Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Add (dark) grey accent #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions Primer.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@
"layer0.tint": [110, 84, 148],
"layer1.tint": [110, 84, 148]
},
{
"class": "tab_control",
"attributes": ["selected"],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46],
"layer1.tint": [36, 41, 46]
},
// Tab dirty state (close button hidden)
{
"class": "tab_control",
Expand Down Expand Up @@ -914,6 +921,12 @@
"match_fg": [110, 84, 148],
"selected_match_fg": [110, 84, 148]
},
{
"class": "quick_panel_label",
"settings": ["theme_primer_tab_active_grey"],
"match_fg": [36, 41, 46],
"selected_match_fg": [36, 41, 46]
},
{
"class": "quick_panel_path_label",
"fg": [153, 153, 153, 255], // 03
Expand Down Expand Up @@ -952,6 +965,12 @@
"match_fg": [110, 84, 148],
"selected_match_fg": [110, 84, 148]
},
{
"class": "quick_panel_path_label",
"settings": ["theme_primer_tab_active_grey"],
"match_fg": [36, 41, 46],
"selected_match_fg": [36, 41, 46]
},
{
"class": "quick_panel_score_label",
"fg": [138, 138, 138, 255], // 03
Expand Down Expand Up @@ -1027,6 +1046,11 @@
"settings": ["theme_primer_tab_active_purple"],
"selected_match_fg": [110, 84, 148]
},
{
"class": "auto_complete_label",
"settings": ["theme_primer_tab_active_grey"],
"selected_match_fg": [36, 41, 46]
},
{
"class": "table_row",
// "layer0.texture": "",
Expand Down Expand Up @@ -1146,6 +1170,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_regex",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},
// Case sensitive search button
{
"class": "icon_case",
Expand Down Expand Up @@ -1190,6 +1220,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_case",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},
// Match whole word search button
{
"class": "icon_whole_word",
Expand Down Expand Up @@ -1234,6 +1270,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_whole_word",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},

//
// BOTTOM PANEL ICONS - GROUP 1 (EXTENDED: FIND IN FILES)
Expand Down Expand Up @@ -1283,6 +1325,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_context",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},
// Use search buffer
{
"class": "icon_use_buffer",
Expand Down Expand Up @@ -1327,6 +1375,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_use_buffer",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},


//
Expand Down Expand Up @@ -1376,6 +1430,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_reverse",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},
// Search wrap button
{
"class": "icon_wrap",
Expand Down Expand Up @@ -1420,6 +1480,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_wrap",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},
// Search in selection button
{
"class": "icon_in_selection",
Expand Down Expand Up @@ -1464,6 +1530,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_in_selection",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},

//
// BOTTOM PANEL ICONS - GROUP 3
Expand Down Expand Up @@ -1513,6 +1585,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_preserve_case",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},

//
// BOTTOM PANEL ICONS - GROUP 4
Expand Down Expand Up @@ -1562,6 +1640,12 @@
"settings": ["theme_primer_tab_active_purple"],
"layer0.tint": [110, 84, 148]
},
{
"class": "icon_highlight",
"parents": [{"class": "icon_button_control","attributes": ["selected"]}],
"settings": ["theme_primer_tab_active_grey"],
"layer0.tint": [36, 41, 46]
},

//
// SIDEBAR FOLDER COLORING
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You can also install the theme manually:

Activate the UI theme and color scheme by modifying your user preferences file, which you can find using the menu item `Sublime Text -> Preferences -> Settings - User` (<kbd>⌘</kbd><kbd>,</kbd> on Mac).

Primer comes with different accent colors based on GitHub's color scheme (http://primercss.io/colors/).
Primer comes with different accent colors based on GitHub's color scheme (http://primercss.io/archive/colors/).

***Note: Don't forget to restart Sublime Text after activating the theme.***

Expand Down