325 Commits

Author SHA1 Message Date
Adam Wathan
a7e19ca131 Pass opacityValue to gradient colors for transparency support, do not pass opacityVariable since unused 2020-08-19 11:38:22 -04:00
Enzo Innocenzi
486772a82d
fix(gradientColorStops): correctly handle color closures 2020-08-18 22:35:29 +02:00
Adam Wathan
7945f0f7c8
Merge pull request #2176 from tailwindlabs/gradients
Add background gradient support
2020-08-18 08:06:50 -04:00
Adam Wathan
1d2dd1a5f4
Merge pull request #1965 from juno-w/master
Divide border style
2020-08-17 21:13:49 -04:00
Adam Wathan
4ca48dbde5 Add catch arg 2020-08-17 14:18:42 -04:00
Adam Wathan
926b6b1fab Rename mid color stop to via 2020-08-17 13:25:18 -04:00
Adam Wathan
8d87445b81 Improve API, support auto-transparent to, rename gradientColor plugin 2020-08-17 11:05:06 -04:00
Adam Wathan
7fb5d4a579 Add support for background images and 2/3-color-stop gradients 2020-08-16 15:23:49 -04:00
Adam Wathan
488c0e35c9 Don't include vendor prefix for background-clip: text
Better to rely on autoprefixer for this for now. If we want to start shipping prefixes we should do it across the board, not just in one spot.
2020-08-15 16:24:21 -04:00
Adam Wathan
5b82b6f5ac Add background-clip utilities 2020-08-15 16:20:33 -04:00
Adam Wathan
cebed0e4e0 Only include contents class in modern builds, update fixtures 2020-08-15 15:22:31 -04:00
Adam Wathan
94325f5710 Merge branch 'patch-1' of git://github.com/mtimbs/tailwindcss into mtimbs-patch-1 2020-08-15 15:20:23 -04:00
Adam Wathan
338dc12eea Deprecate col-gap and row-gap in favor of gap-x and gap-y 2020-08-06 16:27:35 -04:00
Adam Wathan
a7c410656d Add test coverage for default letter-spacing feature 2020-08-06 15:42:52 -04:00
Adam Wathan
2c05a4a633
Merge pull request #1915 from valtism/master
Provide a default tracking with Font Size config
2020-08-06 15:24:42 -04:00
Adam Wathan
72345e8715 Don't add important to keyframes 2020-08-03 11:46:39 -04:00
Adam Wathan
cda6d4d995 Add keyframes as utilities instead of base 2020-08-02 08:01:16 -04:00
Adam Wathan
bb8a221eeb Disable overscroll in IE11 mode 2020-07-28 12:13:34 -04:00
Adam Wathan
9b21133878
Merge pull request #2075 from wadefletch/master
Add overscroll features (Resolves #1957)
2020-07-27 16:16:06 -04:00
Wade Fletcher
444c59ffcd Add overscroll plugin 2020-07-25 14:49:21 -04:00
Adam Wathan
d7732c70fc Replace cool new JS features with lodash because node 8/10 2020-07-24 12:15:28 -04:00
Adam Wathan
29b0739c35 Add basic set of general purpose animation utilities 2020-07-24 11:52:47 -04:00
Adam Wathan
b9327729b5 Add variants support to container plugin 2020-07-15 14:13:27 -04:00
michaeltimbs
10aa82f164
Update display.js
Add utility class for `display: contents`. This is useful for flex and grid. You can read more here https://css-tricks.com/get-ready-for-display-contents/
2020-07-14 11:40:31 +09:30
Juno
6308f2c7bb Insert prettier/prettier 2020-07-10 12:56:14 +08:00
Dan Wood
07e330d2bb Allow default letterSpacing in fontSize config
Extend the configuration syntax to allow specifying letterSpacing
alongside lineHeight in the fontSize config.

The syntax looks like
```
module.exports = {
  theme: {
    // ...
    fontSize: {
      sm: ['14px', { lineHeight: '20px', letterSpacing: '0.01em' }],
      // ...
    }
  }
}
```

Also retains backwards compatibility with array syntax of 1.3
2020-06-29 10:10:27 +10:00
Adam Wathan
2d297ee417 Merge branch 'patch-2' of git://github.com/MartijnCuppens/tailwindcss into MartijnCuppens-patch-2 2020-06-28 14:21:51 -04:00
Juno
07fcc11906 Divide border style 2020-06-25 09:59:01 +08:00
Martijn Cuppens
26d324e860
Remove duplicate padding: 0 from buttons 2020-05-31 19:01:41 +02:00
Irene Lin
797120c2bf Fix style violations 2020-05-07 00:28:45 +10:00
Irene Lin
aa5b548705 Create getProperties to dry utilities 2020-05-07 00:27:00 +10:00
Irene Lin
a657a86b2d Sync alignment in calls of withAlphaVariable 2020-05-07 00:24:30 +10:00
Irene Lin
2f670a8699 Sync alignment in const utilities 2020-05-07 00:23:43 +10:00
Irene Lin
2ba2b72fc8 Reduce calls of flattenColorPalette 2020-05-07 00:22:07 +10:00
Adam Wathan
4e5be9c0d6 Fix bug where divideColor plugin was using wrong variants in IE11 mode 2020-05-06 08:40:50 -04:00
Adam Wathan
e6fd316347 Don't generate color opacity code in color plugins if not necessary 2020-05-01 15:07:40 -04:00
Adam Wathan
afe8d3c2e8 Remove unused imports 2020-04-29 16:25:20 -04:00
Adam Wathan
a8e27d9728 Remove position sticky in ie11 mode 2020-04-29 16:25:20 -04:00
Adam Wathan
b4acd94390 Generate non-composable transforms in IE11 target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
371a79feca Support plugin-specific target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
e5288ff8fe Remove target helper 2020-04-29 16:24:26 -04:00
Adam Wathan
1c353af37d Finish proof of concept for target: 'ie11' feature 2020-04-29 16:24:26 -04:00
Adam Wathan
2950ff339b Initial support for IE11 target 2020-04-29 16:24:26 -04:00
Adam Wathan
d351f125dd Fix bugs in divideOpacity and placeholderOpacity plugins 2020-04-29 14:01:39 -04:00
Adam Wathan
3b565d1f9c Add opacity modifiers for color utilities 2020-04-26 09:49:23 -04:00
Adam Wathan
5f05677edf Fix missing unit in calc bug in space plugin 2020-04-23 07:58:26 -04:00
Adam Wathan
b0c78726ac Fix bug where divide-x/y-0 didn't work due to missing unit in calc 2020-04-21 16:08:39 -04:00
Adam Wathan
5598a791b1 Fix bug in divide-x utilities, checking wrong custom property 2020-04-21 05:20:59 -04:00
Adam Wathan
1d323c9636 Fix bug in space-x utilities, checking wrong custom property 2020-04-20 21:12:30 -04:00
Adam Wathan
b3b06e8d55 Add negative space utility support 2020-04-20 14:54:31 -04:00