@aini_ai_cody/icons 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. package/README.md +0 -4
  2. package/dist/cody-icons.json +5 -0
  3. package/dist/cody-icons.svg +1 -0
  4. package/dist/codyicon.css +698 -0
  5. package/dist/codyicon.csv +531 -0
  6. package/dist/codyicon.html +10904 -0
  7. package/dist/codyicon.svg +1 -0
  8. package/dist/codyicon.ttf +0 -0
  9. package/dist/codyiconsLibrary.ts +635 -0
  10. package/{src/template → dist}/mapping.json +4 -1
  11. package/{src/template → dist}/metadata.json +27 -1
  12. package/package.json +24 -1
  13. package/.devcontainer/Dockerfile +0 -17
  14. package/.devcontainer/devcontainer.json +0 -18
  15. package/.fantasticonrc.js +0 -43
  16. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -31
  17. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  18. package/.github/ISSUE_TEMPLATE/icon-request.md +0 -20
  19. package/.github/workflows/build.yml +0 -32
  20. package/.github/workflows/codeql-analysis.yml +0 -71
  21. package/.github/workflows/gh-pages.yml +0 -61
  22. package/.github/workflows/release.yml +0 -65
  23. package/.husky/pre-commit +0 -1
  24. package/.vscode/settings.json +0 -6
  25. package/.vscode/tasks.json +0 -19
  26. package/_iconCloud/categories.csv +0 -517
  27. package/_iconCloud/categories.transforms.json +0 -92
  28. package/_iconCloud/categories.variables.json +0 -48
  29. package/_iconCloud/descriptions.csv +0 -517
  30. package/_iconCloud/descriptions.transforms.json +0 -83
  31. package/_iconCloud/descriptions.variables.json +0 -47
  32. package/_iconCloud/keywords.csv +0 -517
  33. package/_iconCloud/keywords.transforms.json +0 -92
  34. package/_iconCloud/keywords.variables.json +0 -48
  35. package/_iconCloud/manifest.json +0 -57
  36. package/_iconCloud/manifest.transforms.json +0 -368
  37. package/_iconCloud/manifest.variables.json +0 -149
  38. package/_iconCloud/metaphors.csv +0 -517
  39. package/_iconCloud/metaphors.transforms.json +0 -92
  40. package/_iconCloud/metaphors.variables.json +0 -48
  41. package/build/pipeline.yml +0 -36
  42. package/command.txt +0 -0
  43. package/publish.sh +0 -133
  44. package/scripts/check-metadata.js +0 -149
  45. package/scripts/embed-metadata.js +0 -45
  46. package/scripts/export-to-csv.js +0 -60
  47. package/scripts/export-to-ts.js +0 -63
  48. package/scripts/merge-cody.js +0 -92
  49. package/scripts/reset.js +0 -10
  50. package/scripts/svg-sprite.js +0 -189
  51. package/scripts/version-bump.js +0 -166
  52. package/src/cody_icons/cody-new.svg +0 -1
  53. package/src/cody_icons/cody-sample.svg +0 -10
  54. package/src/cody_icons/cody-test.svg +0 -1
  55. package/src/icons/account.svg +0 -1
  56. package/src/icons/activate-breakpoints.svg +0 -1
  57. package/src/icons/add-small.svg +0 -1
  58. package/src/icons/add.svg +0 -1
  59. package/src/icons/agent.svg +0 -1
  60. package/src/icons/archive.svg +0 -1
  61. package/src/icons/arrow-both.svg +0 -1
  62. package/src/icons/arrow-circle-down.svg +0 -1
  63. package/src/icons/arrow-circle-left.svg +0 -1
  64. package/src/icons/arrow-circle-right.svg +0 -1
  65. package/src/icons/arrow-circle-up.svg +0 -1
  66. package/src/icons/arrow-down.svg +0 -1
  67. package/src/icons/arrow-left.svg +0 -1
  68. package/src/icons/arrow-right.svg +0 -1
  69. package/src/icons/arrow-small-down.svg +0 -1
  70. package/src/icons/arrow-small-left.svg +0 -1
  71. package/src/icons/arrow-small-right.svg +0 -1
  72. package/src/icons/arrow-small-up.svg +0 -1
  73. package/src/icons/arrow-swap.svg +0 -1
  74. package/src/icons/arrow-up.svg +0 -1
  75. package/src/icons/attach.svg +0 -1
  76. package/src/icons/azure-devops.svg +0 -1
  77. package/src/icons/azure.svg +0 -1
  78. package/src/icons/beaker-stop.svg +0 -1
  79. package/src/icons/beaker.svg +0 -1
  80. package/src/icons/bell-dot.svg +0 -1
  81. package/src/icons/bell-slash-dot.svg +0 -1
  82. package/src/icons/bell-slash.svg +0 -1
  83. package/src/icons/bell.svg +0 -1
  84. package/src/icons/blank.svg +0 -1
  85. package/src/icons/bold.svg +0 -1
  86. package/src/icons/book.svg +0 -1
  87. package/src/icons/bookmark.svg +0 -1
  88. package/src/icons/bracket-dot.svg +0 -1
  89. package/src/icons/bracket-error.svg +0 -1
  90. package/src/icons/briefcase.svg +0 -1
  91. package/src/icons/broadcast.svg +0 -1
  92. package/src/icons/browser.svg +0 -1
  93. package/src/icons/bug.svg +0 -1
  94. package/src/icons/build.svg +0 -1
  95. package/src/icons/calendar.svg +0 -1
  96. package/src/icons/call-incoming.svg +0 -1
  97. package/src/icons/call-outgoing.svg +0 -1
  98. package/src/icons/case-sensitive.svg +0 -1
  99. package/src/icons/chat-sparkle-error.svg +0 -1
  100. package/src/icons/chat-sparkle-warning.svg +0 -1
  101. package/src/icons/chat-sparkle.svg +0 -1
  102. package/src/icons/check-all.svg +0 -1
  103. package/src/icons/check.svg +0 -1
  104. package/src/icons/checklist.svg +0 -1
  105. package/src/icons/chevron-down.svg +0 -1
  106. package/src/icons/chevron-left.svg +0 -1
  107. package/src/icons/chevron-right.svg +0 -1
  108. package/src/icons/chevron-up.svg +0 -1
  109. package/src/icons/chip.svg +0 -1
  110. package/src/icons/chrome-close.svg +0 -1
  111. package/src/icons/chrome-maximize.svg +0 -1
  112. package/src/icons/chrome-minimize.svg +0 -1
  113. package/src/icons/chrome-restore.svg +0 -1
  114. package/src/icons/circle-filled.svg +0 -1
  115. package/src/icons/circle-large-filled.svg +0 -1
  116. package/src/icons/circle-large.svg +0 -1
  117. package/src/icons/circle-slash.svg +0 -1
  118. package/src/icons/circle-small-filled.svg +0 -1
  119. package/src/icons/circle-small.svg +0 -1
  120. package/src/icons/circle.svg +0 -1
  121. package/src/icons/circuit-board.svg +0 -1
  122. package/src/icons/clear-all.svg +0 -1
  123. package/src/icons/clippy.svg +0 -1
  124. package/src/icons/clockface.svg +0 -1
  125. package/src/icons/close-all.svg +0 -1
  126. package/src/icons/close.svg +0 -1
  127. package/src/icons/cloud-download.svg +0 -1
  128. package/src/icons/cloud-small.svg +0 -1
  129. package/src/icons/cloud-upload.svg +0 -1
  130. package/src/icons/cloud.svg +0 -1
  131. package/src/icons/code-oss.svg +0 -1
  132. package/src/icons/code-review.svg +0 -1
  133. package/src/icons/code.svg +0 -1
  134. package/src/icons/cody-sample.svg +0 -1
  135. package/src/icons/coffee.svg +0 -1
  136. package/src/icons/collapse-all.svg +0 -1
  137. package/src/icons/collection-small.svg +0 -1
  138. package/src/icons/collection.svg +0 -1
  139. package/src/icons/color-mode.svg +0 -1
  140. package/src/icons/combine.svg +0 -1
  141. package/src/icons/comment-discussion-quote.svg +0 -1
  142. package/src/icons/comment-discussion-sparkle.svg +0 -1
  143. package/src/icons/comment-discussion.svg +0 -1
  144. package/src/icons/comment-draft.svg +0 -1
  145. package/src/icons/comment-unresolved.svg +0 -1
  146. package/src/icons/comment.svg +0 -1
  147. package/src/icons/compass-active.svg +0 -1
  148. package/src/icons/compass-dot.svg +0 -1
  149. package/src/icons/compass.svg +0 -1
  150. package/src/icons/copilot-blocked.svg +0 -1
  151. package/src/icons/copilot-error.svg +0 -1
  152. package/src/icons/copilot-in-progress.svg +0 -1
  153. package/src/icons/copilot-large.svg +0 -1
  154. package/src/icons/copilot-not-connected.svg +0 -1
  155. package/src/icons/copilot-snooze.svg +0 -1
  156. package/src/icons/copilot-success.svg +0 -1
  157. package/src/icons/copilot-unavailable.svg +0 -1
  158. package/src/icons/copilot-warning-large.svg +0 -1
  159. package/src/icons/copilot-warning.svg +0 -1
  160. package/src/icons/copilot.svg +0 -1
  161. package/src/icons/copy.svg +0 -1
  162. package/src/icons/coverage.svg +0 -1
  163. package/src/icons/credit-card.svg +0 -1
  164. package/src/icons/cursor.svg +0 -1
  165. package/src/icons/dash.svg +0 -1
  166. package/src/icons/dashboard.svg +0 -1
  167. package/src/icons/database.svg +0 -1
  168. package/src/icons/debug-all.svg +0 -1
  169. package/src/icons/debug-alt-small.svg +0 -1
  170. package/src/icons/debug-alt.svg +0 -1
  171. package/src/icons/debug-breakpoint-conditional-unverified.svg +0 -1
  172. package/src/icons/debug-breakpoint-conditional.svg +0 -1
  173. package/src/icons/debug-breakpoint-data-unverified.svg +0 -1
  174. package/src/icons/debug-breakpoint-data.svg +0 -1
  175. package/src/icons/debug-breakpoint-function-unverified.svg +0 -1
  176. package/src/icons/debug-breakpoint-function.svg +0 -1
  177. package/src/icons/debug-breakpoint-log-unverified.svg +0 -1
  178. package/src/icons/debug-breakpoint-log.svg +0 -1
  179. package/src/icons/debug-breakpoint-unsupported.svg +0 -1
  180. package/src/icons/debug-connected.svg +0 -1
  181. package/src/icons/debug-console.svg +0 -1
  182. package/src/icons/debug-continue-small.svg +0 -1
  183. package/src/icons/debug-continue.svg +0 -1
  184. package/src/icons/debug-coverage.svg +0 -1
  185. package/src/icons/debug-disconnect.svg +0 -1
  186. package/src/icons/debug-line-by-line.svg +0 -1
  187. package/src/icons/debug-pause.svg +0 -1
  188. package/src/icons/debug-rerun.svg +0 -1
  189. package/src/icons/debug-restart-frame.svg +0 -1
  190. package/src/icons/debug-restart.svg +0 -1
  191. package/src/icons/debug-reverse-continue.svg +0 -1
  192. package/src/icons/debug-stackframe-active.svg +0 -1
  193. package/src/icons/debug-stackframe.svg +0 -1
  194. package/src/icons/debug-start.svg +0 -1
  195. package/src/icons/debug-step-back.svg +0 -1
  196. package/src/icons/debug-step-into.svg +0 -1
  197. package/src/icons/debug-step-out.svg +0 -1
  198. package/src/icons/debug-step-over.svg +0 -1
  199. package/src/icons/debug-stop.svg +0 -1
  200. package/src/icons/debug.svg +0 -1
  201. package/src/icons/desktop-download.svg +0 -1
  202. package/src/icons/device-camera-video.svg +0 -1
  203. package/src/icons/device-camera.svg +0 -1
  204. package/src/icons/device-mobile.svg +0 -1
  205. package/src/icons/diff-added.svg +0 -1
  206. package/src/icons/diff-ignored.svg +0 -1
  207. package/src/icons/diff-modified.svg +0 -1
  208. package/src/icons/diff-multiple.svg +0 -1
  209. package/src/icons/diff-removed.svg +0 -1
  210. package/src/icons/diff-renamed.svg +0 -1
  211. package/src/icons/diff-single.svg +0 -1
  212. package/src/icons/diff.svg +0 -1
  213. package/src/icons/discard.svg +0 -1
  214. package/src/icons/download.svg +0 -1
  215. package/src/icons/edit-code.svg +0 -1
  216. package/src/icons/edit-session.svg +0 -1
  217. package/src/icons/edit-sparkle.svg +0 -1
  218. package/src/icons/edit.svg +0 -1
  219. package/src/icons/editor-layout.svg +0 -1
  220. package/src/icons/ellipsis.svg +0 -1
  221. package/src/icons/empty-window.svg +0 -1
  222. package/src/icons/eraser.svg +0 -1
  223. package/src/icons/error-small.svg +0 -1
  224. package/src/icons/error.svg +0 -1
  225. package/src/icons/exclude.svg +0 -1
  226. package/src/icons/expand-all.svg +0 -1
  227. package/src/icons/export.svg +0 -1
  228. package/src/icons/extensions-large.svg +0 -1
  229. package/src/icons/extensions.svg +0 -1
  230. package/src/icons/eye-closed.svg +0 -1
  231. package/src/icons/eye.svg +0 -1
  232. package/src/icons/feedback.svg +0 -1
  233. package/src/icons/file-binary.svg +0 -1
  234. package/src/icons/file-code.svg +0 -1
  235. package/src/icons/file-media.svg +0 -1
  236. package/src/icons/file-pdf.svg +0 -1
  237. package/src/icons/file-submodule.svg +0 -1
  238. package/src/icons/file-symlink-directory.svg +0 -1
  239. package/src/icons/file-symlink-file.svg +0 -1
  240. package/src/icons/file-text.svg +0 -1
  241. package/src/icons/file-zip.svg +0 -1
  242. package/src/icons/file.svg +0 -1
  243. package/src/icons/files.svg +0 -1
  244. package/src/icons/filter-filled.svg +0 -1
  245. package/src/icons/filter.svg +0 -1
  246. package/src/icons/flag.svg +0 -1
  247. package/src/icons/flame.svg +0 -1
  248. package/src/icons/fold-down.svg +0 -1
  249. package/src/icons/fold-up.svg +0 -1
  250. package/src/icons/fold.svg +0 -1
  251. package/src/icons/folder-active.svg +0 -1
  252. package/src/icons/folder-library.svg +0 -1
  253. package/src/icons/folder-opened.svg +0 -1
  254. package/src/icons/folder.svg +0 -1
  255. package/src/icons/forward.svg +0 -1
  256. package/src/icons/game.svg +0 -1
  257. package/src/icons/gear.svg +0 -1
  258. package/src/icons/gift.svg +0 -1
  259. package/src/icons/gist-secret.svg +0 -1
  260. package/src/icons/gist.svg +0 -1
  261. package/src/icons/git-branch-changes.svg +0 -1
  262. package/src/icons/git-branch-conflicts.svg +0 -1
  263. package/src/icons/git-branch-staged-changes.svg +0 -1
  264. package/src/icons/git-branch.svg +0 -1
  265. package/src/icons/git-commit.svg +0 -1
  266. package/src/icons/git-compare.svg +0 -1
  267. package/src/icons/git-fetch.svg +0 -1
  268. package/src/icons/git-merge.svg +0 -1
  269. package/src/icons/git-pull-request-closed.svg +0 -1
  270. package/src/icons/git-pull-request-create.svg +0 -1
  271. package/src/icons/git-pull-request-done.svg +0 -1
  272. package/src/icons/git-pull-request-draft.svg +0 -1
  273. package/src/icons/git-pull-request-go-to-changes.svg +0 -1
  274. package/src/icons/git-pull-request-new-changes.svg +0 -1
  275. package/src/icons/git-pull-request.svg +0 -1
  276. package/src/icons/git-stash-apply.svg +0 -1
  277. package/src/icons/git-stash-pop.svg +0 -1
  278. package/src/icons/git-stash.svg +0 -1
  279. package/src/icons/github-action.svg +0 -1
  280. package/src/icons/github-alt.svg +0 -1
  281. package/src/icons/github-inverted.svg +0 -1
  282. package/src/icons/github-project.svg +0 -1
  283. package/src/icons/github.svg +0 -1
  284. package/src/icons/globe.svg +0 -1
  285. package/src/icons/go-to-editing-session.svg +0 -1
  286. package/src/icons/go-to-file.svg +0 -1
  287. package/src/icons/go-to-search.svg +0 -1
  288. package/src/icons/grabber.svg +0 -1
  289. package/src/icons/graph-left.svg +0 -1
  290. package/src/icons/graph-line.svg +0 -1
  291. package/src/icons/graph-scatter.svg +0 -1
  292. package/src/icons/graph.svg +0 -1
  293. package/src/icons/gripper.svg +0 -1
  294. package/src/icons/group-by-ref-type.svg +0 -1
  295. package/src/icons/heart-filled.svg +0 -1
  296. package/src/icons/heart.svg +0 -1
  297. package/src/icons/history.svg +0 -1
  298. package/src/icons/home.svg +0 -1
  299. package/src/icons/horizontal-rule.svg +0 -1
  300. package/src/icons/hubot.svg +0 -1
  301. package/src/icons/inbox.svg +0 -1
  302. package/src/icons/indent.svg +0 -1
  303. package/src/icons/index-zero.svg +0 -1
  304. package/src/icons/info.svg +0 -1
  305. package/src/icons/insert.svg +0 -1
  306. package/src/icons/inspect.svg +0 -1
  307. package/src/icons/issue-draft.svg +0 -1
  308. package/src/icons/issue-reopened.svg +0 -1
  309. package/src/icons/issues.svg +0 -1
  310. package/src/icons/italic.svg +0 -1
  311. package/src/icons/jersey.svg +0 -1
  312. package/src/icons/json.svg +0 -1
  313. package/src/icons/kebab-vertical.svg +0 -1
  314. package/src/icons/key.svg +0 -1
  315. package/src/icons/keyboard-tab-above.svg +0 -1
  316. package/src/icons/keyboard-tab-below.svg +0 -1
  317. package/src/icons/keyboard-tab.svg +0 -1
  318. package/src/icons/law.svg +0 -1
  319. package/src/icons/layers-active.svg +0 -1
  320. package/src/icons/layers-dot.svg +0 -1
  321. package/src/icons/layers.svg +0 -1
  322. package/src/icons/layout-activitybar-left.svg +0 -1
  323. package/src/icons/layout-activitybar-right.svg +0 -1
  324. package/src/icons/layout-centered.svg +0 -1
  325. package/src/icons/layout-menubar.svg +0 -1
  326. package/src/icons/layout-panel-center.svg +0 -1
  327. package/src/icons/layout-panel-dock.svg +0 -1
  328. package/src/icons/layout-panel-justify.svg +0 -1
  329. package/src/icons/layout-panel-left.svg +0 -1
  330. package/src/icons/layout-panel-off.svg +0 -1
  331. package/src/icons/layout-panel-right.svg +0 -1
  332. package/src/icons/layout-panel.svg +0 -1
  333. package/src/icons/layout-sidebar-left-dock.svg +0 -1
  334. package/src/icons/layout-sidebar-left-off.svg +0 -1
  335. package/src/icons/layout-sidebar-left.svg +0 -1
  336. package/src/icons/layout-sidebar-right-dock.svg +0 -1
  337. package/src/icons/layout-sidebar-right-off.svg +0 -1
  338. package/src/icons/layout-sidebar-right.svg +0 -1
  339. package/src/icons/layout-statusbar.svg +0 -1
  340. package/src/icons/layout.svg +0 -1
  341. package/src/icons/library.svg +0 -1
  342. package/src/icons/lightbulb-autofix.svg +0 -1
  343. package/src/icons/lightbulb-empty.svg +0 -1
  344. package/src/icons/lightbulb-sparkle.svg +0 -1
  345. package/src/icons/lightbulb.svg +0 -1
  346. package/src/icons/link-external.svg +0 -1
  347. package/src/icons/link.svg +0 -1
  348. package/src/icons/list-filter.svg +0 -1
  349. package/src/icons/list-flat.svg +0 -1
  350. package/src/icons/list-ordered.svg +0 -1
  351. package/src/icons/list-selection.svg +0 -1
  352. package/src/icons/list-tree.svg +0 -1
  353. package/src/icons/list-unordered.svg +0 -1
  354. package/src/icons/live-share.svg +0 -1
  355. package/src/icons/loading.svg +0 -1
  356. package/src/icons/location.svg +0 -1
  357. package/src/icons/lock-small.svg +0 -1
  358. package/src/icons/lock.svg +0 -1
  359. package/src/icons/magnet.svg +0 -1
  360. package/src/icons/mail-read.svg +0 -1
  361. package/src/icons/mail.svg +0 -1
  362. package/src/icons/map-filled.svg +0 -1
  363. package/src/icons/map-vertical-filled.svg +0 -1
  364. package/src/icons/map-vertical.svg +0 -1
  365. package/src/icons/map.svg +0 -1
  366. package/src/icons/markdown.svg +0 -1
  367. package/src/icons/mcp.svg +0 -1
  368. package/src/icons/megaphone.svg +0 -1
  369. package/src/icons/mention.svg +0 -1
  370. package/src/icons/menu.svg +0 -1
  371. package/src/icons/merge-into.svg +0 -1
  372. package/src/icons/merge.svg +0 -1
  373. package/src/icons/mic-filled.svg +0 -1
  374. package/src/icons/mic.svg +0 -1
  375. package/src/icons/milestone.svg +0 -1
  376. package/src/icons/mirror.svg +0 -1
  377. package/src/icons/mortar-board.svg +0 -1
  378. package/src/icons/move.svg +0 -1
  379. package/src/icons/multiple-windows.svg +0 -1
  380. package/src/icons/music.svg +0 -1
  381. package/src/icons/mute.svg +0 -1
  382. package/src/icons/new-collection.svg +0 -1
  383. package/src/icons/new-file.svg +0 -1
  384. package/src/icons/new-folder.svg +0 -1
  385. package/src/icons/newline.svg +0 -1
  386. package/src/icons/no-newline.svg +0 -1
  387. package/src/icons/note.svg +0 -1
  388. package/src/icons/notebook-template.svg +0 -1
  389. package/src/icons/notebook.svg +0 -1
  390. package/src/icons/octoface.svg +0 -1
  391. package/src/icons/open-in-product.svg +0 -1
  392. package/src/icons/open-preview.svg +0 -1
  393. package/src/icons/organization.svg +0 -1
  394. package/src/icons/output.svg +0 -1
  395. package/src/icons/package.svg +0 -1
  396. package/src/icons/paintcan.svg +0 -1
  397. package/src/icons/pass-filled.svg +0 -1
  398. package/src/icons/pass.svg +0 -1
  399. package/src/icons/percentage.svg +0 -1
  400. package/src/icons/person-add.svg +0 -1
  401. package/src/icons/person.svg +0 -1
  402. package/src/icons/piano.svg +0 -1
  403. package/src/icons/pie-chart.svg +0 -1
  404. package/src/icons/pin.svg +0 -1
  405. package/src/icons/pinned-dirty.svg +0 -1
  406. package/src/icons/pinned.svg +0 -1
  407. package/src/icons/play-circle.svg +0 -1
  408. package/src/icons/play.svg +0 -1
  409. package/src/icons/plug.svg +0 -1
  410. package/src/icons/preserve-case.svg +0 -1
  411. package/src/icons/preview.svg +0 -1
  412. package/src/icons/primitive-square.svg +0 -1
  413. package/src/icons/project.svg +0 -1
  414. package/src/icons/pulse.svg +0 -1
  415. package/src/icons/python.svg +0 -1
  416. package/src/icons/question.svg +0 -1
  417. package/src/icons/quote.svg +0 -1
  418. package/src/icons/quotes.svg +0 -1
  419. package/src/icons/radio-tower.svg +0 -1
  420. package/src/icons/reactions.svg +0 -1
  421. package/src/icons/record-keys.svg +0 -1
  422. package/src/icons/record-small.svg +0 -1
  423. package/src/icons/record.svg +0 -1
  424. package/src/icons/redo.svg +0 -1
  425. package/src/icons/references.svg +0 -1
  426. package/src/icons/refresh.svg +0 -1
  427. package/src/icons/regex.svg +0 -1
  428. package/src/icons/remote-explorer.svg +0 -1
  429. package/src/icons/remote.svg +0 -1
  430. package/src/icons/remove-small.svg +0 -1
  431. package/src/icons/remove.svg +0 -1
  432. package/src/icons/rename.svg +0 -1
  433. package/src/icons/replace-all.svg +0 -1
  434. package/src/icons/replace.svg +0 -1
  435. package/src/icons/reply.svg +0 -1
  436. package/src/icons/repo-clone.svg +0 -1
  437. package/src/icons/repo-fetch.svg +0 -1
  438. package/src/icons/repo-force-push.svg +0 -1
  439. package/src/icons/repo-forked.svg +0 -1
  440. package/src/icons/repo-pinned.svg +0 -1
  441. package/src/icons/repo-pull.svg +0 -1
  442. package/src/icons/repo-push.svg +0 -1
  443. package/src/icons/repo-selected.svg +0 -1
  444. package/src/icons/repo.svg +0 -1
  445. package/src/icons/report.svg +0 -1
  446. package/src/icons/request-changes.svg +0 -1
  447. package/src/icons/robot.svg +0 -1
  448. package/src/icons/rocket.svg +0 -1
  449. package/src/icons/root-folder-opened.svg +0 -1
  450. package/src/icons/root-folder.svg +0 -1
  451. package/src/icons/rss.svg +0 -1
  452. package/src/icons/ruby.svg +0 -1
  453. package/src/icons/run-above.svg +0 -1
  454. package/src/icons/run-all-coverage.svg +0 -1
  455. package/src/icons/run-all.svg +0 -1
  456. package/src/icons/run-below.svg +0 -1
  457. package/src/icons/run-coverage.svg +0 -1
  458. package/src/icons/run-errors.svg +0 -1
  459. package/src/icons/run-with-deps.svg +0 -1
  460. package/src/icons/save-all.svg +0 -1
  461. package/src/icons/save-as.svg +0 -1
  462. package/src/icons/save.svg +0 -1
  463. package/src/icons/screen-full.svg +0 -1
  464. package/src/icons/screen-normal.svg +0 -1
  465. package/src/icons/search-fuzzy.svg +0 -1
  466. package/src/icons/search-large.svg +0 -1
  467. package/src/icons/search-sparkle.svg +0 -1
  468. package/src/icons/search-stop.svg +0 -1
  469. package/src/icons/search.svg +0 -1
  470. package/src/icons/send-to-remote-agent.svg +0 -1
  471. package/src/icons/send.svg +0 -1
  472. package/src/icons/server-environment.svg +0 -1
  473. package/src/icons/server-process.svg +0 -1
  474. package/src/icons/server.svg +0 -1
  475. package/src/icons/session-in-progress.svg +0 -1
  476. package/src/icons/settings-gear.svg +0 -1
  477. package/src/icons/settings.svg +0 -1
  478. package/src/icons/share.svg +0 -1
  479. package/src/icons/shield.svg +0 -1
  480. package/src/icons/sign-in.svg +0 -1
  481. package/src/icons/sign-out.svg +0 -1
  482. package/src/icons/skip.svg +0 -1
  483. package/src/icons/smiley.svg +0 -1
  484. package/src/icons/snake.svg +0 -1
  485. package/src/icons/sort-precedence.svg +0 -1
  486. package/src/icons/source-control.svg +0 -1
  487. package/src/icons/sparkle-filled.svg +0 -1
  488. package/src/icons/sparkle.svg +0 -1
  489. package/src/icons/split-horizontal.svg +0 -1
  490. package/src/icons/split-vertical.svg +0 -1
  491. package/src/icons/squirrel.svg +0 -1
  492. package/src/icons/star-empty.svg +0 -1
  493. package/src/icons/star-full.svg +0 -1
  494. package/src/icons/star-half.svg +0 -1
  495. package/src/icons/stop-circle.svg +0 -1
  496. package/src/icons/strikethrough.svg +0 -1
  497. package/src/icons/surround-with.svg +0 -1
  498. package/src/icons/symbol-array.svg +0 -1
  499. package/src/icons/symbol-boolean.svg +0 -1
  500. package/src/icons/symbol-class.svg +0 -1
  501. package/src/icons/symbol-color.svg +0 -1
  502. package/src/icons/symbol-constant.svg +0 -1
  503. package/src/icons/symbol-enum-member.svg +0 -1
  504. package/src/icons/symbol-enum.svg +0 -1
  505. package/src/icons/symbol-event.svg +0 -1
  506. package/src/icons/symbol-field.svg +0 -1
  507. package/src/icons/symbol-file.svg +0 -1
  508. package/src/icons/symbol-interface.svg +0 -1
  509. package/src/icons/symbol-key.svg +0 -1
  510. package/src/icons/symbol-keyword.svg +0 -1
  511. package/src/icons/symbol-method-arrow.svg +0 -1
  512. package/src/icons/symbol-method.svg +0 -1
  513. package/src/icons/symbol-misc.svg +0 -1
  514. package/src/icons/symbol-namespace.svg +0 -1
  515. package/src/icons/symbol-numeric.svg +0 -1
  516. package/src/icons/symbol-operator.svg +0 -1
  517. package/src/icons/symbol-parameter.svg +0 -1
  518. package/src/icons/symbol-property.svg +0 -1
  519. package/src/icons/symbol-ruler.svg +0 -1
  520. package/src/icons/symbol-snippet.svg +0 -1
  521. package/src/icons/symbol-string.svg +0 -1
  522. package/src/icons/symbol-structure.svg +0 -1
  523. package/src/icons/symbol-variable.svg +0 -1
  524. package/src/icons/sync-ignored.svg +0 -1
  525. package/src/icons/sync.svg +0 -1
  526. package/src/icons/table.svg +0 -1
  527. package/src/icons/tag.svg +0 -1
  528. package/src/icons/target.svg +0 -1
  529. package/src/icons/tasklist.svg +0 -1
  530. package/src/icons/telescope.svg +0 -1
  531. package/src/icons/terminal-bash.svg +0 -1
  532. package/src/icons/terminal-cmd.svg +0 -1
  533. package/src/icons/terminal-debian.svg +0 -1
  534. package/src/icons/terminal-git-bash.svg +0 -1
  535. package/src/icons/terminal-linux.svg +0 -1
  536. package/src/icons/terminal-powershell.svg +0 -1
  537. package/src/icons/terminal-tmux.svg +0 -1
  538. package/src/icons/terminal-ubuntu.svg +0 -1
  539. package/src/icons/terminal.svg +0 -1
  540. package/src/icons/text-size.svg +0 -1
  541. package/src/icons/thinking.svg +0 -1
  542. package/src/icons/three-bars.svg +0 -1
  543. package/src/icons/thumbsdown-filled.svg +0 -1
  544. package/src/icons/thumbsdown.svg +0 -1
  545. package/src/icons/thumbsup-filled.svg +0 -1
  546. package/src/icons/thumbsup.svg +0 -1
  547. package/src/icons/tools.svg +0 -1
  548. package/src/icons/trash.svg +0 -1
  549. package/src/icons/triangle-down.svg +0 -1
  550. package/src/icons/triangle-left.svg +0 -1
  551. package/src/icons/triangle-right.svg +0 -1
  552. package/src/icons/triangle-up.svg +0 -1
  553. package/src/icons/twitter.svg +0 -1
  554. package/src/icons/type-hierarchy-sub.svg +0 -1
  555. package/src/icons/type-hierarchy-super.svg +0 -1
  556. package/src/icons/type-hierarchy.svg +0 -1
  557. package/src/icons/unarchive.svg +0 -1
  558. package/src/icons/unfold.svg +0 -1
  559. package/src/icons/ungroup-by-ref-type.svg +0 -1
  560. package/src/icons/unlock.svg +0 -1
  561. package/src/icons/unmute.svg +0 -1
  562. package/src/icons/unverified.svg +0 -1
  563. package/src/icons/variable-group.svg +0 -1
  564. package/src/icons/verified-filled.svg +0 -1
  565. package/src/icons/verified.svg +0 -1
  566. package/src/icons/versions.svg +0 -1
  567. package/src/icons/vm-active.svg +0 -1
  568. package/src/icons/vm-connect.svg +0 -1
  569. package/src/icons/vm-outline.svg +0 -1
  570. package/src/icons/vm-pending.svg +0 -1
  571. package/src/icons/vm-running.svg +0 -1
  572. package/src/icons/vm-small.svg +0 -1
  573. package/src/icons/vm.svg +0 -1
  574. package/src/icons/vr.svg +0 -1
  575. package/src/icons/vscode-insiders.svg +0 -1
  576. package/src/icons/vscode.svg +0 -1
  577. package/src/icons/wand.svg +0 -1
  578. package/src/icons/warning.svg +0 -1
  579. package/src/icons/watch.svg +0 -1
  580. package/src/icons/whitespace.svg +0 -1
  581. package/src/icons/whole-word.svg +0 -1
  582. package/src/icons/window-active.svg +0 -1
  583. package/src/icons/window.svg +0 -1
  584. package/src/icons/word-wrap.svg +0 -1
  585. package/src/icons/workspace-trusted.svg +0 -1
  586. package/src/icons/workspace-unknown.svg +0 -1
  587. package/src/icons/workspace-untrusted.svg +0 -1
  588. package/src/icons/worktree-small.svg +0 -1
  589. package/src/icons/worktree.svg +0 -1
  590. package/src/icons/zoom-in.svg +0 -1
  591. package/src/icons/zoom-out.svg +0 -1
  592. package/src/template/cody.json +0 -28
  593. package/src/template/cody_mapping.json +0 -5
  594. package/src/template/preview.hbs +0 -833
  595. package/src/template/styles.hbs +0 -57
  596. package/svgo.config.js +0 -21
