Stidges
4cbe959000
Fix container plugin screen order and duplication
2019-05-12 18:50:03 -04:00
Adam Wathan
0fac54f8f1
Remove select-contain due to limited browser support
2019-05-11 07:06:32 -04:00
Adam Wathan
c5f00a316b
Merge pull request #885 from tailwindcss/more-user-select-utilities
...
Add remaining user select utilities
2019-04-29 08:37:43 -04:00
Adam Wathan
82456a6731
Add remaining user select utilities
2019-04-29 08:28:55 -04:00
Benoît Rouleau
ce1812a244
Add bg-repeat-round and bg-repeat-space utilities
2019-04-28 17:13:12 -04:00
Adam Wathan
a92faeefac
Fix conflicts, update tests
2019-04-27 11:37:20 -04:00
Adam Wathan
2104a4e006
Add support for negative prefixes in zIndex plugin
2019-04-26 08:57:55 -04:00
Adam Wathan
0735e3d27e
Remove 'className' from plugin API
...
Certain plugins behave differently and the rules about `default` meaning "no suffix" are not universal (see the cursor plugin). The simplest thing to do right now is keep things as they are, which means only certain plugins respect the default option and only certain other plugins respect the negative prefix convention.
2019-04-26 08:19:23 -04:00
Adam Wathan
c6ae957aff
Support negative values for inset
2019-04-24 16:37:13 -04:00
Adam Wathan
a7ec9c2396
Remove negativeMargin plugin, handle negative values in regular margin plugin
2019-04-23 20:04:35 -04:00
Michaël De Boey
d4b2b8b755
Make theme config directly accessible in the plugins
2019-04-18 23:29:07 +02:00
Adam Wathan
f0bc35a896
Support configuring a single list of variants to apply to all relevant plugins
2019-04-18 09:42:21 -04:00
David Hemphill
12afd6e8a1
fix stroke utility generation
2019-04-02 15:55:19 -05:00
David Hemphill
6190fe52d4
Fix fill color utility generation
2019-04-02 15:23:40 -05:00
Adam Wathan
6d1533e9a8
Revert #745 , always default to bolder for strong tags
2019-03-18 13:10:54 -04:00
Adam Wathan
0bbf942897
Make replaced elements block by default, preserve aspect ratio
2019-03-15 10:25:48 -04:00
Adam Wathan
4f20e968c1
Split wordBreak plugin from whitespace plugin
2019-03-15 07:54:28 -04:00
Adam Wathan
f3db5f1a47
Merge pull request #765 from tailwindcss/make-container-core
...
Make container plugin a core plugin, configured in theme
2019-03-14 15:16:39 -04:00
Adam Wathan
fefc53b88b
Reintroduce ability for screens to be passed explicitly
2019-03-14 14:54:20 -04:00
Adam Wathan
c6449f8fa8
Make container plugin a core plugin, configured in theme
2019-03-14 14:36:28 -04:00
Adam Wathan
33bfb8793f
Make inset utilities customizable
2019-03-14 12:35:37 -04:00
Adam Wathan
1940e31b12
Rename pin utilities to top/right/bottom/left/inset
2019-03-14 12:23:51 -04:00
Adam Wathan
eba4600c01
Split pin utilities into inset plugin
2019-03-14 12:19:14 -04:00
Adam Wathan
9d9ceca5e4
Combine wrap-normal and break-normal, rename wrap-break to break-words
...
This preserves backwards compatibility with Tailwind 0.x and provides some useful normalization on top of these two funky ass properties.
2019-03-14 08:41:12 -04:00
Adam Wathan
310b848bbf
Merge pull request #761 from tailwindcss/list-utilities
...
Rework list utilities
2019-03-13 20:05:09 -04:00
Adam Wathan
4be5af28ff
Unstyle lists by default
2019-03-13 19:45:23 -04:00
Adam Wathan
e13413153f
Add list-inside and list-outside utilities
2019-03-13 19:45:23 -04:00
Adam Wathan
7b8ebc525e
Make listStyleType customizable
2019-03-13 19:44:35 -04:00
Adam Wathan
137159aaa9
Rename list-reset to list-none, remove padding declaration
2019-03-13 19:44:35 -04:00
Adam Wathan
f4e9100799
Make link styling opt-in instead of opt-out
2019-03-13 13:26:19 -04:00
Adam Wathan
87cf9df68e
Use configured monospace font for monospace elements
2019-03-12 21:28:27 -04:00
Adam Wathan
35a4100f15
Default to Tailwind's 'normal' line-height
2019-03-12 20:35:27 -04:00
Adam Wathan
209b71a83d
Use system font stack by default instead of sans-serif
2019-03-12 20:22:12 -04:00
Adam Wathan
0d25dd274d
Use configured bold for strong tags
2019-03-12 17:19:34 -04:00
Adam Wathan
3d12231bdb
Remove background color transparent
2019-03-12 17:05:20 -04:00
Adam Wathan
b4db53676e
Don't reset form elements quite as aggressively
2019-03-12 16:59:25 -04:00
Adam Wathan
58f581ef32
Reset form elements even more aggressively
2019-03-12 11:18:42 -04:00
Adam Wathan
c246f19773
Make form elements inherit more font properties
2019-03-12 10:59:16 -04: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
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
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
7482ed55d1
Make flex-* utilities customizable
2019-03-01 13:46:53 -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
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