elementary is a bare-essentials icon set for modern browsers. It's pure css and ultra-lightweight. For any icon, only a single element is needed, like a <span>
. Written in Sass, it's fully customizable.
Several options are available:
git clone https://github.com/michaelmawhinney/elementary.git
npm install elementary-css@0.3.8
bower install elementary#v0.3.8
dist/
├── elementary.css
└── elementary.min.css
scss/
├── elementary/
│ ├── _arrow.scss
│ ├── _bars.scss
│ ├── _check.scss
│ ├── _common.scss
│ ├── _constants.scss
│ ├── _functions.scss
│ ├── _gear.scss
│ ├── _grid.scss
│ ├── _heart.scss
│ ├── _home.scss
│ ├── _icons.scss
│ ├── _loader.scss
│ ├── _lock.scss
│ ├── _mail.scss
│ ├── _pencil.scss
│ ├── _pen.scss
│ ├── _search.scss
│ ├── _star.scss
│ ├── _times.scss
│ └── _utilities.scss
└── elementary.scss
elementary uses Gulp for its build system.
To install Gulp, you must first download and install node.js (which includes npm).
Then, from the command line:
gulp
globally with npm install -g gulp
./elementary/
directory, then run npm install
. npm will look at the package.json
file and automatically install the necessary local dependencies listed there.When completed, you'll be able to run the various Gulp commands provided from the command line.
gulp css
(Compile CSS)Regenerates the /dist/
directory with compiled and minified CSS files.
gulp watch
(Watch)Watches the Sass source files and automatically recompiles them to CSS whenever you save a change.
gulp test
(Run tests)Lints Sass and CSS files.
gulp
(Build and run tests)This is the same as running gulp css
and gulp test
together.
If you encounter problems installing dependencies or running Gulp commands, first delete the /node_modules/
directory generated by npm, then rerun npm install
.
Have a bug or a feature request? Please search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
elementary is maintained under the Semantic Versioning guidelines when possible.
See the Releases section of the GitHub project for changelogs for each release version of elementary.
Code copyright 2016 Michael R Mawhinney Jr and released under the MIT License.