Skip to content

Commit

Permalink
Merge pull request #1 from judsgit/master
Browse files Browse the repository at this point in the history
Assets moved to bower and prepped package to publish
  • Loading branch information
Otis Wright authored Jul 4, 2016
2 parents 0674eed + b9b19e4 commit fd7f3f8
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 17,813 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.idea/
.DS_Store

node_modules/
bower_components/
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,29 @@ HiGoogleFonts allows you to add a Google font picker to easily display a list of
Usage
======

To use the HiGoogleFonts library, just include the code below in your in your page in **_3 easy steps_**. Check the index for a simple example:
To use the HiGoogleFonts library, just include the code below in your in your page in **_5 easy steps_**. Check the index for a simple example:

Step 1.
------

Clone Repo: `git clone https://github.com/saadqbal/HiGoogleFonts.git`

Step 2.
-------

Install dependencies: `bower install`

Step 3.
-------

Include the style sheets. Add the folowing lines into your page header:
```javascript
<link rel="stylesheet" href="css/select2.css">
<link rel="stylesheet" href="css/fonts.css">
```

Step 2.
------
Step 4.
-------

Include the required libraries. Add the folowing lines into your page header after style sheets:
```javascript
Expand All @@ -32,8 +42,8 @@ Include the required libraries. Add the folowing lines into your page header aft
```


Step 3.
------
Step 5.
-------

Now add the code below to the body to load all the fonts:

Expand Down
28 changes: 28 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "HiGoogleFonts",
"authors": [
"[email protected]"
],
"description": "A google font picker built with jquery and select2",
"main": "index.html",
"keywords": [
"fonts",
"google",
"jquery",
"select2"
],
"license": "MIT",
"homepage": "",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"jquery": "^3.0.0",
"select2": "^4.0.3"
}
}
Loading

0 comments on commit fd7f3f8

Please sign in to comment.