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() { _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); const sortedThemes = [].concat(this.state.themes);
sortedThemes.sort((a, b) => { sortedThemes.sort((a, b) => {
return (internalThemes.indexOf(a.name) - internalThemes.indexOf(b.name)) * -1; return (internalThemes.indexOf(a.name) - internalThemes.indexOf(b.name)) * -1;

View file

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

View file

@ -1,16 +1,12 @@
@import "../../../static/variables/ui-variables";
//buttons color
@btn-default-bg-color: lighten(@toolbar-background-color,4%); @btn-default-bg-color: lighten(@toolbar-background-color,4%);
// dropdowns color
@dropdown-default-bg-color:#f07746;
@accent-primary: #f07746; @accent-primary: #f07746;
@accent-primary-dark: darken(#f07746, 1%); @accent-primary-dark: darken(#f07746, 1%);
@border-secondary-bg: lighten(@background-secondary, 10%); @border-secondary-bg: lighten(@background-secondary, 10%);
@toolbar-background-color: #41403b; @toolbar-background-color: #41403b;
@light: rgb(246, 246, 246); @light: rgb(246, 246, 246);