562 Commits

Author SHA1 Message Date
Adam Wathan
9b89683268 Add sensible set of fixed line-height utilities 2020-02-05 08:39:51 -05:00
Adam Wathan
8767f6e0c8 Don't include Inter in default font stack
I still want to explore this again in the near future but there are some trade-offs that I need to think about more before I actually put this into a proper release and make it impossible to revert without a major version update.

The main one that I literally just ran into is that if the end user has an old version of Inter installed locall (say one from before Inter had light weights), things can look pretty bad.
2020-02-03 13:40:04 -05:00
Adam Wathan
bdbec26136 Use font-sans as the default font, not the system font 2020-02-03 11:50:40 -05:00
Adam Wathan
7815e01d71 Update fixtures, add system-ui to sans font stack as well 2020-02-03 11:44:36 -05:00
Adam Wathan
b3c3d5ce47
Merge pull request #1356 from tailwindcss/add-default-skews
Add some default skew values
2020-02-03 11:37:12 -05:00
Adam Wathan
36dd50ebab Add some default skew values 2020-02-03 11:28:04 -05:00
Adam Wathan
3efa8e1d0d Add some default values for grid row utilities, confusing to have none 2020-02-03 11:08:09 -05:00
Adam Wathan
677e5a70c8 Combine gap, columnGap, and rowGap plugins into just gap, like margin/padding/inset 2020-02-01 13:52:18 -05:00
Adam Wathan
e0771bdb5c Add transition-shadow, transition box-shadow in transition also 2020-02-01 13:40:57 -05:00
Adam Wathan
bb1e62998f Add fill and stroke to transition-colors 2020-02-01 13:34:33 -05:00
Adam Wathan
08c69116ef Support import syntax even if not using postcss-import 2020-01-25 12:14:01 -05:00
Adam Wathan
8f5a568240 Add shadow-xs, increase alpha of shadow-sm to 0.05 2020-01-23 20:33:11 -05:00
Adam Wathan
b8d0870ab4
Merge pull request #1280 from tailwindcss/shadow-sm
Add `shadow-sm`
2020-01-08 10:57:23 -05:00
Adam Wathan
d5199e4075 Rename transition-duration utilities to duration-{ms} 2020-01-08 10:12:45 -05:00
Adam Wathan
23ba99df04 Add transition utilities 2020-01-08 10:12:45 -05:00
Adam Wathan
b3a7f7788a Test making config function optional, refactor to default parameter 2020-01-04 12:35:12 -05:00
Adam Wathan
83f88cc2d4 Remove unit test for strokeWidth plugin, covered by integration tests 2020-01-03 08:39:45 -05:00
Adam Wathan
a33c1a68e1 Update transform order to scale, skew, rotate, translate 2020-01-03 08:38:29 -05:00
Benoît Rouleau
6378808a42 Merge branch 'master' into skew 2020-01-02 18:03:50 -05:00
Benoît Rouleau
12cd6e600d Add skew plugin + change order of transform functions (apply translate last) 2020-01-02 17:26:38 -05:00
Adam Wathan
5ee1eb4404 Merge branch 'Larissagilliane-iss1074' 2019-12-30 09:23:38 -05:00
Adam Wathan
bbe23fdba2 Remove units from stroke width 2019-12-30 09:20:28 -05:00
Adam Wathan
5187825ba7 Remove 3px and 4px stroke widths from default config 2019-12-30 09:18:47 -05:00
Adam Wathan
a5fb2dfc17 Change stroke-w-{size} to stroke-{size} 2019-12-30 09:18:00 -05:00
Adam Wathan
e4968d0767 Merge branch 'iss1074' of git://github.com/Larissagilliane/tailwindcss into Larissagilliane-iss1074 2019-12-30 09:15:21 -05:00
Adam Wathan
28dab5eb3a
Merge pull request #1286 from florianbouvot/master
Fix box-sizing values
2019-12-30 09:14:15 -05:00
Adam Wathan
84c3bf3d6f
Merge pull request #1274 from tailwindcss/grid-utilities
Add CSS Grid utilities
2019-12-30 09:06:33 -05:00
Adam Wathan
a14e53ef7d Add grid-auto-flow utilities 2019-12-30 08:23:12 -05:00
Adam Wathan
2babe0cb23 Add none/auto values for grid utilities 2019-12-30 07:47:45 -05:00
Florian Bouvot
bad1033cc7 Fix box-sizing values 2019-12-27 20:27:27 +01:00
Adam Wathan
63b5cc28f6
Merge pull request #1284 from tailwindcss/max-w-screen
Add `max-w-screen-{breakpoint}` utilities
2019-12-27 10:07:37 -05:00
Adam Wathan
ff4f4eb808 Move clear to it's own plugin 2019-12-27 09:27:18 -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
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
505d03811c Update test fixtures for real 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
d882d8d4fc Add CSS grid utilities 2019-12-27 07:45:43 -05:00
Adam Wathan
de5c786abe Rebuild fixtures 2019-12-27 07:17:17 -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
Adam Wathan
ed0fff1d59 Rebuild fixtures 2019-12-25 13:54:10 -05:00
Cosmin Popovici
62f831a875 Update output test fixtures. 2019-12-25 13:54:10 -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
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
9fbbaff400 Add negative translate and percentage translate values 2019-12-25 13:54:09 -05:00