1
0
mirror of https://github.com/konpa/devicon.git synced 2025-04-21 21:31:53 +02:00

Add screenshot code, update the CONTRIBUTING.md and fix clojure

This commit is contained in:
Thomas Bui 2020-10-11 20:19:41 -07:00
parent 0fe65a0f3a
commit e6cb7bb3fd
5 changed files with 22 additions and 6 deletions

@ -130,6 +130,8 @@ class SeleniumRunner:
self.test_for_possible_alert(self.SHORT_WAIT_IN_SEC, "Dismiss")
self.remove_color_from_icon()
# take a screenshot of the icons that were just added
self.driver.save_screenshot("new_icons.png");
self.click_hamburger_input()
select_all_button = WebDriverWait(self.driver, self.LONG_WAIT_IN_SEC).until(
ec.element_to_be_clickable((By.XPATH, "//button[text()='Select All']"))

@ -27,10 +27,16 @@ jobs:
./icomoon.json ./devicon.json ./icons ./ --headless
- name: Upload geckodriver.log for debugging purposes
uses: actions/upload-artifact@v2
if: ${{always()}}
if: ${{failure()}}
with:
name: geckodriver-log
path: ./geckodriver.log
- name: Upload screenshot of the newly made icons
uses: actions/upload-artifact@v2
if: ${{success()}}
with:
name: new_icons
path: ./.github/scripts/new_icons.png
- name: Running npm task for building devicon.min.css
if: ${{ success() }}
run: npm run build-css

@ -157,7 +157,8 @@ As an example, let's assume you have created the svgs for Amazon Web Services an
],
"font": [ // here are the versions that are available as font icons
"original", // original is simple enough to be used as plain
"plain-wordmark"
"plain-wordmark",
"plain" // plain doesn't exist as an svg but it will be in the final font version
]
},
"color": "#F7A80D", // note the '#' character

@ -387,12 +387,20 @@
"versions": {
"svg": [
"original",
"line"
],
"font": [
"line",
"plain"
],
"font": []
]
},
"aliases": []
"color": "#5881d8",
"aliases": [
{
"base": "line",
"alias": "plain"
}
]
},
{
"name": "clojurescript",

@ -1 +0,0 @@
<svg viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg"><g fill="none"><path d="M64 0C28.712 0 0 28.6 0 63.751c0 35.155 28.712 63.753 64 63.753s64-28.598 64-63.753C128 28.6 99.288 0 64 0" fill="#FFF"/><path d="M61.659 64.898a265.825 265.825 0 0 0-1.867 4.12c-2.322 5.241-4.894 11.62-5.834 15.706-.337 1.455-.546 3.258-.542 5.258 0 .79.043 1.622.11 2.469a30.74 30.74 0 0 0 10.533 1.87 30.796 30.796 0 0 0 9.642-1.566 18.09 18.09 0 0 1-2.011-2.12c-4.11-5.221-6.403-12.872-10.031-25.737M46.485 38.96c-7.85 5.51-12.986 14.6-13.005 24.9.019 10.145 5.001 19.116 12.653 24.65 1.877-7.789 6.582-14.92 13.637-29.214a114.691 114.691 0 0 0-1.43-3.72c-1.955-4.884-4.776-10.556-7.294-13.124-1.283-1.342-2.84-2.502-4.561-3.492" fill="#5881D8"/><path d="M90.697 98.798c-4.05-.506-7.392-1.116-10.317-2.144a36.708 36.708 0 0 1-16.32 3.807c-20.293 0-36.742-16.383-36.745-36.602 0-10.97 4.852-20.805 12.528-27.512-2.053-.495-4.194-.783-6.38-.779-10.782.101-22.162 6.044-26.9 22.095-.443 2.337-.337 4.103-.337 6.197 0 31.818 25.895 57.613 57.835 57.613 19.561 0 36.841-9.682 47.305-24.489-5.66 1.405-11.103 2.077-15.763 2.091-1.747 0-3.387-.093-4.906-.277" fill="#5881D8"/><path d="M79.829 87.634c.357.176 1.167.464 2.293.783 7.579-5.542 12.504-14.469 12.523-24.558h-.003c-.028-16.82-13.693-30.43-30.582-30.462a30.765 30.765 0 0 0-9.602 1.554c6.21 7.05 9.196 17.127 12.084 28.148l.005.013c.005.009.924 3.06 2.501 7.11 1.566 4.042 3.797 9.048 6.23 12.696 1.597 2.444 3.354 4.2 4.551 4.716" fill="#5881D8"/><path d="M64.061 6.246c-19.372 0-36.508 9.5-47.004 24.065 5.463-3.408 11.04-4.637 15.908-4.593 6.722.02 12.008 2.096 14.544 3.516.612.352 1.194.73 1.764 1.12a36.714 36.714 0 0 1 14.786-3.096c20.295.003 36.747 16.386 36.75 36.601h-.003c0 10.192-4.185 19.408-10.931 26.044a45.3 45.3 0 0 0 5.225.29c6.406.004 13.329-1.404 18.52-5.753 3.384-2.84 6.22-6.998 7.792-13.233.307-2.408.484-4.856.484-7.347 0-31.817-25.892-57.614-57.835-57.614" fill="#5881D8"/></g></svg>

Before

(image error) Size: 1.9 KiB