1
0
mirror of https://github.com/konpa/devicon.git synced 2025-03-13 17:29:42 +01:00

Add new_icons.png to gitignore. Fixed yunohost, clojure, clojurescript, and redux

This commit is contained in:
Thomas Bui 2020-10-11 22:03:23 -07:00
parent e6cb7bb3fd
commit 0757cec0a8
7 changed files with 28 additions and 10 deletions

View File

@ -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"

View File

@ -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

3
.gitignore vendored
View File

@ -3,4 +3,5 @@ node_modules
.idea
geckodriver.log
__pycache__
*.pyc
*.pyc
new_icons.png

View File

@ -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

View File

@ -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": []
},
{

View File

@ -100,7 +100,7 @@ function createColorsCSS(deviconJson) {
versions: {
font: fonts
},
color
color,
} = fontObj;
if (fonts.length === 0 || typeof(color) !== "string") {

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB