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

Commit

Permalink
Merge pull request #2 from jackiehluo/solarized
Browse files Browse the repository at this point in the history
Update UI variables and add theme colors
  • Loading branch information
NSHenry committed Mar 12, 2016
2 parents 7adb0f5 + 29aa87a commit da2ec89
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 27 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions N1-Solarized-Dark/package.json → package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "N1-Solarized-Dark",
"displayName": "Solarized Dark",
"theme": "Solarized Dark",
"version": "0.2.0",
"description": "A clean, Mailbox-inspired theme for Nylas N1",
Expand Down
49 changes: 27 additions & 22 deletions N1-Solarized-Dark/styles/controls.less → styles/controls.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,27 @@
border-radius: @base-border-radius !important;
cursor: pointer !important;
img.content-mask {
background-color: @background-tertiary !important;
margin-top: -5px;
background-color: @background-tertiary !important;
}
}
.btn-toolbar:hover {
background: @background-tertiary !important;
img.content-mask {
background-color: @background-secondary !important;
}

.btn-toolbar:hover {
background: @background-tertiary !important;
img.content-mask {
background-color: @background-secondary !important;
}
}

.mode-false {
img.content-mask {
background-color: @white !important;
}
&:hover {
img.content-mask {
background-color: @white !important;
}
&:hover {
img.content-mask {
background-color: @white !important;
}
background-color: @white !important;
}
}
}

body.platform-win32 {
Expand Down Expand Up @@ -58,13 +60,13 @@ body.platform-win32 {
border-top-left-radius: @base-border-radius !important;
border-bottom-left-radius: @base-border-radius !important;
padding-top: 5px;
}
.primary-item:hover{
&:hover {
background: @background-tertiary !important;
color: @background-secondary !important;
img.content-mask {
background-color: @background-secondary !important;
background-color: @background-secondary !important;
}
}
}

.secondary-picker {
Expand All @@ -75,12 +77,12 @@ body.platform-win32 {
border-top-right-radius: @base-border-radius !important;
border-bottom-right-radius: @base-border-radius !important;
margin-left: -1px !important;
}
.secondary-picker:hover {
&:hover {
background: @background-tertiary !important;
img.content-mask {
background-color: @background-secondary !important;
background-color: @background-secondary !important;
}
}
}

.secondary-items {
Expand All @@ -93,14 +95,13 @@ body.platform-win32 {
background: @background-primary !important;
}
}
}
.item:hover {
&:hover {
color: @white !important;
background: @background-primary !important;
img.content-mask {
background-color: @white !important;
}
background: @background-primary !important;

}
}
}
}
Expand Down Expand Up @@ -138,6 +139,10 @@ body.platform-win32 {
}
}

.button-dropdown.bordered .primary-item {
padding-top: 0px;
}

/**
* Plugin page
*/
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions N1-Solarized-Dark/styles/sidebar.less → styles/sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
}

.account-sidebar-sections {
background-color: darken(@accent-primary-dark, 1%) !important;
box-shadow: inset -3px 0 3px rgba(0,0,0, .1);

section {
.item-container {
margin: 0 10px !important;
Expand Down
4 changes: 4 additions & 0 deletions styles/theme-colors.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@component-active-color: #1290af;
@toolbar-background-color: #00647D;
@panel-background-color: rgb(7,54,66);

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
@text-color-inverse-very-subtle: fadeout(@text-color-inverse, 50%);
@text-color-heading: #FFF;

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

@btn-default-bg-color: @accent-primary-light;
@btn-default-text-color: @background-tertiary;
Expand Down

0 comments on commit da2ec89

Please sign in to comment.