Adam Wathan
fc0e99e598
Fix style errors
2017-11-17 10:50:14 -05:00
Adam Wathan
8f3e80e961
Throw error when trying to access defaultConfig the deprecated way to be nice guys
2017-11-17 10:37:57 -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
4390f30283
Fix style
2017-11-16 13:27:29 -05:00
Adam Wathan
9c6e829438
Define spacing utilities from most general to most specific
2017-11-16 13:14:39 -05:00
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
6f6f1cc318
Fix conflicts
2017-11-15 09:36:21 -05:00
Adam Wathan
a94dcc5f78
Rename radius back to rounded 😂
2017-11-15 09:30:30 -05:00
Jonathan Reinink
1faabc82b1
Switch to separate config import
...
Import default config from separate path (require('tailwindcss/defaultConfig')) to allow importing the default config without importing all of Tailwind, which causes errors with Webpack due to a dynamic require.
2017-11-14 08:03:31 -05:00
Jonathan Reinink
d3817c7071
Tweak order of border radius corner utilities
2017-11-13 16:52:58 -05:00
Adam Wathan
5ef221cb64
Reintroduce radius-{side} utilities
2017-11-13 14:56:11 -05:00
Adam Wathan
924986f7ec
Switch rounded to radius, target corners instead of sides
2017-11-13 12:13:00 -05:00
Adam Wathan
e65b2df5a8
Improve error messages
2017-11-13 11:28:31 -05:00
Adam Wathan
d1deaba4c5
Combine sides and sizes for rounded utilities, like we do with border width
2017-11-11 13:27:15 -05:00
Adam Wathan
f67665ff98
Merge master, fix conflicts
2017-11-11 10:42:51 -05:00
Adam Wathan
891271ff9d
Add "prefix" and "important" options to config
2017-11-11 08:12:27 -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
Adam Wathan
fd95c5d90f
Fix conflicts
2017-11-10 09:41:52 -05:00
Jonathan Reinink
e9c7ce2c7d
Add success message after tailwind init command
2017-11-10 07:36:30 -05:00
Danilo Alonso
bc31d9765f
add border solid
2017-11-09 18:04:23 -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
afc41252cf
Merge branch 'master' into develop
2017-11-07 09:35:28 -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
6eccfc15d4
Merge pull request #116 from tailwindcss/border-defaults
...
[0.2] Support cascading border colors and styles
2017-11-06 15:38:31 -05:00
Jonathan Reinink
8dfe5189fa
Simplify margin auto utilities
2017-11-06 15:32:51 -05:00
Adam Wathan
475ad19029
Support cascading border colors and styles
2017-11-06 15:29:40 -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