Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
docs(usage): updates usage section, use https when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarilani committed Jan 11, 2016
1 parent 11b752d commit 71bc412
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,28 @@ The Dress Code UI toolkit is a highly-modular design system for rapid web page d
#### with Bower

```
$ bower install git@github.com:zalando/dress-code-bower.git
$ bower install https://github.com/zalando/dress-code-bower.git --save
```

#### with Npm

Add the dress-code as a dependency in your package.json

```
{
"dependencies": {
"dress-code": "git+https://github.com/zalando/dress-code.git"
}
}
```

and run

```
$ npm install git+ssh://git@github.com:zalando/dress-code.git
npm install
```

> At the moment we don't support ```npm@3``` and ```node@5.x```
> **At the moment we don't support ```npm@3``` and ```node@5.x```**
### Usage

Expand All @@ -47,13 +59,13 @@ Include this in your ```<head>```:
- Compiling sass:

```
@import "bower_components/dress-code/sass/toolkit.scss"
@import "bower_components/dress-code/sass/toolkit"
```

if you wanna use just mixins and variables...

```
@import "bower_components/dress-code/sass/_import.scss"
@import "bower_components/dress-code/sass/import"
```

> Note for those using compass. Add this to yours config.rb file:
Expand All @@ -78,13 +90,13 @@ Include this in your ```<head>```:
- Compiling sass:

```
@import "node_modules/dress-code/dist/sass/toolkit.scss"
@import "node_modules/dress-code/dist/sass/toolkit"
```

if you wanna use just mixins and variables...

```
@import "node_modules/dress-code/dist/sass/_import.scss"
@import "node_modules/dress-code/dist/sass/import"
```


Expand Down

0 comments on commit 71bc412

Please sign in to comment.