"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.ts var src_exports = {}; __export(src_exports, { colorTokens: () => colorTokens, default: () => src_default }); module.exports = __toCommonJS(src_exports); // src/base/lyra.ts var lyraNormal = { /** * Lyra 0 color * - Normal Black */ lyra0: "#3F3F4A", /** * Lyra 1 color * - Normal Red */ lyra1: "#D27979", /** * Lyra 2 color * - Normal Green */ lyra2: "#71B1B1", /** * Lyra 3 color * - Normal Yellow */ lyra3: "#F0DCC0", /** * Lyra 4 color * - Normal Blue */ lyra4: "#7484C6", /** * Lyra 5 color * - Normal Violet */ lyra5: "#9A91E8", /** * Lyra 6 color * - Normal Pink */ lyra6: "#D1B4C6", /** * Lyra 7 color * - Normal White */ lyra7: "#F3F3FC" }; var lyraBright = { /** * Lyra 8 color * - Bright Black */ lyra8: "#868698", /** * Lyra 9 color * - Bright Red */ lyra9: "#DB9494", /** * Lyra 10 color * - Bright Green */ lyra10: "#BAD9D9", /** * Lyra 11 color * - Bright Yellow */ lyra11: "#F9EAD8", /** * Lyra 12 color * - Bright Blue */ lyra12: "#8A9CD6", /** * Lyra 13 color * - Bright Violet */ lyra13: "#C1BCF1", /** * Lyra 14 color * - Bright Pink */ lyra14: "#DCC6D4", /** * Lyra 15 color * - Bright White */ lyra15: "#F7F7FD" }; var lyraBaseColors = Object.assign(lyraNormal, lyraBright); // src/base/ansi.ts var ansiNormal = { /** * ANSI 0 color * - Normal Black */ ansi0: lyraBaseColors.lyra0, /** * ANSI 1 color * - Normal Red */ ansi1: lyraBaseColors.lyra1, /** * ANSI 2 color * - Normal Green */ ansi2: lyraBaseColors.lyra2, /** * ANSI 3 color * - Normal Yellow */ ansi3: lyraBaseColors.lyra3, /** * ANSI 4 color * - Normal Blue */ ansi4: lyraBaseColors.lyra4, /** * ANSI 5 color * - Normal Magenta * - changed to Violet in ANSI */ ansi5: lyraBaseColors.lyra5, /** * ANSI 6 color * - Normal Cyan * - changed to Pink in ANSI */ ansi6: lyraBaseColors.lyra6, /** * ANSI 7 color * - Normal White */ ansi7: lyraBaseColors.lyra7 }; var ansiBright = { /** * ANSI 8 color * - Bright Black */ ansi8: lyraBaseColors.lyra8, /** * ANSI 9 color * - Bright Red */ ansi9: lyraBaseColors.lyra9, /** * ANSI 10 color * - Bright Green */ ansi10: lyraBaseColors.lyra10, /** * ANSI 11 color * - Bright Yellow */ ansi11: lyraBaseColors.lyra11, /** * ANSI 12 color * - Bright Blue */ ansi12: lyraBaseColors.lyra12, /** * ANSI 13 color * - Bright Magenta * - changed to Violet in Cosmic */ ansi13: lyraBaseColors.lyra13, /** * ANSI 14 color * - Bright Cyan * - changed to Pink in Cosmic */ ansi14: lyraBaseColors.lyra14, /** * ANSI 15 color * - Bright White */ ansi15: lyraBaseColors.lyra15 }; var ansiBaseColors = Object.assign(ansiNormal, ansiBright); // src/name/lyra.ts var lyraNamedNormal = { /** * Normal Black */ black: lyraBaseColors.lyra0, /** * Normal Red */ red: lyraBaseColors.lyra1, /** * Normal Green */ green: lyraBaseColors.lyra2, /** * Normal Yellow */ yellow: lyraBaseColors.lyra3, /** * Normal Blue */ blue: lyraBaseColors.lyra4, /** * Normal Violet */ violet: lyraBaseColors.lyra5, /** * Normal Pink */ pink: lyraBaseColors.lyra6, /** * Normal White */ white: lyraBaseColors.lyra7 }; var lyraNamedBright = { /** * Bright Black */ black: lyraBaseColors.lyra8, /** * bright Red */ red: lyraBaseColors.lyra9, /** * Bright Green */ green: lyraBaseColors.lyra10, /** * Bright Yellow */ yellow: lyraBaseColors.lyra11, /** * Bright Blue */ blue: lyraBaseColors.lyra12, /** * Bright Violet */ violet: lyraBaseColors.lyra13, /** * Bright Pink */ pink: lyraBaseColors.lyra14, /** * Bright White */ white: lyraBaseColors.lyra15 }; var lyraNamedColors = { normal: lyraNamedNormal, bright: lyraNamedBright }; // src/name/ansi.ts var ansiNamedNormal = { /** * Normal Black */ black: ansiBaseColors.ansi0, /** * Normal Red */ red: ansiBaseColors.ansi1, /** * Normal Green */ green: ansiBaseColors.ansi2, /** * Normal Yellow */ yellow: ansiBaseColors.ansi3, /** * Normal Blue */ blue: ansiBaseColors.ansi4, /** * Normal Violet */ violet: ansiBaseColors.ansi5, /** * Normal Pink */ pink: ansiBaseColors.ansi6, /** * Normal White */ white: ansiBaseColors.ansi7 }; var ansiNamedBright = { /** * Bright Black */ black: ansiBaseColors.ansi8, /** * bright Red */ red: ansiBaseColors.ansi9, /** * Bright Green */ green: ansiBaseColors.ansi10, /** * Bright Yellow */ yellow: ansiBaseColors.ansi11, /** * Bright Blue */ blue: ansiBaseColors.ansi12, /** * Bright Violet */ violet: ansiBaseColors.ansi13, /** * Bright Pink */ pink: ansiBaseColors.ansi14, /** * Bright White */ white: ansiBaseColors.ansi15 }; var ansiNamedColors = { normal: ansiNamedNormal, bright: ansiNamedBright }; // src/name/eco.ts var ecoNamedColors = { /** * Default Background * for terminal and editor */ background: "#28282F", /** * Default Foreground * for normal text display */ foreground: "#DEDEF7", /** * Default Bold or Highlight text */ bold: "#EAEAFA", /** * Default Selected Background */ selectedBackground: "#444455", /** * Default Selected Text */ selectedText: "#EAEAFA" }; // src/index.ts var colorTokens = { /** * Lyra Base Colors entry */ base: lyraBaseColors, ...lyraNamedColors, /** * ANSI Colors entry */ ansi: { /** * ANSI Base Colors entry */ base: ansiBaseColors, ...ansiNamedColors }, /** * Ecosystem Colors entry */ eco: ecoNamedColors }; var src_default = colorTokens; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { colorTokens });