@thumbtack/thumbprint-scss
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -5,2 +5,8 @@ # Changelog | ||
## 2.0.4 - 2019-07-31 | ||
### Changed | ||
- [Patch] Update version of the Thumbprint Tokens dependency. | ||
## 2.0.3 - 2019-07-15 | ||
@@ -7,0 +13,0 @@ |
{ | ||
"name": "@thumbtack/thumbprint-scss", | ||
"description": "CSS and Sass mixins for building Thumbtack UI", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"author": "Tom Genoni <tom@thumbtack.com>", | ||
@@ -33,3 +33,3 @@ "main": "components.css", | ||
"devDependencies": { | ||
"@thumbtack/thumbprint-tokens": "^8.1.1", | ||
"@thumbtack/thumbprint-tokens": "^8.2.0", | ||
"autoprefixer": "^9.0.1", | ||
@@ -36,0 +36,0 @@ "cssnano": "^4.1.0", |
@@ -33,3 +33,3 @@ # Thumbprint SCSS | ||
This is required if using breakpoints or component mixins in your SCSS. | ||
This is required if using breakpoints or component mixins in your SCSS: | ||
@@ -40,3 +40,3 @@ ```scss | ||
For projects that want to compile Thumbprint CSS components along with other SCSS files, include the CSS file. | ||
For projects that want to compile Thumbprint CSS components along with other SCSS files, include this CSS file: | ||
@@ -47,2 +47,10 @@ ```scss | ||
You can import a single component (`button.css`, for example) with: | ||
```scss | ||
@import '[node_modules path]/@thumbtack/thumbprint-scss/button | ||
``` | ||
> **Tip:** You can use Sass's `includePaths` or [`node-sass-tilde-importer`](https://www.npmjs.com/package/node-sass-tilde-importer) if you don't want to include `[node_modules path]/` in the imports. | ||
## Use in JavaScript | ||
@@ -49,0 +57,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
92319
69