Adam Wathan
447bc873d8
Prettier-ignore long error strings
2017-11-16 08:16:59 -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
6807e45e1e
Expect onError function is always provided
...
This can't really be optional.
2017-11-16 07:51:56 -05:00
Adam Wathan
e65b2df5a8
Improve error messages
2017-11-13 11:28:31 -05:00
Adam Wathan
c4305d0c07
Don't allow @applying classes that ever appear inside of an at-rule
...
This is too complex to easily support; better to explicitly error for
now vs. the current behavior which is just silently doing something
other than you probably expect.
2017-11-10 12:18:20 -05:00
Jonathan Reinink
e9c7ce2c7d
Add success message after tailwind init command
2017-11-10 07:36:30 -05:00
Adam Wathan
3a976a60d7
Allow @tailwind screens directive inside an at-rule
2017-11-09 15:10:53 -05:00
Adam Wathan
efc04881a3
Merge branch 'fix-issue-18' of https://github.com/psren/tailwindcss into psren-fix-issue-18
2017-11-09 14:18:56 -05:00
Adam Wathan
8eda042543
Add cursor-default utility
2017-11-09 09:58:30 -05:00
Patrick Heller 💩
55f3f93f91
reduct code smells
2017-11-08 19:02:46 +01:00
Patrick Heller 💩
ed71ee438d
fix code style issues
2017-11-08 18:48:48 +01:00
Patrick Heller 💩
498c53c582
Merge remote-tracking branch 'remotes/upstream/master' into fix-issue-18
...
# Conflicts:
# __tests__/sanity.test.js
# src/lib/substituteResponsiveAtRules.js
2017-11-08 18:46:47 +01:00
Patrick Heller 💩
44c0035dfa
rename screen-utilities to screens
2017-11-08 18:30:59 +01:00
Adam Wathan
8ebc56741e
Fix path issues in CLI
2017-11-08 08:27:00 -05:00
Adam Wathan
8a86a3ef5e
Push config file dependency message instead of replacing messages array
2017-11-07 09:17:52 -05:00
Adam Wathan
bab36e0559
Fix ESLint issues
2017-11-06 15:08:21 -05:00
David Hemphill
06ed308c28
change print width to 100 characters
2017-11-06 15:02:02 -05:00
David Hemphill
79a2bb39e5
Reformat files
2017-11-06 15:02:02 -05:00
David Hemphill
9dbf5881cd
fix eslint issues
2017-11-06 15:00:55 -05:00
David Hemphill
ec607968cf
Add ESLinting and Prettier formatting and run an initial format on the codebase
2017-11-06 15:00:00 -05:00
Adam Wathan
78d66429bd
Move list utilities to very top, fix tests
2017-11-06 11:37:01 -05:00
Adam Wathan
aee9e3c4c4
Merge branch 'fix-list-reset-overwrite' of https://github.com/jake-dohm/tailwindcss into jake-dohm-fix-list-reset-overwrite
2017-11-06 11:33:30 -05:00
Adam Wathan
33e3be33d7
Merge pull request #82 from tailwindcss/add-all-margin-auto-utilities
...
Add all margin-auto utilities
2017-11-06 11:22:59 -05:00
Jonathan Reinink
0b0cb96fa9
Merge pull request #115 from tailwindcss/config-default
...
Support default values in config function
2017-11-06 10:36:32 -05:00
Adam Wathan
c7061e9228
Support default values in config function
...
Also add a bunch of tests, seems probably wise :)
2017-11-06 10:32:17 -05:00
Jake Dohm
8f8469fd62
Moved lists utility nearer to the top, so other utilities (padding, margin, etc.) would override;
2017-11-06 09:06:13 -05:00
Kalpa Perera
0c5ad514a9
Add file extension if not exists
2017-11-05 22:07:13 +05:30
Jonathan Reinink
c550cd1b7c
Add all margin-auto utilities
2017-11-04 06:53:43 -04:00
Adam Wathan
5c585f844e
Merge pull request #89 from psren/fix/empty-media-queries-are-rendered
...
remove empty media queries
2017-11-03 19:13:48 -04:00
Patrick Heller 💩
6cec22b523
make tests green
2017-11-04 00:07:02 +01:00
Patrick Heller 💩
8a42f279f6
code style and remove comment
2017-11-03 23:10:53 +01:00
Patrick Heller 💩
e5a9c8926f
remove empty media queries
2017-11-03 20:52:16 +01:00
Patrick Heller 💩
73f0ee9826
Fixes #18
2017-11-03 19:43:40 +01:00
Adam Wathan
b727450b83
Autoprefix dist files for browsers with >1% usage
2017-11-03 11:34:02 -04:00
Adam Wathan
b2b95d5738
Register config file with Webpack for watching
...
This change tells Webpack (for those using it) that the config file
used should be tracked as a dependency and that the CSS should be
re-compiled if that config file changes.
It's careful to make sure the config file is loaded fresh every single
time to avoid weird caching issues.
2017-11-03 09:54:15 -04:00
Adam Wathan
82f41ffe1d
Add separate preflight and utilities dist files
...
Just so folks can pull these in independently via CDN.
2017-11-02 13:26:27 -04:00
Adam Wathan
f6b81ae35d
Dynamically determine CLI tool version number
2017-11-02 11:35:48 -04:00
Adam Wathan
072c7136bd
Merge pull request #41 from tailwindcss/hide-catchall-command-from-help
...
Hide catchall command from help
2017-11-02 09:41:12 -04:00
Jonathan Reinink
7dbe40018f
Add new "scrolling-touch" and "scrolling-auto" utilities
2017-11-01 20:44:01 -04:00
David Hemphill
66a2c1b9cb
Hide catchall command from help
2017-11-01 17:26:59 -05:00
Adam Wathan
2d7b620f1e
Fix issue with config option not being respected in tailwind build
...
Same issue as we were seeing with output files, I'm a dummy for missing
this and tagging.
2017-11-01 16:45:24 -04:00
Adam Wathan
24766911c1
Fix tailwind build CLI command
...
Moving to subcommands broke this without us noticing. It's probably a
good idea to add a big dirty integration test for this that just
executes the CLI command and makes sure the file was created.
2017-11-01 09:23:53 -04:00
Adam Wathan
65b9026fd5
Drop mask alias
2017-10-31 21:54:05 -04:00
Adam Wathan
3ffe2a5077
Document appearance-none
...
Also create appearance-none lol
2017-10-31 21:48:57 -04:00
Jonathan Reinink
8cd13a857e
Add hover to text style utilities
2017-10-31 20:42:05 -04:00
Jonathan Reinink
2b1a6959d3
Rename "reset" to "preflight"
2017-10-31 17:05:10 -04:00
Jonathan Reinink
bb62a6dea5
Add trailing comma
2017-10-31 16:09:36 -04:00
Adam Wathan
b705b53f92
Don't define rounded side variants for each size
...
Instead, set the opposing corners to 0.
2017-10-30 17:35:27 -04:00
Jonathan Reinink
05a172f80d
Inline normalize.css
2017-10-30 14:06:27 -04:00
Jonathan Reinink
96e9e67592
Rename tailwind() method to config()
...
Add basic tests for config(), @response and @apply.
2017-10-30 13:50:37 -04:00