1441 Commits

Author SHA1 Message Date
Adam Wathan
9fec0b11c2 Fix style 2018-03-05 09:58:35 -05:00
Adam Wathan
9334846d10 Add plugin comment to default config 2018-03-05 09:58:35 -05:00
Adam Wathan
c67912af66 Add test to document checking the user's !important preference 2018-03-05 09:58:35 -05:00
Adam Wathan
2feac441e7 Style fixes 2018-03-05 09:58:35 -05:00
Adam Wathan
ac8099251f Inline plugin functions in tests 2018-03-05 09:58:35 -05:00
Adam Wathan
9234df388e Add utility helper for creating utility rules that are automatically escaped and respect prefix/important options 2018-03-05 09:58:35 -05:00
Adam Wathan
960275cc86 Add container classes as utilities not components
Just for now so that this feature can be introduced into the codebase
without forcing a BC break. The container classes will eventually be
moved to a built-in plugin that adds them as components.
2018-03-05 09:58:35 -05:00
Adam Wathan
6849818e20 Style fixes 2018-03-05 09:58:35 -05:00
Adam Wathan
dac591198f Provide a function for prefixing utilities in plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
90982f9099 Test plugins can add multiple sets of utilities and components 2018-03-05 09:58:35 -05:00
Adam Wathan
87b291a258 Test utilities can be added without specifying variants 2018-03-05 09:58:35 -05:00
Adam Wathan
64d2176363 Test that "@" is optional in at-rule definitions 2018-03-05 09:58:35 -05:00
Adam Wathan
9573024a1b Expose config as a function to avoid mutation and make it easy to provide defaults 2018-03-05 09:58:35 -05:00
Adam Wathan
18d45b19cf Fix style 2018-03-05 09:58:35 -05:00
Adam Wathan
b96f342d8a Add initial test suite for processPlugins 2018-03-05 09:58:35 -05:00
Adam Wathan
98f322920f Move processPlugins to separate module 2018-03-05 09:58:35 -05:00
Adam Wathan
a6342e60ce Add atRule helper for plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
24d184fbfc Pass escape function to plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
4d3bbcad95 Pass config to plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
e89fffbc3c Remove unnecessary array destructuring 2018-03-05 09:58:35 -05:00
Adam Wathan
47518404c0 Rename selector to rule, extract plugin processing 2018-03-05 09:58:35 -05:00
Adam Wathan
73a6b6da85 Sort imports 2018-03-05 09:58:35 -05:00
Adam Wathan
5f77aa0ec3 Implement basic plugin system 2018-03-05 09:58:35 -05:00
Alexander Lichter
36680cdf6e Use global.Object.assign to allow Nuxt.js import
See https://twitter.com/adamwathan/status/968652732167995392 for full discussion
2018-03-05 08:43:25 -05:00
Adam Wathan
c8fbeab115 0.4.2 v0.4.2 2018-03-01 08:48:19 -05:00
Adam Wathan
eacc4635b6 Match apply rules against a lookup table instead of searching 2018-02-28 20:34:16 -05:00
Adam Wathan
05fbe1a4be Remove docs from main repo 2018-02-24 08:12:55 -05:00
Adam Wathan
3c78370341 Don't use Twitter /profile_image for profile photos, breaks on mobile 2018-02-13 21:42:21 -05:00
Aleksey Kislov
6d21141ba4 Fix property reference syntax 2018-02-12 08:42:50 -05:00
Adam Wathan
f593535c7c Add font family examples and remove WIP banner 2018-02-01 08:33:18 -05:00
Adam Wathan
ca8b38b916 Merge branch 'customize-fonts' 2018-02-01 07:58:27 -05:00
Adam Wathan
2380290926 Add more information about customizing font families 2018-02-01 07:58:00 -05:00
Jason Beggs
1b99565ab1 Update font docs to include note about wrapping fonts in quotes 2018-02-01 07:57:32 -05:00
Jason Beggs
46b566d574 Update font docs to include note about wrapping fonts in quotes 2018-02-01 07:57:32 -05:00
Jason Beggs
654a9bf9ca Update font docs to include note about wrapping fonts in quotes 2018-02-01 07:57:32 -05:00
Adam Wathan
d5d1785005 Show both expanded and collapsed versions of responsive nav 2018-01-30 14:34:54 -05:00
Nestor Vera
6ad8326be2 Add .pin-none to the docs 2018-01-30 07:20:22 -05:00
Adam Wathan
d9bc4e658a Always use function for determining prefixes internally 2018-01-30 07:12:30 -05:00
Adam Wathan
ffabb9ff6c Update fixture with new preflight comments 2018-01-30 06:57:00 -05:00
Emil Tholin
357c87376e Add support for passing a function as the prefix 2018-01-28 15:55:21 -05:00
Adam Wathan
cd2f855eee
Merge pull request #363 from tailwindcss/fix-362
Undo border-style reset Normalize applies to images
2018-01-25 07:34:37 -05:00
Adam Wathan
6493bda15b Undo border-style reset Normalize applies to images 2018-01-25 07:33:35 -05:00
Adam Wathan
f87c930ff6 0.4.1 v0.4.1 2018-01-22 10:09:12 -05:00
Adam Wathan
f4c905fcef Tweak Perfectionist configuration 2018-01-22 10:01:22 -05:00
Keith Damiani
6ce550c71b Update test fixture tailwind-output.css to reflect perfectionist styles 2018-01-19 14:51:58 -05:00
Keith Damiani
60af234d5d Update test for output when using no Tailwind features 2018-01-19 14:40:43 -05:00
Keith Damiani
eea8b54dfe Run perfectionist at end of PostCSS chain in place of stylefmt 2018-01-19 14:39:56 -05:00
Keith Damiani
4a74f31c33 Replace stylefmt dev-dependency with perfectionist 2018-01-18 22:56:58 -05:00
Adam Wathan
b8df829de9
Merge pull request #341 from stephtr/patch-1
docs: fix typo (hex code for green color)
2018-01-15 09:42:29 -05:00
Adam Wathan
25c3cec26b
Merge pull request #344 from m1guelpf-forks/patch-1
Avoid updating license every year
2018-01-15 09:42:12 -05:00