Skip to content
This repository was archived by the owner on Dec 15, 2024. It is now read-only.

Commit 408a306

Browse files
committed
Tweaks
1 parent fa91abe commit 408a306

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ and this project mostly adheres to [Semantic Versioning](https://semver.org/spec
3333
### Fixed
3434
- Fixed escaping in selectors generated by the plugin
3535

36-
## 1.0.0 - 2018-08-13
36+
## [1.0.0] - 2018-08-13
3737

3838
Initial release
3939

@@ -42,3 +42,4 @@ Initial release
4242
[2.0.0-beta.1]: https://github.com/benface/tailwindcss-gradients/compare/v1.1.0...v2.0.0-beta.1
4343
[1.1.0]: https://github.com/benface/tailwindcss-gradients/compare/v1.0.1...v1.1.0
4444
[1.0.1]: https://github.com/benface/tailwindcss-gradients/compare/v1.0.0...v1.0.1
45+
[1.0.0]: https://github.com/benface/tailwindcss-gradients/releases/tag/v1.0.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ npm install tailwindcss-gradients
99
## Usage
1010

1111
```js
12-
// In your Tailwind CSS config
12+
// tailwind.config.js
1313
{
1414
theme: {
1515
gradients: {
@@ -31,7 +31,7 @@ npm install tailwindcss-gradients
3131
},
3232
},
3333
variants: {
34-
gradients: ['responsive', 'hover'], // defaults to ['responsive']
34+
gradients: ['responsive'], // defaults to ['responsive']
3535
},
3636
plugins: [
3737
require('tailwindcss-gradients')(),
@@ -60,7 +60,7 @@ or you can reference your existing theme colors:
6060
This plugin generates the following utilities:
6161

6262
```css
63-
/* configurable with the "gradients" theme key */
63+
/* configurable with the "gradients" theme object */
6464
.bg-gradient-[direction-key]-[color-key] {
6565
background-image: linear-gradient([direction-value], [color-value-1], [color-value-2], [...]);
6666
}

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ test('gradients can have multiple colors', () => {
182182
});
183183
});
184184

185-
test('multiple directions and multiple gradients can be used together', () => {
185+
test('multiple directions and multiple colors can be used together', () => {
186186
return generatePluginCss({
187187
theme: {
188188
gradients: {
@@ -246,7 +246,7 @@ test('colors can be referenced from the theme with a closure', () => {
246246
});
247247
});
248248

249-
test('responsive utilities are generated by default', () => {
249+
test('responsive variants are generated by default', () => {
250250
return generatePluginCss({
251251
theme: {
252252
gradients: {

0 commit comments

Comments
 (0)