@aini_ai_cody/icons 0.0.2 → 0.0.4

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.
@@ -0,0 +1 @@
1
+ <svg t="1766406064288" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7796" width="32" height="32"><path d="M792.106667 484.906667H640v-298.666667a42.666667 42.666667 0 0 0-42.666667-42.666667h-170.666666a42.666667 42.666667 0 0 0-42.666667 42.666667v298.666667h-152.106667a21.333333 21.333333 0 0 0-14.72 36.906666l280.96 270.08a21.333333 21.333333 0 0 0 14.933334 5.973334 21.333333 21.333333 0 0 0 14.72-5.973334l279.04-270.293333a21.333333 21.333333 0 0 0-14.72-36.693333zM640 594.133333l-42.666667 40.533334-85.333333 82.56-85.333333-82.56-42.666667-41.386667-46.08-44.373333H426.666667a21.333333 21.333333 0 0 0 21.333333-21.333334v-320h128v320a21.333333 21.333333 0 0 0 21.333333 21.333334h89.386667zM821.333333 912h-618.666666a32 32 0 0 1 0-64h618.666666a32 32 0 0 1 0 64z" fill="#444893" p-id="7797"></path></svg>
@@ -0,0 +1,10 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <defs>
3
+ <linearGradient id="codySampleGrad" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0" stop-color="#ff4d4f"/>
5
+ <stop offset="1" stop-color="#1677ff"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <circle cx="12" cy="12" r="10" fill="url(#codySampleGrad)"/>
9
+ <path d="M8 12.2l2.2 2.2L16 8.6" fill="none" stroke="#ffffff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
10
+ </svg>
@@ -0,0 +1 @@
1
+ <svg t="1766406377376" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8113" width="32" height="32"><path d="M512 972.8c-253.952 0-460.8-206.848-460.8-460.8s206.848-460.8 460.8-460.8c20.48 0 36.864 16.384 36.864 36.864s-16.384 36.864-36.864 36.864c-213.504 0-387.072 173.568-387.072 387.072s173.568 387.072 387.072 387.072 387.072-173.568 387.072-387.072c0-42.496-6.656-83.968-19.968-123.392-6.656-19.456 4.096-40.448 23.04-46.592 19.456-6.656 40.448 4.096 46.592 23.04 15.872 47.104 24.064 96.768 24.064 146.944 0 253.952-206.848 460.8-460.8 460.8z" fill="#1afa29" p-id="8114"></path><path d="M808.96 246.784c-9.216 0-18.432-3.584-25.6-10.752-18.432-18.432-38.912-34.816-60.416-48.64-16.896-11.264-22.016-33.792-10.752-51.2 11.264-16.896 33.792-22.016 51.2-10.752 25.6 16.896 50.176 36.352 72.192 57.856 14.336 14.336 14.848 37.376 0.512 52.224-7.68 7.168-17.408 11.264-27.136 11.264zM512 700.416c-20.48 0-36.864-16.384-36.864-36.864V88.064c0-20.48 16.384-36.864 36.864-36.864s36.864 16.384 36.864 36.864v575.488c0 20.48-16.384 36.864-36.864 36.864z" fill="#1afa29" p-id="8115"></path><path d="M512 700.416c-9.216 0-18.944-3.584-26.112-10.752l-164.864-164.864c-14.336-14.336-14.336-37.888 0-52.224 14.336-14.336 37.888-14.336 52.224 0l164.864 164.864c14.336 14.336 14.336 37.888 0 52.224-7.168 7.168-16.896 10.752-26.112 10.752z" fill="#1afa29" p-id="8116"></path><path d="M512 700.416c-9.216 0-18.944-3.584-26.112-10.752-14.336-14.336-14.336-37.888 0-52.224l164.864-164.864c14.336-14.336 37.888-14.336 52.224 0s14.336 37.888 0 52.224l-164.864 164.864c-7.168 7.168-16.896 10.752-26.112 10.752z" fill="#1afa29" p-id="8117"></path></svg>
package/dist/codyicon.css CHANGED
@@ -696,3 +696,31 @@ animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;
696
696
  .codyicon-vm-pending:before { content: "\f111" }
