Adam Wathan
da4984e0e1
Support default key in color objects
2019-03-05 11:36:31 -05:00
Adam Wathan
1ffa750c76
Merge pull request #701 from tailwindcss/new-max-width-scale
...
Use progressive maxWidth scale
2019-03-05 09:44:12 -05:00
Adam Wathan
43ea7311d5
Merge pull request #697 from tailwindcss/rename-config-to-theme
...
Remove config() function in favor of theme()
2019-03-05 09:42:58 -05:00
Adam Wathan
817f68595d
Merge pull request #707 from tailwindcss/nested-color-object
...
Support object syntax for theme colors
2019-03-05 09:42:37 -05:00
Adam Wathan
c5a6021566
Merge pull request #708 from tailwindcss/read-config-automatically
...
Load tailwind.config.js automatically if present
2019-03-05 09:42:16 -05:00
Adam Wathan
44dcc78db3
Merge pull request #712 from tailwindcss/dependabot/npm_and_yarn/next/postcss-nested-4.1.2
...
Bump postcss-nested from 4.1.1 to 4.1.2
2019-03-05 09:28:06 -05:00
dependabot[bot]
5ec0453342
Bump postcss-nested from 4.1.1 to 4.1.2
...
Bumps [postcss-nested](https://github.com/postcss/postcss-nested ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/postcss/postcss-nested/releases )
- [Changelog](https://github.com/postcss/postcss-nested/blob/master/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss-nested/compare/4.1.1...4.1.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 13:35:56 +00:00
Adam Wathan
d59eccfda9
Merge pull request #711 from tailwindcss/dependabot/npm_and_yarn/next/autoprefixer-9.4.10
...
Bump autoprefixer from 9.4.7 to 9.4.10
2019-03-05 08:33:53 -05:00
Adam Wathan
e07df47bb7
Merge pull request #710 from tailwindcss/dependabot/npm_and_yarn/next/prettier-1.16.4
...
Bump prettier from 1.12.1 to 1.16.4
2019-03-05 08:33:33 -05:00
dependabot[bot]
5af7f8fe56
Bump autoprefixer from 9.4.7 to 9.4.10
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 9.4.7 to 9.4.10.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/9.4.7...9.4.10 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 13:25:32 +00:00
dependabot[bot]
cd767862d0
Bump prettier from 1.12.1 to 1.16.4
...
Bumps [prettier](https://github.com/prettier/prettier ) from 1.12.1 to 1.16.4.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.12.1...1.16.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 13:25:27 +00:00
Adam Wathan
0fc69edcd5
Remove package-lock.json
...
I develop Tailwind using Yarn, so this file is never up to date.
2019-03-05 08:23:45 -05:00
Adam Wathan
c2ad96e17c
Merge pull request #714 from tailwindcss/dependabot/npm_and_yarn/next/handlebars-4.1.0
...
[Security] Bump handlebars from 4.0.11 to 4.1.0
2019-03-05 08:21:28 -05:00
Adam Wathan
126803a6e9
Merge pull request #715 from tailwindcss/dependabot/npm_and_yarn/next/merge-1.2.1
...
[Security] Bump merge from 1.2.0 to 1.2.1
2019-03-05 08:20:46 -05:00
Adam Wathan
e6d08bf2b9
Merge pull request #716 from tailwindcss/dependabot/npm_and_yarn/next/node-emoji-1.10.0
...
Bump node-emoji from 1.8.1 to 1.10.0
2019-03-05 08:20:29 -05:00
dependabot[bot]
7d4d5e9b00
Bump node-emoji from 1.8.1 to 1.10.0
...
Bumps [node-emoji](https://github.com/omnidan/node-emoji ) from 1.8.1 to 1.10.0.
- [Release notes](https://github.com/omnidan/node-emoji/releases )
- [Commits](https://github.com/omnidan/node-emoji/compare/v1.8.1...v1.10.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 13:03:30 +00:00
dependabot[bot]
cf629b981e
[Security] Bump merge from 1.2.0 to 1.2.1
...
Bumps [merge](https://github.com/yeikos/js.merge ) from 1.2.0 to 1.2.1. **This update includes security fixes.**
- [Release notes](https://github.com/yeikos/js.merge/releases )
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 13:03:24 +00:00
dependabot[bot]
255539379a
[Security] Bump handlebars from 4.0.11 to 4.1.0
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.11 to 4.1.0. **This update includes security fixes.**
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 13:03:17 +00:00
Adam Wathan
c360c602f7
Clean up tmp directory contents automatically
2019-03-05 07:49:23 -05:00
Adam Wathan
6a592930a4
Simplify ternary to or statement
2019-03-05 07:41:26 -05:00
Adam Wathan
7ade6ea744
Load tailwind.config.js automatically if present
2019-03-04 16:27:38 -05:00
Adam Wathan
9b07984144
Support nested object for borderColor plugin
2019-03-04 13:10:34 -05:00
Adam Wathan
bfde7e4d6e
Support nested object for textColor plugin
2019-03-04 13:09:35 -05:00
Adam Wathan
c3c9cdf5d6
Support nested object for backgroundColor plugin
2019-03-04 13:05:18 -05:00
Adam Wathan
d1d9492c91
Remove 7xl and 8xl
...
Now that I plan to add max-w-screen-* variations, I don't think these huge options provide any real value.
2019-03-02 16:00:05 -05:00
Adam Wathan
2dcea512fc
Renumber scale to account for missing value
...
Somehow I skipped 6xl? I'm an idiot.
2019-03-02 15:58:31 -05:00
Adam Wathan
ce48a4c91d
Merge pull request #702 from tailwindcss/disable-text-style-variants
...
Disable unnecessary variants for text style plugins
2019-03-02 15:22:55 -05:00
Adam Wathan
961eea9fc1
Merge pull request #703 from tailwindcss/reset-headings
...
Reset heading styles in preflight
2019-03-02 15:08:05 -05:00
Adam Wathan
fb451e7aa6
Update font-size and font-weight to inherit
2019-03-02 13:05:39 -05:00
Adam Wathan
c3886066cc
Reset heading styles in preflight
...
Set all headings to inherit the parent font size and reset the font
weight to normal. This prevents you from accidentally using browser
default sizes in your designs and deviating from your design system.
2019-03-01 20:53:01 -05:00
Adam Wathan
2219dfd814
Remove fontSize comments
...
Not really as useful when we aren't publishing the config, plus we
don't list them in the docs either.
2019-03-01 19:57:21 -05:00
Adam Wathan
da69598818
Disable unnecessary variants for text style plugins
2019-03-01 15:50:30 -05:00
Adam Wathan
4ed557ea98
Use progressive maxWidth scale
2019-03-01 14:29:38 -05:00
Adam Wathan
2fd9dc543e
Merge pull request #700 from tailwindcss/make-flex-customizable
...
Make flex-* utilities customizable
2019-03-01 13:52:46 -05:00
Adam Wathan
4eba10a16d
Merge pull request #699 from tailwindcss/extend-spacing
...
Add 40/48/56/64 to shared spacing scale
2019-03-01 13:46:58 -05:00
Adam Wathan
7482ed55d1
Make flex-* utilities customizable
2019-03-01 13:46:53 -05:00
Adam Wathan
1ea1f4a450
Add 40/48/56/64 to shared spacing scale
2019-03-01 13:41:47 -05:00
Adam Wathan
e5bfe1e59f
Merge pull request #698 from tailwindcss/add-56-width
...
Add 56 value for width/height
2019-03-01 13:32:41 -05:00
Adam Wathan
1c5940ee88
Add 56 value for width/height
2019-03-01 13:27:56 -05:00
Adam Wathan
cd64304d7b
Merge branch 'master' into next
2019-03-01 09:07:15 -05:00
Adam Wathan
a7a95b15c8
Escape tracking class names
2019-03-01 09:06:58 -05:00
Adam Wathan
53ca284553
Remove config() function in favor of theme()
...
The only reason the config() helper function existed was to access your design tokens in your CSS, like:
```css
.foo {
color: config('colors.blue')
}
```
Now that design tokens are nested in the new `theme` section, using the `config()` function is a bit more verbose:
```css
.foo {
color: config('theme.colors.blue')
}
```
This PR removes the `config()` function in favor of a new `theme()` function that is already scoped to the `theme` section of the config:
```css
.foo {
color: theme('colors.blue')
}
```
I can't think of any reason at all why you would need to access the non-theme values in your config from your CSS (like enabled variants, or your list of plugins), and the word `theme` is much more expressive than `config`, so I think this is a worthwhile change.
2019-03-01 08:35:24 -05:00
Adam Wathan
49341ce5e4
Merge pull request #696 from tailwindcss/source-options-from-config
...
Update plugins to source their config themselves
2019-02-28 15:06:40 -05:00
Adam Wathan
e99753bc33
Update plugins to source their config themselves
...
Instead of plugins being configured directly, they grab their configuration from the Tailwind config passed to them. This makes core plugins consistent with how we will recommend third-party plugins be authored so that the configuration for everything in the system is readable through the theme.
2019-02-28 14:53:55 -05:00
Adam Wathan
51e60071cf
Fix test
2019-02-28 14:39:59 -05:00
Adam Wathan
928bc549dd
Source zIndex options from config
2019-02-28 14:22:52 -05:00
Adam Wathan
51b2d05506
Source width options from config
2019-02-28 12:39:17 -05:00
Adam Wathan
a9d9492ff9
Source whitespace options from config
2019-02-28 12:38:51 -05:00
Adam Wathan
340628f217
Source visibility options from config
2019-02-28 12:38:23 -05:00
Adam Wathan
bcdbcaaf4e
Source verticalAlign options from config
2019-02-28 12:38:06 -05:00