No description
Find a file
Adam Wathan 60a06788fe
Add CSS filter support (#3923)
* Implement `filter` helper classes with all methods

* Rename filter plugins/utilities, drop filter opacity, add drop shadow

* Remove non-final default filter values

* Working on default filter values, add basic JIT support

* Working on blur values

* New blur values (these are ~okay)

* Match drop-shadow values to box-shadows by eye as best as possible

* Update tests

* Fix kitchen sink test

* Add filter variants configuration

* Move drop-shadow to end of filters list

Co-Authored-By: Peter Neupauer <peter@neupauer.sk>

* Add invert variants configuration

* Add backdrop-filter utilities

* Update tests

* Transition filters by default

* Alphabetize new config keys

* Optimize filter plugins for JIT + add arbitrary value support

Except for drop-shadow, will add that once we can think it through a bit.

Co-authored-by: Nick Schmidt <nick@kreativgebiet.com>
Co-authored-by: Peter Neupauer <peter@neupauer.sk>
2021-04-04 19:09:34 -04:00
.github use package-lock.json in CI 2021-04-02 15:13:21 -04:00
__tests__ Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
dist Add empty .npmignore so dist files are distributed with releases 2017-11-09 09:21:30 -05:00
jest Unify test suites 2021-04-02 14:34:50 -04:00
jit Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
perf Performance improvements + memory leak fix (#3032) 2020-12-11 15:03:49 +01:00
scripts make some changes to compat mode 2020-11-19 17:02:58 +01:00
src Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
stubs Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
.editorconfig Convert new stuff to use ES6 modules 2017-08-27 18:02:41 -04:00
.eslintignore Updated CLI init commend 2019-03-14 15:51:21 -05:00
.eslintrc.json Fix style 2021-04-02 14:34:50 -04:00
.gitignore swap yarn.lock for package-lock.json 2021-04-02 15:13:21 -04:00
base.css Remove preflight CSS export in favor of base 2019-02-11 12:38:46 -05:00
CHANGELOG.md Update changelog 2021-04-04 06:54:59 -04:00
colors.js Move black and white colors to colors.js 2020-11-13 19:25:17 -05:00
components.css Move CSS files to root for easier imports 2018-03-13 10:05:24 -04:00
defaultConfig.js Updated CLI init commend 2019-03-14 15:51:21 -05:00
defaultTheme.js Updated CLI init commend 2019-03-14 15:51:21 -05:00
LICENSE Avoid updating license every year 2017-12-29 22:32:43 +01:00
package-lock.json Update postcss-nested to version 5.0.5 2021-04-02 20:12:54 +00:00
package.json Update postcss-nested to version 5.0.5 2021-04-02 20:12:54 +00:00
package.postcss7.json Postcss7 compatibility (#2773) 2020-11-16 13:09:59 -05:00
plugin.js Add default interop to tailwindcss/plugin 2020-10-06 14:34:35 -04:00
README.md Fix Codecov badge (#2678) 2020-10-26 08:12:45 -04:00
resolveConfig.js Support new presets key + extending core plugins config (#2474) 2020-10-08 11:21:39 -04:00
screens.css Add screen.css file for postcss-import convenience 2019-05-12 10:36:59 -04:00
tailwind.css Undo accidental changes to CDN build process 2019-12-25 13:54:09 -05:00
utilities.css Move CSS files to root for easier imports 2018-03-13 10:05:24 -04:00

Tailwind CSS
A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License Code Coverage


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For casual chit-chat with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.