Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Commit da2ec89

Browse files
committed
Merge pull request #2 from jackiehluo/solarized
Update UI variables and add theme colors
2 parents 7adb0f5 + 29aa87a commit da2ec89

File tree

9 files changed

+33
-27
lines changed

9 files changed

+33
-27
lines changed
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "N1-Solarized-Dark",
3+
"displayName": "Solarized Dark",
34
"theme": "Solarized Dark",
45
"version": "0.2.0",
56
"description": "A clean, Mailbox-inspired theme for Nylas N1",
Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,27 @@
1010
border-radius: @base-border-radius !important;
1111
cursor: pointer !important;
1212
img.content-mask {
13-
background-color: @background-tertiary !important;
13+
margin-top: -5px;
14+
background-color: @background-tertiary !important;
1415
}
1516
}
16-
.btn-toolbar:hover {
17-
background: @background-tertiary !important;
18-
img.content-mask {
19-
background-color: @background-secondary !important;
20-
}
17+
18+
.btn-toolbar:hover {
19+
background: @background-tertiary !important;
20+
img.content-mask {
21+
background-color: @background-secondary !important;
22+
}
2123
}
2224

2325
.mode-false {
26+
img.content-mask {
27+
background-color: @white !important;
28+
}
29+
&:hover {
2430
img.content-mask {
25-
background-color: @white !important;
26-
}
27-
&:hover {
28-
img.content-mask {
29-
background-color: @white !important;
30-
}
31+
background-color: @white !important;
3132
}
33+
}
3234
}
3335

3436
body.platform-win32 {
@@ -58,13 +60,13 @@ body.platform-win32 {
5860
border-top-left-radius: @base-border-radius !important;
5961
border-bottom-left-radius: @base-border-radius !important;
6062
padding-top: 5px;
61-
}
62-
.primary-item:hover{
63+
&:hover {
6364
background: @background-tertiary !important;
6465
color: @background-secondary !important;
6566
img.content-mask {
66-
background-color: @background-secondary !important;
67+
background-color: @background-secondary !important;
6768
}
69+
}
6870
}
6971

7072
.secondary-picker {
@@ -75,12 +77,12 @@ body.platform-win32 {
7577
border-top-right-radius: @base-border-radius !important;
7678
border-bottom-right-radius: @base-border-radius !important;
7779
margin-left: -1px !important;
78-
}
79-
.secondary-picker:hover {
80+
&:hover {
8081
background: @background-tertiary !important;
8182
img.content-mask {
82-
background-color: @background-secondary !important;
83+
background-color: @background-secondary !important;
8384
}
85+
}
8486
}
8587

8688
.secondary-items {
@@ -93,14 +95,13 @@ body.platform-win32 {
9395
background: @background-primary !important;
9496
}
9597
}
96-
}
97-
.item:hover {
98+
&:hover {
9899
color: @white !important;
100+
background: @background-primary !important;
99101
img.content-mask {
100102
background-color: @white !important;
101103
}
102-
background: @background-primary !important;
103-
104+
}
104105
}
105106
}
106107
}
@@ -138,6 +139,10 @@ body.platform-win32 {
138139
}
139140
}
140141

142+
.button-dropdown.bordered .primary-item {
143+
padding-top: 0px;
144+
}
145+
141146
/**
142147
* Plugin page
143148
*/
File renamed without changes.
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
}
66

77
.account-sidebar-sections {
8-
background-color: darken(@accent-primary-dark, 1%) !important;
9-
box-shadow: inset -3px 0 3px rgba(0,0,0, .1);
10-
118
section {
129
.item-container {
1310
margin: 0 10px !important;

styles/theme-colors.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@component-active-color: #1290af;
2+
@toolbar-background-color: #00647D;
3+
@panel-background-color: rgb(7,54,66);
4+

N1-Solarized-Dark/styles/ui-variables.less renamed to styles/ui-variables.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
@text-color-inverse-very-subtle: fadeout(@text-color-inverse, 50%);
3636
@text-color-heading: #FFF;
3737

38-
@panel-background-color: @accent-primary-dark;
39-
@toolbar-background-color: @accent-primary-dark;
38+
@panel-background-color: darken(@accent-primary-dark, 1%);
4039

4140
@btn-default-bg-color: @accent-primary-light;
4241
@btn-default-text-color: @background-tertiary;

0 commit comments

Comments
 (0)