48 Commits

Author SHA1 Message Date
Adam Wathan
a92faeefac Fix conflicts, update tests 2019-04-27 11:37:20 -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
4f20e968c1 Split wordBreak plugin from whitespace plugin 2019-03-15 07:54:28 -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
c6449f8fa8 Make container plugin a core plugin, configured in theme 2019-03-14 14:36:28 -04:00
Adam Wathan
eba4600c01 Split pin utilities into inset plugin 2019-03-14 12:19:14 -04:00
Adam Wathan
e13413153f Add list-inside and list-outside utilities 2019-03-13 19:45:23 -04:00
Adam Wathan
137159aaa9 Rename list-reset to list-none, remove padding declaration 2019-03-13 19:44:35 -04:00
Adam Wathan
e99753bc33 Update plugins to source their config themselves
Instead of plugins being configured directly, they grab their configuration from the Tailwind config passed to them. This makes core plugins consistent with how we will recommend third-party plugins be authored so that the configuration for everything in the system is readable through the theme.
2019-02-28 14:53:55 -05:00
Florian Bouvot
3fa1a0054f Fix order 2019-02-27 22:46:12 +01:00
Florian Bouvot
9dc51a8d5e Add order utility 2019-02-27 21:59:23 +01: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
7af36e1274 Split flex into separate plugin 2019-02-26 10:25:06 -05:00
Adam Wathan
13b81f0b5c Split alignContent into separate plugin 2019-02-26 10:19:55 -05:00
Adam Wathan
ad282c6d8a Split justifyContent into separate plugin 2019-02-26 10:17:26 -05:00
Adam Wathan
04163056f6 Split alignSelf into separate plugin 2019-02-26 10:09:53 -05:00
Adam Wathan
435a7f97de Split alignItems into separate plugin 2019-02-26 10:09:06 -05:00
Adam Wathan
7f1c7f578e Split flexWrap into separate plugin 2019-02-26 10:08:02 -05:00
Adam Wathan
ad4f7739bb Split flexDirection into its own plugin 2019-02-26 10:04:21 -05:00
Adam Wathan
9925d6156d Rename tracking plugin to letterSpacing 2019-02-19 15:54:07 -05:00
Adam Wathan
ceb093e6a1 Rename leading plugin to lineHeight 2019-02-19 15:49:33 -05:00
Adam Wathan
3e468dd59d Revert renaming leading to lineHeight 2019-02-15 22:08:58 -05:00
Adam Wathan
914c581974 Revert renaming tracking to letterSpacing 2019-02-15 22:07:37 -05:00
Adam Wathan
c2f62c1c6c Split textStyle plugin into one plugin per CSS property 2019-02-15 16:12:49 -05:00
Adam Wathan
ec0b9ae68e Rename textColors to textColor 2019-02-15 15:31:06 -05:00
Adam Wathan
76b208dc83 Rename lists to listStyle 2019-02-15 15:30:43 -05:00
Adam Wathan
36c2a60766 Rename tracking to letterSpacing 2019-02-15 15:24:40 -05:00
Adam Wathan
ab9277d3eb Rename textSizes to fontSize 2019-02-15 15:21:27 -05:00
Adam Wathan
e9f86cc295 Rename svgStroke to stroke 2019-02-15 15:20:05 -05:00
Adam Wathan
45c5e69708 Update shadows to boxShadow in corePlugins 2019-02-14 15:34:07 -05:00
Adam Wathan
7abbf520df Rename svgFill to fill 2019-02-14 15:33:51 -05:00
Adam Wathan
4b717aad56 Rename leading plugin to lineHeight 2019-02-14 15:31:19 -05:00
Adam Wathan
af65b45a4c Rename fontWeights to fontWeight 2019-02-14 15:25:35 -05:00
Adam Wathan
856fdbc3dd Rename borderWidths to borderWidth 2019-02-14 15:24:20 -05:00
Adam Wathan
df8fe5afa6 Rename borderColors to borderColor 2019-02-14 15:23:22 -05:00
Adam Wathan
376daf3345 Rename backgroundColors to backgroundColor 2019-02-14 15:20:07 -05:00
Adam Wathan
d3c65e55af Rename fonts plugin to fontFamily 2019-02-14 14:39:08 -05:00
Adam Wathan
9a3eee5afc Don't handle preflight separately in corePlugins
If we do, we have to handle disabling/custom configuration separately too, which we don't want.

This really suggests I should prioritize adding a more black-box level test for this part of the codebase.
2019-02-07 15:31:11 -05:00
Adam Wathan
690c7f2d52 Convert preflight to plugin 2019-02-07 15:19:54 -05:00
Adam Wathan
44bccca3d0 Fix code style 2019-02-05 13:37:05 -05:00
Adam Wathan
ef833125e6 Use configurePlugins when loading core plugins 2019-02-05 13:36:41 -05:00
Adam Wathan
b036cac4b5 Fix code style 2019-02-01 12:32:50 -05:00
Adam Wathan
efc7927078 Rename styles to theme 2019-02-01 12:32:50 -05:00
Adam Wathan
3fbd6b300a Disable plugins using corePlugins instead of variants 2019-02-01 12:32:50 -05:00
Adam Wathan
d98e97f3ec Rename modules to variants 2019-02-01 12:32:50 -05:00
Adam Wathan
c56ae6c6b4 Move modules outside of styles to top level key 2019-02-01 12:32:50 -05:00
Adam Wathan
95bb283a69 Rename defaultPlugins to corePlugins 2019-02-01 12:32:50 -05:00