233 Commits

Author SHA1 Message Date
Adam Wathan
ff4f4eb808 Move clear to it's own plugin 2019-12-27 09:27:18 -05:00
Dan Gayle
ee6241a3b7 feat(plugin): Add clear-left, clear-right, clear-both classes
Added clear-left, clear-right and clear-both classes to float.js

Implements #1050
2019-12-27 09:25:36 -05:00
Adam Wathan
dff08348fd Rename box-sizing utilities 2019-12-27 09:10:03 -05:00
Alberto Bottarini
48d06210f0 add boxSizing classes 2019-12-27 09:06:39 -05:00
Benoît Rouleau
a158c7c7eb Change button background reset in Preflight 2019-12-25 13:54:10 -05:00
Cosmin Popovici
e63d0acb9e Add more table display utilities. 2019-12-25 13:54:10 -05:00
Adam Wathan
b630d965f6 Support scaling x and y dimensions independently 2019-12-25 13:54:10 -05:00
Adam Wathan
872dcdc515 Update createUtilityPlugin to support generating multiple utilities for a single themeKey 2019-12-25 13:54:10 -05:00
Adam Wathan
9b78a02ccf Reset default transform variables every time .transform is applied 2019-12-25 13:54:10 -05:00
Adam Wathan
2ae6ee6c12 Update fixtures and code style 2019-12-25 13:54:09 -05:00
Adam Wathan
5335df2b2c Add first pass of transform utilities 2019-12-25 13:54:09 -05:00
Adam Wathan
163ab05d25
Merge pull request #1111 from hacknug/fix/box-sizing
Fix `box-sizing` for shadow-dom elements
2019-10-28 21:01:32 -04:00
Nestor Vera
2821f189cb Fix box-sizing for shadow-dom elements 2019-09-06 13:58:55 +02:00
Alexander Lichter
c81422b79b feat: add justify-evenly util 2019-08-18 09:41:06 +02:00
Adam Wathan
84964c7744 Fix base styles for horizontal rules 2019-08-14 07:54:33 -04:00
Adam Wathan
371d320eeb Use hard-coded default placeholder color
IE 11 doesn't support opacity properly on placeholders and causes the entire input to render with that opacity. This fixes that bug.
2019-08-06 11:09:47 -04:00
Adam Wathan
d2d081cba1 Add placeholder color utilities 2019-08-06 10:07:27 -04:00
Adam Wathan
5da23984a5
Merge pull request #992 from AlexVipond/prefixNegativeModifiers_for_boxShadow_and_letterSpacing_and_lineHeight
Support negative prefix syntax for boxShadow and letterSpacing
2019-08-06 07:54:19 -04:00
Adam Wathan
11b7933f30 Add border-double 2019-07-20 15:47:57 -04:00
ecrmnn
66e75b89ab Replaces use of Lodash isArray with built-in Array.isArray 2019-07-13 16:52:07 +02:00
Adam Wathan
79761b89f9
Merge pull request #964 from tailwindcss/sr-only-utilities
Add sr-only and not-sr-only utilities
2019-07-10 08:25:18 -04:00
AlexVipond
e5c08f6af2 Revert default syntax support for zIndex and letterSpacing, update tests 2019-07-09 22:46:11 -06:00
AlexVipond
a249bc4433 Handle default keyword for negative prefix syntax. Write tests for negative prefix syntax 2019-06-28 10:11:47 -06:00
AlexVipond
fd203a8906 support negative prefix for box shadow and letter spacing 2019-06-27 19:44:38 -06:00
AlexVipond
2304f64119 add hr css 2019-06-27 19:20:25 -06:00
Adam Wathan
9b94cc1ed2 Add sr-only and not-sr-only utilities 2019-06-10 19:39:25 -04:00
Stidges
4cbe959000 Fix container plugin screen order and duplication 2019-05-12 18:50:03 -04:00
Adam Wathan
0fac54f8f1 Remove select-contain due to limited browser support 2019-05-11 07:06:32 -04:00
Adam Wathan
c5f00a316b
Merge pull request #885 from tailwindcss/more-user-select-utilities
Add remaining user select utilities
2019-04-29 08:37:43 -04:00
Adam Wathan
82456a6731 Add remaining user select utilities 2019-04-29 08:28:55 -04:00
Benoît Rouleau
ce1812a244 Add bg-repeat-round and bg-repeat-space utilities 2019-04-28 17:13:12 -04:00
Adam Wathan
a92faeefac Fix conflicts, update tests 2019-04-27 11:37:20 -04:00
Adam Wathan
2104a4e006 Add support for negative prefixes in zIndex plugin 2019-04-26 08:57:55 -04:00
Adam Wathan
0735e3d27e Remove 'className' from plugin API
Certain plugins behave differently and the rules about `default` meaning "no suffix" are not universal (see the cursor plugin). The simplest thing to do right now is keep things as they are, which means only certain plugins respect the default option and only certain other plugins respect the negative prefix convention.
2019-04-26 08:19:23 -04:00
Adam Wathan
c6ae957aff Support negative values for inset 2019-04-24 16:37:13 -04:00
Adam Wathan
a7ec9c2396 Remove negativeMargin plugin, handle negative values in regular margin plugin 2019-04-23 20:04:35 -04:00
Michaël De Boey
d4b2b8b755
Make theme config directly accessible in the plugins 2019-04-18 23:29:07 +02:00
Adam Wathan
f0bc35a896 Support configuring a single list of variants to apply to all relevant plugins 2019-04-18 09:42:21 -04:00
David Hemphill
12afd6e8a1 fix stroke utility generation 2019-04-02 15:55:19 -05:00
David Hemphill
6190fe52d4 Fix fill color utility generation 2019-04-02 15:23:40 -05:00
Adam Wathan
6d1533e9a8 Revert #745, always default to bolder for strong tags 2019-03-18 13:10:54 -04:00
Adam Wathan
0bbf942897 Make replaced elements block by default, preserve aspect ratio 2019-03-15 10:25:48 -04:00
Adam Wathan
4f20e968c1 Split wordBreak plugin from whitespace plugin 2019-03-15 07:54:28 -04:00
Adam Wathan
f3db5f1a47
Merge pull request #765 from tailwindcss/make-container-core
Make container plugin a core plugin, configured in theme
2019-03-14 15:16:39 -04:00
Adam Wathan
fefc53b88b Reintroduce ability for screens to be passed explicitly 2019-03-14 14:54:20 -04:00
Adam Wathan
c6449f8fa8 Make container plugin a core plugin, configured in theme 2019-03-14 14:36:28 -04:00
Adam Wathan
33bfb8793f Make inset utilities customizable 2019-03-14 12:35:37 -04:00
Adam Wathan
1940e31b12 Rename pin utilities to top/right/bottom/left/inset 2019-03-14 12:23:51 -04:00
Adam Wathan
eba4600c01 Split pin utilities into inset plugin 2019-03-14 12:19:14 -04:00
Adam Wathan
9d9ceca5e4 Combine wrap-normal and break-normal, rename wrap-break to break-words
This preserves backwards compatibility with Tailwind 0.x and provides some useful normalization on top of these two funky ass properties.
2019-03-14 08:41:12 -04:00