Merge pull request #28 from thegeeklab/vcs-icons

add new icons for vcs providers
master
Robert Kaussow 2020-11-26 23:13:56 +01:00 committed by GitHub
commit f3db495751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 5 deletions

View File

@ -1,5 +1,3 @@
- ENHANCEMENT - ENHANCEMENT
- load static css/js assets from data template: - add new icons for different vcs providers `bitbucket`, `gitlab`
Build-in assets are now hashed by default. The static assets are located and generic `git`
in the `assets` directory. The theme will read and use the hashed files
from `data/assets.json`. Exception: `custom.css` will be used unhashed.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="-2.67 -2.67 33.33 33.33"><path d="M15.905 13.355c.189 1.444-1.564 2.578-2.784 1.839-1.375-.602-1.375-2.784-.034-3.403 1.151-.705 2.818.223 2.818 1.564zm1.907-.361c-.309-2.44-3.076-4.056-5.328-3.042-1.426.636-2.389 2.148-2.32 3.747.086 2.097 2.08 3.815 4.176 3.626s3.729-2.234 3.472-4.331zm4.108-9.315c-.756-.997-2.045-1.169-3.179-1.358-3.214-.516-6.513-.533-9.727.034-1.066.172-2.269.361-2.939 1.323 1.1 1.031 2.664 1.186 4.073 1.358 2.544.327 5.156.344 7.699.017 1.426-.172 3.008-.309 4.073-1.375zm.979 17.788c-.481 1.684-.206 3.953-1.994 4.932-3.076 1.701-6.806 1.89-10.191 1.289-1.787-.327-3.884-.894-4.864-2.578-.43-1.65-.705-3.334-.98-5.018l.103-.275.309-.155c5.121 3.386 12.288 3.386 17.427 0 .808.241.206 1.22.189 1.805zM26.01 4.951c-.584 3.764-1.255 7.51-1.908 11.257-.189 1.1-1.255 1.719-2.148 2.183-3.214 1.615-6.96 1.89-10.483 1.512-2.389-.258-4.829-.894-6.771-2.389-.911-.705-.911-1.908-1.083-2.922-.602-3.523-1.289-7.046-1.719-10.604.206-1.547 1.942-2.217 3.231-2.698C6.848.654 8.686.362 10.508.19c3.884-.378 7.854-.241 11.618.859 1.341.395 2.784.945 3.695 2.097.412.533.275 1.203.189 1.805z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="-2.67 -2.67 33.33 33.33"><path d="M27.472 12.753L15.247.529a1.803 1.803 0 00-2.55 0l-2.84 2.84 2.137 2.137a2.625 2.625 0 013.501 3.501l3.499 3.499a2.625 2.625 0 11-1.237 1.237l-3.499-3.499c-.083.04-.169.075-.257.106v7.3a2.626 2.626 0 11-1.75 0v-7.3a2.626 2.626 0 01-1.494-3.607L8.62 4.606l-8.09 8.09a1.805 1.805 0 000 2.551l12.225 12.224a1.803 1.803 0 002.55 0l12.168-12.168a1.805 1.805 0 000-2.551z"/></svg>

After

Width:  |  Height:  |  Size: 480 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="-2.67 -2.67 33.33 33.33"><path d="M1.629 11.034L14 26.888.442 17.048a1.09 1.09 0 01-.39-1.203l1.578-4.811zm7.217 0h10.309l-5.154 15.854zM5.753 1.475l3.093 9.559H1.63l3.093-9.559a.548.548 0 011.031 0zm20.618 9.559l1.578 4.811c.141.437-.016.922-.39 1.203l-13.558 9.84 12.371-15.854zm0 0h-7.216l3.093-9.559a.548.548 0 011.031 0z"/></svg>

After

Width:  |  Height:  |  Size: 406 B

5
src/icons/bitbucket.svg Normal file
View File

