mirror of
https://github.com/wled/WLED.git
synced 2025-07-14 06:16:36 +00:00
fix wled banner color in cdata.js
This commit is contained in:
parent
ff6cacf766
commit
1735bcab21
@ -16,11 +16,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const path = require('path');
|
const path = require("path");
|
||||||
const inliner = require("inliner");
|
const inliner = require("inliner");
|
||||||
const zlib = require("zlib");
|
const zlib = require("zlib");
|
||||||
const CleanCSS = require("clean-css");
|
const CleanCSS = require("clean-css");
|
||||||
const minifyHtml = require('html-minifier-terser').minify;
|
const minifyHtml = require("html-minifier-terser").minify;
|
||||||
const packageJson = require("../package.json");
|
const packageJson = require("../package.json");
|
||||||
|
|
||||||
// Export functions for testing
|
// Export functions for testing
|
||||||
@ -29,14 +29,14 @@ module.exports = { isFileNewerThan, isAnyFileInFolderNewerThan };
|
|||||||
const output = ["wled00/html_ui.h", "wled00/html_pixart.h", "wled00/html_cpal.h", "wled00/html_pxmagic.h", "wled00/html_settings.h", "wled00/html_other.h"]
|
const output = ["wled00/html_ui.h", "wled00/html_pixart.h", "wled00/html_cpal.h", "wled00/html_pxmagic.h", "wled00/html_settings.h", "wled00/html_other.h"]
|
||||||
|
|
||||||
// \x1b[34m is blue, \x1b[36m is cyan, \x1b[0m is reset
|
// \x1b[34m is blue, \x1b[36m is cyan, \x1b[0m is reset
|
||||||
const wledBanner = `\x1b[34m
|
const wledBanner = `
|
||||||
\t## ## ## ######## ########
|
\t\x1b[34m## ## ## ######## ########
|
||||||
\t## ## ## ## ## ## ##
|
\t\x1b[34m## ## ## ## ## ## ##
|
||||||
\t## ## ## ## ## ## ##
|
\t\x1b[34m## ## ## ## ## ## ##
|
||||||
\t## ## ## ## ###### ## ##
|
\t\x1b[34m## ## ## ## ###### ## ##
|
||||||
\t## ## ## ## ## ## ##
|
\t\x1b[34m## ## ## ## ## ## ##
|
||||||
\t## ## ## ## ## ## ##
|
\t\x1b[34m## ## ## ## ## ## ##
|
||||||
\t ### ### ######## ######## ########
|
\t\x1b[34m ### ### ######## ######## ########
|
||||||
\t\t\x1b[36mbuild script for web UI
|
\t\t\x1b[36mbuild script for web UI
|
||||||
\x1b[0m`;
|
\x1b[0m`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user