2231 Commits

Author SHA1 Message Date
Benoît Rouleau
ce1812a244 Add bg-repeat-round and bg-repeat-space utilities 2019-04-28 17:13:12 -04:00
Adam Wathan
f46022a0d5 1.0.0-beta.8 v1.0.0-beta.8 2019-04-28 07:04:08 -04:00
Adam Wathan
5580456afa Add responsive order utilities by default 2019-04-28 07:03:56 -04:00
Adam Wathan
f6a632dbe2 1.0.0-beta.7 v1.0.0-beta.7 2019-04-27 16:55:40 -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
93896615b4 1.0.0-beta.6 v1.0.0-beta.6 2019-04-27 11:53:26 -04:00
Adam Wathan
5804a996c2 Quote all config values for consistency
Without this we are relying on implicit string conversion for no benefit.
2019-04-27 11:51:02 -04:00
Adam Wathan
a92faeefac Fix conflicts, update tests 2019-04-27 11:37:20 -04:00
Adam Wathan
e9d8d7f45f Fix conflicts, update tests 2019-04-27 10:42:19 -04:00
Adam Wathan
e3d5e24665 Update test fixtures 2019-04-27 10:25:34 -04:00
Sjors
125a1d0bb3 add more width fractions 2019-04-27 09:53:33 +02:00
Sjors
51d0fe1b5d merge upstream 2019-04-27 09:50:57 +02:00
Adam Wathan
4939f5960c Remove prettierignore 2019-04-26 16:05:36 -04:00
Adam Wathan
b681519a8a Merge branch 'patch-1' of git://github.com/kevinruscoe/tailwindcss into kevinruscoe-patch-1 2019-04-26 16:05:16 -04:00
Adam Wathan
c93fe6cbe9 Update test fixtures 2019-04-26 16:03:48 -04:00
Adam Wathan
4e28a2a4ca Merge branch 'patch-1' of git://github.com/Log1x/tailwindcss into Log1x-patch-1 2019-04-26 16:02:33 -04:00
Adam Wathan
28c8250a56
Merge pull request #877 from tailwindcss/export-resolve-config
Make resolveConfig available in user land
2019-04-26 15:59:53 -04:00
Adam Wathan
b8a997d68b Make resolveConfig available in user land
Adds a new `resolveConfig` file to the project root that can be imported as `tailwindcss/resolveConfig` and used to get a fully merged version of your custom config file.

Useful when you want access to your design tokens in JS.
2019-04-26 14:58:41 -04:00
Adam Wathan
d0e44dc361 Remove simple config comments 2019-04-26 12:26:15 -04:00
Adam Wathan
b5165acfdf
Merge pull request #875 from tailwindcss/widen-negative-value-support
Add support for negative prefixes in zIndex plugin
2019-04-26 09:17:13 -04:00
Adam Wathan
2104a4e006 Add support for negative prefixes in zIndex plugin 2019-04-26 08:57:55 -04:00
Adam Wathan
07f411a04a
Merge pull request #874 from tailwindcss/widen-negative-value-support
Remove 'className' from plugin API
2019-04-26 08:22:24 -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
b29206cfff
Merge pull request #872 from tailwindcss/dependabot/npm_and_yarn/next/eslint-config-prettier-4.2.0
Bump eslint-config-prettier from 4.1.0 to 4.2.0
2019-04-26 08:07:35 -04:00
dependabot[bot]
66e1b1ed1a
Bump eslint-config-prettier from 4.1.0 to 4.2.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-26 06:31:26 +00:00
Adam Wathan
b9cc668f52
Merge pull request #867 from tailwindcss/widen-negative-value-support
Support negative values for inset
2019-04-25 08:15:25 -04:00
Adam Wathan
8fb2351463 Make second parameter to className optional 2019-04-25 07:59:47 -04:00
Adam Wathan
c6ae957aff Support negative values for inset 2019-04-24 16:37:13 -04:00
Adam Wathan
6bca0266db
Merge pull request #865 from tailwindcss/combine-margin-plugins
Remove negativeMargin plugin, handle negative values in regular margin plugin
2019-04-24 15:33:33 -04:00
Adam Wathan
e8b64fdb62 Move negative margin logic into a helper
Adds a new `utils` bucket that's passed as a second arg when using a closure for theme values. The idea is you can destructure useful helper functions out of this argument, in this case a `negative` function that converts a positive scale to negative values. That's the only helper function right now, but making it a destructurable arg so we can add more if necessary without adding a bunch of positional arguments.
2019-04-24 15:15:30 -04:00
Adam Wathan
2d91aa8caa Remove unused lodash dependency, use implicit return 2019-04-24 08:40:00 -04:00
Adam Wathan
a7ec9c2396 Remove negativeMargin plugin, handle negative values in regular margin plugin 2019-04-23 20:04:35 -04:00
Brandon
520188a5d0
Add missing trailing zeros 2019-04-23 03:49:07 -05:00
Adam Wathan
e9b4014131
Merge pull request #858 from ky-is/fix-formatcss
Fix format for empty root nodes case
2019-04-20 11:22:11 -04:00
Kyle Coburn
5056363090 Fix formatting empty root 2019-04-19 20:32:54 -07:00
Adam Wathan
fb714acfa6 Fix conflicts 2019-04-19 12:34:15 -04:00
Adam Wathan
854e6b1cdd Standardize on leading zeros 2019-04-19 12:33:15 -04:00
Brandon
e59fead1b5
Make boxShadow rgba opacity uniform in config stub 2019-04-19 09:11:38 -05:00
Adam Wathan
3166b49940
Merge pull request #854 from MichaelDeBoey/theme-function
Make theme config accessible in the plugins
2019-04-18 17:43:06 -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
ab07e68097 1.0.0-beta.5 v1.0.0-beta.5 2019-04-18 15:34:29 -04:00
Adam Wathan
665aeae8fd
Merge pull request #853 from tailwindcss/whitelist-core-plugins
Make it possible to whitelist core plugins by passing an array
2019-04-18 15:06:41 -04:00
Adam Wathan
0e0ab3ab7a Make it possible to whitelist core plugins by passing an array 2019-04-18 10:31:14 -04:00
Adam Wathan
daea6623fd
Merge pull request #852 from tailwindcss/global-variants
Support configuring a single list of variants to apply to all relevant plugins
2019-04-18 10:17:16 -04: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
Adam Wathan
43f63bf2e5
Merge pull request #849 from tailwindcss/disable-all-core-plugins
Support disabling all corePlugins with corePlugins: false
2019-04-17 12:19:28 -04:00
Adam Wathan
27cef23a2c Support disabling all corePlugins with corePlugins: false 2019-04-17 08:15:37 -04:00
Adam Wathan
4f58205d1d
Merge pull request #847 from tailwindcss/remove-perfectionist-dependency
Remove dependency on perfectionist, implement simple formatting from scratch
2019-04-17 08:08:03 -04:00
Adam Wathan
93184084c6 Rename formatNodes to formatCSS 2019-04-17 08:07:42 -04:00
Adam Wathan
de1884fdd9 Fix formatting 2019-04-16 11:49:12 -04:00