cli_development.md.BBW4icmD.lean.js 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. import { _ as _export_sfc, o as openBlock, c as createElementBlock, al as createStaticVNode, j as createBaseVNode, a as createTextVNode } from "./chunks/framework.8zKZLKO7.js";
  2. const __pageData = JSON.parse('{"title":"QMK CLI Development","description":"","frontmatter":{},"headers":[],"relativePath":"cli_development.md","filePath":"cli_development.md","lastUpdated":null}');
  3. const _sfc_main = { name: "cli_development.md" };
  4. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  5. return openBlock(), createElementBlock("div", null, [..._cache[0] || (_cache[0] = [
  6. createStaticVNode("", 33),
  7. createBaseVNode("table", { tabindex: "0" }, [
  8. createBaseVNode("thead", null, [
  9. createBaseVNode("tr", null, [
  10. createBaseVNode("th", null, "Color"),
  11. createBaseVNode("th", null, "Background"),
  12. createBaseVNode("th", null, "Extended Background"),
  13. createBaseVNode("th", null, "Foreground"),
  14. createBaseVNode("th", null, "Extended Foreground")
  15. ])
  16. ]),
  17. createBaseVNode("tbody", null, [
  18. createBaseVNode("tr", null, [
  19. createBaseVNode("td", null, "Black"),
  20. createBaseVNode("td", { bg_black: "" }),
  21. createBaseVNode("td", { bg_lightblack_ex: "" }),
  22. createBaseVNode("td", { fg_black: "" }),
  23. createBaseVNode("td", { fg_lightblack_ex: "" })
  24. ]),
  25. createBaseVNode("tr", null, [
  26. createBaseVNode("td", null, "Blue"),
  27. createBaseVNode("td", { bg_blue: "" }),
  28. createBaseVNode("td", { bg_lightblue_ex: "" }),
  29. createBaseVNode("td", { fg_blue: "" }),
  30. createBaseVNode("td", { fg_lightblue_ex: "" })
  31. ]),
  32. createBaseVNode("tr", null, [
  33. createBaseVNode("td", null, "Cyan"),
  34. createBaseVNode("td", { bg_cyan: "" }),
  35. createBaseVNode("td", { bg_lightcyan_ex: "" }),
  36. createBaseVNode("td", { fg_cyan: "" }),
  37. createBaseVNode("td", { fg_lightcyan_ex: "" })
  38. ]),
  39. createBaseVNode("tr", null, [
  40. createBaseVNode("td", null, "Green"),
  41. createBaseVNode("td", { bg_green: "" }),
  42. createBaseVNode("td", { bg_lightgreen_ex: "" }),
  43. createBaseVNode("td", { fg_green: "" }),
  44. createBaseVNode("td", { fg_lightgreen_ex: "" })
  45. ]),
  46. createBaseVNode("tr", null, [
  47. createBaseVNode("td", null, "Magenta"),
  48. createBaseVNode("td", { bg_magenta: "" }),
  49. createBaseVNode("td", { bg_lightmagenta_ex: "" }),
  50. createBaseVNode("td", { fg_magenta: "" }),
  51. createBaseVNode("td", { fg_lightmagenta_ex: "" })
  52. ]),
  53. createBaseVNode("tr", null, [
  54. createBaseVNode("td", null, "Red"),
  55. createBaseVNode("td", { bg_red: "" }),
  56. createBaseVNode("td", { bg_lightred_ex: "" }),
  57. createBaseVNode("td", { fg_red: "" }),
  58. createBaseVNode("td", { fg_lightred_ex: "" })
  59. ]),
  60. createBaseVNode("tr", null, [
  61. createBaseVNode("td", null, "White"),
  62. createBaseVNode("td", { bg_white: "" }),
  63. createBaseVNode("td", { bg_lightwhite_ex: "" }),
  64. createBaseVNode("td", { fg_white: "" }),
  65. createBaseVNode("td", { fg_lightwhite_ex: "" })
  66. ]),
  67. createBaseVNode("tr", null, [
  68. createBaseVNode("td", null, "Yellow"),
  69. createBaseVNode("td", { bg_yellow: "" }),
  70. createBaseVNode("td", { bg_lightyellow_ex: "" }),
  71. createBaseVNode("td", { fg_yellow: "" }),
  72. createBaseVNode("td", { fg_lightyellow_ex: "" })
  73. ])
  74. ])
  75. ], -1),
  76. createBaseVNode("p", null, "There are also control sequences that can be used to change the behavior of ANSI output:", -1),
  77. createBaseVNode("table", { tabindex: "0" }, [
  78. createBaseVNode("thead", null, [
  79. createBaseVNode("tr", null, [
  80. createBaseVNode("th", null, "Control Sequences"),
  81. createBaseVNode("th", null, "Description")
  82. ])
  83. ]),
  84. createBaseVNode("tbody", null, [
  85. createBaseVNode("tr", null, [
  86. createBaseVNode("td", { style_bright: "" }),
  87. createBaseVNode("td", null, "Make the text brighter")
  88. ]),
  89. createBaseVNode("tr", null, [
  90. createBaseVNode("td", { style_dim: "" }),
  91. createBaseVNode("td", null, "Make the text dimmer")
  92. ]),
  93. createBaseVNode("tr", null, [
  94. createBaseVNode("td", { style_normal: "" }),
  95. createBaseVNode("td", null, [
  96. createTextVNode("Make the text normal (neither "),
  97. createBaseVNode("code", null, "{style_bright}"),
  98. createTextVNode(" nor "),
  99. createBaseVNode("code", null, "{style_dim}"),
  100. createTextVNode(")")
  101. ])
  102. ]),
  103. createBaseVNode("tr", null, [
  104. createBaseVNode("td", { style_reset_all: "" }),
  105. createBaseVNode("td", null, "Reset all text attributes to default. (This is automatically added to the end of every string.)")
  106. ]),
  107. createBaseVNode("tr", null, [
  108. createBaseVNode("td", { bg_reset: "" }),
  109. createBaseVNode("td", null, "Reset the background color to the user's default")
  110. ]),
  111. createBaseVNode("tr", null, [
  112. createBaseVNode("td", { fg_reset: "" }),
  113. createBaseVNode("td", null, "Reset the foreground color to the user's default")
  114. ])
  115. ])
  116. ], -1),
  117. createStaticVNode("", 44)
  118. ])]);
  119. }
  120. const cli_development = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
  121. export {
  122. __pageData,
  123. cli_development as default
  124. };