diff --git a/.github/scripts/build_assets/filehandler.py b/.github/scripts/build_assets/filehandler.py index 42c8cafa..6fc69920 100644 --- a/.github/scripts/build_assets/filehandler.py +++ b/.github/scripts/build_assets/filehandler.py @@ -68,6 +68,7 @@ def get_svgs_paths(new_icons: List[dict], icons_folder_path: str) -> List[str]: for font_version in icon_info["versions"]["font"]: # if it's an alias, we don't want to make it into an icon if is_alias(font_version, aliases): + print(f"Not exist {icon_info['name']}-{font_version}.svg") continue file_name = f"{icon_info['name']}-{font_version}.svg" diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index 91a03e04..393d6b5a 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -36,7 +36,7 @@ jobs: if: ${{success()}} with: name: new_icons - path: ./.github/scripts/new_icons.png + path: ./new_icons.png - name: Running npm task for building devicon.min.css if: ${{ success() }} run: npm run build-css diff --git a/.gitignore b/.gitignore index 3c5259ea..8d5f0229 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ node_modules .idea geckodriver.log __pycache__ -*.pyc \ No newline at end of file +*.pyc +new_icons.png \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2b64b15b..a630e382 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -155,10 +155,9 @@ As an example, let's assume you have created the svgs for Amazon Web Services an "original-wordmark", "plain-wordmark" ], - "font": [ // here are the versions that are available as font icons + "font": [ // here are the versions that will be used to create icons "original", // original is simple enough to be used as plain "plain-wordmark", - "plain" // plain doesn't exist as an svg but it will be in the final font version ] }, "color": "#F7A80D", // note the '#' character diff --git a/devicon.json b/devicon.json index 99402d88..32475d6f 100644 --- a/devicon.json +++ b/devicon.json @@ -412,8 +412,11 @@ "original", "plain" ], - "font": [] + "font": [ + "plain" + ] }, + "color": "#96ca4b", "aliases": [] }, { @@ -2042,9 +2045,16 @@ "svg": [ "original" ], - "font": [] + "font": [ + "original" + ] }, - "aliases": [] + "aliases": [ + { + "base": "original", + "alias": "plain" + } + ] }, { "name": "ruby", @@ -2669,10 +2679,14 @@ ], "versions": { "svg": [ - "original" + "original", + "plain" ], - "font": [] + "font": [ + "plain" + ] }, + "color": "#ffffff", "aliases": [] }, { diff --git a/gulpfile.js b/gulpfile.js index 29fded8e..9adce05c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -100,7 +100,7 @@ function createColorsCSS(deviconJson) { versions: { font: fonts }, - color + color, } = fontObj; if (fonts.length === 0 || typeof(color) !== "string") { diff --git a/icons/yunohost/yunohost-plain.svg b/icons/yunohost/yunohost-plain.svg new file mode 100644 index 00000000..097ca2db --- /dev/null +++ b/icons/yunohost/yunohost-plain.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="5.04444in" height="5.04444in" viewBox="0 0 454 454"> + <path id="Selection" fill="black" stroke="black" stroke-width="1" d="M279 130C280.7 117.07 280.98 107.95 281 95 281 95 282 74 282 74 282.04 66.49 283.3 58.61 287.04 52 288.3 49.78 290.56 46.08 293.04 45.17 297.43 43.56 301.3 50.06 303.42 53 305.33 55.66 310.51 62.35 311.42 65 312.66 68.63 312.01 84.27 312 89 312 89 312 184 312 184 311.92 190.67 311.15 199.34 303 200.62 293.45 202.12 279.46 190.05 273 184.02 270.8 181.97 263.95 175.36 261.11 175.34 257.13 175.3 254.4 185.83 253.33 189 251.91 193.25 250.06 200.77 245.9 202.96 241.45 205.3 233.02 200.41 229 198.21 225.73 196.41 222.45 194.25 220.57 190.91 216.78 184.19 222.31 166.18 223.58 158 225.71 144.28 226.02 132.79 226 119 226 119 223.06 86 223.06 86 223.52 79.85 230.07 75.44 236 75.29 242.1 75.12 248.04 81.72 251.7 86 259.14 94.69 262.74 102.98 267.75 113 271.09 119.67 272.89 125.36 279 130ZM33 46.64C51.35 46.63 59.25 68.87 60.95 84 61.58 89.63 62.53 101.9 67.22 105.4 70.88 108.12 74.89 105.83 78 103.47 82.35 100.18 87.58 94.33 90.99 90 92.7 87.82 95.35 83.45 98.09 82.81 101.53 82 109.35 87.23 112 89.38 114.3 91.24 116.44 93.47 118.01 96 129.91 115.18 101.07 131.62 95.41 144 93.21 148.84 93.29 159.5 92.91 165 92.91 165 89.42 205 89.42 205 88.84 209.43 89.73 223.43 83.89 223.76 80.03 223.99 73.87 220.12 71.04 217.67 61.4 209.35 56.02 196.53 56 184 56 184 56 152 56 152 56 149.98 56.12 146.89 55.4 145.04 54.31 142.21 42.91 131.91 40 129 37.05 126.05 32.13 121.58 30.3 118 28.68 114.82 27 105 26.2 101 24.25 91.24 21.05 74.59 21 65 20.95 54.89 21.27 48.79 33 46.64ZM362 55.53C377.15 53.05 393.26 61.45 398.93 76 402.34 84.74 403.98 105.33 404 115 404 115 404 141 404 141 403.95 151.97 399.25 163.39 390.96 170.79 388.56 172.93 386.57 173.86 384 175.59 381.09 177.54 379.43 179.17 376 180.39 371.27 182.07 365.95 182.05 361 182 352.4 181.9 348.03 179.77 341 174.97 329.38 167.05 323.66 158.98 321.44 145 317.92 122.92 324.03 95.63 336.25 77 336.25 77 341.49 68.09 341.49 68.09 345.72 62.73 355.46 57.46 362 55.53ZM188.13 79.03C193.38 77.34 196.15 79.41 199.96 83.09 207.12 90.03 208.58 98.55 209.72 108 210.44 114 209.31 126.81 208.42 133 208.42 133 205.8 149 205.8 149 203.1 162.6 199.89 184.54 190.53 194.83 188.07 197.53 185.11 199.5 182 201.38 176.45 204.75 171.61 206.64 165 206.24 154.71 205.62 148.97 201.1 142.01 194 136.54 188.42 130.69 180.45 128.1 173 126.03 167.03 126.4 163.83 125.83 158 125.83 158 125 115 125 115 125.06 110.51 126.49 95.24 127.5 91 128.05 88.69 129.35 84.13 131.42 82.81 136.06 79.85 148.02 90.74 150.86 94 155.14 98.95 154.6 101.99 155.42 108 155.42 108 157 141 157 141 157.01 145.52 157.35 158.71 164.91 157.04 170.89 155.71 172.07 143.92 173.42 139 176.97 126.1 181.53 113.42 182.83 100 183.52 92.94 182.15 84.03 188.13 79.03ZM366.02 101.61C359.14 105.42 354.19 121.29 353.29 129 352.83 132.91 353.63 138.81 358.1 140.16 362.26 141.4 365.86 136.97 367.91 134 371.73 128.44 376.65 117.82 376.74 111 376.83 104.39 372.45 100.59 366.02 101.61ZM308 284C308.68 281.19 308.98 276.31 310.6 274.28 312.68 271.66 316.9 270.89 320 270.13 320 270.13 345.69 263.84 345.69 263.84 348.37 261.97 348.68 254.23 348.91 251 349.48 243.2 350.54 225.59 357.21 220.74 365.64 214.6 381.26 230.4 384.69 237 386.4 240.31 385.66 244.65 389.23 246.83 391.51 248.22 395.37 248 398 248 398 248 417 248 417 248 420.55 248.01 423.72 247.81 427 249.45 435.79 253.85 444.15 268.47 435.85 276.79 429.77 282.89 407.87 289.68 399 292.67 394.33 294.24 385.37 297.01 382.61 301.1 380.59 304.1 381.83 308.5 382 312 382 312 385 343 385 343 385.06 348.82 385.03 355.82 381.78 360.91 380.04 363.61 377.89 365.05 375 366.32 363.72 371.26 354.73 360.47 350.53 351 346.4 341.7 347.86 334.42 348 325 348.06 321.11 349.13 316.44 346.48 313.23 342.57 308.49 337.1 310.56 332 310.96 332 310.96 324 310.96 324 310.96 328.96 323.48 330.78 330.57 329.15 344 328.72 347.59 328.71 349.57 327.08 353 324.99 357.42 321.7 360.33 318 363.39 310.45 369.61 298.49 378.92 288 376.47 280.08 374.62 274.14 367.15 269.43 361 262.29 351.7 261.91 343.31 263.08 332 263.35 329.36 265.1 319.96 269.52 322.17 271 322.9 272.58 326.51 273.64 328 276.53 332.01 281.67 336.5 287 335.57 302.23 332.91 288.23 314.72 283.54 309 276.92 300.93 259.45 286.07 255.45 278 253.54 274.14 253.95 268.31 254 264 254.17 250.22 261.68 245.41 273 239.75 277.27 237.62 281.13 235.44 286 235.1 296.49 234.36 309.15 242.41 315.81 250 318.3 252.83 322.41 258.81 319.96 262.69 316.52 268.15 301.69 262.7 298.13 271.04 295.63 276.89 303.79 281.93 308 284ZM120 250.53C124.37 249.91 126.87 250.3 131 251.93 151.23 259.88 146.23 284.3 141.85 301 140.44 306.36 138.77 311.35 139.09 317 139.09 317 142.08 343 142.08 343 142.08 343 146.44 363 146.44 363 146.44 363 149.67 373 149.67 373 150.34 376.82 150.27 381.73 147.57 384.77 142.81 390.13 136.85 387.05 132 383.78 132 383.78 120.44 375.61 120.44 375.61 120.44 375.61 111.7 365.18 111.7 365.18 109.3 362.74 105.65 359.91 102 360.66 100.12 361.05 96.99 363.16 95 364.09 87.81 367.44 80.59 367.08 78.83 372.11 78.83 372.11 81 394 81 394 81.03 397.19 81.32 402.15 79.83 404.96 75.19 413.65 64.04 409.3 58.01 404.96 50.23 399.35 47.26 391.25 41.55 384 28.3 367.19 13.88 364.9 15.06 349 15.91 337.62 32.68 339.38 39.77 334.01 45.23 329.88 43.93 317.26 44 311 44 311 45 296 45 296 45.01 289.56 44.79 276.63 47.57 271.02 51.9 262.29 65.07 264.33 72 268.48 75.4 270.52 77.69 272.72 79.9 276 85.31 284.05 87.22 294.49 85.54 304 84.73 308.58 81.12 318.83 82.75 322.89 85.04 328.58 96.84 328.75 101.15 321.96 103.2 318.72 102.81 315.58 103.17 312 103.17 312 104 292 104 292 104.12 282.14 106.3 261.32 113.33 254.22 115.58 251.95 117.08 251.47 120 250.53ZM187 261.52C196.33 260.05 202.58 263.17 211 266.6 219.3 269.99 234.13 275.75 239.15 283.01 244.03 290.06 245.31 303.45 246.58 312 247.16 315.95 248.4 322.24 247.61 326 246.83 329.69 240.27 343.01 238.24 347 235.6 352.19 230.44 361.97 225.96 365.37 218.29 371.17 206.39 373.11 197 373 186.24 372.87 176.64 366.03 169 358.91 159.59 350.15 151.06 339.31 151 326 150.93 310.53 152.62 287.19 163.21 275.01 169.16 268.18 178.38 263.83 187 261.52ZM198 302.56C188.97 305.26 184.54 316.17 185.04 325 185.32 329.88 187.49 333.86 193 333.43 201.52 332.76 207.35 325.12 207.9 317 208.36 310.38 205.19 303.31 198 302.56Z"/> +</svg>