362 Commits

Author SHA1 Message Date
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
Adam Wathan
8df2cd57a0 Merge branch 'stack-divide-utilities' 2020-04-20 14:18:12 -04:00
Adam Wathan
a14ea02ff0 Use border-width for divide, not border 2020-04-20 14:18:04 -04:00
Adam Wathan
1743c23821
Merge pull request #1594 from tailwindcss/stack-divide-utilities
Support reverse order for space and divide utilities
2020-04-20 13:55:00 -04:00
Adam Wathan
a75b6901aa Support reverse order for space and divide utilities 2020-04-20 13:34:00 -04:00
Adam Wathan
8b2473fade
Merge pull request #1584 from tailwindcss/stack-divide-utilities
Add `space` and `divide` utilities
2020-04-17 13:26:23 -04:00
Adam Wathan
3584791852
Merge pull request #1398 from OwenMelbz/master
Ability to have responsive .container padding
2020-04-17 13:04:36 -04:00
Adam Wathan
0f54a60d05 Switch from :not(:last-child) to :not(template) ~ :not(template) 2020-04-17 09:49:16 -04:00
Adam Wathan
b7e0f11d5d Switch to not(last-child) instead of owl
For Alpine.js compatibility, sad because it increases the specificity but I don't think it will actually be a problem at all in real projects.
2020-04-16 16:05:20 -04:00
Adam Wathan
a6f5137a73 Rename stack to space, make invokePlugin output consistent 2020-04-16 12:43:22 -04:00
Adam Wathan
3143f20850 Add divideColor utilities 2020-04-16 11:01:24 -04:00
Adam Wathan
b447cd6ccd Add divideWidth plugin 2020-04-16 10:53:19 -04:00
Adam Wathan
c84c397f0b Add stack-x and stack-y utilities 2020-04-16 10:45:05 -04:00
Adam Wathan
aa4fd1ae99 Add support for providing a default line-height for each font-size 2020-04-16 09:35:50 -04:00