207 Commits

Author SHA1 Message Date
Adam Wathan
06352a8a59
Merge pull request #1281 from tailwindcss/rounded-md
Add rounded-md
2019-12-27 08:59:24 -05:00
Adam Wathan
038b158e28 Add max-w-screen-{breakpoint} utilities 2019-12-27 08:53:47 -05:00
Adam Wathan
d33fbc4895 Rename gap plugins to remove grid prefix, manually include old property names 2019-12-27 07:45:43 -05:00
Adam Wathan
d075773c67 Use minmax to ensure default grid columns are always equal width 2019-12-27 07:45:43 -05:00
Adam Wathan
a552eb185b Add gap-* utilities, remove default values for col-gap and row-gap 2019-12-27 07:45:43 -05:00
Adam Wathan
3e2c626409 Re-order grid theme values 2019-12-27 07:45:43 -05:00
Adam Wathan
d882d8d4fc Add CSS grid utilities 2019-12-27 07:45:43 -05:00
Adam Wathan
5d503cc20e Add max-w-none 2019-12-27 07:16:57 -05:00
Adam Wathan
84e1816572 Add rounded-md 2019-12-26 15:43:50 -05:00
Adam Wathan
0603cafbe8 Add shadow-sm 2019-12-26 15:21:56 -05:00
Geoff Selby
fe7098a3c0 Add Inter to sans font stack
As discussed in #1269 this PR adds Inter to the `sans` font stack while leaving the default font stack intact.

This does not automatically pull in the font files or the font-face rules. It is recommended that you use the Inter cdn for that.
2019-12-25 13:54:10 -05:00
Adam Wathan
9fbbaff400 Add negative translate and percentage translate values 2019-12-25 13:54:09 -05:00
Adam Wathan
e7c08c48e5 Fix code style 2019-12-25 13:54:09 -05:00
Adam Wathan
02ed29e3e9 Simplify scales for scale and rotate 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
Nestor Vera
1a71d3311e
Add trailing commas to simpleConfig.stub.js
Makes it consistent with `defaultConfig.stub.js` and saves people like me from adding them manually every time they start a project.
2019-11-04 12:05:27 +01:00
Codeminer42
ba640fc79a Add stroke-width plugin 2019-08-22 16:55:23 -03:00
Adam Wathan
91d969f7aa Enable hover and focus variants for opacity by default 2019-08-06 11:19:42 -04:00
Adam Wathan
941aa9b429 Add default variants for placeholder color utilities 2019-08-06 10:09:42 -04:00
Adam Wathan
d2d081cba1 Add placeholder color utilities 2019-08-06 10:07:27 -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
9b94cc1ed2 Add sr-only and not-sr-only utilities 2019-06-10 19:39:25 -04:00
Adam Wathan
4549e2d1f1 Increase precision of percentage widths 2019-06-08 08:39:39 -04:00
Adam Wathan
95e925ed05 Move screens to top of config file 2019-05-14 10:51:37 -04:00
Mark van den Broek
daf8b36cdd
Moves screens up.
https://github.com/tailwindcss/tailwindcss/pull/917#issuecomment-492264022
2019-05-14 16:37:26 +02:00
Mark van den Broek
c65e41b92e
Sort the theme keys in alphabetical order. 2019-05-14 16:32:10 +02:00
Mark van den Broek
c92b719307
Sort the variants in alphabetical order. 2019-05-14 13:48:32 +02:00
Adam Wathan
2da152055a
Merge pull request #906 from tailwindcss/consistent-order-values
Use 9999 for both order-first and order-last
2019-05-12 09:57:43 -04:00
Adam Wathan
d92dae4344 Add extend key to simpleConfig stub by default 2019-05-10 07:57:47 -04:00
Adam Wathan
84cf0a1ca1 Use 9999 for both order-first and order-last 2019-05-10 07:50:49 -04:00
Adam Wathan
b5355d2756 Make everything responsive by default 2019-05-08 11:51:04 -04:00
Simon Ellensohn
8a271a7e6e Remove negativeMargin variants 2019-05-02 15:50:14 +02:00
Adam Wathan
5580456afa Add responsive order utilities by default 2019-04-28 07:03:56 -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
Sjors
125a1d0bb3 add more width fractions 2019-04-27 09:53:33 +02: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
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
d0e44dc361 Remove simple config comments 2019-04-26 12:26:15 -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
854e6b1cdd Standardize on leading zeros 2019-04-19 12:33:15 -04:00
Adam Wathan
c98cc12d35 Remove dependency on perfectionist, implement simple formatting from scratch 2019-04-16 11:43:17 -04:00
Adam Wathan
b2ad6a4d18 Bump node dependency to 8.9.0
6.9.0 is EOL next month and our defaultConfig stub already uses features not supported in 6.x, which means I either had to change that file to use Object.assign instead of spread, or bump our dependency.

Would rather not have to write prehistoric JS just to support an almost-EOL version.
2019-03-29 13:26:17 -04:00
Adam Wathan
7544c1bbd2 Drop SFMono from default mono font stack 2019-03-25 10:16:11 -07:00
mattstypa
76d6356a58 Added container to defaultConfigStub 2019-03-20 07:46:16 -05:00
安正超
9bf413933c
Fix default border color. 2019-03-18 16:23:43 +08:00