145 Commits

Author SHA1 Message Date
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
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
Adam Wathan
327e6d3cab Update tests, docs, and remove margin reset from list-reset 2017-11-28 08:13:11 -05:00
Adam Wathan
704396b892 Remove hoverable and focusable at-rules in favor of variants at-rule 2017-11-24 15:11:16 -05:00
Adam Wathan
65efe91911
Merge pull request #236 from tailwindcss/pin-none
[0.3] Add `pin-none` utility to reset positioning at higher breakpoints
2017-11-24 15:03:44 -05:00
Adam Wathan
a2f1cf099f
Merge pull request #241 from tailwindcss/mark-options-as-advanced
[0.3] Remove redundant default option fallbacks
2017-11-24 15:03:22 -05:00
Adam Wathan
798d2ccd17
Merge pull request #235 from dumconstantin/master
[0.3] Make a configurable separator (default ':')
2017-11-24 15:03:01 -05:00
Adam Wathan
476b60c70b Rename test to be more clear 2017-11-24 14:14:04 -05:00
Adam Wathan
6b307cd8af Fix style 2017-11-24 12:39:27 -05:00
Adam Wathan
fc19bc2e89 Add test to make sure custom config is actually used 2017-11-24 12:34:21 -05:00
Adam Wathan
f84507457f Extract mergeConfigWithDefaults for easier testability 2017-11-24 12:34:09 -05:00
Adam Wathan
37f5a0a0d4 Sort pin utilities from general to specific 2017-11-24 09:56:36 -05:00
Adam Wathan
6899a4913b Add pin-none utility, remove width/height from pin 2017-11-24 09:42:01 -05:00
dumconstantin
013f845281 Make the hoverable, focusable and responsive separator (default '\:') configurable. 2017-11-24 16:26:40 +02:00
Adam Wathan
1a5c09c14d Fix style 2017-11-23 15:03:34 -05:00
Adam Wathan
936a4eeefd Extract function for generating modules
Fully parameterized, makes it easy to test module options behavior
without testing against the entire default module list.
2017-11-23 15:00:52 -05:00
Adam Wathan
d1828c9dd9 Rename generators to match planned module names 2017-11-23 11:16:44 -05:00
Adam Wathan
28f73f2bf5 Add support for including responsive in variants list 2017-11-23 09:58:42 -05:00
Adam Wathan
ebb8633809 Fix tests and style 2017-11-23 09:58:25 -05:00
Adam Wathan
12dd81b906 Working on @variants at-rule
Currently supports focus and hover, need to add responsive which will be a whole horrible can of worms.
2017-11-22 18:44:30 -05:00
Adam Wathan
0dbc2200d5 Generate hover variants as separate rules 2017-11-22 15:54:25 -05:00
Adam Wathan
37b06c8dc9 Generate focus variants as separate declarations 2017-11-22 15:52:32 -05:00
Adam Wathan
7305bac176 Reset radius applied by Chrome 62 using low specificity selectors 2017-11-18 10:45:29 -05:00
Adam Wathan
b9114478d4 Revert trying to reset Chrome 62 default button styles 2017-11-18 10:30:00 -05:00
Adam Wathan
436f485897
Merge pull request #214 from tailwindcss/reorder-border-widths
[0.2] Sort border width utilities from most general to most specific
2017-11-17 09:33:43 -05:00
Adam Wathan
80281a3646
Merge pull request #213 from tailwindcss/reorder-radius
[0.2] Reorder rounded utilities from most general to most specific
2017-11-17 09:33:34 -05:00
Adam Wathan
9685c77647
Merge pull request #211 from tailwindcss/reorder-spacing-utilities
[0.2] Define spacing utilities from most general to most specific
2017-11-17 09:33:25 -05:00
Adam Wathan
2b93b55587
Merge pull request #209 from tailwindcss/error-on-media-apply
[0.2] Be more strict about which classes can be `@apply`'d
2017-11-17 09:33:12 -05:00
Adam Wathan
ddfa8de684 Sort border width utilities from most general to most specific 2017-11-17 08:54:43 -05:00
Adam Wathan
985fa90ad1 Reorder rounded utilities from most general to most specific 2017-11-16 16:15:18 -05:00
Adam Wathan
9c6e829438 Define spacing utilities from most general to most specific 2017-11-16 13:14:39 -05:00
Adam Wathan
538a854a73 Don't allow applying classes that appear in multiple rulesets
This can result in unexpected behavior, so explicitly erroring is best.
We can of course add support for this later if we see real value in it
and can come up with predictable rules for how it should work.
2017-11-16 07:54:40 -05:00
Adam Wathan
afee4495d5 Add test to document that applying classes with pseudo-selectors is not supported 2017-11-16 07:52:30 -05:00