227 Commits

Author SHA1 Message Date
Adam Wathan
7a8f8d9877 Style fixes 2018-03-07 09:37:01 -05:00
Adam Wathan
7d589dd542 Fix style + kill unused code 2018-03-07 09:37:01 -05:00
Adam Wathan
c3f021a0c9 Prefix all classes in a selector, don't assume single class 2018-03-07 09:37:01 -05:00
Adam Wathan
d1423bab63 Drop shitty rule/atRule syntax for pure object syntax 2018-03-07 09:37:01 -05:00
Adam Wathan
10be05a167 Get object style parsing working without the insanity 2018-03-07 09:37:01 -05:00
Adam Wathan
bc05473b37 Add dependencies, fix warnings 2018-03-07 09:37:01 -05:00
Adam Wathan
6450748351 WIP 2018-03-07 09:37:01 -05:00
Adam Wathan
9fec0b11c2 Fix style 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
5f77aa0ec3 Implement basic plugin system 2018-03-05 09:58:35 -05:00
Adam Wathan
eacc4635b6 Match apply rules against a lookup table instead of searching 2018-02-28 20:34:16 -05:00
fedeTibaldo
b7cb21360d Update priority order to (from the highest): active-hover-focus 2018-02-19 17:23:22 +01:00
fedeTibaldo
62cf25f718 Change priority order to (from the highest): focus-active-hover 2018-02-16 18:09:20 +01:00
fedeTibaldo
2e4e4a79e2 Revert output order from hover-active-focus to focus-active-hover 2018-02-09 20:57:34 +01:00
fedeTibaldo
1f57fbfbaf Add tests for active state variant 2018-02-09 20:20:24 +01: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
Nestor Vera
8f66028859 Update tests for bg-auto 2018-01-22 20:53:05 +01: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
Seth Warburton
2c08993f89 [Fixed] Provide a safer and future-proofed system font stack 2018-01-11 16:45:50 +00:00
Tobias Kündig
6837c8f46d
Added .cursor-wait 2017-12-24 13:47:13 +01:00
Adam Wathan
614369c219 Update test fixture 2017-12-14 09:37:26 -05:00
Adam Wathan
44d3154010 Update test fixture 2017-12-13 14:22:34 -05:00
Adam Wathan
ec9b9b99bd Add support for making applied rules important 2017-12-13 13:00:37 -05:00
Adam Wathan
3df41b5e89 Add test to prove cssnext custom property sets are preserved 2017-12-12 07:28:58 -05:00
Jack McDade
c84886e32e Adjust syntax style to fit standards 2017-12-08 16:15:58 -05:00
Jack McDade
97ef316af8 Prevent @apply from adding !important. 2017-12-08 16:05:54 -05:00
Adam Wathan
39d920305b
Remove preflight SVG reset (#274) 2017-12-01 09:48:57 -05:00
Adam Wathan
858b725896
[0.3] Rename parent-hover to group-hover (#271) 2017-12-01 08:14:58 -05:00
Adam Wathan
ad48de9500
[0.3] Escape separator string (#270) 2017-11-30 15:55:06 -05:00
Agustín Rodríguez
6179e6ac51 utility to make both axes resizables 2017-11-29 18:46:25 -05:00
Adam Wathan
be1f5b9156
[0.3] Add SVG Fill and Stroke utilities (#263) 2017-11-29 12:24:17 -05:00
Adam Wathan
ec19740eb0 Add support for hardcore bloat mode with modules: 'all'
Turns on every variant for every module :feelsgood:
2017-11-29 09:38:59 -05:00
Michaël De Boey
b50b8d4390 Add background repeat utilities 2017-11-28 14:45:54 -05:00
Adam Wathan
ed550b3c5c
[0.3] Add parent-hover variant (#251)
* Add parent-hover variant

* Don't enable parent-hover on textColors module by default

* Add tests, move parent-hover declarations to separate rules

* Prettier-ignore long selector string
2017-11-28 14:44:43 -05:00
Adam Wathan
c165f1df57
[0.3] Add background attachment utilities (#243)
* Create backgroundAttachment.js generator

* Updated background-attachment utility

* Integrate background attachment utilities

* Add basic background attachment documentation
2017-11-28 14:44:18 -05:00