everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
45 lines (43 loc) • 1.24 kB
JavaScript
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
let chalk = require("chalk");
chalk = require_runtime.__toESM(chalk, 1);
let gradient_string = require("gradient-string");
gradient_string = require_runtime.__toESM(gradient_string, 1);
//#region src/utils/theme.ts
const gradients = { cyber: (0, gradient_string.default)(["#00ffff", "#ff00ff"]) };
const colors = {
cyan: chalk.default.hex("#00ffff"),
magenta: chalk.default.hex("#ff00ff"),
green: chalk.default.hex("#00ff41"),
blue: chalk.default.hex("#0080ff"),
yellow: chalk.default.hex("#ffcc00"),
white: chalk.default.hex("#f0f0f0"),
gray: chalk.default.hex("#555555"),
dim: chalk.default.dim,
error: chalk.default.hex("#ff3366")
};
const icons = {
scan: "○",
run: "▶",
ok: "✓",
err: "✗",
pending: "○",
arrow: "→",
dot: "·",
app: "◉",
config: "⚙"
};
const frames = {
top: (width) => `┌${"─".repeat(width - 2)}┐`,
bottom: (width) => `└${"─".repeat(width - 2)}┘`
};
function divider(width = 48) {
return colors.dim("─".repeat(width));
}
//#endregion
exports.colors = colors;
exports.divider = divider;
exports.frames = frames;
exports.gradients = gradients;
exports.icons = icons;
//# sourceMappingURL=theme.cjs.map