mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
refactor: Remove website code from master
branch
This commit is contained in:
parent
8fbe71d45f
commit
704870bb12
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,7 +1,5 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
_site
|
||||
*.zip
|
||||
manifest.json
|
||||
dist
|
||||
sandbox
|
||||
stash
|
||||
|
|
238
CHANGELOG.md
238
CHANGELOG.md
|
@ -1,238 +0,0 @@
|
|||
# Change Log
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## v2.1.0 (2017-05-30)
|
||||
|
||||
### Added
|
||||
|
||||
- Add icon categories (Thanks @wappsdotgr)
|
||||
- Display icon names to allow for `⌘ + F` search
|
||||
|
||||
<details>
|
||||
<summary>Add 37 icons</summary>
|
||||
|
||||
- `arrow-down-left`
|
||||
- `arrow-down-right`
|
||||
- `arrow-up-left`
|
||||
- `arrow-up-right`
|
||||
- `battery-charging`
|
||||
- `cast`
|
||||
- `chevrons-down`
|
||||
- `chevrons-left`
|
||||
- `chevrons-right`
|
||||
- `chevrons-up`
|
||||
- `cloud-drizzle`
|
||||
- `cloud-lightning`
|
||||
- `cloud-rain`
|
||||
- `cloud-snow`
|
||||
- `codepen`
|
||||
- `compass`
|
||||
- `edit-2`
|
||||
- `edit-3`
|
||||
- `link-2`
|
||||
- `list`
|
||||
- `log-in`
|
||||
- `log-out`
|
||||
- `navigation-2`
|
||||
- `package`
|
||||
- `repeat`
|
||||
- `share`
|
||||
- `slack`
|
||||
- `speaker`
|
||||
- `trending-down`
|
||||
- `trending-up`
|
||||
- `type`
|
||||
- `user-check`
|
||||
- `user-x`
|
||||
- `voicemail`
|
||||
- `volume`
|
||||
- `volume-1`
|
||||
- `volume-2`
|
||||
</details>
|
||||
|
||||
### Changed
|
||||
|
||||
- Redesign project site
|
||||
|
||||
<details>
|
||||
<summary>Change 9 icons</summary>
|
||||
|
||||
- `bar-chart`
|
||||
- `bar-chart-2`
|
||||
- `droplet`
|
||||
- `grid`
|
||||
- `twitter`
|
||||
- `user-minus`
|
||||
- `user-plus`
|
||||
- `user`
|
||||
- `volume-x`
|
||||
</details>
|
||||
|
||||
## v2.0.0 (2017-05-23)
|
||||
|
||||
### Added
|
||||
<details>
|
||||
<summary>Add 63 icons</summary>
|
||||
|
||||
- `activity`
|
||||
- `alert-circle`
|
||||
- `alert-octagon`
|
||||
- `alert-triangle`
|
||||
- `aperture`
|
||||
- `at-sign`
|
||||
- `award`
|
||||
- `bell-off`
|
||||
- `bluetooth`
|
||||
- `calendar`
|
||||
- `camera-off`
|
||||
- `chevron-down`
|
||||
- `chevron-left`
|
||||
- `chevron-right`
|
||||
- `chevron-up`
|
||||
- `chrome`
|
||||
- `circle`
|
||||
- `cloud-off`
|
||||
- `comment-circle`
|
||||
- `cpu`
|
||||
- `edit`
|
||||
- `eye-off`
|
||||
- `facebook`
|
||||
- `feather`
|
||||
- `female`
|
||||
- `filter`
|
||||
- `hash`
|
||||
- `headphones`
|
||||
- `home`
|
||||
- `info`
|
||||
- `instagram`
|
||||
- `male`
|
||||
- `map-pin`
|
||||
- `mic-off`
|
||||
- `more-vertical`
|
||||
- `music`
|
||||
- `octagon`
|
||||
- `phone`
|
||||
- `phone-call`
|
||||
- `phone-forwarded`
|
||||
- `phone-incoming`
|
||||
- `phone-missed`
|
||||
- `phone-off`
|
||||
- `phone-outgoing`
|
||||
- `pocket`
|
||||
- `radio`
|
||||
- `refresh-ccw`
|
||||
- `rotate-ccw`
|
||||
- `scissors`
|
||||
- `square`
|
||||
- `sunrise`
|
||||
- `sunset`
|
||||
- `thumbs-down`
|
||||
- `thumbs-up`
|
||||
- `toggle-right`
|
||||
- `trash-2`
|
||||
- `triangle`
|
||||
- `twitter`
|
||||
- `user-minus`
|
||||
- `user-plus`
|
||||
- `video-off`
|
||||
- `wind`
|
||||
- `zap`
|
||||
</details>
|
||||
|
||||
### Changed
|
||||
|
||||
- Redesign project website
|
||||
- Use SVG `stroke` instead of `fill`. Read more about the benefits of SVG `stroke`:
|
||||
- [SVG Stroke FTW!](http://danklammer.com/articles/svg-stroke-ftw/)
|
||||
|
||||
<details>
|
||||
<summary>Change 66 icons</summary>
|
||||
|
||||
- `align-center`
|
||||
- `anchor`
|
||||
- `arrow-down`
|
||||
- `arrow-left`
|
||||
- `arrow-right`
|
||||
- `arrow-up`
|
||||
- `bar-chart`
|
||||
- `bar-chart-2`
|
||||
- `battery`
|
||||
- `bell`
|
||||
- `book`
|
||||
- `bookmark`
|
||||
- `box`
|
||||
- `briefcase`
|
||||
- `camera`
|
||||
- `check`
|
||||
- `check-circle`
|
||||
- `check-square`
|
||||
- `clipboard`
|
||||
- `cloud`
|
||||
- `comment-square`
|
||||
- `download`
|
||||
- `download-cloud`
|
||||
- `droplet`
|
||||
- `external-link`
|
||||
- `fast-forward`
|
||||
- `file`
|
||||
- `flag`
|
||||
- `folder`
|
||||
- `heart`
|
||||
- `image`
|
||||
- `inbox`
|
||||
- `layers`
|
||||
- `layout`
|
||||
- `lock`
|
||||
- `mail`
|
||||
- `maximize`
|
||||
- `maximize-2`
|
||||
- `minimize`
|
||||
- `minimize-2`
|
||||
- `minus`
|
||||
- `moon`
|
||||
- `move`
|
||||
- `pause`
|
||||
- `play`
|
||||
- `plus`
|
||||
- `printer`
|
||||
- `search`
|
||||
- `settings`
|
||||
- `share`
|
||||
- `shuffle`
|
||||
- `skip-back`
|
||||
- `skip-forward`
|
||||
- `star`
|
||||
- `rewind`
|
||||
- `tag`
|
||||
- `unlock`
|
||||
- `upload`
|
||||
- `upload-cloud`
|
||||
- `user`
|
||||
- `video`
|
||||
- `watch`
|
||||
- `wifi`
|
||||
- `x`
|
||||
- `zoom-in`
|
||||
- `zoom-out`
|
||||
</details>
|
||||
|
||||
### Removed
|
||||
- Remove PSD, CSH and Webfont formats in favor of SVG. Read more about the benefits of SVG for icons:
|
||||
- [Inline SVG vs Icon Fonts [CAGEMATCH]](https://css-tricks.com/icon-fonts-vs-svg/)
|
||||
- [Seriously, Don’t Use Icon Fonts](https://cloudfour.com/thinks/seriously-dont-use-icon-fonts/)
|
||||
- [Ten reasons we switched from icon font to SVG](http://ianfeather.co.uk/ten-reasons-we-switched-from-an-icon-font-to-svg/)
|
||||
|
||||
## v1.1.0 (2014-04-27)
|
||||
|
||||
### Added
|
||||
- Add 30 new icons
|
||||
- Add CSH, SVG and Webfont formats
|
||||
|
||||
### Changed
|
||||
- Change all PSD icon layers to vector shapes
|
||||
|
||||
## v1.0.0 (2013-11-27)
|
||||
- Initial release
|
4
Gemfile
4
Gemfile
|
@ -1,4 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "jekyll"
|
47
Gemfile.lock
47
Gemfile.lock
|
@ -1,47 +0,0 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.5.1)
|
||||
public_suffix (~> 2.0, >= 2.0.2)
|
||||
colorator (1.1.0)
|
||||
ffi (1.9.18)
|
||||
forwardable-extended (2.6.0)
|
||||
jekyll (3.4.3)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 1.1)
|
||||
kramdown (~> 1.3)
|
||||
liquid (~> 3.0)
|
||||
mercenary (~> 0.3.3)
|
||||
pathutil (~> 0.9)
|
||||
rouge (~> 1.7)
|
||||
safe_yaml (~> 1.0)
|
||||
jekyll-sass-converter (1.5.0)
|
||||
sass (~> 3.4)
|
||||
jekyll-watch (1.5.0)
|
||||
listen (~> 3.0, < 3.1)
|
||||
kramdown (1.13.2)
|
||||
liquid (3.0.6)
|
||||
listen (3.0.8)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
mercenary (0.3.6)
|
||||
pathutil (0.14.0)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (2.0.5)
|
||||
rb-fsevent (0.9.8)
|
||||
rb-inotify (0.9.8)
|
||||
ffi (>= 0.5.0)
|
||||
rouge (1.11.1)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.4.23)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
jekyll
|
||||
|
||||
BUNDLED WITH
|
||||
1.14.5
|
|
@ -1,5 +0,0 @@
|
|||
exclude:
|
||||
- node_modules
|
||||
- bin
|
||||
- sandbox
|
||||
- stash
|
|
@ -1,11 +0,0 @@
|
|||
<div class="pv4">
|
||||
<h2 class="mt0 mb4 f6 ttu tracked normal">{{ include.category | replace: '-', ' '}}</h2>
|
||||
<ul class="icon-grid mv0 pl0 list">
|
||||
{% capture category_path %}icons/{{ include.category }}{% endcapture %}
|
||||
{% for icon in site.static_files %}
|
||||
{% if icon.path contains category_path %}
|
||||
{% include icon.html icon=icon %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
|
@ -1,13 +0,0 @@
|
|||
<footer class="flex flex-column items-center pt5-ns pb5">
|
||||
<ul class="flex flex-column flex-row-l justify-center w-80 mv0 pl0 list">
|
||||
{% for link in include.links %}
|
||||
<li class="mh3-l pv3 pv0-l f5 bb b--black-10 bn-l">
|
||||
<a class="lh-copy color-inherit no-underline dim" href="{{ link.url }}" target="_blank">{{ link.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p class="mt5 mb2 lh-copy black-90 dim">
|
||||
<a class="no-underline color-inherit" href="http://colebemis.com" target="_blank">Made with <3 by Cole Bemis</a>
|
||||
</p>
|
||||
</footer>
|
|
@ -1,11 +0,0 @@
|
|||
<header class="pv3 bb b--black-10">
|
||||
<div class="w-80 center flex justify-between items-center">
|
||||
<h1 class="mv0 normal f3 lh-copy black-90">Feather</h1>
|
||||
|
||||
<ul class="list mv0 pl0 flex">
|
||||
<li class="dn dib-ns"><a class="no-underline color-inherit dim" href="https://twitter.com/intent/tweet?text=Feather%20-%20Simply%20beautiful%20open%20source%20icons%20by%20%40colebemis%20https://feathericons.com" target="_blank">Tweet</a></li>
|
||||
<li class="dn dib-ns ml4"><a class="no-underline color-inherit dim" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G6CPFZ6PQRZW8&lc=US&item_name=Feather¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted" target="_blank">Donate</a></li>
|
||||
<li class="ml4"><a class="no-underline color-inherit dim" href="https://github.com/colebemis/feather" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
|
@ -1,10 +0,0 @@
|
|||
<div class="flex flex-column items-center w-80 mw8 pt5 pt6-ns center">
|
||||
<h2 class="mt0 mb4 f2 fw3 tc lh-title black-90">Simply beautiful open source icons</h2>
|
||||
<a
|
||||
class="button white bg-accent dim br2"
|
||||
href="feather.zip"
|
||||
download
|
||||
onclick="ga('send', 'event', 'download', 'click', 'all');">
|
||||
Download
|
||||
</a>
|
||||
</div>
|
|
@ -1,10 +0,0 @@
|
|||
<li>
|
||||
<a
|
||||
href="{{ include.icon.path }}"
|
||||
class="flex flex-row items-center dib pa3 br2 no-underline dark-gray bg-near-white bg-animate hover-bg-light-gray"
|
||||
download
|
||||
onclick="ga('send', 'event', 'download', 'click', '{{ include.icon.basename }}');">
|
||||
<span class="svg flex-none lh-none">{% include_relative {{ include.icon.path }} %}</span>
|
||||
<span class="ml3 lh-copy f6 tc black-60 ellipse">{{ include.icon.basename }}</span>
|
||||
</a>
|
||||
</li>
|
|
@ -1,10 +0,0 @@
|
|||
<div class="w-80 center pv5">
|
||||
{% include category.html category="core" %}
|
||||
{% include category.html category="media-controls" %}
|
||||
{% include category.html category="communication" %}
|
||||
{% include category.html category="photo-and-video" %}
|
||||
{% include category.html category="location" %}
|
||||
{% include category.html category="weather" %}
|
||||
{% include category.html category="arrows" %}
|
||||
{% include category.html category="logos" %}
|
||||
</div>
|
Binary file not shown.
Before Width: | Height: | Size: 484 B |
Binary file not shown.
Before Width: | Height: | Size: 36 KiB |
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# find and store current version number
|
||||
version=$(grep '"version"' package.json | cut -d '"' -f4)
|
||||
|
||||
# compress 'icons' directory into feather-[version].zip
|
||||
zip -r feather.zip ./icons/
|
45
index.html
45
index.html
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
title: Feather – Simply beautiful open source icons
|
||||
description: Designed on a 24x24 grid with an emphasis on functionality, consistency and simplicity.
|
||||
links:
|
||||
- title: Donate
|
||||
url: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G6CPFZ6PQRZW8&lc=US&item_name=Feather¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
||||
- title: GitHub
|
||||
url: https://github.com/colebemis/feather
|
||||
- title: Change Log
|
||||
url: https://github.com/colebemis/feather/blob/gh-pages/CHANGELOG.md
|
||||
- title: License
|
||||
url: https://github.com/colebemis/feather/blob/gh-pages/LICENSE
|
||||
- title: Contact
|
||||
url: mailto:cole@colebemis.com
|
||||
---
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ page.title }}</title>
|
||||
<meta name="description" content="{{ page.description }}">
|
||||
<meta property="og:title" content="{{ page.title }}">
|
||||
<meta property="og:description" content="{{ page.description }}">
|
||||
<meta property="og:image" content="https://feathericons.com/assets/feather-preview.png">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@colebemis">
|
||||
|
||||
<link rel="shortcut icon" type="image/png" href="assets/favicon.png">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Rubik:300,400" rel="stylesheet">
|
||||
<link href="https://unpkg.com/tachyons/css/tachyons.min.css" rel="stylesheet">
|
||||
<link href="style.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="ma0 rubik font-smoothing black-60 bg-white">
|
||||
|
||||
{% include header.html %}
|
||||
{% include hero.html %}
|
||||
{% include icons.html %}
|
||||
{% include footer.html links=page.links %}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -5,9 +5,6 @@
|
|||
"scripts": {
|
||||
"commitmsg": "validate-commit-msg",
|
||||
"cm": "git-cz",
|
||||
"svgo": "for i in $(find icons/* -type d); do svgo --pretty --multipass --config=svgo-config.yml $i; done",
|
||||
"build": "npm run build-zip && jekyll build",
|
||||
"build-zip": "./bin/build-zip.sh",
|
||||
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
81
style.css
81
style.css
|
@ -1,81 +0,0 @@
|
|||
.rubik {
|
||||
font-family: "Rubik", sans-serif;
|
||||
}
|
||||
|
||||
.font-smoothing {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.bg-accent {
|
||||
background-color: #0055ff;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: 1rem 2rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.25;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.lh-none {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.ellipse {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.svg [stroke] {
|
||||
stroke: currentColor;
|
||||
}
|
||||
|
||||
.svg [fill]:not([fill=none]) {
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.icon-grid {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin: 0 -0.5rem -1rem;
|
||||
}
|
||||
|
||||
.icon-grid li {
|
||||
width: 100%;
|
||||
padding: 0 0.5rem 1rem;
|
||||
}
|
||||
|
||||
/* medium breakpoint */
|
||||
@media (min-width: 30em) {
|
||||
.icon-grid li {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
/* large breakpoint */
|
||||
@media (min-width: 60em) {
|
||||
.icon-grid li {
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
/* if supported, use grid layout */
|
||||
@supports (display: grid) {
|
||||
.icon-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
|
||||
grid-gap: 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* override default styles */
|
||||
.icon-grid li {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
plugins:
|
||||
- removeTitle: true
|
||||
- convertShapeToPath: false
|
||||
- mergePaths: false
|
Loading…
Reference in New Issue
Block a user