Skip to content

Commit

Permalink
Re first commit (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edipo Vinicius da Silva committed Jan 19, 2016
0 parents commit da6a82d
Show file tree
Hide file tree
Showing 15 changed files with 463 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2015 Noah Buscher

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Taiga

Taiga is a clean, simple, Mailbox-inspired theme for N1 that allows you to focus on what matters most: your emails.

![](./preview.jpg)

# Taigabox

Taigabox is a version of Taiga more.. mailboxified (?)

![](./taigabox.png)


## Installing

1. [Download](https://nylas.com/n1) Nylas N1 email client if you have not yet
2. [Grab](https://github.com/noahbuscher/N1-Taiga/releases) the latest release of Taiga
3. Open `N1>Preferences>General>Select theme` and select `Install new theme...` from the dropdown

Profit! :money_with_wings:
Empty file added index.less
Empty file.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "N1-Taigabox",
"theme": "Taigabox",
"version": "0.2.4",
"description": "A clean, Mailbox-inspired theme for Nylas N1",
"license": "GPL-3.0",
"engines": {
"nylas": "*"
},
"styleSheets": ["controls", "email-frame", "sidebar", "threads", "notifications"],
"private": true
}
Binary file added preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
148 changes: 148 additions & 0 deletions styles/controls.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
@import "variables";
@import "ui-variables";

/**
* Buttons
*/
.btn-toolbar, .token, .actions>.btn, .new-package>.btn, .appearance-mode-switch>.btn {
box-shadow: none !important;
background: @white !important;
border: 1px solid @taiga-light !important;
cursor: pointer !important;
margin-left: @toolbar-btns-margin-left;
}

.popover-container .category-picker{
margin-left: @toolbar-btns-margin-left;
}

.search-bar{
width: @search-bar-width;
.menu .header-container input.empty{
text-align: center;
background-color: @search-input-bg;
border: none;
}
}

.sheet-toolbar{
border: none;
margin-bottom: 8px;
.btn-toolbar{
border-radius: @btn-border-radius!important;
padding: @btn-padding;
height: 36px;
}
.message-toolbar-items{
order: @toolbar-items-order;
padding-left: @toolbar-padding-left;
}
.btn img.content-mask{
background-color: @icon-bg-color;
}
}

body.platform-win32 {
.sheet-toolbar-container {
.btn-toolbar {
border: 0 !important;
}
}
}

.btn.btn-emphasis {
background-color: @taiga-accent !important;
border-color: @taiga-accent !important;
color: @white !important;

img.content-mask {
background-color: @white !important;
}
}

.button-dropdown.bordered {
.primary-item {
cursor: pointer !important;
box-shadow: none !important;
background: @white !important;
border: 1px solid @taiga-light !important;
border-top-left-radius: @base-border-radius !important;
border-bottom-left-radius: @base-border-radius !important;
padding-top: 5px;
}

.secondary-picker {
cursor: pointer !important;
box-shadow: none !important;
background: @white !important;
border: 1px solid @taiga-light !important;
border-top-right-radius: @base-border-radius !important;
border-bottom-right-radius: @base-border-radius !important;
margin-left: -1px !important;
}

.secondary-items {
.item {
cursor: pointer;
color: @taiga-light !important;
background: @white !important;

.button-dropdown {
img {
background: @taiga-light !important;
}
}
}
}
}

/**
* Feedback button
*/
.btn-feedback {
background: @taiga-accent !important;
border: none !important;
}

/**
* Search bar
*/
.content-container {
.item.selected {
background: @taiga-light !important;
color: @white !important;
}
}

/**
* Dropdown
*/
.menu {
.item.selected {
background: @taiga-light !important;
.primary {
color: @white !important;
}
.secondary {
color: @taiga-lighter !important;
}
}
}

/**
* Plugin page
*/
.package {
border-radius: @base-border-radius;
}

/**
* Prefs page
*/
.appearance-mode {
cursor: pointer;

&.active {
background-color: lighten(@taiga-light, 30%) !important;
}
}
53 changes: 53 additions & 0 deletions styles/email-frame.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
@import "variables";
@import "ui-variables";

.ignore-in-parent-frame {
body {
color: @taiga-dark;
}
img {
color: @taiga-dark;
}
}
.composer-action-bar-wrap{
.btn-send{
margin-top: 6px;
}
.btn.btn-toolbar:not(.btn-send){
border-radius: 999px;
height: 42px;
padding: 12px;
&.narrow{
padding: 4px;
}
}
}
.window-type-composer{
[data-column="0"], .composer-full-window .composer-inner-wrap .composer-action-bar-wrap{
background: @white;
.btn.btn-toolbar.narrow{
border-radius: 999px;
}
.composer-inner-wrap .composer-action-bar-wrap .btn{
border-radius: 999px;
height: 42px;
padding: 12px;
&.narrow{
padding: 4px;
}
}



.btn.btn-toolbar.btn-emphasis.btn-text.btn-send{
border-radius: 2px;
}
}
background: @white;
.sheet-toolbar{
background: @sidebar-bg;
}
.sheet-toolbar .item-container .window-title{
color: @white;
}
}
11 changes: 11 additions & 0 deletions styles/notifications.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import "variables";

.notifications-sticky, .notification-developer, .notifications-sticky-item, .notification-info {
color: @white !important;
background: @taiga-accent !important;

.action {
color: @white !important;
background: darken(@taiga-accent, 20%) !important;
}
}
92 changes: 92 additions & 0 deletions styles/sidebar.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
@import "variables";

#account-switcher{
border:none;
.primary-item .name {
color: @taiga-dark;
}
}

.btn.btn-toolbar.item-compose{
background: @sidebar-bg!important;
border-color: @sidebar-fg-color!important;
img.content-mask{
background-color: @sidebar-fg-color!important;
}
}

[data-column]{
margin-bottom: 20px;
}

[name="Toolbar"] [data-column="0"], [data-column="0"].column-RootSidebar{
color: @sidebar-fg-color;
.scrollbar-track{
border:none;
background: @sidebar-bg;
}
padding-bottom: 12px;
background: @sidebar-bg;
}

#account-switcher .primary-item .name{//, #account-switcher .item, #account-sidebar .item {
color: @sidebar-fg-color;
}

[data-column="0"] .item-container, #account-switcher{
background: @sidebar-bg!important;
color: @sidebar-fg-color;
}

#account-switcher, #account-sidebar{
background: @sidebar-bg;
}



#account-switcher .heading, #account-sidebar .heading{
color: @sidebar-heading-fg;
}
.account-sidebar-sections {
background: @sidebar-bg;
section {
.item-container {
background: @sidebar-bg;
margin: 0 10px !important;

.disclosure-triangle {
display: none;
}

.item {
padding: 0 10px !important;
color: @sidebar-fg-color !important;
cursor: pointer !important;

.item-count-box {
background: transparent !important;
color: @sidebar-fg-color !important;
box-shadow: 0 0.5px 0 @taiga-light, 0 -0.5px 0 @taiga-light, 0.5px 0 0 @taiga-light, -0.5px 0 0 @taiga-light !important;
}

&.selected {
background: @taiga-accent !important;
border-radius: @base-border-radius;
color: @white !important;

.item-count-box {
background: transparent !important;
color: @white !important;
box-shadow: 0 0.5px 0 @white, 0 -0.5px 0 @white, 0.5px 0 0 @white, -0.5px 0 0 @white !important;
}

.icon {
img {
background: @white !important;
}
}
}
}
}
}
}
Loading

0 comments on commit da6a82d

Please sign in to comment.