Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Fasticons are scalable svg icons in one file that make your life easier.
License
stenito/fasticons
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Fasticons is a small bundle to add social and other icons faster and easier to your website.
It uses one svg file to hold the icons as symbols.
If you find an issue with something or have a question, please do not hesitate to post it here.
Please post feature requests here. Check if your request has already been posted before.
I will add new icons as i need them or when requested. Request new or additional icons here.
This is a screenshot of the icons. The quality of the SVG icons is razorsharp :). See. —>
Reddit, Snapchat, Facebook, Twitter, Instagram, Github, Linkedin, Whatsapp, Youtube, Vimeo, Pinterest
The icons are scalable. To keep the css small, All the icons have the same size.
There are 4 icon styles available:
Automated (or not) Icon colors
The icons can be styled in black, in the default color set in css ( grey ) or in brand identity colors that can be set with a class per icon or automatically for all with JavaScript.
Both versions have some settings variables you can adjust.
- Introduction
- Dev languages
- Files
- Repository tree
- SVG files
- JavaScript files
- HTML files
- CSS files
- Other files
- Sass version
- CSS version
- Automatic for all icons
- Per icon color without JavaScript
I created this small bundle after I discovered a similar aproach for social icons on the basic pages Jekyll installs. As the functionality and flexibility is limited, I decided to do a little more research and testing to see if i could make the system more flexible.
. ├── dist │ ├── assets │ │ └── si.svg │ ├── js │ │ └── fasticons.min.js │ ├── fasticons.css │ ├── fasticons.min.css │ └── index.html ├── documentation assets │ └── . ├── src │ ├── assets │ │ └── si.svg │ ├── js │ │ └── fasticons.js │ ├── fasticons.scss │ └── index.html ├── LICENSE ├── README.md └── repository-tree.txt
src/assets/si.svg currently holds 11 available icons.
Size: 8.9kbdist/assets/si.svg is the minified version. Both versions are optimised.
Size: 8.9kbsvg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 32"> symbol id="github" viewBox="0 0 32 32"> path d="M0 0v32h32V0H0zm18.855 24.555c-.45.08-.616-.198-. "/> symbol> svg>
src/js/fasticons.js is a very small ES6 script to automate the use of colored icons.
Size: 232bdist/js/fasticons.min.js is the compiled and minified script for use in production.
Size: 212bsrc/index.html source example file with some of the available icons, each in 4 versions.
Size: 6kbdist/index.html same as source example file but with css and js linking for compiled files.
Size: 6kbsrc/fasticons.scss is a sass file with the styles for the icons as well as a few rules for the example file.
Size: 1kbdist/fasticons.min.css is the compiled and minified scss file.
Size: 1kbdist/fasticons.css as a css only version.
Size: 2kbAll other files are supporting in some way or another.
Download all the files and integrate them in your current project:
- Integrate the sass file ( scr/fasticons.scss ) in your development process. You can either copy paste the code to your existing file or use @import to keep it separate.
If you prefer to use the compiled and minified css (32px icon size), you can use integrate dist/fasticons.min.css . The limit of using a compiled file is that you can only change the icon size by changing it manually everywhere. Due to calculation of the sizes, this is a ‘nice’ job.
dist/fasticons.css is an uncompiled, not minified css only version with css variables to set size and color - OPTIONAL: Link the javascript file just before the