fix(themes): Add quick fixes for Ubuntu

This commit is contained in:
Jackie Luo 2016-03-11 11:01:33 -08:00
parent ea912f5690
commit f7f39e74ce
3 changed files with 9 additions and 13 deletions

View file

@ -47,7 +47,7 @@ class ThemePicker extends React.Component {
}
_renderThemeOptions() {
const internalThemes = ['ui-taiga', 'ui-darkside', 'ui-dark', 'ui-light'];
const internalThemes = ['ui-ubuntu', 'ui-taiga', 'ui-darkside', 'ui-dark', 'ui-light'];
const sortedThemes = [].concat(this.state.themes);
sortedThemes.sort((a, b) => {
return (internalThemes.indexOf(a.name) - internalThemes.indexOf(b.name)) * -1;

View file

@ -3,10 +3,10 @@
"displayName": "Ubuntu",
"theme": "ui",
"version": "0.1.0",
"description": "Ubuntu Theme for Nylas N1",
"description": "The Ubuntu theme for N1.",
"license": "Proprietary",
"engines": {
"atom": "*"
"nylas": "*"
},
"private": true
}

View file

@ -1,30 +1,26 @@
@import "../../../static/variables/ui-variables";
//buttons color
@btn-default-bg-color: lighten(@toolbar-background-color,4%);
// dropdowns color
@dropdown-default-bg-color:#f07746;
@accent-primary: #f07746;
@accent-primary-dark: darken(#f07746, 1%);
@border-secondary-bg: lighten(@background-secondary, 10%);
@toolbar-background-color: #41403b;
@light: rgb(246, 246, 246);
.sheet-toolbar .btn-toolbar img.content-mask {
background-color: @light;
background-color: @light;
}
.layout-mode-popout .sheet-toolbar {
display: none;
display: none;
}
.sheet-toolbar-container {
background-image: -webkit-linear-gradient(top,@toolbar-background-color, darken(@toolbar-background-color,5%));
box-shadow: none;
box-shadow: none;
}
.sheet-toolbar .item-back img.content-mask{
@ -36,9 +32,9 @@ display: none;
}
.btn-icon img.content-mask {
background-color:@light;
background-color:@light;
}
.btn-icon img.content-mask:hover {
background-color:@accent-primary;
background-color:@accent-primary;
}