1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-11 17:14:27 +02: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"]: for font_version in icon_info["versions"]["font"]:
# if it's an alias, we don't want to make it into an icon # if it's an alias, we don't want to make it into an icon
if is_alias(font_version, aliases): if is_alias(font_version, aliases):
print(f"Not exist {icon_info['name']}-{font_version}.svg")
continue continue
file_name = f"{icon_info['name']}-{font_version}.svg" file_name = f"{icon_info['name']}-{font_version}.svg"

View File

@@ -36,7 +36,7 @@ jobs:
if: ${{success()}} if: ${{success()}}
with: with:
name: new_icons name: new_icons
path: ./.github/scripts/new_icons.png path: ./new_icons.png
- name: Running npm task for building devicon.min.css - name: Running npm task for building devicon.min.css
if: ${{ success() }} if: ${{ success() }}
run: npm run build-css run: npm run build-css

3
.gitignore vendored
View File

@@ -3,4 +3,5 @@ node_modules
.idea .idea
geckodriver.log geckodriver.log
__pycache__ __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", "original-wordmark",
"plain-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 "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 "color": "#F7A80D", // note the '#' character

View File

@@ -412,8 +412,11 @@
"original", "original",
"plain" "plain"
], ],
"font": [] "font": [
"plain"
]
}, },
"color": "#96ca4b",
"aliases": [] "aliases": []
}, },
{ {
@@ -2042,9 +2045,16 @@
"svg": [ "svg": [
"original" "original"
], ],
"font": [] "font": [
"original"
]
}, },
"aliases": [] "aliases": [
{
"base": "original",
"alias": "plain"
}
]
}, },
{ {
"name": "ruby", "name": "ruby",
@@ -2669,10 +2679,14 @@
], ],
"versions": { "versions": {
"svg": [ "svg": [
"original" "original",
"plain"
], ],
"font": [] "font": [
"plain"
]
}, },
"color": "#ffffff",
"aliases": [] "aliases": []
}, },
{ {

View File

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