Skip to content

Commit

Permalink
feat: new icons for files and platforms
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Pasqualetto <39854348+albertopasqualetto@users.noreply.github.com>
  • Loading branch information
astagi and albertopasqualetto committed Dec 13, 2022
1 parent 6486e28 commit af25acc
Show file tree
Hide file tree
Showing 39 changed files with 282 additions and 5 deletions.
43 changes: 40 additions & 3 deletions _data/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ regular:
- it-exchange-circle
- it-expand
- it-external-link
- it-file
- it-files
- it-flag
- it-folder
- it-fullscreen
Expand All @@ -54,7 +52,9 @@ regular:
- it-link
- it-list
- it-locked
- it-logout
- it-mail
- it-mail-open
- it-map-marker
- it-map-marker-circle
- it-map-marker-minus
Expand Down Expand Up @@ -100,10 +100,12 @@ regular:
- it-wifi
- it-zoom-in
- it-zoom-out
social:
platforms:
- it-behance
- it-facebook
- it-facebook-square
- it-figma
- it-figma-square
- it-flickr
- it-flickr-square
- it-github
Expand All @@ -112,13 +114,48 @@ social:
- it-linkedin-square
- it-medium
- it-medium-square
- it-pinterest
- it-pinterest-square
- it-quora
- it-quora-square
- it-reddit
- it-reddit-square
- it-slack
- it-slack-square
- it-snapchat
- it-snapchat-square
- it-stackexchange
- it-stackexchange-square
- it-stackoverflow
- it-stackoverflow-square
- it-telegram
- it-tiktok
- it-tiktok-square
- it-twitter
- it-twitter-square
- it-vimeo
- it-vimeo-square
- it-whatsapp
- it-whatsapp-square
- it-youtube
- it-google
extra:
- it-designers-italia
- it-team-digitale
files:
- it-file
- it-files
- it-file-audio
- it-file-compressed
- it-file-csv
- it-file-json
- it-file-odp
- it-file-ods
- it-file-odt
- it-file-pdf
- it-file-pdf-ext
- it-file-sheet
- it-file-slides
- it-file-txt
- it-file-video
- it-file-xml
11 changes: 9 additions & 2 deletions docs/utilities/icone.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,16 @@ Sono disponibili le classi `icon-*`, dove `*` può essere `xs`, `sm`, `lg`, `xl`
<svg class="icon"><use href="{{ site.baseurl }}/dist/svg/sprites.svg#{{icona}}"></use></svg> {{icona}}
</div>{% endfor %}
</div>
<h4 class="mt-4">Social</h4>
<h4 class="mt-4">File</h4>
<div class="row">
{% for icona in site.data.icons.social %}
{% for icona in site.data.icons.files %}
<div class="col-12 col-md-6 col-lg-4">
<svg class="icon"><use href="{{ site.baseurl }}/dist/svg/sprites.svg#{{icona}}"></use></svg> {{icona}}
</div>{% endfor %}
</div>
<h4 class="mt-4">Piattaforme</h4>
<div class="row">
{% for icona in site.data.icons.platforms %}
<div class="col-12 col-md-6 col-lg-4">
<svg class="icon"><use href="{{ site.baseurl }}/dist/svg/sprites.svg#{{icona}}"></use></svg> {{icona}}
</div>{% endfor %}
Expand Down
36 changes: 36 additions & 0 deletions src/js/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,23 @@ import '../svg/it-expand.svg'
import '../svg/it-external-link.svg'
import '../svg/it-facebook-square.svg'
import '../svg/it-facebook.svg'
import '../svg/it-figma.svg'
import '../svg/it-figma-square.svg'
import '../svg/it-file.svg'
import '../svg/it-file-audio.svg'
import '../svg/it-file-compressed.svg'
import '../svg/it-file-csv.svg'
import '../svg/it-file-json.svg'
import '../svg/it-file-odp.svg'
import '../svg/it-file-ods.svg'
import '../svg/it-file-odt.svg'
import '../svg/it-file-pdf.svg'
import '../svg/it-file-pdf-ext.svg'
import '../svg/it-file-sheet.svg'
import '../svg/it-file-slides.svg'
import '../svg/it-file-txt.svg'
import '../svg/it-file-video.svg'
import '../svg/it-file-xml.svg'
import '../svg/it-files.svg'
import '../svg/it-flag.svg'
import '../svg/it-flickr-square.svg'
Expand All @@ -66,7 +82,9 @@ import '../svg/it-linkedin.svg'
import '../svg/it-list.svg'
import '../svg/it-lock.svg'
import '../svg/it-locked.svg'
import '../svg/it-logout.svg'
import '../svg/it-mail.svg'
import '../svg/it-mail-open.svg'
import '../svg/it-map-marker-circle.svg'
import '../svg/it-map-marker-minus.svg'
import '../svg/it-map-marker-plus.svg'
Expand Down Expand Up @@ -121,3 +139,21 @@ import '../svg/it-wifi.svg'
import '../svg/it-youtube.svg'
import '../svg/it-zoom-in.svg'
import '../svg/it-zoom-out.svg'
import '../svg/it-pinterest.svg'
import '../svg/it-pinterest-square.svg'
import '../svg/it-quora.svg'
import '../svg/it-quora-square.svg'
import '../svg/it-reddit.svg'
import '../svg/it-reddit-square.svg'
import '../svg/it-slack.svg'
import '../svg/it-slack-square.svg'
import '../svg/it-snapchat.svg'
import '../svg/it-snapchat-square.svg'
import '../svg/it-stackexchange.svg'
import '../svg/it-stackexchange-square.svg'
import '../svg/it-stackoverflow.svg'
import '../svg/it-stackoverflow-square.svg'
import '../svg/it-tiktok.svg'
import '../svg/it-tiktok-square.svg'
import '../svg/it-vimeo.svg'
import '../svg/it-vimeo-square.svg'
3 changes: 3 additions & 0 deletions src/svg/it-figma-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/svg/it-figma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/svg/it-file-audio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/svg/it-file-compressed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/svg/it-file-csv.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/svg/it-file-json.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/svg/it-file-odp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/svg/it-file-ods.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit af25acc

Please sign in to comment.