170 Commits

Author SHA1 Message Date
Adam Wathan
3d12231bdb Remove background color transparent 2019-03-12 17:05:20 -04:00
Adam Wathan
b4db53676e Don't reset form elements quite as aggressively 2019-03-12 16:59:25 -04:00
Adam Wathan
58f581ef32 Reset form elements even more aggressively 2019-03-12 11:18:42 -04:00
Adam Wathan
c246f19773 Make form elements inherit more font properties 2019-03-12 10:59:16 -04:00
Adam Wathan
1ffa750c76
Merge pull request #701 from tailwindcss/new-max-width-scale
Use progressive maxWidth scale
2019-03-05 09:44:12 -05:00
Adam Wathan
43ea7311d5
Merge pull request #697 from tailwindcss/rename-config-to-theme
Remove config() function in favor of theme()
2019-03-05 09:42:58 -05:00
Adam Wathan
d1d9492c91 Remove 7xl and 8xl
Now that I plan to add max-w-screen-* variations, I don't think these huge options provide any real value.
2019-03-02 16:00:05 -05:00
Adam Wathan
2dcea512fc Renumber scale to account for missing value
Somehow I skipped 6xl? I'm an idiot.
2019-03-02 15:58:31 -05:00
Adam Wathan
ce48a4c91d
Merge pull request #702 from tailwindcss/disable-text-style-variants
Disable unnecessary variants for text style plugins
2019-03-02 15:22:55 -05:00
Adam Wathan
fb451e7aa6 Update font-size and font-weight to inherit 2019-03-02 13:05:39 -05:00
Adam Wathan
c3886066cc Reset heading styles in preflight
Set all headings to inherit the parent font size and reset the font
weight to normal. This prevents you from accidentally using browser
default sizes in your designs and deviating from your design system.
2019-03-01 20:53:01 -05:00
Adam Wathan
da69598818 Disable unnecessary variants for text style plugins 2019-03-01 15:50:30 -05:00
Adam Wathan
4ed557ea98 Use progressive maxWidth scale 2019-03-01 14:29:38 -05:00
Adam Wathan
1ea1f4a450 Add 40/48/56/64 to shared spacing scale 2019-03-01 13:41:47 -05:00
Adam Wathan
1c5940ee88 Add 56 value for width/height 2019-03-01 13:27:56 -05:00
Adam Wathan
53ca284553 Remove config() function in favor of theme()
The only reason the config() helper function existed was to access your design tokens in your CSS, like:

```css
.foo {
  color: config('colors.blue')
}
```

Now that design tokens are nested in the new `theme` section, using the `config()` function is a bit more verbose:

```css
.foo {
  color: config('theme.colors.blue')
}
```

This PR removes the `config()` function in favor of a new `theme()` function that is already scoped to the `theme` section of the config:

```css
.foo {
  color: theme('colors.blue')
}
```

I can't think of any reason at all why you would need to access the non-theme values in your config from your CSS (like enabled variants, or your list of plugins), and the word `theme` is much more expressive than `config`, so I think this is a worthwhile change.
2019-03-01 08:35:24 -05:00
Adam Wathan
92d3bcfa6a Update shadows to incorporate progressive negative spread 2019-02-28 07:46:26 -05:00
Adam Wathan
361ffb6a2c Update fixtures 2019-02-27 20:31:53 -05:00
Adam Wathan
2b89e09409 Split flexShrink to separate plugin 2019-02-26 10:33:34 -05:00
Adam Wathan
06ef9557b3 Split flexGrow to separate plugin 2019-02-26 10:30:44 -05:00
Adam Wathan
10106e2edc Move flex display utilities to display plugin 2019-02-26 10:02:25 -05:00
Adam Wathan
d0de252e47 Rename flex-no-grow/shrink to flex-grow/shrink-0 2019-02-26 09:13:17 -05:00
Adam Wathan
2e1099ebea Update default breakpoints 2019-02-22 21:20:22 -05:00
Nestor Vera
85957755dd Add new word-break utilities 2019-02-22 17:51:21 +01:00
Adam Wathan
fdc5565f70
Merge pull request #671 from tailwindcss/extend-tracking-scale
Extend letter-spacing scale
2019-02-21 15:03:37 -05:00
Adam Wathan
e5134752d8 Add snug and relaxed line-heights 2019-02-20 19:41:55 -05:00
Adam Wathan
62c5addc4b Extend letter-spacing scale 2019-02-20 14:44:19 -05:00
Adam Wathan
e5d2e6429d Enable object fit/position plugins by default 2019-02-19 18:59:12 -05:00
Adam Wathan
3f9c4ec84b Rename roman to not-italic 2019-02-18 10:14:15 -05:00
Adam Wathan
87192f8922 Fix conflicts 2019-02-18 09:39:38 -05:00
Adam Wathan
c029fff479 Update width and height to share spacing values 2019-02-16 20:53:35 -05:00
Adam Wathan
c2f62c1c6c Split textStyle plugin into one plugin per CSS property 2019-02-15 16:12:49 -05:00
Adam Wathan
690c7f2d52 Convert preflight to plugin 2019-02-07 15:19:54 -05:00
Adam Wathan
d165661da4 Fix failing test 2019-02-01 12:32:50 -05:00
Adam Wathan
f3097f9421 Move colors inside of theme 2019-02-01 12:32:50 -05:00
Adam Wathan
ec1bdd27ec Move screens into theme config 2019-02-01 12:32:50 -05:00
Mark van den Broek
ee27bbac99 Removes img max-width and height,
Resolves #506.
2019-02-01 12:32:04 -05:00
Adam Wathan
269b244b8d Add sanity test for enabling important option 2019-02-01 12:26:34 -05:00
Mark Pinero
b74b381294 Update tests for tailwind-output.css 2018-11-17 14:04:45 -05: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
Matt Stypa
b71cfe711e CLI tool rewrite 2018-09-13 21:37:10 -05:00
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
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