fix wled banner color in cdata.js

This commit is contained in:
Woody
2024-01-17 17:48:40 +01:00
parent ff6cacf766
commit 1735bcab21

View File

@@ -16,11 +16,11 @@
*/
const fs = require("fs");
const path = require('path');
const path = require("path");
const inliner = require("inliner");
const zlib = require("zlib");
const CleanCSS = require("clean-css");
const minifyHtml = require('html-minifier-terser').minify;
const minifyHtml = require("html-minifier-terser").minify;
const packageJson = require("../package.json");
// 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"]
// \x1b[34m is blue, \x1b[36m is cyan, \x1b[0m is reset
const wledBanner = `\x1b[34m
\t## ## ## ######## ########
\t## ## ## ## ## ## ##
\t## ## ## ## ## ## ##
\t## ## ## ## ###### ## ##
\t## ## ## ## ## ## ##
\t## ## ## ## ## ## ##
\t ### ### ######## ######## ########
const wledBanner = `
\t\x1b[34m## ## ## ######## ########
\t\x1b[34m## ## ## ## ## ## ##
\t\x1b[34m## ## ## ## ## ## ##
\t\x1b[34m## ## ## ## ###### ## ##
\t\x1b[34m## ## ## ## ## ## ##
\t\x1b[34m## ## ## ## ## ## ##
\t\x1b[34m ### ### ######## ######## ########
\t\t\x1b[36mbuild script for web UI
\x1b[0m`;