mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
update some libraries, wrestle with yarn/npm, refactor some css
* separate our styling from a libraries included .css * update npm packages: bluebird, inflection, jbox, jquery, jquery-ui-npm * ports and osd tabs needed small javascript changes for the above * refactored CSS style sheets, in summary Cascading was being ignored * tweaked colors in dark mode. * tweaked betaflight logo for dark mode care of frozenskys * dark mode can also trigger on `(prefers-color-scheme: dark)` signal from the OS when NW.js 0.40.0/Chrome 76 is released. * changed how `gulp-appdmg` is brought in, mixing yarn and npm was causing trouble * version.json is now written in a more gulpful manner Note: this works fine with NW.js 0.40.0-beta1
This commit is contained in:
parent
3f899c2300
commit
73fa4f981b
63 changed files with 928 additions and 1981 deletions
|
@ -4,7 +4,6 @@ var css_dark = [
|
|||
'./css/main-dark.css',
|
||||
'./css/tabs-dark/landing-dark.css',
|
||||
'./css/tabs-dark/setup-dark.css',
|
||||
'./css/tabs-dark/setup_osd-dark.css',
|
||||
'./css/tabs-dark/help-dark.css',
|
||||
'./css/tabs-dark/ports-dark.css',
|
||||
'./css/tabs-dark/configuration-dark.css',
|
||||
|
@ -25,7 +24,6 @@ var css_dark = [
|
|||
'./css/tabs-dark/osd-dark.css',
|
||||
'./css/tabs-dark/power-dark.css',
|
||||
'./css/tabs-dark/transponder-dark.css',
|
||||
'./js/libraries/jbox/jBox-dark.css',
|
||||
]
|
||||
|
||||
var DarkTheme = {
|
||||
|
@ -54,4 +52,4 @@ DarkTheme.applyNormal = function() {
|
|||
for (var i = 0; i < css_dark.length; i++) {
|
||||
$('link[href="' + css_dark[i] + '"]').prop('disabled', true);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue