433 Commits

Author SHA1 Message Date
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
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
a7ec9c2396 Remove negativeMargin plugin, handle negative values in regular margin plugin 2019-04-23 20:04:35 -04:00
Adam Wathan
854e6b1cdd Standardize on leading zeros 2019-04-19 12:33:15 -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
0e0ab3ab7a Make it possible to whitelist core plugins by passing an array 2019-04-18 10:31:14 -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
27cef23a2c Support disabling all corePlugins with corePlugins: false 2019-04-17 08:15:37 -04:00
Adam Wathan
c98cc12d35 Remove dependency on perfectionist, implement simple formatting from scratch 2019-04-16 11:43:17 -04:00
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
Adam Wathan
7544c1bbd2 Drop SFMono from default mono font stack 2019-03-25 10:16:11 -07:00
Adam Wathan
57284d92b0 Fix style, run whole test suite dummy 2019-03-25 08:00:06 -07:00
Adam Wathan
e5a97a1b04 Test that theme function resolves functions deeply 2019-03-25 07:59:10 -07:00
Brad Cornes
be3be14586 add failing test 2019-03-24 20:10:09 +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
509b698bfc Simplify resolveConfig slightly, try to catch more in tests 2019-03-18 11:21:32 -04:00
Adam Wathan
a4e896ecac
Merge pull request #775 from CvX/lazy-extend
Lazily evaluate values in the extend section
2019-03-18 10:17:08 -04:00
Adam Wathan
9ace7deef2 Update tests 2019-03-18 09:59:20 -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
426a549e50 Update shadow-outline to be based on new blue 2019-03-15 11:13:46 -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
Matt Stypa
6c461706c6 Moved constants and used it for hardcoded paths 2019-03-15 07:08:34 -05: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
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
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
364d87163a Fix rebase mistake 2019-03-13 21:09:17 -04:00
Adam Wathan
aeaf5ab93c Update colors 2019-03-13 21:07:59 -04:00
Adam Wathan
1a6193e22f Rename grey to gray 🇺🇸 2019-03-13 21:06:46 -04:00
Adam Wathan
beb83de208 Replace 0.x colors with rough draft of 1.0 colors
These will 100% change, but the names are at least correct, and the colors are probably ~close. Hoping to finish fine-tuning these by the end of the week.
2019-03-13 21:06:46 -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
7178c43d2c Add list-disc and list-decimal by default 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