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
cbe89ea6ee
Merge pull request #254 from tailwindcss/remove-list-margin
...
[0.3] Remove margins on lists by default
2017-11-28 09:29:49 -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
209acd83d7
Merge pull request #250 from benface/patch-2
...
Remove default list margin
2017-11-28 08:02:03 -05:00
Adam Wathan
255c7b47e7
Move responsibility for appending nodes into variant generators themselves
2017-11-27 19:35:53 -05:00
Adam Wathan
831a3318de
Pass all config options to each variants generator, not just separator
2017-11-27 19:32:11 -05:00
Adam Wathan
021ce94b7d
Unwrap config in inner function
...
Unwrapping in the outer function causes it to get cached during watching.
2017-11-27 19:28:35 -05:00
Benoît Rouleau
e871ce3367
Set list default margin to 0
2017-11-27 15:56:00 -05:00
Adam Wathan
0751431658
Remove useless variable
2017-11-26 14:56:39 -05:00
Adam Wathan
df8d80fbbf
Defer unwrapping config until actually evaluating the config() function
2017-11-26 14:53:30 -05:00
Adam Wathan
74fc46adb7
Update Twitter image
2017-11-25 12:53:04 -05:00
Adam Wathan
d0293723ea
Add scroll icon to bottom of scrollable class tables
2017-11-24 19:46:55 -05:00
Adam Wathan
66cf9053ab
Add option to class table partial to disallow scrolling
...
Lets us easily say "show all" for pages that currently have nothing but
a class table
2017-11-24 19:14:03 -05:00
Adam Wathan
ed2c83898c
"Medium border radius" to "default border radius"
2017-11-24 19:10:03 -05:00
Adam Wathan
ad4622f16a
Remove code tags from inside sizing table descriptions
...
Causes a 1px increase in height which is just enough to make the table
not look obviously scrollable at the fixed height we are currently
using.
2017-11-24 19:07:36 -05:00
Adam Wathan
260ce829af
Merge pull request #242 from tailwindcss/remove-hoverable-focusable
...
[0.3] Remove hoverable and focusable at-rules in favor of variants at-rule
2017-11-24 16:50:30 -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
76a80039a2
Merge branch 'master' into 0.3
2017-11-24 15:05:53 -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
e4b32c4046
Remove smoke/slate references in button examples
2017-11-24 14:24:42 -05:00
Adam Wathan
e20f340ba5
Remove redundant default fallbacks
2017-11-24 14:15:11 -05:00
Adam Wathan
fd41fd1cae
Add messaging to indicate options are considered advanced configuration
2017-11-24 14:14:20 -05:00
Adam Wathan
476b60c70b
Rename test to be more clear
2017-11-24 14:14:04 -05:00
Adam Wathan
b696cbcbf0
Merge pull request #240 from tailwindcss/move-modules-key
...
[0.3] Move `modules` key out of `options` and up to top level
2017-11-24 12:45:00 -05:00
Adam Wathan
8e40be4487
Add more useful inline documentation to modules section of config
2017-11-24 12:42:11 -05:00
Adam Wathan
5a37981b39
Add link to imaginary docs section
2017-11-24 12:40:26 -05:00
Adam Wathan
6b307cd8af
Fix style
2017-11-24 12:39:27 -05:00
Adam Wathan
d28aa3c73a
Don't try to run JS files in fixtures folder as tests
2017-11-24 12:38:53 -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
944dd00160
Move modules key out of options and up to top level
2017-11-24 12:08:43 -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
45eff6578b
Merge pull request #233 from tailwindcss/modularize
...
Allow enabling/disabling modules and specifying variants from config file
2017-11-24 09:25:27 -05:00
Adam Wathan
5f86699bd1
Add community links to readme
2017-11-24 09:17:41 -05:00
Adam Wathan
e603a22f5e
Invert conditional to guard clause
2017-11-23 15:36:20 -05:00
Adam Wathan
8171ca79ff
Rename substitutePreflight to substituteTailwindPreflight
2017-11-23 15:04:21 -05:00
Adam Wathan
1a5c09c14d
Fix style
2017-11-23 15:03:34 -05:00
Adam Wathan
62a9894a53
Rename generateUtilities to substituteTailwindUtilitiesAtRules
2017-11-23 15:02:55 -05:00
Adam Wathan
b586c6d8ed
Refactor generateUtilities to use generateModules
2017-11-23 15:01:22 -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
0a6c4cc5c6
Use @variants to generate variants specified in config
...
...instead of using variant generators directly.
2017-11-23 12:01:04 -05:00
Adam Wathan
5870489f38
Don't include module if explicitly disabled in config
2017-11-23 11:16:44 -05:00
Adam Wathan
9202ecf104
Merge user config with default config
...
Not recursively so values won't get combined, but missing keys will get
their default values which makes upgrading a non-breaking change if we
add new options.
2017-11-23 11:16:44 -05:00
Adam Wathan
89300a60db
Remove some duplication in favor of voodoo array wizardry
2017-11-23 11:16:44 -05:00