mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-12 23:54:45 +08:00
fix(themes): Add quick fixes for Ubuntu
This commit is contained in:
parent
ea912f5690
commit
f7f39e74ce
3 changed files with 9 additions and 13 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue