Skip to content

Commit 3896e3e

Browse files
committed
gradients descriptions
1 parent 608053a commit 3896e3e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/gradients.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,16 @@ _Mixin which helps to create horizontal gradient, from left to right_
5050
### Parameters
5151
- `$start-color` - defines start gradient color (**default `#555`**)
5252
- `$end-color` - defines end gradient color (**default `#333`**)
53-
- `$start-percent` - defines where you want to start `$start-color` (**default `0%`**)
54-
- `$end-percent` - defines where you want to stop `$end-color` (**default `100%`**)
53+
- `$start-percent` - defines where you want to start `$start-color` (**default `0%`**)
54+
- `$end-percent` - defines where you want to stop `$end-color` (**default `100%`**)
5555

5656
### Usage:
57-
Assigned horizontal background gradient to class
57+
Assigned horizontal background gradient to class with `$color-white` and `$color-black` color properties which starts
58+
in 10% and finishes in 90% of area
5859

5960
```scss
6061
.exampleGradient {
61-
@include gradient-x(#000, #fff, 10%, 90%);
62+
@include gradient-x($color-black, $color-white, 10%, 90%);
6263
}
6364
```
6465

@@ -75,11 +76,11 @@ _Mixin which helps to create vertical gradient, from top to bottom_
7576
- `$end-percent` - defines where you want to stop `$end-color` (**default `100%`**)
7677

7778
### Usage:
78-
Assigned vertical background gradient to class
79+
Assigned vertical background gradient to class with `$color-white` and `$color-yellow` color properties
7980

8081
```scss
8182
.exampleGradient {
82-
@include gradient-y(#f00, #0f0, 10%, 90%);
83+
@include gradient-y($color-red, $color-yellow);
8384
}
8485
```
8586

0 commit comments

Comments
 (0)