ryuu
Version:
Domo App Dev Studio CLI, The main tool used to create, edit, and publish app designs to Domo
32 lines • 1.09 kB
JavaScript
import chalk from 'chalk';
export var constant;
(function (constant) {
constant["CLIENT_ID"] = "domo:internal:devstudio";
constant["THUMBNAIL_CREATE_WARNING"] = "A thumbnail is required before creating a card with this design. This is used to represent the App in the mobile application and the Appstore experience.";
constant["CREATE_THUMBNAIL"] = "Place a 300x300 image named thumbnail.png in the base directory of your design.";
})(constant || (constant = {}));
export const logo = `
____
/ __ \\____ ____ ___ ____
/ / / / __ \\/ __ \`__ \\/ __ \\
/ /_/ / /_/ / / / / / / /_/ /
/_____/\\____/_/ /_/ /_/\\____/
`;
export const getRainbowLogo = () => {
const lines = logo.split('\n');
const colors = [
chalk.red,
chalk.yellow,
chalk.green,
chalk.cyan,
chalk.blue,
chalk.magenta,
];
return lines
.map((line, index) => {
const color = colors[index % colors.length];
return color(line);
})
.join('\n');
};
//# sourceMappingURL=constant.js.map