1280 Commits

Author SHA1 Message Date
Robin Malfait
09d9262666
add the ability to deep merge extended configs (#2679) 2020-10-26 11:15:50 -04:00
Robin Malfait
9e3700c08a
add function presets (#2680) 2020-10-26 09:43:31 -04:00
Enzo Innocenzi
58a600816c
feat: allow for deeply nested color objects (#2148) 2020-10-25 14:27:57 -04:00
Adam Wathan
fe0e8e92de
Rename whitespace-no-wrap to whitespace-nowrap (#2664)
* Rename whitespace-no-wrap to whitespace-nowrap

* Update changelog

* Update purge fixture
2020-10-23 15:12:42 -04:00
Adam Wathan
b27608557a
Include default config by default in presets (#2660) 2020-10-23 13:23:21 -04:00
Adam Wathan
11af870f30
Support extend in variants config (#2651)
* WIP

* It's alive

* Pull default variant order from config
2020-10-23 08:58:28 -04:00
Robin Malfait
68dbc5f981
only prefix animation names that are defined (#2641) 2020-10-21 17:07:13 -04:00
Adam Wathan
02cba631bc
Use left/right instead of inline-start/end for space/divide utilities (#2644) 2020-10-21 17:05:20 -04:00
Adam Wathan
6ad5a199af
Set font on body and on html (#2643)
modern-normalize sets it on `body` so we need to defeat that.
2020-10-21 16:21:28 -04:00
Adam Wathan
6e20880987 Use [hidden] instead of template in space/divide utilities 2020-10-21 16:01:49 -04:00
Robin Malfait
e1ef99814e
feat: prefix animation names (#2621)
* add animation value parser

* prefix animation names
2020-10-21 08:04:35 -04:00
impulse
539738d418
fix: show correct key name when enabling darkMode (#2635) 2020-10-21 07:12:31 -04:00
Adam Wathan
aea20276d5
Update default border color and placeholder color in preflight (#2633) 2020-10-20 22:44:03 -04:00
Adam Wathan
b92f033f8b
Disable dark mode by default, rename config option to darkMode (#2631)
* Disable dark mode by default, rename config option to `darkMode`

* Rebuild fixtures
2020-10-20 21:36:05 -04:00
Adam Wathan
c7c5262609
Downgrade PostCSS (#2629)
Switch back to v7 until closer to release, other tools are lagging behind and it is hurting compatibility.
2020-10-20 20:47:16 -04:00
Adam Wathan
fd8bacd7ae
Add new color palette (#2623)
* Add new color palette

* Replace local require when scaffolding config

* Remove unused import
2020-10-19 20:18:53 -04:00
Adam Wathan
b6598e9898 Remove additionalBreakpoint from flags 2020-10-19 16:47:10 -04:00
Adam Wathan
e13f083c4b Join arrays when using theme consistently 2020-10-19 11:32:22 -04:00
Adam Wathan
6fa213d5d8 Don't calculate didYouMean suggestions prematurely 2020-10-19 09:40:28 -04:00
Matt Rothenberg
7572b0256c
feat: Show "Did you mean?" message when users @apply errant class (#2590)
* feat: suggest alternate classes if @apply value not found

* fix: remove only from test

* feat: move logic to applyComplexClasses

* fix: remove whitespace

* remove unused files

* did you mean suggestion
2020-10-19 09:35:22 -04:00
Brad Cornes
5bf4699a35
Add theme helper function errors (#2615)
* feat: throw when theme does not have requested path (#1799)

* Add suggestions to theme function errors

Co-authored-by: Jason Quense <monastic.panic@gmail.com>
2020-10-19 08:12:14 -04:00
Twentylives
a2337e6cc8
Simplifying animation utilities generation (#2606) 2020-10-18 15:44:10 -04:00
Adam Wathan
3259608813 Add 2xl breakpoint by default 2020-10-18 15:43:50 -04:00
Adam Wathan
322d366440 Extend font size scale 2020-10-18 15:43:50 -04:00
Adam Wathan
dc9d510c8a Extend spacing scale
By probably too much.
2020-10-18 15:43:50 -04:00
Adam Wathan
9a8c170223 Remove uniformColorPalette experiment 2020-10-18 15:43:50 -04:00
Adam Wathan
0e4870c8d7 Remove unused import 2020-10-18 15:43:50 -04:00
Adam Wathan
7376d7c8b1 Enable dark mode 2020-10-18 15:43:50 -04:00
Adam Wathan
c1a7e94e65 Rename export 2020-10-18 15:43:50 -04:00
Adam Wathan
a5ba851c88 Replace old apply implementation files 2020-10-18 15:43:50 -04:00
Adam Wathan
782a828c81 Switch to new apply implementation 2020-10-18 15:43:50 -04:00
Adam Wathan
998f3ffc03 Move truncate to textOverflow plugin 2020-10-18 15:43:50 -04:00
Adam Wathan
dc7c477326 Remove unused import 2020-10-18 15:43:50 -04:00
Adam Wathan
1371e7951e Use standard font weight names by default 2020-10-18 15:43:50 -04:00
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
ef3d655e7b Ensure changes to withOptions plugins trigger rebuilds 2020-10-17 12:52:13 -04:00
depfu[bot]
a1b9548563
Upgrade postcss: 7.0.32 → 8.1.1 (major) (#2593)
* Update postcss to version 8.1.1

* Update main plugin format for PostCSS 8

* Move postcss to peerDependencies

* Remove postcss from dependencies

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-10-16 16:57:21 -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
Adam Wathan
6927155956 Don't warn about future flags 2020-10-16 14:53:27 -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
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