@@ -1,833 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <title>{{ name }} | The icon font for Cody </title>
7
-
8
- <style type="text/css">
9
- html {
10
- box-sizing: border-box;
11
- font-size: 16px;
12
- }
13
-
14
- *,
15
- *:before,
16
- *:after {
17
- box-sizing: inherit;
18
- }
19
-
20
- body,
21
- h1,
22
- h2,
23
- h3,
24
- h4,
25
- h5,
26
- h6,
27
- p,
28
- ol,
29
- ul {
30
- margin: 0;
31
- padding: 0;
32
- font-weight: normal;
33
- }
34
-
35
- ol,
36
- ul {
37
- list-style: none;
38
- }
39
-
40
- img {
41
- max-width: 100%;
42
- height: auto;
43
- }
44
-
45
- :root {
46
- --bg-color: #f8f8f8;
47
- --text-color: #333;
48
- --text-secondary: #666;
49
- --card-bg: white;
50
- --card-shadow: rgba(0, 0, 0, 0.06);
51
- --card-shadow-hover: rgba(0, 0, 0, 0.24);
52
- --input-border: rgba(0, 0, 0, .1);
53
- --notification-bg: #212121;
54
- --notification-text: white;
55
- }
56
-
57
- [data-theme="dark"] {
58
- --bg-color: #1e1e1e;
59
- --text-color: #cccccc;
60
- --text-secondary: #999;
61
- --card-bg: #252526;
62
- --card-shadow: rgba(0, 0, 0, 0.3);
63
- --card-shadow-hover: rgba(255, 255, 255, 0.1);
64
- --input-border: rgba(255, 255, 255, .1);
65
- --notification-bg: #3c3c3c;
66
- --notification-text: #cccccc;
67
- }
68
-
69
- body {
70
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
71
- margin: 0;
72
- padding: 0px 20px 10px 20px;
73
- text-align: center;
74
- background-color: var(--bg-color);
75
- color: var(--text-color);
76
- transition: background-color 0.3s ease, color 0.3s ease;
77
- }
78
-
79
- #header {
80
- position: sticky;
81
- top: 0;
82
- display: flex;
83
- align-items: center;
84
- gap: 20px;
85
- margin: 0 auto;
86
- padding: 20px 64px;
87
- background-color: var(--bg-color);
88
- z-index: 100;
89
- transition: background-color 0.3s ease;
90
- }
91
-
92
- h1 {
93
- font-weight: bold;
94
- margin: 0;
95
- color: var(--text-color);
96
- white-space: nowrap;
97
- flex-shrink: 0;
98
- }
99
-
100
- #theme-toggle {
101
- display: flex;
102
- align-items: center;
103
- gap: 4px;
104
- padding: 10px 20px;
105
- background-color: var(--card-bg);
106
- color: var(--text-color);
107
- border: 1px solid var(--input-border);
108
- border-radius: 4px;
109
- cursor: pointer;
110
- font-size: 14px;
111
- box-shadow: 0px 0px 12px var(--card-shadow);
112
- transition: all 0.3s ease;
113
- flex-shrink: 0;
114
- white-space: nowrap;
115
- }
116
-
117
- #theme-toggle:hover {
118
- box-shadow: 0px 0px 12px var(--card-shadow-hover);
119
- }
120
-
121
- #theme-toggle:focus {
122
- outline: none;
123
- border-color: #18a0fb;
124
- }
125
-
126
- .icon {
127
- width: 100px;
128
- display: inline-block;
129
- margin: 8px;
130
- }
131
-
132
- .icon:hover {
133
- cursor: pointer;
134
- }
135
-
136
- .icon:hover .inner {
137
- box-shadow: 0px 0px 12px var(--card-shadow-hover);
138
- }
139
-
140
- .icon .inner {
141
- display: inline-block;
142
- width: 100%;
143
- text-align: center;
144
- background-color: var(--card-bg);
145
- box-shadow: 0px 0px 12px var(--card-shadow);
146
- border-radius: 4px;
147
- transition: all .3s ease-in-out;
148
- }
149
-
150
- .icon .inner {
151
- display: flex;
152
- align-items: center;
153
- justify-content: center;
154
- height: 88px;
155
- font-size: 56px;
156
- line-height: 1;
157
- color: var(--text-color);
158
- overflow: hidden;
159
- }
160
-
161
- .icon .inner::before {
162
- overflow: hidden;
163
- }
164
-
165
- .label {
166
- margin-top: 8px;
167
- display: inline-block;
168
- width: 100%;
169
- box-sizing: border-box;
170
- padding: 4px;
171
- font-size: 10px;
172
- color: var(--text-secondary);
173
- white-space: nowrap;
174
- overflow: hidden;
175
- text-overflow: ellipsis;
176
- }
177
-
178
- .description {
179
- display: none;
180
- }
181
-
182
- #search {
183
- flex: 1;
184
- font-size: 16px;
185
- padding: 12px 16px;
186
- border: 1px solid var(--input-border);
187
- box-shadow: 0px 0px 12px var(--card-shadow);
188
- background-color: var(--card-bg);
189
- color: var(--text-color);
190
- transition: all 0.3s ease;
191
- border-radius: 4px;
192
- }
193
-
194
- #tabs {
195
- display: flex;
196
- align-items: center;
197
- gap: 8px;
198
- flex-shrink: 0;
199
- }
200
-
201
- .tab {
202
- padding: 10px 14px;
203
- background-color: var(--card-bg);
204
- color: var(--text-color);
205
- border: 1px solid var(--input-border);
206
- border-radius: 4px;
207
- cursor: pointer;
208
- font-size: 14px;
209
- box-shadow: 0px 0px 12px var(--card-shadow);
210
- transition: all 0.3s ease;
211
- user-select: none;
212
- }
213
-
214
- .tab.active {
215
- border-color: #18a0fb;
216
- }
217
-
218
- .cody-svg {
219
- width: 1em;
220
- height: 1em;
221
- display: inline-block;
222
- }
223
-
224
- #search:focus {
225
- outline: none !important;
226
- border-color: #18a0fb;
227
- }
228
-
229
- #copier {
230
- position: absolute;
231
- top: -9999px;
232
- left: -9999px;
233
- }
234
-
235
- #notification {
236
- position: fixed;
237
- margin: auto;
238
- bottom: 40px;
239
- left: 50%;
240
- width: auto;
241
- transform: translateX(-50%);
242
- color: var(--notification-text);
243
- background-color: var(--notification-bg);
244
- padding: 8px 24px;
245
- border-radius: 8px;
246
- opacity: 0;
247
- transition: opacity .3s ease-in-out;
248
- box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
249
- }
250
-
251
- #notification-id {
252
- font-weight: bold;
253
- }
254
-
255
- #notification.show {
256
- opacity: .9;
257
- }
258
- </style>
259
-
260
- <link rel="stylesheet" type="text/css" href="{{ name }}.css" />
261
- </head>
262
-
263
- <body>
264
-
265
- <div id="header">
266
- <h1>{{ name }}</h1>
267
- <input type="text" id="search" placeholder="Search for icon names" aria-label="Search for icon names">
268
- <div id="tabs" role="tablist" aria-label="Icon filter">
269
- <div id="tab-all" class="tab active" role="tab" aria-selected="true" tabindex="0">Default</div>
270
- <div id="tab-cody" class="tab" role="tab" aria-selected="false" tabindex="0">Cody</div>
271
- </div>
272
- <button id="theme-toggle" aria-label="Toggle theme"><i class="codyicon codyicon-color-mode"></i> Dark
273
- Mode</button>
274
- </div>
275
-
276
- <div id="icons">
277
- {{# each assets }}
278
- <div class="icon" data-name="{{ @key }}" title="{{ @key }}" data-tags="" data-description="">
279
- <span class="inner">
280
- <{{ ../tag }} class="{{ ../prefix }} {{ ../prefix }}-{{ @key }}" aria-hidden="true"></{{ ../tag }}>
281
- </span>
282
- <br>
283
- <span class='label'>{{ @key }}</span>
284
- <span class='description'></span>
285
- </div>
286
- {{/ each }}
287
- </div>
288
-
289
- <div id="notification">📋 Copied: <span id="notification-id"></span></div>
290
- <input type="text" id="copier" aria-label="Clipboard helper">
291
- <svg id="cody-svg-sprite" aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden"></svg>
292
-
293
- <script type="text/javascript">
294
-
295
- let icons = document.getElementsByClassName('icon');
296
- let copier = document.getElementById('copier');
297
- let notification = document.getElementById('notification');
298
- let notificationText = document.getElementById('notification-id');
299
- let search = document.getElementById('search');
300
- const html = document.documentElement;
301
- const themeToggle = document.getElementById('theme-toggle');
302
- const tabAll = document.getElementById('tab-all');
303
- const tabCody = document.getElementById('tab-cody');
304
- let codyIconSet = new Set();
305
- let timer;
306
-
307
- // Load metadata
308
- let metadata = {}; // METADATA_PLACEHOLDER
309
-
310
- if (Object.keys(metadata).length > 0) {
311
- applyMetadata();
312
- } else {
313
- fetch('metadata.json')
314
- .then(response => response.json())
315
- .then(data => {
316
- metadata = data;
317
- applyMetadata();
318
- })
319
- .catch(error => {
320
- console.warn('Could not load metadata.json, using fallback descriptions', error);
321
- applyLegacyDescriptions();
322
- });
323
- }
324
-
325
- function applyMetadata() {
326
- for (let i = 0; i < icons.length; i++) {
327
- let icon = icons[i];
328
- let name = icon.getAttribute('data-name');
329
-
330
- if (metadata[name]) {
331
- let meta = metadata[name];
332
- let tags = meta.tags ? meta.tags.join(' ') : '';
333
- let description = meta.description || '';
334
- let render = meta.render || '';
335
-
336
- icon.setAttribute('data-tags', tags);
337
- icon.setAttribute('data-description', description);
338
- icon.setAttribute('data-render', render);
339
-
340
- // Update visible description
341
- let descriptionSpan = icon.querySelector('.description');
342
- if (descriptionSpan) {
343
- descriptionSpan.innerHTML = description + (tags ? ' - ' + tags : '');
344
- }
345
- }
346
- }
347
-
348
- // Build a set of icons that should be rendered via colored SVG (Cody custom icons).
349
- codyIconSet = new Set(
350
- Object.keys(metadata || {}).filter((key) => metadata[key] && metadata[key].render === 'svg')
351
- );
352
-
353
- // Ensure SVG-rendered icons exist as cards in the DOM even if they are not part of the font assets.
354
- // The template icon list is generated from the font assets mapping, so custom SVG-only icons
355
- // must be appended dynamically.
356
- const iconContainer = document.getElementById('icons');
357
- if (iconContainer) {
358
- codyIconSet.forEach((name) => {
359
- const exists = document.querySelector(`[data-name="${name}"]`);
360
- if (exists) {
361
- return;
362
- }
363
-
364
- const meta = metadata[name] || {};
365
- const tags = meta.tags ? meta.tags.join(' ') : '';
366
- const description = meta.description || '';
367
- const render = meta.render || '';
368
-
369
- const card = document.createElement('div');
370
- card.className = 'icon';
371
- card.setAttribute('data-name', name);
372
- card.setAttribute('title', name);
373
- card.setAttribute('data-tags', tags);
374
- card.setAttribute('data-description', description);
375
- card.setAttribute('data-render', render);
376
-
377
- const inner = document.createElement('span');
378
- inner.className = 'inner';
379
- inner.innerHTML = `<svg class="cody-svg" aria-hidden="true"><use href="#${name}" xlink:href="#${name}"></use></svg>`;
380
- inner.setAttribute('data-svg-rendered', 'true');
381
- card.appendChild(inner);
382
-
383
- card.appendChild(document.createElement('br'));
384
-
385
- const label = document.createElement('span');
386
- label.className = 'label';
387
- label.textContent = name;
388
- card.appendChild(label);
389
-
390
- const desc = document.createElement('span');
391
- desc.className = 'description';
392
- desc.innerHTML = description + (tags ? ' - ' + tags : '');
393
- card.appendChild(desc);
394
-
395
- iconContainer.appendChild(card);
396
- });
397
- }
398
- }
399
-
400
- function applyLegacyDescriptions() {
401
- let descriptions = [
402
- {
403
- name: 'account',
404
- description: 'person people face user contact outline'
405
- },
406
- {
407
- name: 'activate-breakpoints',
408
- description: 'dot circle toggle switch'
409
- },
410
- {
411
- name: 'add',
412
- description: 'combine plus add more new'
413
- },
414
- {
415
- name: 'archive',
416
- description: 'save box delivery package'
417
- },
418
- {
419
- name: 'arrow-both',
420
- description: 'switch swap'
421
- },
422
- {
423
- name: 'attach',
424
- description: 'clip paperclip file link connect add'
425
- },
426
- {
427
- name: 'beaker',
428
- description: 'test lab tube tool'
429
- },
430
- {
431
- name: 'bell',
432
- description: 'alert notify notification'
433
- },
434
- {
435
- name: 'bell-dot',
436
- description: 'alert notify notification'
437
- },
438
- {
439
- name: 'bold',
440
- description: 'text format weight font style'
441
- },
442
- {
443
- name: 'book',
444
- description: 'library text read open'
445
- },
446
- {
447
- name: 'bookmark',
448
- description: 'book save later'
449
- },
450
- {
451
- name: 'briefcase',
452
- description: 'work workplace'
453
- },
454
- {
455
- name: 'broadcast',
456
- description: 'tower signal connect connection'
457
- },
458
- {
459
- name: 'browser',
460
- description: 'web internet page window'
461
- },
462
- {
463
- name: 'bug',
464
- description: 'error issue insect block'
465
- },
466
- {
467
- name: 'calendar',
468
- description: 'day time week month date schedule event planner'
469
- },
470
- {
471
- name: 'call-incoming',
472
- description: 'phone cell voice connection direction'
473
- },
474
- {
475
- name: 'call-outgoing',
476
- description: 'phone cell voice connection direction'
477
- },
478
- {
479
- name: 'case-sensitive',
480
- description: 'search filter option letters words'
481
- },
482
- {
483
- name: 'check-all',
484
- description: 'checkmark select everything checked mark complete finish done accept approve'
485
- },
486
- {
487
- name: 'check',
488
- description: 'checkmark select everything checked mark complete finish done accept approve'
489
- },
490
- {
491
- name: 'checklist',
492
- description: 'checkmark select everything checked mark complete finish done accept todo task text'
493
- },
494
- {
495
- name: 'chevron-down',
496
- description: 'twistie tree node folder fold collapse'
497
- },
498
- {
499
- name: 'chevron-left',
500
- description: 'twistie tree node folder fold collapse'
501
- },
502
- {
503
- name: 'chevron-right',
504
- description: 'twistie tree node folder fold collapse'
505
- },
506
- {
507
- name: 'chevron-up',
508
- description: 'twistie tree node folder fold collapse'
509
- },
510
- {
511
- name: 'chrome-close',
512
- description: 'menu bar window dismiss'
513
- },
514
- {
515
- name: 'chrome-maximize',
516
- description: 'menu bar window large increase'
517
- },
518
- {
519
- name: 'chrome-minimize',
520
- description: 'menu bar window small decrease'
521
- },
522
- {
523
- name: 'chrome-restore',
524
- description: 'menu bar window'
525
- },
526
- {
527
- name: 'circle-filled',
528
- description: 'dot round small bullet breakpoint'
529
- },
530
- {
531
- name: 'circle-large-filled',
532
- description: 'dot round bullet'
533
- },
534
- {
535
- name: 'circle-large',
536
- description: 'dot round bullet'
537
- },
538
- {
539
- name: 'circle',
540
- description: 'dot round small bullet unverified breakpoint'
541
- },
542
- {
543
- name: 'circle-slash',
544
- description: 'error block stop disable'
545
- },
546
- {
547
- name: 'circuit-board',
548
- description: 'iot device process lines'
549
- },
550
- {
551
- name: 'clear-all',
552
- description: 'reset remove'
553
- },
554
- {
555
- name: 'clippy',
556
- description: 'clipboard document edit copy'
557
- },
558
- {
559
- name: 'close-all',
560
- description: 'remove bulk'
561
- },
562
- {
563
- name: 'close',
564
- description: 'remove x cancel stop miltiply'
565
- },
566
- {
567
- name: 'cloud-download',
568
- description: 'install import'
569
- },
570
- {
571
- name: 'cloud-upload',
572
- description: 'export'
573
- },
574
- {
575
- name: 'cloud',
576
- description: 'online service'
577
- },
578
- {
579
- name: 'code',
580
- description: 'embed script programming server'
581
- },
582
- {
583
- name: 'collapse-all',
584
- description: 'bulk fold minimize'
585
- },
586
- {
587
- name: 'color-mode',
588
- description: 'switch dark light contrast mode toggle'
589
- },
590
- {
591
- name: 'comment-discussion',
592
- description: 'dialog message bubble chat'
593
- },
594
- {
595
- name: 'comment',
596
- description: 'dialog message bubble chat'
597
- },
598
- {
599
- name: 'credit-card',
600
- description: 'payment merchant money'
601
- },
602
- {
603
- name: 'dash',
604
- description: 'line minus subtract hyphen'
605
- },
606
- {
607
- name: 'dashboard',
608
- description: 'panel stats dial'
609
- },
610
- {
611
- name: 'database',
612
- description: 'sql db storage online cloud'
613
- },
614
- {
615
- name: 'debug-alt-small',
616
- description: 'run'
617
- },
618
- {
619
- name: 'debug-alt',
620
- description: 'run'
621
- },
622
- {
623
- name: 'debug-console',
624
- description: 'terminal command input compile build'
625
- },
626
- {
627
- name: 'debug-disconnect',
628
- description: 'stop unplug eject'
629
- },
630
- {
631
- name: 'desktop-download',
632
- description: 'install'
633
- },
634
- {
635
- name: 'device-camera-video',
636
- description: 'movie record capture'
637
- },
638
- {
639
- name: 'device-camera',
640
- description: 'capture picture image'
641
- },
642
- {
643
- name: 'device-mobile',
644
- description: 'phone handheld smartphone'
645
- },
646
- {
647
- name: 'diff-added',
648
- description: 'git change'
649
- },
650
- {
651
- name: 'diff-ignored',
652
- description: 'git change'
653
- },
654
- {
655
- name: 'diff-modified',
656
- description: 'git change'
657
- },
658
- {
659
- name: 'diff-renamed',
660
- description: 'git change'
661
- },
662
- {
663
- name: 'diff-removed',
664
- description: 'git change'
665
- },
666
- {
667
- name: 'play-circle',
668
- description: 'run'
669
- },
670
- {
671
- name: 'pass',
672
- description: 'play check checkmark outline issue closed'
673
- },
674
- {
675
- name: 'pass-filled',
676
- description: 'play check checkmark filled issue closed'
677
- },
678
- {
679
- name: 'play',
680
- description: 'run'
681
- },
682
- ];
683
-
684
- descriptions.some(function (item) {
685
- let findIcon = document.querySelectorAll(`[data-name="${item.name}"]`);
686
- if (findIcon[0]) {
687
- findIcon[0].querySelector('.description').innerHTML += item.description;
688
- findIcon[0].setAttribute('data-description', item.description);
689
- }
690
- });
691
- }
692
-
693
- function animateNotification() {
694
- window.clearTimeout(timer);
695
- search.focus();
696
- notification.classList.add('show');
697
- timer = window.setTimeout(function () {
698
- notification.classList.remove('show');
699
- }, 3000);
700
- }
701
-
702
- function sanitizeText(string) {
703
- return string = string.replace(/-/gi, ' ');
704
- }
705
-
706
- // -----------------
707
- // Tab filter + search
708
- // -----------------
709
- let activeTab = 'all';
710
-
711
- function setTab(tab) {
712
- activeTab = tab;
713
- tabAll.classList.toggle('active', tab === 'all');
714
- tabCody.classList.toggle('active', tab === 'cody');
715
- tabAll.setAttribute('aria-selected', tab === 'all' ? 'true' : 'false');
716
- tabCody.setAttribute('aria-selected', tab === 'cody' ? 'true' : 'false');
717
- applyFilters();
718
- }
719
-
720
- tabAll.addEventListener('click', function () { setTab('all'); });
721
- tabCody.addEventListener('click', function () { setTab('cody'); });
722
-
723
- function applyFilters() {
724
- let filter = search.value.toUpperCase();
725
- let wrapper = document.getElementById('icons');
726
- let icon = wrapper.getElementsByTagName('div');
727
-
728
- for (i = 0; i < icon.length; i++) {
729
- let name = (icon[i].getAttribute('data-name') || '');
730
- let tags = icon[i].getAttribute('data-tags') || '';
731
- let description = icon[i].getAttribute('data-description') || '';
732
- let render = icon[i].getAttribute('data-render') || '';
733
- let textInner = sanitizeText(icon[i].innerText);
734
- let textContents = sanitizeText(icon[i].textContent);
735
-
736
- let tabMatch = true;
737
- if (activeTab === 'cody') {
738
- tabMatch = name.toLowerCase().startsWith('cody');
739
- }
740
-
741
- if (
742
- tabMatch && (
743
- textContents.toUpperCase().indexOf(filter) > -1 ||
744
- textInner.toUpperCase().indexOf(filter) > -1 ||
745
- name.toUpperCase().indexOf(filter) > -1 ||
746
- tags.toUpperCase().indexOf(filter) > -1 ||
747
- description.toUpperCase().indexOf(filter) > -1
748
- )
749
- ) {
750
- icon[i].style.display = "inline-block";
751
-
752
- // If this is a Cody icon and marked as SVG-rendered, replace the inner content with <svg><use>
753
- if (activeTab === 'cody' && render === 'svg' && codyIconSet.has(name)) {
754
- const inner = icon[i].querySelector('.inner');
755
- if (inner && !inner.getAttribute('data-svg-rendered')) {
756
- inner.innerHTML = `<svg class="cody-svg" aria-hidden="true"><use href="#${name}" xlink:href="#${name}"></use></svg>`;
757
- inner.setAttribute('data-svg-rendered', 'true');
758
- }
759
- }
760
- } else {
761
- icon[i].style.display = "none";
762
- }
763
- }
764
- }
765
-
766
- search.addEventListener('keyup', applyFilters);
767
-
768
- // -----------------
769
- // Click to copy
770
- // -----------------
771
- for (i = 0; i < icons.length; i++) {
772
- let icon = icons[i]
773
- icon.onclick = function (e) {
774
- let name = this.getAttribute('data-name');
775
-
776
- copier.value = name;
777
- copier.select();
778
- copier.setSelectionRange(0, 99999)
779
- document.execCommand('copy');
780
-
781
- notificationText.innerHTML = name;
782
- animateNotification();
783
- e.preventDefault();
784
- }
785
- }
786
- const prefersDarkScheme = window.matchMedia('(prefers-color-scheme: dark)');
787
-
788
- // Function to get the theme: check localStorage first, then system preference
789
- function getTheme() {
790
- const savedTheme = localStorage.getItem('theme');
791
- if (savedTheme) {
792
- return savedTheme;
793
- }
794
- return prefersDarkScheme.matches ? 'dark' : 'light';
795
- }
796
-
797
- // Initialize theme
798
- const currentTheme = getTheme();
799
- html.setAttribute('data-theme', currentTheme);
800
- updateThemeButton(currentTheme);
801
-
802
- // Listen for system theme changes
803
- prefersDarkScheme.addEventListener('change', function (e) {
804
- // Only update if user hasn't manually set a preference
805
- if (!localStorage.getItem('theme')) {
806
- const newTheme = e.matches ? 'dark' : 'light';
807
- html.setAttribute('data-theme', newTheme);
808
- updateThemeButton(newTheme);
809
- }
810
- });
811
-
812
- // Manual toggle
813
- themeToggle.addEventListener('click', function () {
814
- const currentTheme = html.getAttribute('data-theme');
815
- const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
816
-
817
- html.setAttribute('data-theme', newTheme);
818
- localStorage.setItem('theme', newTheme);
819
- updateThemeButton(newTheme);
820
- });
821
-
822
- function updateThemeButton(theme) {
823
- if (theme === 'dark') {
824
- themeToggle.innerHTML = '<i class="codyicon codyicon-color-mode"></i> Light Mode';
825
- } else {
826
- themeToggle.innerHTML = '<i class="codyicon codyicon-color-mode"></i> Dark Mode';
827
- }
828
- }
829
-
830
- </script>
831
- </body>
832
-
833
- </html>