697
697
  .codyicon-vscode-insiders:before { content: "\f112" }
698
698
  .codyicon-vscode:before { content: "\f113" }
699
+
700
+ /* cody-colored-icons:start */
701
+ .codyicon[class*="cody-"] {
702
+ display: inline-block;
703
+ width: 1em;
704
+ height: 1em;
705
+ background-repeat: no-repeat;
706
+ background-position: center;
707
+ background-size: contain;
708
+ vertical-align: -0.125em;
709
+ }
710
+ .codyicon.cody-mono[class*="cody-"] {
711
+ background-image: none !important;
712
+ background-color: currentColor;
713
+ -webkit-mask-repeat: no-repeat;
714
+ mask-repeat: no-repeat;
715
+ -webkit-mask-position: center;
716
+ mask-position: center;
717
+ -webkit-mask-size: contain;
718
+ mask-size: contain;
719
+ }
720
+ .codyicon.cody-new { background-image: url("./cody_icons/cody-new.svg"); }
721
+ .codyicon.cody-mono.cody-new { -webkit-mask-image: url("./cody_icons/cody-new.svg"); mask-image: url("./cody_icons/cody-new.svg"); }
722
+ .codyicon.cody-sample { background-image: url("./cody_icons/cody-sample.svg"); }
723
+ .codyicon.cody-mono.cody-sample { -webkit-mask-image: url("./cody_icons/cody-sample.svg"); mask-image: url("./cody_icons/cody-sample.svg"); }
724
+ .codyicon.cody-test { background-image: url("./cody_icons/cody-test.svg"); }
725
+ .codyicon.cody-mono.cody-test { -webkit-mask-image: url("./cody_icons/cody-test.svg"); mask-image: url("./cody_icons/cody-test.svg"); }
726
+ /* cody-colored-icons:end */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aini_ai_cody/icons",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "fontVersion": "1.15",
5
5
  "description": "The icon font for Cody",
6
6
  "license": "CC-BY-4.0",
@@ -33,13 +33,14 @@
33
33
  "svgo": "svgo -f ./src/icons/ --config svgo.config.js",
34
34
  "merge-cody": "node ./scripts/merge-cody.js",
35
35
  "cody-sprite": "node ./scripts/svg-sprite.js --outDir dist --outFile cody-icons.svg --iconsDir ./src/cody_icons",
36
+ "cody-colored": "node ./scripts/cody-colored.js",
36
37
  "sprite": "node ./scripts/svg-sprite.js --outDir dist --outFile codyicon.svg --mapping ./dist/mapping.json",
37
38
  "export-to-ts": "node ./scripts/export-to-ts.js -f ./dist/mapping.json > ./dist/codyiconsLibrary.ts",
38
39
  "export-to-csv": "node ./scripts/export-to-csv.js -f ./dist/codyicon.ttf > ./dist/codyicon.csv",
39
40
  "embed-metadata": "node ./scripts/embed-metadata.js",
40
41
  "check-metadata": "node ./scripts/check-metadata.js",
41
42
  "fonts": "fantasticon",
42
- "build": "npm run clean && npm run svgo && npm run fonts && npm run merge-cody && npm run cody-sprite && npm run export-to-ts && npm run export-to-csv && npm run embed-metadata && npm run sprite",
43
+ "build": "npm run clean && npm run svgo && npm run fonts && npm run merge-cody && npm run cody-sprite && npm run export-to-ts && npm run export-to-csv && npm run embed-metadata && npm run sprite && npm run cody-colored",
43
44
  "version:bump": "node ./scripts/version-bump.js",
44
45
  "version:patch": "node ./scripts/version-bump.js patch minor",
45
46
  "version:minor": "node ./scripts/version-bump.js minor minor",