tailwindcss/__tests__
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
..
fixtures Add negative spacing values to inset plugin (#2358) 2020-09-11 12:33:28 -04:00
plugins Pass opacityValue to gradient colors for transparency support, do not pass opacityVariable since unused 2020-08-19 11:38:22 -04:00
util Support plugin-specific target mode 2020-04-29 16:25:20 -04:00
applyAtRule.test.js Optimize rebuilds in long-running processes 2020-08-19 10:21:26 -04:00
applyComplexClasses.test.js Don't propogate apply !important option to non-apply rules (#2376) 2020-09-13 09:44:19 -04:00
cli.compile.test.js Refactored the CLI build process to use configuration object instead of many arguments. 2019-02-04 21:42:27 -06:00
cli.test.js add tailwind -p init option to generate a postcss file 2020-08-22 01:43:47 +02:00
cli.utils.test.js Few CLI tweaks 2019-03-20 08:17:56 -05:00
configurePlugins.test.js Make it possible to whitelist core plugins by passing an array 2019-04-18 10:31:14 -04:00
containerPlugin.test.js Fix issue where container padding not applied when using object syntax (#2353) 2020-09-09 09:59:16 -04:00
customConfig.test.js Support passing config object under config key 2019-08-02 08:31:46 -04:00
darkMode.test.js Allow variant plugins to tell Tailwind they should stack (#2382) 2020-09-14 09:12:36 -04:00
defaultConfig.test.js Updated CLI init commend 2019-03-14 15:51:21 -05:00
defaultTheme.test.js Updated CLI init commend 2019-03-14 15:51:21 -05:00
escapeClassName.test.js Switch to more robust existing CSS escaping library 2018-06-04 09:14:38 -04:00
flattenColorPalette.test.js Add opacity modifiers for color utilities 2020-04-26 09:49:23 -04:00
layerAtRule.test.js Move custom CSS within layers to corresponding Tailwind layer (#2312) 2020-09-04 14:21:56 -04:00
negateValue.test.js Ignore values not parseable by reduce-css-calc 2019-08-09 16:10:41 -04:00
parseObjectStyles.test.js Add test, fix style 2019-05-27 08:05:51 +02:00
prefixNegativeModifiers.test.js Handle default keyword for negative prefix syntax. Write tests for negative prefix syntax 2019-06-28 10:11:47 -06:00
prefixSelector.test.js Remove prefixTree, update relevant tests 2019-01-14 15:43:12 -05:00
processPlugins.test.js Test that plugins can extend variants 2020-09-06 11:50:20 -04:00
purgeUnusedStyles.test.js Safeguard against trailing slash in purge matches (#2364) 2020-09-10 14:44:48 -04:00
resolveConfig.test.js Support defining variants as functions for easier extending (#2309) 2020-09-04 10:59:02 -04:00
responsiveAtRule.test.js Don't associate custom CSS with a layer by default 2020-09-02 13:57:44 -04:00
sanity.test.js Update sanity test to properly enable all flagged features 2020-08-06 16:44:02 -04:00
screenAtRule.test.js Fix @screen not working, add simple test 2019-03-16 14:19:22 -04:00
targetMode.test.js Update tests to account for new layer at-rule 2020-07-15 10:44:17 -04:00
themeFunction.test.js Fix bug where theme('fontSize.xl') breaks with default line-height 2020-08-07 14:32:47 -04:00
variantsAtRule.test.js Fix issue where motion variants incorrectly stack with group-hover variants 2020-08-18 09:03:32 -04:00
withAlphaVariable.test.js refactor!: use object instead of positional arg 2020-06-28 20:46:23 +02:00