@ -0,0 +1,5 @@
<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 28 28">
<title>bitbucket</title>
<path d="M15.905 13.355c0.189 1.444-1.564 2.578-2.784 1.839-1.375-0.602-1.375-2.784-0.034-3.403 1.151-0.705 2.818 0.223 2.818 1.564zM17.812 12.994c-0.309-2.44-3.076-4.056-5.328-3.042-1.426 0.636-2.389 2.148-2.32 3.747 0.086 2.097 2.080 3.815 4.176 3.626s3.729-2.234 3.472-4.331zM21.92 3.679c-0.756-0.997-2.045-1.169-3.179-1.358-3.214-0.516-6.513-0.533-9.727 0.034-1.066 0.172-2.269 0.361-2.939 1.323 1.1 1.031 2.664 1.186 4.073 1.358 2.544 0.327 5.156 0.344 7.699 0.017 1.426-0.172 3.008-0.309 4.073-1.375zM22.899 21.467c-0.481 1.684-0.206 3.953-1.994 4.932-3.076 1.701-6.806 1.89-10.191 1.289-1.787-0.327-3.884-0.894-4.864-2.578-0.43-1.65-0.705-3.334-0.98-5.018l0.103-0.275 0.309-0.155c5.121 3.386 12.288 3.386 17.427 0 0.808 0.241 0.206 1.22 0.189 1.805zM26.010 4.951c-0.584 3.764-1.255 7.51-1.908 11.257-0.189 1.1-1.255 1.719-2.148 2.183-3.214 1.615-6.96 1.89-10.483 1.512-2.389-0.258-4.829-0.894-6.771-2.389-0.911-0.705-0.911-1.908-1.083-2.922-0.602-3.523-1.289-7.046-1.719-10.604 0.206-1.547 1.942-2.217 3.231-2.698 1.719-0.636 3.557-0.928 5.379-1.1 3.884-0.378 7.854-0.241 11.618 0.859 1.341 0.395 2.784 0.945 3.695 2.097 0.412 0.533 0.275 1.203 0.189 1.805z"></path></svg>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

5
src/icons/git.svg Normal file
View File

@ -0,0 +1,5 @@
<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 28 28">
<title>git</title>
<path d="M27.472 12.753l-12.225-12.224c-0.704-0.704-1.846-0.704-2.55 0l-2.84 2.84 2.137 2.137c0.343-0.164 0.726-0.256 1.132-0.256 1.45 0 2.625 1.175 2.625 2.625 0 0.405-0.092 0.789-0.256 1.132l3.499 3.499c0.343-0.164 0.726-0.256 1.132-0.256 1.45 0 2.625 1.175 2.625 2.625s-1.175 2.625-2.625 2.625-2.625-1.175-2.625-2.625c0-0.405 0.092-0.789 0.256-1.132l-3.499-3.499c-0.083 0.040-0.169 0.075-0.257 0.106v7.3c1.019 0.36 1.75 1.332 1.75 2.475 0 1.45-1.175 2.625-2.625 2.625s-2.625-1.175-2.625-2.625c0-1.143 0.731-2.115 1.75-2.475v-7.3c-1.019-0.36-1.75-1.332-1.75-2.475 0-0.405 0.092-0.789 0.256-1.132l-2.137-2.137-8.090 8.090c-0.704 0.705-0.704 1.847 0 2.551l12.225 12.224c0.704 0.704 1.845 0.704 2.55 0l12.168-12.168c0.704-0.704 0.704-1.847-0-2.551z"></path>
</svg>

After

Width:  |  Height:  |  Size: 914 B

5
src/icons/gitlab.svg Normal file
View File

@ -0,0 +1,5 @@
<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 28 28">
<title>gitlab</title>
<path d="M1.629 11.034l12.371 15.854-13.558-9.84c-0.375-0.281-0.531-0.765-0.39-1.203l1.578-4.811zM8.846 11.034h10.309l-5.154 15.854zM5.753 1.475l3.093 9.559h-7.216l3.093-9.559c0.172-0.484 0.859-0.484 1.031 0zM26.371 11.034l1.578 4.811c0.141 0.437-0.016 0.922-0.39 1.203l-13.558 9.84 12.371-15.854zM26.371 11.034h-7.216l3.093-9.559c0.172-0.484 0.859-0.484 1.031 0z"></path>
</svg>

After

Width:  |  Height:  |  Size: 533 B