Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
add github circle icon (#6)
Browse files Browse the repository at this point in the history
* add github circle icon

* update readme

* update readme
  • Loading branch information
saracope authored Oct 3, 2019
1 parent 44607a7 commit da56855
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 31 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ to match you folder structure.
```
@font-face {
font-family: 'code-gov';
src: url('../font/code-gov.eot?43647216');
src: url('../font/code-gov.eot?43647216#iefix') format('embedded-opentype'),
url('../font/code-gov.woff2?43647216') format('woff2'),
url('../font/code-gov.woff?43647216') format('woff'),
url('../font/code-gov.ttf?43647216') format('truetype'),
url('../font/code-gov.svg?43647216#code-gov') format('svg');
src: url('../font/code-gov.eot?90902143');
src: url('../font/code-gov.eot?90902143#iefix') format('embedded-opentype'),
url('../font/code-gov.woff2?90902143') format('woff2'),
url('../font/code-gov.woff?90902143') format('woff'),
url('../font/code-gov.ttf?90902143') format('truetype'),
url('../font/code-gov.svg?90902143#code-gov') format('svg');
font-weight: normal;
font-style: normal;
}
Expand All @@ -25,7 +25,7 @@ to match you folder structure.
2. Execute `npm install`

# Update this font
1. Upload the `config.json` front code-gov-font project to the fontello website.
1. Upload the `config.json` file from code-gov-font project to the fontello website.
2. Use the fontello site to add/remove icons as needed
3. Name the font `code-gov` and download the new package (download webfont) as a .zip
4. Extract the .zip and copy the new `config.json` then use it to replace the `config.json` in the code-gov-font directory
Expand All @@ -39,10 +39,8 @@ You can find the icon unicode character ( `{ content: '\f253'; }` ) info in the

Fontello has some documentation on [How to save and load projects](https://github.com/fontello/fontello/wiki/How-to-save-and-load-projects) that has additional info for reference.

<img width="1218" alt="Screen Shot 2019-06-15 at 8 46 16 AM" src="https://user-images.githubusercontent.com/2197515/59551621-4df89780-8f4a-11e9-9e04-43cda1ea5ad6.png">
<img width="1317" alt="Screen Shot 2019-06-15 at 9 20 15 AM" src="https://user-images.githubusercontent.com/2197515/59551917-d0835600-8f4e-11e9-9522-179d6057a25d.png">
<img width="1266" alt="Screen Shot 2019-06-15 at 9 29 45 AM" src="https://user-images.githubusercontent.com/2197515/59552062-345a4e80-8f50-11e9-8207-aeca76033604.png">

<img width="1236" alt="Screen Shot 2019-10-03 at 10 58 33 AM" src="https://user-images.githubusercontent.com/2197515/66142849-32d29600-e5d4-11e9-8ace-53563e7c5987.png">
<img width="1240" alt="Screen Shot 2019-10-03 at 10 58 27 AM" src="https://user-images.githubusercontent.com/2197515/66142850-32d29600-e5d4-11e9-934f-49798385630c.png">
<img width="1163" alt="Screen Shot 2019-06-15 at 9 25 52 AM" src="https://user-images.githubusercontent.com/2197515/59552007-9f575580-8f4f-11e9-8f17-df35cb81fde4.png">


Expand Down
6 changes: 6 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,12 @@
"css": "mail-1",
"code": 59406,
"src": "mfglabs"
},
{
"uid": "0f6a2573a7b6df911ed199bb63717e27",
"css": "github-circled",
"code": 61595,
"src": "fontawesome"
}
]
}
1 change: 1 addition & 0 deletions css/code-gov-codes.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
.icon-close:before { content: '\e80d'; } /* '' */
.icon-mail-1:before { content: '\e80e'; } /* '' */
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-github-circled:before { content: '\f09b'; } /* '' */
.icon-certificate:before { content: '\f0a3'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
Expand Down
13 changes: 7 additions & 6 deletions css/code-gov-embedded.css

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions css/code-gov-font-face.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: 'code-gov';
src: url('../font/code-gov.eot?43647216');
src: url('../font/code-gov.eot?43647216#iefix') format('embedded-opentype'),
url('../font/code-gov.woff2?43647216') format('woff2'),
url('../font/code-gov.woff?43647216') format('woff'),
url('../font/code-gov.ttf?43647216') format('truetype'),
url('../font/code-gov.svg?43647216#code-gov') format('svg');
src: url('../font/code-gov.eot?90902143');
src: url('../font/code-gov.eot?90902143#iefix') format('embedded-opentype'),
url('../font/code-gov.woff2?90902143') format('woff2'),
url('../font/code-gov.woff?90902143') format('woff'),
url('../font/code-gov.ttf?90902143') format('truetype'),
url('../font/code-gov.svg?90902143#code-gov') format('svg');
font-weight: normal;
font-style: normal;
}
1 change: 1 addition & 0 deletions css/code-gov-ie7-codes.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
.icon-close { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe80d;&nbsp;'); }
.icon-mail-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe80e;&nbsp;'); }
.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf099;&nbsp;'); }
.icon-github-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09b;&nbsp;'); }
.icon-certificate { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a3;&nbsp;'); }
.icon-menu { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c9;&nbsp;'); }
.icon-doc-text { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f6;&nbsp;'); }
Expand Down
1 change: 1 addition & 0 deletions css/code-gov-ie7.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
.icon-close { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe80d;&nbsp;'); }
.icon-mail-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe80e;&nbsp;'); }
.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf099;&nbsp;'); }
.icon-github-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09b;&nbsp;'); }
.icon-certificate { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a3;&nbsp;'); }
.icon-menu { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c9;&nbsp;'); }
.icon-doc-text { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f6;&nbsp;'); }
Expand Down
3 changes: 2 additions & 1 deletion css/code-gov.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'code-gov';
src: url('../font/code-gov.svg?43647216#code-gov') format('svg');
src: url('../font/code-gov.svg?90902143#code-gov') format('svg');
}
}
*/
Expand Down Expand Up @@ -60,6 +60,7 @@
.icon-close:before { content: '\e80d'; } /* '' */
.icon-mail-1:before { content: '\e80e'; } /* '' */
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-github-circled:before { content: '\f09b'; } /* '' */
.icon-certificate:before { content: '\f0a3'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
Expand Down
15 changes: 8 additions & 7 deletions css/code-gov.css-e
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: 'code-gov';
src: url('../font/code-gov.eot?43647216');
src: url('../font/code-gov.eot?43647216#iefix') format('embedded-opentype'),
url('../font/code-gov.woff2?43647216') format('woff2'),
url('../font/code-gov.woff?43647216') format('woff'),
url('../font/code-gov.ttf?43647216') format('truetype'),
url('../font/code-gov.svg?43647216#code-gov') format('svg');
src: url('../font/code-gov.eot?90902143');
src: url('../font/code-gov.eot?90902143#iefix') format('embedded-opentype'),
url('../font/code-gov.woff2?90902143') format('woff2'),
url('../font/code-gov.woff?90902143') format('woff'),
url('../font/code-gov.ttf?90902143') format('truetype'),
url('../font/code-gov.svg?90902143#code-gov') format('svg');
font-weight: normal;
font-style: normal;
}
Expand All @@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'code-gov';
src: url('../font/code-gov.svg?43647216#code-gov') format('svg');
src: url('../font/code-gov.svg?90902143#code-gov') format('svg');
}
}
*/
Expand Down Expand Up @@ -71,6 +71,7 @@
.icon-close:before { content: '\e80d'; } /* '' */
.icon-mail-1:before { content: '\e80e'; } /* '' */
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-github-circled:before { content: '\f09b'; } /* '' */
.icon-certificate:before { content: '\f0a3'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
Expand Down
Binary file modified font/code-gov.eot
Binary file not shown.
2 changes: 2 additions & 0 deletions font/code-gov.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified font/code-gov.ttf
Binary file not shown.
Binary file modified font/code-gov.woff
Binary file not shown.
Binary file modified font/code-gov.woff2
Binary file not shown.

0 comments on commit da56855

Please sign in to comment.