773 Commits

Author SHA1 Message Date
Adam Wathan
7d102598f9 Add line-heights to font-size utilities by default 2020-10-18 15:43:50 -04:00
Adam Wathan
b008d0c08a Remove 'conservative' purge mode 2020-10-18 15:43:50 -04:00
Adam Wathan
4959a99f77 Remove deprecated gap utilities 2020-10-18 15:43:50 -04:00
Adam Wathan
9d40ef519c Remove default values from config that have default values even when not present at all 2020-10-18 15:43:50 -04:00
Adam Wathan
cdb0f07f6e Merge branch 'master' of github.com:tailwindlabs/tailwindcss 2020-10-18 15:14:34 -04:00
Slava Nossar
d38c358945
Use translate3d() (#1380)
* use translate3d

* add translate3d to test fixtures

* create `transform-gpu` utility

* merge in test from master

* update tests

* add responsive variants to tests
2020-10-18 07:31:23 -04:00
Adam Wathan
21d4b8c787 Apply new prettier defaults 2020-10-17 20:34:11 -04:00
Twentylives
23100317f4
Using CSS Logical Properties in space and divide layout utilities (#1883)
* CSS Logical Properties in Space Between utilities

Switching to logical properties to fix compatibilty issues with non LTR layouts.

* CSS Logical Properties in Divide Width utilities
Switching to logical properties to fix compatibilty issues with non LTR layouts.
2020-10-17 19:34:19 -04:00
Adam Wathan
fca7af76d5 Remove word-wrap fallback for IE11 2020-10-16 15:42:24 -04:00
Adam Wathan
38b4eeb288 Prettier likes parens a lot now
git blame is now broken forever.
2020-10-16 15:39:44 -04:00
depfu[bot]
8e4e0a0eb8
Upgrade @fullhuman/postcss-purgecss: 2.3.0 → 3.0.0 (major) (#2589)
* Update @fullhuman/postcss-purgecss to version 3.0.0

* Replace whitelist with safelist

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-10-16 15:36:41 -04:00
Adam Wathan
9065404f4d Revert "Automatically add featureFlags.future flags to the configuration files whenever the init command is ran (#2379)"
This reverts commit f72158c87f2ac1b1357d856dd79567c4329b5525.
2020-10-16 14:53:21 -04:00
Adam Wathan
3fbabc9ff4 Add SFMono-Regular to default mono font stack 2020-10-16 14:17:58 -04:00
Robbert Klarenbeek
2c6f237685 Improve font stack with standard font families 2020-10-16 14:16:06 -04:00
Adam Wathan
e3ed12782f Update prettier 2020-10-16 13:30:06 -04:00
Adam Wathan
dbc7dc69d2 Rename default variant to DEFAULT 2020-10-16 12:53:41 -04:00
Adam Wathan
11690b4c9b Update all core plugins to use the same class name generation strategy 2020-10-16 12:53:41 -04:00
Adam Wathan
e897e40189 Replace special handling of 'default' with 'DEFAULT' 2020-10-16 12:53:41 -04:00
Adam Wathan
83d47c0c50
Remove scrolling-touch/auto utilities (#2573)
* Remove `scrolling-touch/auto` utilities

No longer supported by iOS as of iOS 13.

* Update changelog
2020-10-15 15:53:09 -04:00
Adam Wathan
ae8244d384 Switch from normalize.css to modern-normalize 2020-10-15 15:40:10 -04:00
Adam Wathan
1c8c078d2c Update test 2020-10-15 15:21:06 -04:00
Adam Wathan
6fa0677d2b Update test 2020-10-15 15:21:06 -04:00
Adam Wathan
ff866775a0 Remove fallback colors 2020-10-15 15:21:06 -04:00
Adam Wathan
712fe7aeb8 Remove target feature 2020-10-15 15:21:06 -04:00
Adam Wathan
ae8b634f33
Move truncate to textOverflow (#2562)
* Move truncate to textOverflow

* Update changelog
2020-10-14 16:54:13 -04:00
Adam Wathan
ba3d4aa6b2 * Add ellipsis and no-ellipsis utilities
Co-authored-by: Benoît Rouleau <benoit.rouleau@icloud.com>
2020-10-14 15:34:10 -04:00
Adam Wathan
ae1b3f5abb Update test fixtures 2020-10-14 15:30:08 -04:00
Adam Wathan
038afedfac
Merge plugins when resolving config (#2561) 2020-10-14 12:45:59 -04:00
Adam Wathan
ac82484dd9
Don't import corePlugins in resolveConfig (#2548) 2020-10-13 08:14:57 -04:00
Tim Whitbeck
d64b859715
use word-wrap instead of overflow-wrap when targeting ie11 (#2391) 2020-10-12 14:15:56 -04:00
Adam Wathan
003d94bea1
Support closures for colors in all circumstances (#2536) 2020-10-09 21:03:23 -04:00
Adam Wathan
326a4af8cc
Rename max-content and min-content to max and min in experimental spacing scale (#2532)
* Rename max-content and min-content to max and min in experimental spacing scale

* Update changelog
2020-10-09 13:29:43 -04:00
Adam Wathan
69845d6f4f
Add new utilities for grid-auto-columns and grid-auto-rows (#2531)
* Add grid-auto-columns/rows utilities

* Add responsive variants for auto-cols/rows utilities

* Update changelog
2020-10-09 13:11:57 -04:00
Adam Wathan
0feb064054
Support disabling dark mode globally (#2530)
* Support disabling dark mode globally

* Update changelog
2020-10-09 10:37:15 -04:00
Adam Wathan
b4259b1f4d
Add xl, 2xl, and 3xl border radius values (#2529) 2020-10-09 08:23:23 -04:00
Adam Wathan
8eb938bdd2
Add smaller rotate and skew values (#2528) 2020-10-09 08:13:48 -04:00
Adam Wathan
f3a1d5f93c
Improve accessibility story for custom focus styles (#2460)
* Improve accessibility story for custom focus styles

* Update fixtures

* Make outline configurable, add white/black dotted outlines

* Update changelog
2020-10-08 15:48:07 -04:00
Adam Wathan
b299b6fbe1
Support new presets key + extending core plugins config (#2474)
* WIP

* Support array for Tailwind config

* Drop array format for `presets` key instead

* Update changelog
2020-10-08 11:21:39 -04:00
swyx
50fc4417bb add col- and row- span-full utility (#2471)
* add col- and row- span-full utility

add `col-span-full` and `row-span-full` per @flybayer in https://github.com/tailwindlabs/tailwindcss/discussions/2467#discussioncomment-87761

* fixtures

Co-authored-by: swyx <wanshawn@amazon.com>
2020-10-07 14:12:42 -04:00
Adam Wathan
d01636caff Add experimental 2xl breakpoint (#2468) 2020-10-07 14:12:42 -04:00
Adam Wathan
4d6e1e7e92 Don't escape keyframes (#2432)
* Don't escape keyframes

* Update changelog
2020-10-07 14:12:41 -04:00
Dexter Marks-Barber
f72158c87f Automatically add featureFlags.future flags to the configuration files whenever the init command is ran (#2379)
* Add --future flag to CLI

* Remove early exit

* Always add future flags but commented out

- Update replace regex

- Remove future CLI flag

- Update tests
2020-10-07 14:12:41 -04:00
Adam Wathan
19333add01 Set color opacity variable when colors are defined as functions (#2515)
* Always set color opacity variable, even if color cannot be parsed

* Only set color opacity when it might be used
2020-10-07 14:08:39 -04:00
Adam Wathan
32eac19858
Allow variant plugins to tell Tailwind they should stack (#2382)
* Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant (#2380)

* Add failing tests for non-darkModeVariant "dark" variant stacking behavior

* Fix unwanted non-darkModeVariant "dark" variant stacking (by making the failing test pass)

* Add unstable_stack option for variants to tell Tailwind they should stack

* Update eslint to allow unstable_ variables

* Update changelog

Co-authored-by: Navith <28162694+JakeNavith@users.noreply.github.com>
2020-09-14 09:12:36 -04:00
Adam Wathan
416fb4d06b
Don't propogate apply !important option to non-apply rules (#2376)
* Don't propogate apply !important option to non-apply rules

Fixes #2362.

* Update changelog
2020-09-13 09:44:19 -04:00
Kenton Glass
da02dc8e63
Add negative spacing values to inset plugin (#2358) 2020-09-11 12:33:28 -04:00
Adam Wathan
a4b30a0115
Safeguard against trailing slash in purge matches (#2364) 2020-09-10 14:44:48 -04:00
Adam Wathan
b49d80e6c1
Fix issue where container padding not applied when using object syntax (#2353) 2020-09-09 09:59:16 -04:00
Robin Malfait
3a25c4bee9
Complex apply stuck (#2271)
* dry-up duplication

* fix: apply inside a nested structure
2020-09-06 20:36:09 -04:00
Adam Wathan
0cf76cdd8b
Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant (#2337)
* Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant

* Update changelog
2020-09-06 20:34:35 -04:00