337 Commits

Author SHA1 Message Date
Adam Wathan
ba3d4aa6b2 * Add ellipsis and no-ellipsis utilities
Co-authored-by: Benoît Rouleau <benoit.rouleau@icloud.com>
2020-10-14 15:34:10 -04:00
Adam Wathan
6bb7cd4e9e Use word-wrap and overflow-wrap since word-wrap is not supported in Chrome et al 2020-10-14 15:23:32 -04:00
Adam Wathan
ac82484dd9
Don't import corePlugins in resolveConfig (#2548) 2020-10-13 08:14:57 -04:00
Tim Whitbeck
d64b859715
use word-wrap instead of overflow-wrap when targeting ie11 (#2391) 2020-10-12 14:15:56 -04:00
Adam Wathan
003d94bea1
Support closures for colors in all circumstances (#2536) 2020-10-09 21:03:23 -04:00
Adam Wathan
69845d6f4f
Add new utilities for grid-auto-columns and grid-auto-rows (#2531)
* Add grid-auto-columns/rows utilities

* Add responsive variants for auto-cols/rows utilities

* Update changelog
2020-10-09 13:11:57 -04:00
Adam Wathan
f3a1d5f93c
Improve accessibility story for custom focus styles (#2460)
* Improve accessibility story for custom focus styles

* Update fixtures

* Make outline configurable, add white/black dotted outlines

* Update changelog
2020-10-08 15:48:07 -04:00
Adam Wathan
b49d80e6c1
Fix issue where container padding not applied when using object syntax (#2353) 2020-09-09 09:59:16 -04:00
Adam Wathan
f3660ceed3 Do atrocious things to sneak past minifiers for font-variant-numeric utilities 2020-09-05 17:36:12 -04:00
Robin Malfait
88174ff524
fix(font-variant-numeric): drop extra s (#2318)
* drop extra s

* update changelog
2020-09-04 23:53:30 +02:00
Adam Wathan
ff013c5e9c
Add missing grid alignment utilities (#2306)
* added suppot for justify-self

* Update fixtures

* Add remaining grid alignment utilities

* Update changelog

Co-authored-by: Felix Alcala <felix.alcala@gmail.com>
2020-09-04 10:54:13 -04:00
Adam Wathan
b3270a5b31
Add fontVariantNumeric utilities (#2305)
* Add fontVariantNumeric utilities

* Don't generate fontVariantNumeric utilities in IE11 target mode
2020-09-03 15:04:29 -04:00
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