Commit graph

930 commits

Author SHA1 Message Date
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
8331d9fb24 Support applying non-prefixed class when using important scope 2019-08-06 08:23:47 -04:00
Adam Wathan
763ee71033 Ensure all selectors in a rule receive important scope 2019-08-06 08:14:16 -04:00
Adam Wathan
19c74b106a Merge branch 'add-prefix-selector-support' of git://github.com/pxwee5/tailwindcss into pxwee5-add-prefix-selector-support 2019-08-06 07:56:34 -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
25b3aba7d7 Use reduce-css-calc to avoid inspecting value to negate 2019-08-06 07:42:38 -04:00
Adam Wathan
4695f536c7 Merge branch 'master' of git://github.com/Acidic9/tailwindcss into Acidic9-master 2019-08-06 07:33:49 -04:00
Adam Wathan
0bf8495b96 Support passing config object under config key 2019-08-02 08:31:46 -04:00
Adam Wathan
5cad3910fd Support passing empty object to signal 'use default config path' 2019-08-02 08:14:07 -04:00
Adam Wathan
649fb8f21e Support passing config path via object 2019-08-02 08:07:42 -04:00
Ari Seyhun
d3675ebd23 Add support for negative calc values 2019-08-01 13:32:10 +09:30
Ari Seyhun
c3075d97fe Add support for negative css custom properties 2019-08-01 12:57:46 +09:30
Adam Wathan
660ea44db2 Don't mutate nested rules when generating variants 2019-07-28 10:46:59 -04:00
Adam Wathan
11b7933f30 Add border-double 2019-07-20 15:47:57 -04:00
Adam Wathan
81b10be134 Fix conflicts 2019-07-20 11:22:09 -04:00
Adam Wathan
b11db0e06e
Merge pull request #1024 from tailwindcss/first-last-child-variants
Add first-child and last-child variants
2019-07-20 11:16:55 -04:00
Adam Wathan
78554a34d2 Rename first-child and last-child to first and last 2019-07-20 11:14:25 -04:00
Cody
d4aac290ac add odd and even nth child pseudo selectors 2019-07-14 00:10:08 -05:00
ecrmnn
66e75b89ab Replaces use of Lodash isArray with built-in Array.isArray 2019-07-13 16:52:07 +02:00
Adam Wathan
893f5c049a Add first-child and last-child variants 2019-07-12 12:53:52 -04:00
James Wee
382075731d Added Prefix Selector support via important config 2019-07-11 17:07:24 +12:00
Adam Wathan
b1242a0810 Fix conflicts 2019-07-10 08:29:58 -04:00
Adam Wathan
5080129b71
Merge pull request #732 from GeoffSelby/add-disabled-variant
Add `disabled` variant
2019-07-10 08:27:23 -04: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
Adam Wathan
b87aedb80f
Merge pull request #991 from AlexVipond/fix-invisible-hr
Add border-width: 1px for horizontal rules
2019-07-10 08:21:13 -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
a80720a8c6 Remove unused import 2019-06-20 11:24:54 -04:00
Christopher Willard
1efc5d1d44 Add support for :visited state variant 2019-06-18 07:27:40 -04:00
Adam Wathan
eeb2947204 Properly handle pseudo-elements with group-hover variant 2019-06-13 07:52:37 -04:00
Adam Wathan
737f1ecde0 Append variant pseudo-selectors after classes instead of replacing entire selector 2019-06-12 09:15:06 -04:00
Adam Wathan
9b94cc1ed2 Add sr-only and not-sr-only utilities 2019-06-10 19:39:25 -04:00
Adam Wathan
1d10f20b48 Error when someone tries to use 2019-06-01 15:51:02 -04:00
Adam Wathan
5e7c263e0a Add test, fix style 2019-05-27 08:05:51 +02:00
Benoît Rouleau
6ce2cfe349 Bubble @screen at-rules when adding styles through plugins 2019-05-26 21:40:23 -04:00
Adam Wathan
0183b86b45 Fix global variants not working when configs are merged 2019-05-13 12:44:19 -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
Jarek Radosz
23b720bb31 Allow accessing deep paths with function values via theme helper
Example:

```js
theme: {
  spacing: {
    '0': '0',
  },
  width: theme => ({
    ...theme('spacing'),
    '1/3': '33.33333%',
  }),
  minWidth: theme => ({
    '1/3': theme('width.1/3'),
  }),
}
```
2019-05-08 22:11:10 +02: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
aac25d6a7a Fix bug where config utils was not passed through to nested closures 2019-04-27 16:55:21 -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
8fb2351463 Make second parameter to className optional 2019-04-25 07:59:47 -04:00