1319 Commits

Author SHA1 Message Date
David Hemphill
12afd6e8a1 fix stroke utility generation 2019-04-02 15:55:19 -05:00
David Hemphill
6190fe52d4 Fix fill color utility generation 2019-04-02 15:23:40 -05:00
Brad Cornes
caa687a59b account for function values in theme function 2019-03-24 20:10:15 +00:00
Adam Wathan
f5e8c74639 Don't mutate variants in user's config 2019-03-22 13:13:39 -04:00
Adam Wathan
7e1113561a Don't mutate the user's config when resolving 2019-03-22 12:47:21 -04:00
mattstypa
26e4007428 Few CLI tweaks 2019-03-20 08:17:56 -05:00
Adam Wathan
6d1533e9a8 Revert #745, always default to bolder for strong tags 2019-03-18 13:10:54 -04:00
Adam Wathan
aee1e44431 Fix code style 2019-03-18 11:42:56 -04:00
Adam Wathan
509b698bfc Simplify resolveConfig slightly, try to catch more in tests 2019-03-18 11:21:32 -04:00
Jarek Radosz
62972a7693 Lazily evaluate values in the extend section
In a way this combines PRs #655 and #774.
2019-03-17 05:31:35 +01:00
Adam Wathan
fcd0f364db Pass theme to closures as function instead of object 2019-03-16 16:22:31 -04:00
Adam Wathan
048bd040b7 Fix @screen not working, add simple test 2019-03-16 14:19:22 -04:00
Adam Wathan
b1a8f27b0a
Merge pull request #769 from tailwindcss/make-replaced-elements-block
Make replaced elements block by default, preserve aspect ratio
2019-03-15 11:30:42 -04:00
Adam Wathan
0bbf942897 Make replaced elements block by default, preserve aspect ratio 2019-03-15 10:25:48 -04:00
mattstypa
6d65dfb058 Removed no-comments option from init command 2019-03-15 09:15:16 -05:00
mattstypa
de6110f258 Merge branch 'next' into next-cli
# Conflicts:
#	defaultConfig.stub.js
2019-03-15 09:02:47 -05:00
Matt Stypa
6c461706c6 Moved constants and used it for hardcoded paths 2019-03-15 07:08:34 -05:00
Adam Wathan
4f20e968c1 Split wordBreak plugin from whitespace plugin 2019-03-15 07:54:28 -04:00
Matt Stypa
7ec4b11d73 Ripped out the code no longer needed 2019-03-14 20:24:31 -05:00
Matt Stypa
9e4f54a17f Merging in changes from upstream 2019-03-14 18:07:29 -05:00
Matt Stypa
9e835e4546 Fixed failing tests and added additional coverage 2019-03-14 16:51:36 -05:00
mattstypa
92b3b0c0a1 Updated CLI init commend 2019-03-14 15:51:21 -05:00
Adam Wathan
8fa379a995 Remove super old deprecation error 2019-03-14 15:20:06 -04:00
Adam Wathan
f3db5f1a47
Merge pull request #765 from tailwindcss/make-container-core
Make container plugin a core plugin, configured in theme
2019-03-14 15:16:39 -04:00
Adam Wathan
fefc53b88b Reintroduce ability for screens to be passed explicitly 2019-03-14 14:54:20 -04:00
Adam Wathan
c6449f8fa8 Make container plugin a core plugin, configured in theme 2019-03-14 14:36:28 -04:00
Adam Wathan
33bfb8793f Make inset utilities customizable 2019-03-14 12:35:37 -04:00
Adam Wathan
1940e31b12 Rename pin utilities to top/right/bottom/left/inset 2019-03-14 12:23:51 -04:00
Adam Wathan
eba4600c01 Split pin utilities into inset plugin 2019-03-14 12:19:14 -04:00
Adam Wathan
9d9ceca5e4 Combine wrap-normal and break-normal, rename wrap-break to break-words
This preserves backwards compatibility with Tailwind 0.x and provides some useful normalization on top of these two funky ass properties.
2019-03-14 08:41:12 -04:00
Adam Wathan
310b848bbf
Merge pull request #761 from tailwindcss/list-utilities
Rework list utilities
2019-03-13 20:05:09 -04:00
Adam Wathan
4be5af28ff Unstyle lists by default 2019-03-13 19:45:23 -04:00
Adam Wathan
e13413153f Add list-inside and list-outside utilities 2019-03-13 19:45:23 -04:00
Adam Wathan
7b8ebc525e Make listStyleType customizable 2019-03-13 19:44:35 -04:00
Adam Wathan
137159aaa9 Rename list-reset to list-none, remove padding declaration 2019-03-13 19:44:35 -04:00
Adam Wathan
f4e9100799 Make link styling opt-in instead of opt-out 2019-03-13 13:26:19 -04:00
Adam Wathan
87cf9df68e Use configured monospace font for monospace elements 2019-03-12 21:28:27 -04:00
Adam Wathan
525d03b7dc Support unquoted lists as default theme function values 2019-03-12 21:20:31 -04:00
Adam Wathan
35a4100f15 Default to Tailwind's 'normal' line-height 2019-03-12 20:35:27 -04:00
Adam Wathan
209b71a83d Use system font stack by default instead of sans-serif 2019-03-12 20:22:12 -04:00
Adam Wathan
0d25dd274d Use configured bold for strong tags 2019-03-12 17:19:34 -04:00
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
Geoff Selby
64cea138ee Add disabled variant
This commit adds a `disabled` variant to the Tailwind core. Not sure if/where this would be used by default.
2019-03-07 22:37:44 -06:00
Adam Wathan
da4984e0e1 Support default key in color objects 2019-03-05 11:36:31 -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
817f68595d
Merge pull request #707 from tailwindcss/nested-color-object
Support object syntax for theme colors
2019-03-05 09:42:37 -05:00
Adam Wathan
6a592930a4 Simplify ternary to or statement 2019-03-05 07:41:26 -05:00