Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "estyle", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Common styles patterns", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,6 +24,2 @@ # estyle | ||
- [SCSS](#SCSS) | ||
- [Spacing](#spasing) | ||
- [row-space](#row-space) | ||
- [col-space](#col-space) | ||
- [tile](#tile) | ||
- [Responsive Design](#responsive-design) | ||
@@ -33,2 +29,3 @@ - [Mobile First](#mobile-first) | ||
- [children](#children) | ||
- [scrollbar](#scrollbar) | ||
@@ -43,34 +40,2 @@ # SCSS | ||
## Spacing | ||
### row-space | ||
Adds spacing between children rows | ||
```scss | ||
.container { | ||
@include row-space(10px); | ||
} | ||
``` | ||
### col-space | ||
Adds spacing between children columns | ||
```scss | ||
.container { | ||
@include col-space(10px); | ||
} | ||
``` | ||
### tile | ||
Add spacing for container and child tiles | ||
```scss | ||
.container { | ||
@include tile(10px); | ||
} | ||
``` | ||
## Responsive Design | ||
@@ -162,1 +127,22 @@ | ||
``` | ||
## scrollbar | ||
Adds styles scrollbar | ||
```scss | ||
.container { | ||
@include scrollbar( | ||
// scrollbar width | ||
8px, | ||
// track and thumb border radius | ||
3px, | ||
// track color | ||
#F2F2F2, | ||
// thumb color | ||
#E5E5E5, | ||
// hover thumb color | ||
#D8D8D8 | ||
); | ||
} | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5773
145