Commit graph

6496 commits

Author SHA1 Message Date
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
afee4495d5 Add test to document that applying classes with pseudo-selectors is not supported 2017-11-16 07:52:30 -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
25ef0198a0 Add WIP Vue component 2017-11-15 17:32:39 -05:00
Adam Wathan
35c7671578 Add class-table partial to make class tables more maintainable 2017-11-15 17:08:44 -05:00
Adam Wathan
caa00bbd38 Add options key to default config and document 2017-11-15 11:14:24 -05:00
Adam Wathan
3dd9a6c36a
Merge pull request #205 from tailwindcss/border-reset-tweaks
Don't reset borders for specific elements, fix Chrome 62 border radius debacle
2017-11-15 10:27:43 -05:00
Adam Wathan
c6ccadea3a Only reset border radius on elements Chrome borked it on 2017-11-15 10:22:42 -05:00
Adam Wathan
918673e672 Don't reset borders in SUIT fork; reset all radiuses to 0
Latest Chrome adds default border radius to buttons, WOW.
2017-11-15 10:13:31 -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
2f1d89dcd9
Merge pull request #203 from christophrumpel/feature/addFbMetagTagsToHomepage
Add Facebook Metag Tags to homepage as well
2017-11-15 06:10:19 -05:00
Christoph Rumpel
ce5f313704 Add Facebook Metag Tags to homepage as well 2017-11-15 06:41:29 +01:00
Adam Wathan
828f7d40e3 Fix typo in responsive flex grow example 2017-11-14 19:49:23 -05:00
Jonathan Reinink
d2528aa830
Merge pull request #202 from christophrumpel/feature/addFacebookMetaTags
Feature/add facebook meta tags
2017-11-14 17:01:24 -05:00
Christoph Rumpel
603d12ba9b Add dynamic title and description 2017-11-14 22:40:40 +01:00
Christoph Rumpel
a0acef4cc2 Fix styles 2017-11-14 22:23:08 +01:00
Christoph Rumpel
d9cafbb9ce Add fb meta tags 2017-11-14 22:17:04 +01:00
Adam Wathan
dbbe66cd40
Merge pull request #200 from tailwindcss/separate-config-import
[0.2] Import defaultConfig from separate file instead of as a function on main export
2017-11-14 12:55:03 -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
ca70fe128e Fix mistake in border radius docs 2017-11-13 17:02:31 -05:00
Jonathan Reinink
d3817c7071 Tweak order of border radius corner utilities 2017-11-13 16:52:58 -05:00
Jonathan Reinink
d4f7b3b513 Update docs for new radius utilities 2017-11-13 16:47:27 -05:00
Jonathan Reinink
ec5bb5ed24 Update the inline border radius documentation 2017-11-13 16:40:48 -05:00
Jonathan Reinink
5ea66c7e0b Add margin auto to docs config (via default) 2017-11-13 16:03:46 -05:00
Adam Wathan
cd087c6069
Merge pull request #196 from tailwindcss/rounded-to-radius
[0.2] Rework `rounded` utilities to `radius`, add ability to target corners
2017-11-13 15:02:36 -05:00
Adam Wathan
5ef221cb64 Reintroduce radius-{side} utilities 2017-11-13 14:56:11 -05:00
Adam Wathan
ad44fae29f Tweak language around postcss-import 2017-11-13 13:39:24 -05:00
Adam Wathan
4cf2cfa649 Mention postcss-import caveats in installation docs 2017-11-13 13:30:53 -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
d6d594d4f2
Merge pull request #194 from danielstgt/patch-3
Make stylesheets load in parallel
2017-11-12 19:09:42 -05:00
Daniel Hartmann
18e1dfce22
Make stylesheets load in parallel 2017-11-12 23:25:48 +01: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
5e6bfb2f9e Merge branch 'master' into develop 2017-11-11 12:07:38 -05:00
Adam Wathan
42759c80cd
Merge pull request #187 from tailwindcss/better-horizontal-card-implementation
Improve the horizontal card example implementation so it's not as trash
2017-11-11 11:51:29 -05:00
Adam Wathan
c741c358cb Improve the horizontal card example implementation so it's not as trash 2017-11-11 11:40:04 -05:00
Adam Wathan
f67665ff98 Merge master, fix conflicts 2017-11-11 10:42:51 -05:00
Adam Wathan
b14d2796e2
Merge pull request #186 from tailwindcss/options-master
Add "prefix" and "important" options to config
2017-11-11 10:40:12 -05:00
Adam Wathan
b806cd1461 Only load docsearch on docs pages 2017-11-11 08:39:11 -05:00
Adam Wathan
891271ff9d Add "prefix" and "important" options to config 2017-11-11 08:12:27 -05:00
Adam Wathan
cd928e0a7b Use production NODE_ENV for production build 2017-11-11 07:35: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
93a0b7d5bd Tweak @tailwind screens documentation 2017-11-10 09:47:09 -05:00
Adam Wathan
fd95c5d90f Fix conflicts 2017-11-10 09:41:52 -05:00
Adam Wathan
dc5d85f958
Merge pull request #180 from tailwindcss/github-twitter-sidebar
Add GitHub and Twitter links to sidebar
2017-11-10 09:38:15 -05:00
Adam Wathan
504791a49c Move links to bottom of sidebar
And sneak in a placeholder styling tweak 👀
2017-11-10 09:19:38 -05:00
Adam Wathan
56bdc34d8b Add GitHub and Twitter links to sidebar 2017-11-10 08:34:47 -05:00
Adam Wathan
2355311397
Rename COMMUNITY_GUIDELINES to CODE_OF_CONDUCT
To satisfy GitHub's silly checklist.
2017-11-10 08:16:19 -05:00