267 Commits

Author SHA1 Message Date
Adam Wathan
6352843cde Port zIndex module to default plugin 2019-01-14 15:43:12 -05:00
Adam Wathan
146b984617 Accept plugins as separate processPlugins arg 2019-01-14 15:43:12 -05:00
Adam Wathan
e82ef53f29 Add test for creating responsive variants of classes with non-standard characters 2019-01-14 14:20:29 -05:00
Adam Wathan
13ce379859 Add test for prefixing classes with non-standard characters 2019-01-14 14:18:36 -05:00
Mark Pinero
b74b381294 Update tests for tailwind-output.css 2018-11-17 14:04:45 -05:00
Adam Wathan
d8df647fa0 Add option to disable autoprefixer in CLI 2018-11-05 08:53:51 -05:00
Adam Wathan
76691a563d Allow modules: [...variants] syntax to bulk apply variants 2018-11-01 21:33:42 -04:00
Adam Wathan
655963a100 Apply all first-class variants using modules: all 2018-11-01 20:30:48 -04:00
Adam Wathan
1e8a70b68c Promote pluginVariants from experiment to feature 2018-10-31 15:52:32 -04:00
Amby Balaji
331454f62d
Undo CSS override for Chrome 62 2018-10-27 22:22:50 -07:00
mattstypa
34ad504a46 Added tests for CLI utils 2018-09-25 11:09:20 -05:00
mattstypa
9e26fd84e3 CLI. Added --no-comments option to init commend 2018-09-24 15:44:36 -05:00
Adam Wathan
4fc519f9f5
Merge pull request #554 from MattStypa/cli
CLI Beautification
2018-09-24 23:00:18 +09:30
Matt Stypa
eb4da80ede Code style updates 2018-09-24 07:55:24 -05:00
Matt Stypa
1b1ae8abc9 When no output file is specified for the build command, the result will be piped to stdout 2018-09-23 22:00:50 -05:00
Adam Wathan
750b62c5d2 Enable shadowLookup by default 2018-09-21 14:55:54 -04:00
Adam Wathan
eeb788661c Add test for generating variants for multi-selector rules 2018-09-15 09:01:30 -04:00
Adam Wathan
12857ddf05 Test no prefix apply with function prefix 2018-09-15 08:58:09 -04:00
Adam Wathan
e497a2b5de Use existing prefixSelector function 2018-09-15 08:58:09 -04:00
Rouven Hurling
dfb8c256ab fix code, test and style 2018-09-15 08:58:09 -04:00
Rouven Hurling
2ed82bbea1 Fix test for optional prefix (missing dash) 2018-09-15 08:58:09 -04:00
Rouven Hurling
e1e3cb677a Add test for optional prefix 2018-09-15 08:58:09 -04:00
mattstypa
d91eea88fb Reverted changes to processTailwindFeatures that would impact Webpack watch ability. As a result all commands also became Promise based 2018-09-14 11:07:23 -05:00
Matt Stypa
b71cfe711e CLI tool rewrite 2018-09-13 21:37:10 -05:00
Adam Wathan
1a8383c08d
Merge branch 'master' into feature/focus-within 2018-09-13 21:41:16 +09:30
Adam Wathan
737e0628da
Merge pull request #537 from ky-is/update-normalize-css
Update normalize.css to v8.0.0
2018-09-13 21:38:09 +09:30
scottbedard
3bfcc88695 fix failing tests 2018-09-12 19:52:11 -07:00
Kyle Coburn
646d469b6d Fix formatting
@benface
2018-08-21 14:24:15 -07:00
Kyle Coburn
114891f3fa Remove obsoleted override rule
normalize.css 8 applies "font-family: inherit" to the same elements
2018-08-19 15:43:54 -07:00
Kyle Coburn
2f6d6eb0ad Update to normalize.css v8.0.0
Drops IE9, Android 4.3, Safari 8, iOS 8
2018-08-19 15:03:50 -07:00
Adam Wathan
dd6fa7c4eb
Merge pull request #516 from tailwindcss/shadow-table
[Experiment] Allow `@apply`-ing utility classes that aren't explicitly defined but would be generated
2018-07-12 02:01:19 +09:30
Adam Wathan
7846d2a228 Move plugin variant features behind experiment 2018-07-11 12:13:50 -04:00
Adam Wathan
4078aa8be1 Remove duplicate test 2018-07-11 12:03:29 -04:00
Adam Wathan
24e1385aca Only enable shadow lookup if shadowLookup experiment is enabled 2018-07-11 11:51:47 -04:00
Adam Wathan
cfe492220c Refactor duplication 2018-07-11 11:45:45 -04:00
Adam Wathan
cdbea36564 Fallback to shadow table 2018-07-11 09:56:11 -04:00
Adam Wathan
f974b8df03 Add support for writing variant plugins with raw PostCSS API 2018-06-26 13:44:47 -04:00
Adam Wathan
9b22ff3513 Only process plugins once 2018-06-26 13:44:47 -04:00
Adam Wathan
b21d258f63 Wrap Tailwind plugins in new plugin to only unwrap config once 2018-06-26 13:44:47 -04:00
Adam Wathan
d77bc055ee Support for basic variant generator plugins
Allows you to write a plugin that registers a new variant but only
allows you to modify the selector (like what our built-in generators
do.)

Next steps are to support variants that wrap rules with at-rules
(like @supports for example), variants that can modify properties
(as opposed to just selectors), and to give variant plugin authors
control over how responsive variants interact with their own variants.
2018-06-26 13:44:47 -04:00
Adam Wathan
9eca69ad83 Refactor process plugins to return an object 2018-06-26 13:44:47 -04:00
Adam Wathan
9d05910507 Generate variants based on the order specified in the modules config 2018-06-26 13:44:47 -04:00
Adam Wathan
bfaafffb3f Fix style 2018-06-26 13:44:38 -04:00
Adam Wathan
46ea06e6d6
Merge pull request #504 from tailwindcss/table-layout
Add table layout module
2018-06-26 05:10:25 +09:30
Adam Wathan
6fb772cb71 Test config can be passed as object instead of path 2018-06-25 08:35:01 -04:00
Adam Wathan
2eb49a8fb4 Add table layout module 2018-06-22 09:55:56 -04:00
Adam Wathan
06b1651b84 Update tests 2018-06-22 07:51:50 -04:00
Adam Wathan
bed2ddc223 Add more default spacing sizes
...and matching height/width where spacers had them but sizes didn't.
2018-06-20 15:10:21 -04:00
Adam Wathan
7c8e6f9d25 Enable more variants by default 2018-06-20 14:34:50 -04:00
Adam Wathan
1fc8a85ffd
Merge pull request #491 from tailwindcss/no-outline
Add "outline-none" and "shadow-outline" utilities
2018-06-21 03:52:00 +09:30