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:
parent
e6cb7bb3fd
commit
0757cec0a8
1
.github/scripts/build_assets/filehandler.py
vendored
1
.github/scripts/build_assets/filehandler.py
vendored
@ -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"
|
||||
|
2
.github/workflows/build_icons.yml
vendored
2
.github/workflows/build_icons.yml
vendored
@ -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
3
.gitignore
vendored
@ -3,4 +3,5 @@ node_modules
|
||||
.idea
|
||||
geckodriver.log
|
||||
__pycache__
|
||||
*.pyc
|
||||
*.pyc
|
||||
new_icons.png
|
@ -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
|
||||
|
24
devicon.json
24
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": []
|
||||
},
|
||||
{
|
||||
|
@ -100,7 +100,7 @@ function createColorsCSS(deviconJson) {
|
||||
versions: {
|
||||
font: fonts
|
||||
},
|
||||
color
|
||||
color,
|
||||
} = fontObj;
|
||||
|
||||
if (fonts.length === 0 || typeof(color) !== "string") {
|
||||
|
3
icons/yunohost/yunohost-plain.svg
Normal file
3
icons/yunohost/yunohost-plain.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.2 KiB |
Loading…
x
Reference in New Issue
Block a user