Repository: tailwindlabs/tailwindcss
Pull request #6005 (2021-11-07 22:05:58)

Ignore `.DS_Store`


Patch:
diff --git a/.gitignore b/.gitignore
index 059188cc..03592caf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
 /peers
 /example
 .vscode
+.DS_Store
 tailwind.config.js
 index.html
 yarn.lock
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 75b9905b..1718f4a0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+### Fixed
+
+- Enforce the order of some variants (like `before` and `after`) ([#6018](https://github.com/tailwindlabs/tailwindcss/pull/6018))
+
+### Added
+
+- Add `placeholder` variant ([#6106](https://github.com/tailwindlabs/tailwindcss/pull/6106))
+- Add tuple syntax for configuring screens while guaranteeing order ([#5956](https://github.com/tailwindlabs/tailwindcss/pull/5956))
+- Add combinable `touch-action` support ([#6115](https://github.com/tailwindlabs/tailwindcss/pull/6115))
+- Add support for "arbitrary properties" ([#6161](https://github.com/tailwindlabs/tailwindcss/pull/6161))
+- Add `portrait` and `landscape` variants ([#6046](https://github.com/tailwindlabs/tailwindcss/pull/6046))
+- Add `aspect-attrs` utility by default ([#6178](https://github.com/tailwindlabs/tailwindcss/pull/6178))
+
+## [3.0.0-alpha.2] - 2021-11-08
+
 ### Changed
 
 - Don't use pointer cursor on disabled buttons by default ([#5772](https://github.com/tailwindlabs/tailwindcss/pull/5772))
@@ -1653,7 +1668,8 @@ No release notes
 
 - Everything!
 
-[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0-alpha.1...HEAD
+[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0-alpha.2...HEAD
+[3.0.0-alpha.2]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0-alpha.1...v3.0.0-alpha.2
 [3.0.0-alpha.1]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.19...v3.0.0-alpha.1
 [2.2.19]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.18...v2.2.19
 [2.2.18]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.17...v2.2.18
diff --git a/package-lock.json b/package-lock.json
index 72c27b10..ea8abf0b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "tailwindcss",
-  "version": "3.0.0-alpha.1",
+  "version": "3.0.0-alpha.2",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "tailwindcss",
-      "version": "3.0.0-alpha.1",
+      "version": "3.0.0-alpha.2",
       "license": "MIT",
       "dependencies": {
         "arg": "^5.0.1",
@@ -42,9 +42,9 @@
         "@swc/register": "^0.1.7",
         "autoprefixer": "^10.4.0",
         "cross-env": "^7.0.3",
-        "cssnano": "^5.0.8",
+        "cssnano": "^5.0.10",
         "esbuild": "^0.13.12",
-        "eslint": "^8.0.1",
+        "eslint": "^8.2.0",
         "eslint-config-prettier": "^8.3.0",
         "eslint-plugin-prettier": "^4.0.0",
         "jest": "^27.3.1",
@@ -639,9 +639,9 @@
       "dev": true
     },
     "node_modules/@eslint/eslintrc": {
-      "version": "1.0.3",
-      "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.3.tgz",
-      "integrity": "sha512-DHI1wDPoKCBPoLZA3qDR91+3te/wDSc1YhKg3jR8NxKKRJq2hwHwcWv31cSwSYvIBrmbENoYMWcenW8uproQqg==",
+      "version": "1.0.4",
+      "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.4.tgz",
+      "integrity": "sha512-h8Vx6MdxwWI2WM8/zREHMoqdgLNXEL4QX3MWSVMdyNJGvXVOs+6lp+m2hc3FnuMHDc4poxFNI20vCk0OmI4G0Q==",
       "dev": true,
       "dependencies": {
         "ajv": "^6.12.4",
@@ -650,7 +650,7 @@
         "globals": "^13.9.0",
         "ignore": "^4.0.6",
         "import-fresh": "^3.2.1",
-        "js-yaml": "^3.13.1",
+        "js-yaml": "^4.1.0",
         "minimatch": "^3.0.4",
         "strip-json-comments": "^3.1.1"
       },
@@ -658,10 +658,16 @@
         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
       }
     },
+    "node_modules/@eslint/eslintrc/node_modules/argparse": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+      "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+      "dev": true
+    },
     "node_modules/@eslint/eslintrc/node_modules/globals": {
-      "version": "13.11.0",
-      "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz",
-      "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==",
+      "version": "13.12.0",
+      "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz",
+      "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==",
       "dev": true,
       "dependencies": {
         "type-fest": "^0.20.2"
@@ -673,6 +679,18 @@
         "url": "https://github.com/sponsors/sindresorhus"
       }
     },
+    "node_modules/@eslint/eslintrc/node_modules/js-yaml": {
+      "version": "4.1.0",
+      "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+      "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+      "dev": true,
+      "dependencies": {
+        "argparse": "^2.0.1"
+      },
+      "bin": {
+        "js-yaml": "bin/js-yaml.js"
+      }
+    },
     "node_modules/@humanwhocodes/config-array": {
       "version": "0.6.0",
       "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.6.0.tgz",
@@ -1051,15 +1069,6 @@
         }
       }
     },
-    "node_modules/@swc/cli/node_modules/commander": {
-      "version": "7.2.0",
-      "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
-      "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
-      "dev": true,
-      "engines": {
-        "node": ">= 10"
-      }
-    },
     "node_modules/@swc/cli/node_modules/source-map": {
       "version": "0.7.3",
       "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
@@ -1325,9 +1334,9 @@
       }
     },
     "node_modules/@trysound/sax": {
-      "version": "0.1.1",
-      "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.1.1.tgz",
-      "integrity": "sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow==",
+      "version": "0.2.0",
+      "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
+      "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==",
       "dev": true,
       "engines": {
         "node": ">=10.13.0"
@@ -2048,9 +2057,9 @@
       "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
     },
     "node_modules/colord": {
-      "version": "2.7.0",
-      "resolved": "https://registry.npmjs.org/colord/-/colord-2.7.0.tgz",
-      "integrity": "sha512-pZJBqsHz+pYyw3zpX6ZRXWoCHM1/cvFikY9TV8G3zcejCaKE0lhankoj8iScyrrePA8C7yJ5FStfA9zbcOnw7Q==",
+      "version": "2.9.1",
+      "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.1.tgz",
+      "integrity": "sha512-4LBMSt09vR0uLnPVkOUBnmxgoaeN4ewRbx801wY/bXcltXfpR/G46OdWn96XpYmCWuYvO46aBZP4NgX8HpNAcw==",
       "dev": true
     },
     "node_modules/colorette": {
@@ -2071,6 +2080,15 @@
         "node": ">= 0.8"
       }
     },
+    "node_modules/commander": {
+      "version": "7.2.0",
+      "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
+      "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
+      "dev": true,
+      "engines": {
+        "node": ">= 10"
+      }
+    },
     "node_modules/concat-map": {
       "version": "0.0.1",
       "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@@ -2142,9 +2160,9 @@
       }
     },
     "node_modules/css-declaration-sorter": {
-      "version": "6.1.1",
-      "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.1.1.tgz",
-      "integrity": "sha512-BZ1aOuif2Sb7tQYY1GeCjG7F++8ggnwUkH5Ictw0mrdpqpEd+zWmcPdstnH2TItlb74FqR0DrVEieon221T/1Q==",
+      "version": "6.1.3",
+      "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.1.3.tgz",
+      "integrity": "sha512-SvjQjNRZgh4ULK1LDJ2AduPKUKxIqmtU7ZAyi47BTV+M90Qvxr9AB6lKlLbDUfXqI9IQeYA8LbAsCZPpJEV3aA==",
       "dev": true,
       "dependencies": {
         "timsort": "^0.3.0"
@@ -2186,9 +2204,9 @@
       }
     },
     "node_modules/css-what": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz",
-      "integrity": "sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg==",
+      "version": "5.1.0",
+      "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz",
+      "integrity": "sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==",
       "dev": true,
       "engines": {
         "node": ">= 6"
@@ -2209,12 +2227,12 @@
       }
     },
     "node_modules/cssnano": {
-      "version": "5.0.8",
-      "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.0.8.tgz",
-      "integrity": "sha512-Lda7geZU0Yu+RZi2SGpjYuQz4HI4/1Y+BhdD0jL7NXAQ5larCzVn+PUGuZbDMYz904AXXCOgO5L1teSvgu7aFg==",
+      "version": "5.0.10",
+      "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.0.10.tgz",
+      "integrity": "sha512-YfNhVJJ04imffOpbPbXP2zjIoByf0m8E2c/s/HnvSvjXgzXMfgopVjAEGvxYOjkOpWuRQDg/OZFjO7WW94Ri8w==",
       "dev": true,
       "dependencies": {
-        "cssnano-preset-default": "^5.1.4",
+        "cssnano-preset-default": "^5.1.6",
         "is-resolvable": "^1.1.0",
         "lilconfig": "^2.0.3",
         "yaml": "^1.10.2"
@@ -2231,24 +2249,24 @@
       }
     },
     "node_modules/cssnano-preset-default": {
-      "version": "5.1.4",
-      "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.1.4.tgz",
-      "integrity": "sha512-sPpQNDQBI3R/QsYxQvfB4mXeEcWuw0wGtKtmS5eg8wudyStYMgKOQT39G07EbW1LB56AOYrinRS9f0ig4Y3MhQ==",
+      "version": "5.1.6",
+      "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.1.6.tgz",
+      "integrity": "sha512-X2nDeNGBXc0486oHjT2vSj+TdeyVsxRvJUxaOH50hOM6vSDLkKd0+59YXpSZRInJ4sNtBOykS4KsPfhdrU/35w==",
       "dev": true,
       "dependencies": {
         "css-declaration-sorter": "^6.0.3",
         "cssnano-utils": "^2.0.1",
         "postcss-calc": "^8.0.0",
-        "postcss-colormin": "^5.2.0",
-        "postcss-convert-values": "^5.0.1",
+        "postcss-colormin": "^5.2.1",
+        "postcss-convert-values": "^5.0.2",
         "postcss-discard-comments": "^5.0.1",
         "postcss-discard-duplicates": "^5.0.1",
         "postcss-discard-empty": "^5.0.1",
         "postcss-discard-overridden": "^5.0.1",
-        "postcss-merge-longhand": "^5.0.2",
+        "postcss-merge-longhand": "^5.0.3",
         "postcss-merge-rules": "^5.0.2",
         "postcss-minify-font-values": "^5.0.1",
-        "postcss-minify-gradients": "^5.0.2",
+        "postcss-minify-gradients": "^5.0.3",
         "postcss-minify-params": "^5.0.1",
         "postcss-minify-selectors": "^5.1.0",
         "postcss-normalize-charset": "^5.0.1",
@@ -2263,7 +2281,7 @@
         "postcss-ordered-values": "^5.0.2",
         "postcss-reduce-initial": "^5.0.1",
         "postcss-reduce-transforms": "^5.0.1",
-        "postcss-svgo": "^5.0.2",
+        "postcss-svgo": "^5.0.3",
         "postcss-unique-selectors": "^5.0.1"
       },
       "engines": {
@@ -2518,9 +2536,9 @@
       }
     },
     "node_modules/domhandler": {
-      "version": "4.2.0",
-      "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz",
-      "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==",
+      "version": "4.2.2",
+      "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz",
+      "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==",
       "dev": true,
       "dependencies": {
         "domelementtype": "^2.2.0"
@@ -2533,9 +2551,9 @@
       }
     },
     "node_modules/domutils": {
-      "version": "2.7.0",
-      "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.7.0.tgz",
-      "integrity": "sha512-8eaHa17IwJUPAiB+SoTYBo5mCdeMgdcAoXJ59m6DT1vw+5iLS3gNoqYaRowaBKtGVrOF1Jz4yDTgYKLK2kvfJg==",
+      "version": "2.8.0",
+      "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz",
+      "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==",
       "dev": true,
       "dependencies": {
         "dom-serializer": "^1.0.1",
@@ -2923,12 +2941,12 @@
       }
     },
     "node_modules/eslint": {
-      "version": "8.0.1",
-      "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.0.1.tgz",
-      "integrity": "sha512-LsgcwZgQ72vZ+SMp4K6pAnk2yFDWL7Ti4pJaRvsZ0Hsw2h8ZjUIW38a9AFn2cZXdBMlScMFYYgsSp4ttFI/0bA==",
+      "version": "8.2.0",
+      "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.2.0.tgz",
+      "integrity": "sha512-erw7XmM+CLxTOickrimJ1SiF55jiNlVSp2qqm0NuBWPtHYQCegD5ZMaW0c3i5ytPqL+SSLaCxdvQXFPLJn+ABw==",
       "dev": true,
       "dependencies": {
-        "@eslint/eslintrc": "^1.0.3",
+        "@eslint/eslintrc": "^1.0.4",
         "@humanwhocodes/config-array": "^0.6.0",
         "ajv": "^6.10.0",
         "chalk": "^4.0.0",
@@ -2962,7 +2980,7 @@
         "progress": "^2.0.0",
         "regexpp": "^3.2.0",
         "semver": "^7.2.1",
-        "strip-ansi": "^6.0.0",
+        "strip-ansi": "^6.0.1",
         "strip-json-comments": "^3.1.0",
         "text-table": "^0.2.0",
         "v8-compile-cache": "^2.0.3"
@@ -3051,9 +3069,9 @@
       }
     },
     "node_modules/eslint-visitor-keys": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz",
-      "integrity": "sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz",
+      "integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==",
       "dev": true,
       "engines": {
         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -5352,14 +5370,14 @@
       }
     },
     "node_modules/postcss-colormin": {
-      "version": "5.2.0",
-      "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.2.0.tgz",
-      "integrity": "sha512-+HC6GfWU3upe5/mqmxuqYZ9B2Wl4lcoUUNkoaX59nEWV4EtADCMiBqui111Bu8R8IvaZTmqmxrqOAqjbHIwXPw==",
+      "version": "5.2.1",
+      "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.2.1.tgz",
+      "integrity": "sha512-VVwMrEYLcHYePUYV99Ymuoi7WhKrMGy/V9/kTS0DkCoJYmmjdOMneyhzYUxcNgteKDVbrewOkSM7Wje/MFwxzA==",
       "dev": true,
       "dependencies": {
         "browserslist": "^4.16.6",
         "caniuse-api": "^3.0.0",
-        "colord": "^2.0.1",
+        "colord": "^2.9.1",
         "postcss-value-parser": "^4.1.0"
       },
       "engines": {
@@ -5370,9 +5388,9 @@
       }
     },
     "node_modules/postcss-convert-values": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.0.1.tgz",
-      "integrity": "sha512-C3zR1Do2BkKkCgC0g3sF8TS0koF2G+mN8xxayZx3f10cIRmTaAnpgpRQZjNekTZxM2ciSPoh2IWJm0VZx8NoQg==",
+      "version": "5.0.2",
+      "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.0.2.tgz",
+      "integrity": "sha512-KQ04E2yadmfa1LqXm7UIDwW1ftxU/QWZmz6NKnHnUvJ3LEYbbcX6i329f/ig+WnEByHegulocXrECaZGLpL8Zg==",
       "dev": true,
       "dependencies": {
         "postcss-value-parser": "^4.1.0"
@@ -5474,9 +5492,9 @@
       }
     },
     "node_modules/postcss-merge-longhand": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.0.2.tgz",
-      "integrity": "sha512-BMlg9AXSI5G9TBT0Lo/H3PfUy63P84rVz3BjCFE9e9Y9RXQZD3+h3YO1kgTNsNJy7bBc1YQp8DmSnwLIW5VPcw==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.0.3.tgz",
+      "integrity": "sha512-kmB+1TjMTj/bPw6MCDUiqSA5e/x4fvLffiAdthra3a0m2/IjTrWsTmD3FdSskzUjEwkj5ZHBDEbv5dOcqD7CMQ==",
       "dev": true,
       "dependencies": {
         "css-color-names": "^1.0.1",
@@ -5525,12 +5543,12 @@
       }
     },
     "node_modules/postcss-minify-gradients": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.0.2.tgz",
-      "integrity": "sha512-7Do9JP+wqSD6Prittitt2zDLrfzP9pqKs2EcLX7HJYxsxCOwrrcLt4x/ctQTsiOw+/8HYotAoqNkrzItL19SdQ==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.0.3.tgz",
+      "integrity": "sha512-Z91Ol22nB6XJW+5oe31+YxRsYooxOdFKcbOqY/V8Fxse1Y3vqlNRpi1cxCqoACZTQEhl+xvt4hsbWiV5R+XI9Q==",
       "dev": true,
       "dependencies": {
-        "colord": "^2.6",
+        "colord": "^2.9.1",
         "cssnano-utils": "^2.0.1",
         "postcss-value-parser": "^4.1.0"
       },
@@ -5817,13 +5835,13 @@
       }
     },
     "node_modules/postcss-svgo": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.0.2.tgz",
-      "integrity": "sha512-YzQuFLZu3U3aheizD+B1joQ94vzPfE6BNUcSYuceNxlVnKKsOtdo6hL9/zyC168Q8EwfLSgaDSalsUGa9f2C0A==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.0.3.tgz",
+      "integrity": "sha512-41XZUA1wNDAZrQ3XgWREL/M2zSw8LJPvb5ZWivljBsUQAGoEKMYm6okHsTjJxKYI4M75RQEH4KYlEM52VwdXVA==",
       "dev": true,
       "dependencies": {
         "postcss-value-parser": "^4.1.0",
-        "svgo": "^2.3.0"
+        "svgo": "^2.7.0"
       },
       "engines": {
         "node": "^10 || ^12 || >=14.0"
@@ -6295,12 +6313,12 @@
       }
     },
     "node_modules/strip-ansi": {
-      "version": "6.0.0",
-      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
-      "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+      "version": "6.0.1",
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+      "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
       "dev": true,
       "dependencies": {
-        "ansi-regex": "^5.0.0"
+        "ansi-regex": "^5.0.1"
       },
       "engines": {
         "node": ">=8"
@@ -6377,17 +6395,17 @@
       }
     },
     "node_modules/svgo": {
-      "version": "2.4.0",
-      "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.4.0.tgz",
-      "integrity": "sha512-W25S1UUm9Lm9VnE0TvCzL7aso/NCzDEaXLaElCUO/KaVitw0+IBicSVfM1L1c0YHK5TOFh73yQ2naCpVHEQ/OQ==",
+      "version": "2.8.0",
+      "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz",
+      "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==",
       "dev": true,
       "dependencies": {
-        "@trysound/sax": "0.1.1",
-        "colorette": "^1.2.2",
-        "commander": "^7.1.0",
+        "@trysound/sax": "0.2.0",
+        "commander": "^7.2.0",
         "css-select": "^4.1.3",
-        "css-tree": "^1.1.2",
+        "css-tree": "^1.1.3",
         "csso": "^4.2.0",
+        "picocolors": "^1.0.0",
         "stable": "^0.1.8"
       },
       "bin": {
@@ -6397,15 +6415,6 @@
         "node": ">=10.13.0"
       }
     },
-    "node_modules/svgo/node_modules/commander": {
-      "version": "7.2.0",
-      "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
-      "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
-      "dev": true,
-      "engines": {
-        "node": ">= 10"
-      }
-    },
     "node_modules/symbol-tree": {
       "version": "3.2.4",
       "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
@@ -7285,9 +7294,9 @@
       "dev": true
     },
     "@eslint/eslintrc": {
-      "version": "1.0.3",
-      "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.3.tgz",
-      "integrity": "sha512-DHI1wDPoKCBPoLZA3qDR91+3te/wDSc1YhKg3jR8NxKKRJq2hwHwcWv31cSwSYvIBrmbENoYMWcenW8uproQqg==",
+      "version": "1.0.4",
+      "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.4.tgz",
+      "integrity": "sha512-h8Vx6MdxwWI2WM8/zREHMoqdgLNXEL4QX3MWSVMdyNJGvXVOs+6lp+m2hc3FnuMHDc4poxFNI20vCk0OmI4G0Q==",
       "dev": true,
       "requires": {
         "ajv": "^6.12.4",
@@ -7296,19 +7305,34 @@
         "globals": "^13.9.0",
         "ignore": "^4.0.6",
         "import-fresh": "^3.2.1",
-        "js-yaml": "^3.13.1",
+        "js-yaml": "^4.1.0",
         "minimatch": "^3.0.4",
         "strip-json-comments": "^3.1.1"
       },
       "dependencies": {
+        "argparse": {
+          "version": "2.0.1",
+          "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+          "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+          "dev": true
+        },
         "globals": {
-          "version": "13.11.0",
-          "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz",
-          "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==",
+          "version": "13.12.0",
+          "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz",
+          "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==",
           "dev": true,
           "requires": {
             "type-fest": "^0.20.2"
           }
+        },
+        "js-yaml": {
+          "version": "4.1.0",
+          "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+          "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+          "dev": true,
+          "requires": {
+            "argparse": "^2.0.1"
+          }
         }
       }
     },
@@ -7607,12 +7631,6 @@
         "source-map": "^0.7.3"
       },
       "dependencies": {
-        "commander": {
-          "version": "7.2.0",
-          "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
-          "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
-          "dev": true
-        },
         "source-map": {
           "version": "0.7.3",
           "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
@@ -7751,9 +7769,9 @@
       "dev": true
     },
     "@trysound/sax": {
-      "version": "0.1.1",
-      "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.1.1.tgz",
-      "integrity": "sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow==",
+      "version": "0.2.0",
+      "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
+      "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==",
       "dev": true
     },
     "@types/babel__core": {
@@ -8327,9 +8345,9 @@
       "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
     },
     "colord": {
-      "version": "2.7.0",
-      "resolved": "https://registry.npmjs.org/colord/-/colord-2.7.0.tgz",
-      "integrity": "sha512-pZJBqsHz+pYyw3zpX6ZRXWoCHM1/cvFikY9TV8G3zcejCaKE0lhankoj8iScyrrePA8C7yJ5FStfA9zbcOnw7Q==",
+      "version": "2.9.1",
+      "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.1.tgz",
+      "integrity": "sha512-4LBMSt09vR0uLnPVkOUBnmxgoaeN4ewRbx801wY/bXcltXfpR/G46OdWn96XpYmCWuYvO46aBZP4NgX8HpNAcw==",
       "dev": true
     },
     "colorette": {
@@ -8347,6 +8365,12 @@
         "delayed-stream": "~1.0.0"
       }
     },
+    "commander": {
+      "version": "7.2.0",
+      "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
+      "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
+      "dev": true
+    },
     "concat-map": {
       "version": "0.0.1",
       "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@@ -8400,9 +8424,9 @@
       "dev": true
     },
     "css-declaration-sorter": {
-      "version": "6.1.1",
-      "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.1.1.tgz",
-      "integrity": "sha512-BZ1aOuif2Sb7tQYY1GeCjG7F++8ggnwUkH5Ictw0mrdpqpEd+zWmcPdstnH2TItlb74FqR0DrVEieon221T/1Q==",
+      "version": "6.1.3",
+      "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.1.3.tgz",
+      "integrity": "sha512-SvjQjNRZgh4ULK1LDJ2AduPKUKxIqmtU7ZAyi47BTV+M90Qvxr9AB6lKlLbDUfXqI9IQeYA8LbAsCZPpJEV3aA==",
       "dev": true,
       "requires": {
         "timsort": "^0.3.0"
@@ -8432,9 +8456,9 @@
       }
     },
     "css-what": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz",
-      "integrity": "sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg==",
+      "version": "5.1.0",
+      "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz",
+      "integrity": "sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==",
       "dev": true
     },
     "cssesc": {
@@ -8443,36 +8467,36 @@
       "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="
     },
     "cssnano": {
-      "version": "5.0.8",
-      "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.0.8.tgz",
-      "integrity": "sha512-Lda7geZU0Yu+RZi2SGpjYuQz4HI4/1Y+BhdD0jL7NXAQ5larCzVn+PUGuZbDMYz904AXXCOgO5L1teSvgu7aFg==",
+      "version": "5.0.10",
+      "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.0.10.tgz",
+      "integrity": "sha512-YfNhVJJ04imffOpbPbXP2zjIoByf0m8E2c/s/HnvSvjXgzXMfgopVjAEGvxYOjkOpWuRQDg/OZFjO7WW94Ri8w==",
       "dev": true,
       "requires": {
-        "cssnano-preset-default": "^5.1.4",
+        "cssnano-preset-default": "^5.1.6",
         "is-resolvable": "^1.1.0",
         "lilconfig": "^2.0.3",
         "yaml": "^1.10.2"
       }
     },
     "cssnano-preset-default": {
-      "version": "5.1.4",
-      "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.1.4.tgz",
-      "integrity": "sha512-sPpQNDQBI3R/QsYxQvfB4mXeEcWuw0wGtKtmS5eg8wudyStYMgKOQT39G07EbW1LB56AOYrinRS9f0ig4Y3MhQ==",
+      "version": "5.1.6",
+      "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.1.6.tgz",
+      "integrity": "sha512-X2nDeNGBXc0486oHjT2vSj+TdeyVsxRvJUxaOH50hOM6vSDLkKd0+59YXpSZRInJ4sNtBOykS4KsPfhdrU/35w==",
       "dev": true,
       "requires": {
         "css-declaration-sorter": "^6.0.3",
         "cssnano-utils": "^2.0.1",
         "postcss-calc": "^8.0.0",
-        "postcss-colormin": "^5.2.0",
-        "postcss-convert-values": "^5.0.1",
+        "postcss-colormin": "^5.2.1",
+        "postcss-convert-values": "^5.0.2",
         "postcss-discard-comments": "^5.0.1",
         "postcss-discard-duplicates": "^5.0.1",
         "postcss-discard-empty": "^5.0.1",
         "postcss-discard-overridden": "^5.0.1",
-        "postcss-merge-longhand": "^5.0.2",
+        "postcss-merge-longhand": "^5.0.3",
         "postcss-merge-rules": "^5.0.2",
         "postcss-minify-font-values": "^5.0.1",
-        "postcss-minify-gradients": "^5.0.2",
+        "postcss-minify-gradients": "^5.0.3",
         "postcss-minify-params": "^5.0.1",
         "postcss-minify-selectors": "^5.1.0",
         "postcss-normalize-charset": "^5.0.1",
@@ -8487,7 +8511,7 @@
         "postcss-ordered-values": "^5.0.2",
         "postcss-reduce-initial": "^5.0.1",
         "postcss-reduce-transforms": "^5.0.1",
-        "postcss-svgo": "^5.0.2",
+        "postcss-svgo": "^5.0.3",
         "postcss-unique-selectors": "^5.0.1"
       }
     },
@@ -8676,18 +8700,18 @@
       }
     },
     "domhandler": {
-      "version": "4.2.0",
-      "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz",
-      "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==",
+      "version": "4.2.2",
+      "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz",
+      "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==",
       "dev": true,
       "requires": {
         "domelementtype": "^2.2.0"
       }
     },
     "domutils": {
-      "version": "2.7.0",
-      "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.7.0.tgz",
-      "integrity": "sha512-8eaHa17IwJUPAiB+SoTYBo5mCdeMgdcAoXJ59m6DT1vw+5iLS3gNoqYaRowaBKtGVrOF1Jz4yDTgYKLK2kvfJg==",
+      "version": "2.8.0",
+      "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz",
+      "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==",
       "dev": true,
       "requires": {
         "dom-serializer": "^1.0.1",
@@ -8932,12 +8956,12 @@
       }
     },
     "eslint": {
-      "version": "8.0.1",
-      "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.0.1.tgz",
-      "integrity": "sha512-LsgcwZgQ72vZ+SMp4K6pAnk2yFDWL7Ti4pJaRvsZ0Hsw2h8ZjUIW38a9AFn2cZXdBMlScMFYYgsSp4ttFI/0bA==",
+      "version": "8.2.0",
+      "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.2.0.tgz",
+      "integrity": "sha512-erw7XmM+CLxTOickrimJ1SiF55jiNlVSp2qqm0NuBWPtHYQCegD5ZMaW0c3i5ytPqL+SSLaCxdvQXFPLJn+ABw==",
       "dev": true,
       "requires": {
-        "@eslint/eslintrc": "^1.0.3",
+        "@eslint/eslintrc": "^1.0.4",
         "@humanwhocodes/config-array": "^0.6.0",
         "ajv": "^6.10.0",
         "chalk": "^4.0.0",
@@ -8971,7 +8995,7 @@
         "progress": "^2.0.0",
         "regexpp": "^3.2.0",
         "semver": "^7.2.1",
-        "strip-ansi": "^6.0.0",
+        "strip-ansi": "^6.0.1",
         "strip-json-comments": "^3.1.0",
         "text-table": "^0.2.0",
         "v8-compile-cache": "^2.0.3"
@@ -9056,9 +9080,9 @@
       }
     },
     "eslint-visitor-keys": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz",
-      "integrity": "sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz",
+      "integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==",
       "dev": true
     },
     "espree": {
@@ -10770,21 +10794,21 @@
       }
     },
     "postcss-colormin": {
-      "version": "5.2.0",
-      "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.2.0.tgz",
-      "integrity": "sha512-+HC6GfWU3upe5/mqmxuqYZ9B2Wl4lcoUUNkoaX59nEWV4EtADCMiBqui111Bu8R8IvaZTmqmxrqOAqjbHIwXPw==",
+      "version": "5.2.1",
+      "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.2.1.tgz",
+      "integrity": "sha512-VVwMrEYLcHYePUYV99Ymuoi7WhKrMGy/V9/kTS0DkCoJYmmjdOMneyhzYUxcNgteKDVbrewOkSM7Wje/MFwxzA==",
       "dev": true,
       "requires": {
         "browserslist": "^4.16.6",
         "caniuse-api": "^3.0.0",
-        "colord": "^2.0.1",
+        "colord": "^2.9.1",
         "postcss-value-parser": "^4.1.0"
       }
     },
     "postcss-convert-values": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.0.1.tgz",
-      "integrity": "sha512-C3zR1Do2BkKkCgC0g3sF8TS0koF2G+mN8xxayZx3f10cIRmTaAnpgpRQZjNekTZxM2ciSPoh2IWJm0VZx8NoQg==",
+      "version": "5.0.2",
+      "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.0.2.tgz",
+      "integrity": "sha512-KQ04E2yadmfa1LqXm7UIDwW1ftxU/QWZmz6NKnHnUvJ3LEYbbcX6i329f/ig+WnEByHegulocXrECaZGLpL8Zg==",
       "dev": true,
       "requires": {
         "postcss-value-parser": "^4.1.0"
@@ -10838,9 +10862,9 @@
       }
     },
     "postcss-merge-longhand": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.0.2.tgz",
-      "integrity": "sha512-BMlg9AXSI5G9TBT0Lo/H3PfUy63P84rVz3BjCFE9e9Y9RXQZD3+h3YO1kgTNsNJy7bBc1YQp8DmSnwLIW5VPcw==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.0.3.tgz",
+      "integrity": "sha512-kmB+1TjMTj/bPw6MCDUiqSA5e/x4fvLffiAdthra3a0m2/IjTrWsTmD3FdSskzUjEwkj5ZHBDEbv5dOcqD7CMQ==",
       "dev": true,
       "requires": {
         "css-color-names": "^1.0.1",
@@ -10871,12 +10895,12 @@
       }
     },
     "postcss-minify-gradients": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.0.2.tgz",
-      "integrity": "sha512-7Do9JP+wqSD6Prittitt2zDLrfzP9pqKs2EcLX7HJYxsxCOwrrcLt4x/ctQTsiOw+/8HYotAoqNkrzItL19SdQ==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.0.3.tgz",
+      "integrity": "sha512-Z91Ol22nB6XJW+5oe31+YxRsYooxOdFKcbOqY/V8Fxse1Y3vqlNRpi1cxCqoACZTQEhl+xvt4hsbWiV5R+XI9Q==",
       "dev": true,
       "requires": {
-        "colord": "^2.6",
+        "colord": "^2.9.1",
         "cssnano-utils": "^2.0.1",
         "postcss-value-parser": "^4.1.0"
       }
@@ -11051,13 +11075,13 @@
       }
     },
     "postcss-svgo": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.0.2.tgz",
-      "integrity": "sha512-YzQuFLZu3U3aheizD+B1joQ94vzPfE6BNUcSYuceNxlVnKKsOtdo6hL9/zyC168Q8EwfLSgaDSalsUGa9f2C0A==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.0.3.tgz",
+      "integrity": "sha512-41XZUA1wNDAZrQ3XgWREL/M2zSw8LJPvb5ZWivljBsUQAGoEKMYm6okHsTjJxKYI4M75RQEH4KYlEM52VwdXVA==",
       "dev": true,
       "requires": {
         "postcss-value-parser": "^4.1.0",
-        "svgo": "^2.3.0"
+        "svgo": "^2.7.0"
       }
     },
     "postcss-unique-selectors": {
@@ -11386,12 +11410,12 @@
       }
     },
     "strip-ansi": {
-      "version": "6.0.0",
-      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
-      "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+      "version": "6.0.1",
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+      "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
       "dev": true,
       "requires": {
-        "ansi-regex": "^5.0.0"
+        "ansi-regex": "^5.0.1"
       }
     },
     "strip-bom": {
@@ -11441,26 +11465,18 @@
       }
     },
     "svgo": {
-      "version": "2.4.0",
-      "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.4.0.tgz",
-      "integrity": "sha512-W25S1UUm9Lm9VnE0TvCzL7aso/NCzDEaXLaElCUO/KaVitw0+IBicSVfM1L1c0YHK5TOFh73yQ2naCpVHEQ/OQ==",
+      "version": "2.8.0",
+      "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz",
+      "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==",
       "dev": true,
       "requires": {
-        "@trysound/sax": "0.1.1",
-        "colorette": "^1.2.2",
-        "commander": "^7.1.0",
+        "@trysound/sax": "0.2.0",
+        "commander": "^7.2.0",
         "css-select": "^4.1.3",
-        "css-tree": "^1.1.2",
+        "css-tree": "^1.1.3",
         "csso": "^4.2.0",
+        "picocolors": "^1.0.0",
         "stable": "^0.1.8"
-      },
-      "dependencies": {
-        "commander": {
-          "version": "7.2.0",
-          "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
-          "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
-          "dev": true
-        }
       }
     },
     "symbol-tree": {
diff --git a/package.json b/package.json
index 487f29dd..39fe651a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "tailwindcss",
-  "version": "3.0.0-alpha.1",
+  "version": "3.0.0-alpha.2",
   "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
   "license": "MIT",
   "main": "lib/index.js",
@@ -49,9 +49,9 @@
     "@swc/register": "^0.1.7",
     "autoprefixer": "^10.4.0",
     "cross-env": "^7.0.3",
-    "cssnano": "^5.0.8",
+    "cssnano": "^5.0.10",
     "esbuild": "^0.13.12",
-    "eslint": "^8.0.1",
+    "eslint": "^8.2.0",
     "eslint-config-prettier": "^8.3.0",
     "eslint-plugin-prettier": "^4.0.0",
     "jest": "^27.3.1",
diff --git a/src/corePlugins.js b/src/corePlugins.js
index 5309475c..beeb7d95 100644
--- a/src/corePlugins.js
+++ b/src/corePlugins.js
@@ -11,6 +11,7 @@ import isPlainObject from './util/isPlainObject'
 import transformThemeValue from './util/transformThemeValue'
 import { version as tailwindVersion } from '../package.json'
 import log from './util/log'
+import { normalizeScreens } from './util/normalizeScreens'
 import { formatBoxShadowValue, parseBoxShadowValue } from './util/parseBoxShadowValue'
 
 export let variantPlugins = {
@@ -23,6 +24,8 @@ export let variantPlugins = {
 
     addVariant('file', '&::file-selector-button')
 
+    addVariant('placeholder', '&::placeholder')
+
     addVariant('before', ({ container }) => {
       container.walkRules((rule) => {
         let foundContent = false
@@ -156,13 +159,17 @@ export let variantPlugins = {
   },
 
   screenVariants: ({ theme, addVariant }) => {
-    for (let screen in theme('screens')) {
-      let size = theme('screens')[screen]
-      let query = buildMediaQuery(size)
+    for (let screen of normalizeScreens(theme('screens'))) {
+      let query = buildMediaQuery(screen)
 
-      addVariant(screen, `@media ${query}`)
+      addVariant(screen.name, `@media ${query}`)
     }
   },
+
+  orientationVariants: ({ addVariant }) => {
+    addVariant('portrait', '@media (orientation: portrait)')
+    addVariant('landscape', '@media (orientation: landscape)')
+  },
 }
 
 export let corePlugins = {
@@ -180,24 +187,10 @@ export let corePlugins = {
   },
 
   container: (() => {
-    function extractMinWidths(breakpoints) {
-      return Object.values(breakpoints ?? {}).flatMap((breakpoints) => {
-        if (typeof breakpoints === 'string') {
-          breakpoints = { min: breakpoints }
-        }
-
-        if (!Array.isArray(breakpoints)) {
-          breakpoints = [breakpoints]
-        }
-
-        return breakpoints
-          .filter((breakpoint) => {
-            return breakpoint?.hasOwnProperty?.('min') || breakpoint?.hasOwnProperty('min-width')
-          })
-          .map((breakpoint) => {
-            return breakpoint['min-width'] ?? breakpoint.min
-          })
-      })
+    function extractMinWidths(breakpoints = []) {
+      return breakpoints
+        .flatMap((breakpoint) => breakpoint.values.map((breakpoint) => breakpoint.min))
+        .filter((v) => v !== undefined)
     }
 
     function mapMinWidthsToPadding(minWidths, screens, paddings) {
@@ -226,16 +219,11 @@ export let corePlugins = {
       }
 
       for (let minWidth of minWidths) {
-        for (let [screen, value] of Object.entries(screens)) {
-          let screenMinWidth =
-            typeof value === 'object' && value !== null ? value.min || value['min-width'] : value
-
-          if (`${screenMinWidth}` === `${minWidth}`) {
-            mapping.push({
-              screen,
-              minWidth,
-              padding: paddings[screen],
-            })
+        for (let screen of screens) {
+          for (let { min } of screen.values) {
+            if (min === minWidth) {
+              mapping.push({ minWidth, padding: paddings[screen.name] })
+            }
           }
         }
       }
@@ -244,12 +232,12 @@ export let corePlugins = {
     }
 
     return function ({ addComponents, theme }) {
-      let screens = theme('container.screens', theme('screens'))
+      let screens = normalizeScreens(theme('container.screens', theme('screens')))
       let minWidths = extractMinWidths(screens)
       let paddings = mapMinWidthsToPadding(minWidths, screens, theme('container.padding'))
 
       let generatePaddingFor = (minWidth) => {
-        let paddingConfig = paddings.find((padding) => `${padding.minWidth}` === `${minWidth}`)
+        let paddingConfig = paddings.find((padding) => padding.minWidth === minWidth)
 
         if (!paddingConfig) {
           return {}
@@ -619,17 +607,54 @@ export let corePlugins = {
 
   cursor: createUtilityPlugin('cursor'),
 
-  touchAction: ({ addUtilities }) => {
+  touchAction: ({ addBase, addUtilities }) => {
+    addBase({
+      '@defaults touch-action': {
+        '--tw-pan-x': 'var(--tw-empty,/*!*/ /*!*/)',
+        '--tw-pan-y': 'var(--tw-empty,/*!*/ /*!*/)',
+        '--tw-pinch-zoom': 'var(--tw-empty,/*!*/ /*!*/)',
+        '--tw-touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)',
+      },
+    })
+
     addUtilities({
       '.touch-auto': { 'touch-action': 'auto' },
       '.touch-none': { 'touch-action': 'none' },
-      '.touch-pan-x': { 'touch-action': 'pan-x' },
-      '.touch-pan-left': { 'touch-action': 'pan-left' },
-      '.touch-pan-right': { 'touch-action': 'pan-right' },
-      '.touch-pan-y': { 'touch-action': 'pan-y' },
-      '.touch-pan-up': { 'touch-action': 'pan-up' },
-      '.touch-pan-down': { 'touch-action': 'pan-down' },
-      '.touch-pinch-zoom': { 'touch-action': 'pinch-zoom' },
+      '.touch-pan-x': {
+        '@defaults touch-action': {},
+        '--tw-pan-x': 'pan-x',
+        'touch-action': 'var(--tw-touch-action)',
+      },
+      '.touch-pan-left': {
+        '@defaults touch-action': {},
+        '--tw-pan-x': 'pan-left',
+        'touch-action': 'var(--tw-touch-action)',
+      },
+      '.touch-pan-right': {
+        '@defaults touch-action': {},
+        '--tw-pan-x': 'pan-right',
+        'touch-action': 'var(--tw-touch-action)',
+      },
+      '.touch-pan-y': {
+        '@defaults touch-action': {},
+        '--tw-pan-y': 'pan-y',
+        'touch-action': 'var(--tw-touch-action)',
+      },
+      '.touch-pan-up': {
+        '@defaults touch-action': {},
+        '--tw-pan-y': 'pan-up',
+        'touch-action': 'var(--tw-touch-action)',
+      },
+      '.touch-pan-down': {
+        '@defaults touch-action': {},
+        '--tw-pan-y': 'pan-down',
+        'touch-action': 'var(--tw-touch-action)',
+      },
+      '.touch-pinch-zoom': {
+        '@defaults touch-action': {},
+        '--tw-pinch-zoom': 'pinch-zoom',
+        'touch-action': 'var(--tw-touch-action)',
+      },
       '.touch-manipulation': { 'touch-action': 'manipulation' },
     })
   },
diff --git a/src/lib/detectNesting.js b/src/lib/detectNesting.js
index 5a3181a2..02b39aec 100644
--- a/src/lib/detectNesting.js
+++ b/src/lib/detectNesting.js
@@ -2,6 +2,23 @@ export default function (_context) {
   return (root, result) => {
     let found = false
 
+    root.walkAtRules('tailwind', (node) => {
+      if (found) return false
+
+      if (node.parent && node.parent.type !== 'root') {
+        found = true
+        node.warn(
+          result,
+          [
+            'Nested @tailwind rules were detected, but are not supported.',
+            "Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix",
+            'Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy',
+          ].join('\n')
+        )
+        return false
+      }
+    })
+
     root.walkRules((rule) => {
       if (found) return false
 
@@ -9,10 +26,12 @@ export default function (_context) {
         found = true
         nestedRule.warn(
           result,
-          // TODO: Improve this warning message
-          'Nested CSS detected, checkout the docs on how to support nesting: https://tailwindcss.com/docs/using-with-preprocessors#nesting'
+          [
+            'Nested CSS was detected, but CSS nesting has not been configured correctly.',
+            'Please enable a CSS nesting plugin *before* Tailwind in your configuration.',
+            'See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting',
+          ].join('\n')
         )
-
         return false
       })
     })
diff --git a/src/lib/evaluateTailwindFunctions.js b/src/lib/evaluateTailwindFunctions.js
index fb3474b2..778230e5 100644
--- a/src/lib/evaluateTailwindFunctions.js
+++ b/src/lib/evaluateTailwindFunctions.js
@@ -2,6 +2,7 @@ import dlv from 'dlv'
 import didYouMean from 'didyoumean'
 import transformThemeValue from '../util/transformThemeValue'
 import parseValue from 'postcss-value-parser'
+import { normalizeScreens } from '../util/normalizeScreens'
 import buildMediaQuery from '../util/buildMediaQuery'
 import { toPath } from '../util/toPath'
 
@@ -173,12 +174,14 @@ export default function ({ tailwindConfig: config }) {
     },
     screen: (node, screen) => {
       screen = screen.replace(/^['"]+/g, '').replace(/['"]+$/g, '')
+      let screens = normalizeScreens(config.theme.screens)
+      let screenDefinition = screens.find(({ name }) => name === screen)
 
-      if (config.theme.screens[screen] === undefined) {
+      if (!screenDefinition) {
         throw node.error(`The '${screen}' screen does not exist in your theme.`)
       }
 
-      return buildMediaQuery(config.theme.screens[screen])
+      return buildMediaQuery(screenDefinition)
     },
   }
   return (root) => {
diff --git a/src/lib/expandTailwindAtRules.js b/src/lib/expandTailwindAtRules.js
index 14a1c8af..4b1c6270 100644
--- a/src/lib/expandTailwindAtRules.js
+++ b/src/lib/expandTailwindAtRules.js
@@ -15,6 +15,8 @@ const PATTERNS = [
   /([^<>"'`\s]*\[\w*\("[^'`\s]*"\)\])/.source, // bg-[url("..."),url("...")]
   /([^<>"'`\s]*\['[^"'`\s]*'\])/.source, // `content-['hello']` but not `content-['hello']']`
   /([^<>"'`\s]*\["[^"'`\s]*"\])/.source, // `content-["hello"]` but not `content-["hello"]"]`
+  /([^<>"'`\s]*\[[^<>"'`\s]*:'[^"'`\s]*'\])/.source, // `[content:'hello']` but not `[content:"hello"]`
+  /([^<>"'`\s]*\[[^<>"'`\s]*:"[^"'`\s]*"\])/.source, // `[content:"hello"]` but not `[content:'hello']`
   /([^<>"'`\s]*\[[^"'`\s]+\][^<>"'`\s]*)/.source, // `fill-[#bada55]`, `fill-[#bada55]/50`
   /([^<>"'`\s]*[^"'`\s:])/.source, //  `px-1.5`, `uppercase` but not `uppercase:`
 ].join('|')
diff --git a/src/lib/generateRules.js b/src/lib/generateRules.js
index cdb52947..521b3502 100644
--- a/src/lib/generateRules.js
+++ b/src/lib/generateRules.js
@@ -6,6 +6,9 @@ import prefixSelector from '../util/prefixSelector'
 import { updateAllClasses } from '../util/pluginUtils'
 import log from '../util/log'
 import { formatVariantSelector, finalizeSelector } from '../util/formatVariantSelector'
+import { asClass } from '../util/nameClass'
+import { normalize } from '../util/dataTypes'
+import isValidArbitraryValue from '../util/isValidArbitraryValue'
 
 let classNameParser = selectorParser((selectors) => {
   return selectors.first.filter(({ type }) => type === 'class').pop().value
@@ -245,11 +248,42 @@ function parseRules(rule, cache, options = {}) {
   return [cache.get(rule), options]
 }
 
+function extractArbitraryProperty(classCandidate, context) {
+  let [, property, value] = classCandidate.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/) ?? []
+
+  if (value === undefined) {
+    return null
+  }
+
+  let normalized = normalize(value)
+
+  if (!isValidArbitraryValue(normalized)) {
+    return null
+  }
+
+  return [
+    [
+      { sort: context.arbitraryPropertiesSort, layer: 'utilities' },
+      () => ({
+        [asClass(classCandidate)]: {
+          [property]: normalized,
+        },
+      }),
+    ],
+  ]
+}
+
 function* resolveMatchedPlugins(classCandidate, context) {
   if (context.candidateRuleMap.has(classCandidate)) {
     yield [context.candidateRuleMap.get(classCandidate), 'DEFAULT']
   }
 
+  yield* (function* (arbitraryPropertyRule) {
+    if (arbitraryPropertyRule !== null) {
+      yield [arbitraryPropertyRule, 'DEFAULT']
+    }
+  })(extractArbitraryProperty(classCandidate, context))
+
   let candidatePrefix = classCandidate
   let negative = false
 
diff --git a/src/lib/setupContextUtils.js b/src/lib/setupContextUtils.js
index 2701adb9..b242e802 100644
--- a/src/lib/setupContextUtils.js
+++ b/src/lib/setupContextUtils.js
@@ -18,6 +18,7 @@ import { env } from './sharedState'
 import { toPath } from '../util/toPath'
 import log from '../util/log'
 import negateValue from '../util/negateValue'
+import isValidArbitraryValue from '../util/isValidArbitraryValue'
 
 function parseVariantFormatString(input) {
   if (input.includes('{')) {
@@ -130,64 +131,6 @@ function withIdentifiers(styles) {
   })
 }
 
-let matchingBrackets = new Map([
-  ['{', '}'],
-  ['[', ']'],
-  ['(', ')'],
-])
-let inverseMatchingBrackets = new Map(
-  Array.from(matchingBrackets.entries()).map(([k, v]) => [v, k])
-)
-
-let quotes = new Set(['"', "'", '`'])
-
-// Arbitrary values must contain balanced brackets (), [] and {}. Escaped
-// values don't count, and brackets inside quotes also don't count.
-//
-// E.g.: w-[this-is]w-[weird-and-invalid]
-// E.g.: w-[this-is\\]w-\\[weird-but-valid]
-// E.g.: content-['this-is-also-valid]-weirdly-enough']
-function isValidArbitraryValue(value) {
-  let stack = []
-  let inQuotes = false
-
-  for (let i = 0; i < value.length; i++) {
-    let char = value[i]
-
-    // Non-escaped quotes allow us to "allow" anything in between
-    if (quotes.has(char) && value[i - 1] !== '\\') {
-      inQuotes = !inQuotes
-    }
-
-    if (inQuotes) continue
-    if (value[i - 1] === '\\') continue // Escaped
-
-    if (matchingBrackets.has(char)) {
-      stack.push(char)
-    } else if (inverseMatchingBrackets.has(char)) {
-      let inverse = inverseMatchingBrackets.get(char)
-
-      // Nothing to pop from, therefore it is unbalanced
-      if (stack.length <= 0) {
-        return false
-      }
-
-      // Popped value must match the inverse value, otherwise it is unbalanced
-      if (stack.pop() !== inverse) {
-        return false
-      }
-    }
-  }
-
-  // If there is still something on the stack, it is also unbalanced
-  if (stack.length > 0) {
-    return false
-  }
-
-  // All good, totally balanced!
-  return true
-}
-
 function buildPluginApi(tailwindConfig, context, { variantList, variantMap, offsets, classList }) {
   function getConfigValue(path, defaultValue) {
     return path ? dlv(tailwindConfig, path, defaultValue) : tailwindConfig
@@ -575,6 +518,7 @@ function resolvePlugins(context, root) {
     variantPlugins['darkVariants'],
     variantPlugins['printVariant'],
     variantPlugins['screenVariants'],
+    variantPlugins['orientationVariants'],
   ]
 
   return [...corePluginList, ...beforeVariants, ...userPlugins, ...afterVariants, ...layerPlugins]
@@ -617,6 +561,10 @@ function registerPlugins(plugins, context) {
   ])
   let reservedBits = BigInt(highestOffset.toString(2).length)
 
+  // A number one less than the top range of the highest offset area
+  // so arbitrary properties are always sorted at the end.
+  context.arbitraryPropertiesSort = ((1n << reservedBits) << 0n) - 1n
+
   context.layerOrder = {
     base: (1n << reservedBits) << 0n,
     components: (1n << reservedBits) << 1n,
diff --git a/src/lib/substituteScreenAtRules.js b/src/lib/substituteScreenAtRules.js
index 1b61d38f..5a45cff2 100644
--- a/src/lib/substituteScreenAtRules.js
+++ b/src/lib/substituteScreenAtRules.js
@@ -1,16 +1,19 @@
+import { normalizeScreens } from '../util/normalizeScreens'
 import buildMediaQuery from '../util/buildMediaQuery'
 
 export default function ({ tailwindConfig: { theme } }) {
   return function (css) {
     css.walkAtRules('screen', (atRule) => {
-      const screen = atRule.params
+      let screen = atRule.params
+      let screens = normalizeScreens(theme.screens)
+      let screenDefinition = screens.find(({ name }) => name === screen)
 
-      if (!theme.screens?.hasOwnProperty?.(screen)) {
+      if (!screenDefinition) {
         throw atRule.error(`No \`${screen}\` screen found.`)
       }
 
       atRule.name = 'media'
-      atRule.params = buildMediaQuery(theme.screens[screen])
+      atRule.params = buildMediaQuery(screenDefinition)
     })
   }
 }
diff --git a/src/util/buildMediaQuery.js b/src/util/buildMediaQuery.js
index ba3b696e..ccfc63ba 100644
--- a/src/util/buildMediaQuery.js
+++ b/src/util/buildMediaQuery.js
@@ -1,24 +1,20 @@
 export default function buildMediaQuery(screens) {
-  if (typeof screens === 'string') {
-    screens = { min: screens }
-  }
-
-  if (!Array.isArray(screens)) {
-    screens = [screens]
-  }
+  screens = Array.isArray(screens) ? screens : [screens]
 
   return screens
-    .map((screen) => {
-      if (screen?.hasOwnProperty?.('raw')) {
-        return screen.raw
-      }
+    .map((screen) =>
+      screen.values.map((screen) => {
+        if (screen.raw !== undefined) {
+          return screen.raw
+        }
 
-      return Object.entries(screen)
-        .map(([feature, value]) => {
-          feature = { min: 'min-width', max: 'max-width' }[feature] ?? feature
-          return `(${feature}: ${value})`
-        })
-        .join(' and ')
-    })
+        return [
+          screen.min && `(min-width: ${screen.min})`,
+          screen.max && `(max-width: ${screen.max})`,
+        ]
+          .filter(Boolean)
+          .join(' and ')
+      })
+    )
     .join(', ')
 }
diff --git a/src/util/formatVariantSelector.js b/src/util/formatVariantSelector.js
index d24471cc..06d0f489 100644
--- a/src/util/formatVariantSelector.js
+++ b/src/util/formatVariantSelector.js
@@ -74,11 +74,92 @@ export function finalizeSelector(format, { selector, candidate, context }) {
         return p
       })
 
+      // This will make sure to move pseudo's to the correct spot (the end for
+      // pseudo elements) because otherwise the selector will never work
+      // anyway.
+      //
+      // E.g.:
+      //  - `before:hover:text-center` would result in `.before\:hover\:text-center:hover::before`
+      //  - `hover:before:text-center` would result in `.hover\:before\:text-center:hover::before`
+      //
+      // `::before:hover` doesn't work, which means that we can make it work for you by flipping the order.
+      function collectPseudoElements(selector) {
+        let nodes = []
+
+        for (let node of selector.nodes) {
+          if (isPseudoElement(node)) {
+            nodes.push(node)
+            selector.removeChild(node)
+          }
+
+          if (node?.nodes) {
+            nodes.push(...collectPseudoElements(node))
+          }
+        }
+
+        return nodes
+      }
+
+      let pseudoElements = collectPseudoElements(selector)
+      if (pseudoElements.length > 0) {
+        selector.nodes.push(pseudoElements.sort(sortSelector))
+      }
+
       return selector
     })
   }).processSync(selector)
 }
 
+// Note: As a rule, double colons (::) should be used instead of a single colon
+// (:). This distinguishes pseudo-classes from pseudo-elements. However, since
+// this distinction was not present in older versions of the W3C spec, most
+// browsers support both syntaxes for the original pseudo-elements.
+let pseudoElementsBC = [':before', ':after', ':first-line', ':first-letter']
+
+// These pseudo-elements _can_ be combined with other pseudo selectors AND the order does matter.
+let pseudoElementExceptions = ['::file-selector-button']
+
+// This will make sure to move pseudo's to the correct spot (the end for
+// pseudo elements) because otherwise the selector will never work
+// anyway.
+//
+// E.g.:
+//  - `before:hover:text-center` would result in `.before\:hover\:text-center:hover::before`
+//  - `hover:before:text-center` would result in `.hover\:before\:text-center:hover::before`
+//
+// `::before:hover` doesn't work, which means that we can make it work
+// for you by flipping the order.
+function sortSelector(a, z) {
+  // Both nodes are non-pseudo's so we can safely ignore them and keep
+  // them in the same order.
+  if (a.type !== 'pseudo' && z.type !== 'pseudo') {
+    return 0
+  }
+
+  // If one of them is a combinator, we need to keep it in the same order
+  // because that means it will start a new "section" in the selector.
+  if ((a.type === 'combinator') ^ (z.type === 'combinator')) {
+    return 0
+  }
+
+  // One of the items is a pseudo and the other one isn't. Let's move
+  // the pseudo to the right.
+  if ((a.type === 'pseudo') ^ (z.type === 'pseudo')) {
+    return (a.type === 'pseudo') - (z.type === 'pseudo')
+  }
+
+  // Both are pseudo's, move the pseudo elements (except for
+  // ::file-selector-button) to the right.
+  return isPseudoElement(a) - isPseudoElement(z)
+}
+
+function isPseudoElement(node) {
+  if (node.type !== 'pseudo') return false
+  if (pseudoElementExceptions.includes(node.value)) return false
+
+  return node.value.startsWith('::') || pseudoElementsBC.includes(node.value)
+}
+
 function resolveFunctionArgument(haystack, needle, arg) {
   let startIdx = haystack.indexOf(arg ? `${needle}(${arg})` : needle)
   if (startIdx === -1) return null
diff --git a/src/util/isValidArbitraryValue.js b/src/util/isValidArbitraryValue.js
new file mode 100644
index 00000000..f2b10b51
--- /dev/null
+++ b/src/util/isValidArbitraryValue.js
@@ -0,0 +1,61 @@
+let matchingBrackets = new Map([
+  ['{', '}'],
+  ['[', ']'],
+  ['(', ')'],
+])
+let inverseMatchingBrackets = new Map(
+  Array.from(matchingBrackets.entries()).map(([k, v]) => [v, k])
+)
+
+let quotes = new Set(['"', "'", '`'])
+
+// Arbitrary values must contain balanced brackets (), [] and {}. Escaped
+// values don't count, and brackets inside quotes also don't count.
+//
+// E.g.: w-[this-is]w-[weird-and-invalid]
+// E.g.: w-[this-is\\]w-\\[weird-but-valid]
+// E.g.: content-['this-is-also-valid]-weirdly-enough']
+export default function isValidArbitraryValue(value) {
+  let stack = []
+  let inQuotes = false
+
+  for (let i = 0; i < value.length; i++) {
+    let char = value[i]
+
+    if (char === ':' && !inQuotes && stack.length === 0) {
+      return false
+    }
+
+    // Non-escaped quotes allow us to "allow" anything in between
+    if (quotes.has(char) && value[i - 1] !== '\\') {
+      inQuotes = !inQuotes
+    }
+
+    if (inQuotes) continue
+    if (value[i - 1] === '\\') continue // Escaped
+
+    if (matchingBrackets.has(char)) {
+      stack.push(char)
+    } else if (inverseMatchingBrackets.has(char)) {
+      let inverse = inverseMatchingBrackets.get(char)
+
+      // Nothing to pop from, therefore it is unbalanced
+      if (stack.length <= 0) {
+        return false
+      }
+
+      // Popped value must match the inverse value, otherwise it is unbalanced
+      if (stack.pop() !== inverse) {
+        return false
+      }
+    }
+  }
+
+  // If there is still something on the stack, it is also unbalanced
+  if (stack.length > 0) {
+    return false
+  }
+
+  // All good, totally balanced!
+  return true
+}
diff --git a/src/util/nameClass.js b/src/util/nameClass.js
index e3a40f8e..ae737012 100644
--- a/src/util/nameClass.js
+++ b/src/util/nameClass.js
@@ -1,7 +1,7 @@
 import escapeClassName from './escapeClassName'
 import escapeCommas from './escapeCommas'
 
-function asClass(name) {
+export function asClass(name) {
   return escapeCommas(`.${escapeClassName(name)}`)
 }
 
diff --git a/src/util/normalizeScreens.js b/src/util/normalizeScreens.js
new file mode 100644
index 00000000..e7bcefe6
--- /dev/null
+++ b/src/util/normalizeScreens.js
@@ -0,0 +1,42 @@
+/**
+ * A function that normalizes the various forms that the screens object can be
+ * provided in.
+ *
+ * Input(s):
+ *   - ['100px', '200px'] // Raw strings
+ *   - { sm: '100px', md: '200px' } // Object with string values
+ *   - { sm: { min: '100px' }, md: { max: '100px' } } // Object with object values
+ *   - { sm: [{ min: '100px' }, { max: '200px' }] } // Object with object array (multiple values)
+ *   - [['sm', '100px'], ['md', '200px']] // Tuple object
+ *
+ * Output(s):
+ *   - [{ name: 'sm', values: [{ min: '100px', max: '200px' }] }] // List of objects, that contains multiple values
+ */
+export function normalizeScreens(screens) {
+  if (Array.isArray(screens)) {
+    return screens.map((screen) => {
+      if (typeof screen === 'string') {
+        return { name: screen.toString(), values: [{ min: screen, max: undefined }] }
+      }
+
+      let [name, options] = screen
+      name = name.toString()
+
+      if (typeof options === 'string') {
+        return { name, values: [{ min: options, max: undefined }] }
+      }
+
+      if (Array.isArray(options)) {
+        return { name, values: options.map((option) => resolveValue(option)) }
+      }
+
+      return { name, values: [resolveValue(options)] }
+    })
+  }
+
+  return normalizeScreens(Object.entries(screens ?? {}))
+}
+
+function resolveValue({ 'min-width': _minWidth, min = _minWidth, max, raw } = {}) {
+  return { min, max, raw }
+}
diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js
index 423f12e8..ff6b40c5 100644
--- a/stubs/defaultConfig.stub.js
+++ b/stubs/defaultConfig.stub.js
@@ -115,6 +115,7 @@ module.exports = {
       auto: 'auto',
       square: '1 / 1',
       video: '16 / 9',
+      attrs: 'attr(width) / attr(height)'
     },
     backdropBlur: ({ theme }) => theme('blur'),
     backdropBrightness: ({ theme }) => theme('brightness'),


Test patch:
diff --git a/integrations/tailwindcss-cli/tests/cli.test.js b/integrations/tailwindcss-cli/tests/cli.test.js
index e95e7c18..0cafb4a7 100644
--- a/integrations/tailwindcss-cli/tests/cli.test.js
+++ b/integrations/tailwindcss-cli/tests/cli.test.js
@@ -3,6 +3,8 @@ let $ = require('../../execute')
 let { css, html, javascript } = require('../../syntax')
 let resolveToolRoot = require('../../resolve-tool-root')
 
+let version = require('../../../package.json').version
+
 let { readOutputFile, writeInputFile, cleanupFile, fileExists, removeFile } = require('../../io')({
   output: 'dist',
   input: 'src',
@@ -10,6 +12,20 @@ let { readOutputFile, writeInputFile, cleanupFile, fileExists, removeFile } = re
 
 let EXECUTABLE = 'node ../../lib/cli.js'
 
+function dedent(input) {
+  let lines = input.split('\n')
+
+  let minIndent = lines.reduce(
+    (min, line) => Math.min(min, line.trim() === '' ? Infinity : line.match(/^\s*/)[0].length),
+    Infinity
+  )
+
+  return lines
+    .map((line) => line.slice(minIndent))
+    .join('\n')
+    .trim()
+}
+
 describe('Build command', () => {
   test('--output', async () => {
     await writeInputFile('index.html', html`<div class="font-bold shadow"></div>`)
@@ -264,26 +280,25 @@ describe('Build command', () => {
   test('--help', async () => {
     let { combined } = await $(`${EXECUTABLE} --help`)
 
-    expect(combined).toMatchInlineSnapshot(`
-      "
-      tailwindcss v3.0.0-alpha.1
-
-      Usage:
-         tailwindcss build [options]
-
-      Options:
-         -i, --input              Input file
-         -o, --output             Output file
-         -w, --watch              Watch for changes and rebuild as needed
-             --content            Content paths to use for removing unused classes
-             --postcss            Load custom PostCSS configuration
-         -m, --minify             Minify the output
-         -c, --config             Path to a custom config file
-             --no-autoprefixer    Disable autoprefixer
-         -h, --help               Display usage information
-
-      "
-    `)
+    expect(dedent(combined)).toEqual(
+      dedent(`
+        tailwindcss v${version}
+
+        Usage:
+           tailwindcss build [options]
+
+        Options:
+           -i, --input              Input file
+           -o, --output             Output file
+           -w, --watch              Watch for changes and rebuild as needed
+               --content            Content paths to use for removing unused classes
+               --postcss            Load custom PostCSS configuration
+           -m, --minify             Minify the output
+           -c, --config             Path to a custom config file
+               --no-autoprefixer    Disable autoprefixer
+           -h, --help               Display usage information
+      `)
+    )
   })
 })
 
@@ -325,19 +340,18 @@ describe('Init command', () => {
   test('--help', async () => {
     let { combined } = await $(`${EXECUTABLE} init --help`)
 
-    expect(combined).toMatchInlineSnapshot(`
-      "
-      tailwindcss v3.0.0-alpha.1
-
-      Usage:
-         tailwindcss init [options]
+    expect(dedent(combined)).toEqual(
+      dedent(`
+        tailwindcss v${version}
 
-      Options:
-         -f, --full               Initialize a full \`tailwind.config.js\` file
-         -p, --postcss            Initialize a \`postcss.config.js\` file
-         -h, --help               Display usage information
+        Usage:
+           tailwindcss init [options]
 
-      "
-    `)
+        Options:
+           -f, --full               Initialize a full \`tailwind.config.js\` file
+           -p, --postcss            Initialize a \`postcss.config.js\` file
+           -h, --help               Display usage information
+      `)
+    )
   })
 })
diff --git a/tests/arbitrary-properties.test.js b/tests/arbitrary-properties.test.js
new file mode 100644
index 00000000..1b98e49d
--- /dev/null
+++ b/tests/arbitrary-properties.test.js
@@ -0,0 +1,233 @@
+import { run, html, css } from './util/run'
+
+test('basic arbitrary properties', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="[paint-order:markers]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .\[paint-order\:markers\] {
+        paint-order: markers;
+      }
+    `)
+  })
+})
+
+test('arbitrary properties with modifiers', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="dark:lg:hover:[paint-order:markers]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      @media (prefers-color-scheme: dark) {
+        @media (min-width: 1024px) {
+          .\[paint-order\:markers\] {
+            paint-order: markers;
+          }
+        }
+      }
+    `)
+  })
+})
+
+test('arbitrary properties are sorted after utilities', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="content-none [paint-order:markers] hover:pointer-events-none"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .content-none {
+        --tw-content: none;
+        content: var(--tw-content);
+      }
+      .\[paint-order\:markers\] {
+        paint-order: markers;
+      }
+      .hover\:pointer-events-none:hover {
+        pointer-events: none;
+      }
+    `)
+  })
+})
+
+test('using CSS variables', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="[--my-var:auto]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .\[--my-var\:auto\] {
+        --my-var: auto;
+      }
+    `)
+  })
+})
+
+test('using underscores as spaces', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="[--my-var:2px_4px]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .\[--my-var\:2px_4px\] {
+        --my-var: 2px 4px;
+      }
+    `)
+  })
+})
+
+test('using the important modifier', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="![--my-var:2px_4px]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .\!\[--my-var\:2px_4px\] {
+        --my-var: 2px 4px !important;
+      }
+    `)
+  })
+})
+
+test('colons are allowed in quotes', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="[content:'foo:bar']"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .\[content\:\'foo\:bar\'\] {
+        content: 'foo:bar';
+      }
+    `)
+  })
+})
+
+test('colons are allowed in braces', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="[background-image:url(http://example.com/picture.jpg)]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .\[background-image\:url\(http\:\/\/example\.com\/picture\.jpg\)\] {
+        background-image: url(http://example.com/picture.jpg);
+      }
+    `)
+  })
+})
+
+test('invalid class', () => {
+  let config = {
+    content: [
+      {
+        raw: html`<div class="[a:b:c:d]"></div>`,
+      },
+    ],
+    corePlugins: { preflight: false },
+  }
+
+  let input = css`
+    @tailwind base;
+    @tailwind components;
+    @tailwind utilities;
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css``)
+  })
+})
diff --git a/tests/basic-usage.test.css b/tests/basic-usage.test.css
index 3e491b6b..6eb35b5b 100644
--- a/tests/basic-usage.test.css
+++ b/tests/basic-usage.test.css
@@ -19,6 +19,16 @@
     scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
 }
 
+.touch-pan-x,
+.touch-pan-y,
+.touch-pan-up,
+.touch-pinch-zoom {
+  --tw-pan-x: var(--tw-empty, /*!*/ /*!*/);
+  --tw-pan-y: var(--tw-empty, /*!*/ /*!*/);
+  --tw-pinch-zoom: var(--tw-empty, /*!*/ /*!*/);
+  --tw-touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
+}
+
 .snap-x {
   --tw-scroll-snap-strictness: proximity;
 }
@@ -374,8 +384,21 @@
 .cursor-pointer {
   cursor: pointer;
 }
+.touch-pan-x {
+  --tw-pan-x: pan-x;
+  touch-action: var(--tw-touch-action);
+}
 .touch-pan-y {
-  touch-action: pan-y;
+  --tw-pan-y: pan-y;
+  touch-action: var(--tw-touch-action);
+}
+.touch-pan-up {
+  --tw-pan-y: pan-up;
+  touch-action: var(--tw-touch-action);
+}
+.touch-pinch-zoom {
+  --tw-pinch-zoom: pinch-zoom;
+  touch-action: var(--tw-touch-action);
 }
 .touch-manipulation {
   touch-action: manipulation;
diff --git a/tests/basic-usage.test.html b/tests/basic-usage.test.html
index 9d90c57a..4a64e43c 100644
--- a/tests/basic-usage.test.html
+++ b/tests/basic-usage.test.html
@@ -170,6 +170,7 @@
     <div class="transition transition-all"></div>
     <div class="ease-in-out"></div>
     <div class="translate-x-5 -translate-x-4 translate-y-6 -translate-x-3"></div>
+    <div class="touch-pan-up touch-pan-x touch-pinch-zoom"></div>
     <div class="select-none"></div>
     <div class="align-middle"></div>
     <div class="invisible"></div>
diff --git a/tests/containerPlugin.test.js b/tests/containerPlugin.test.js
index 51b7093b..7dfc7352 100644
--- a/tests/containerPlugin.test.js
+++ b/tests/containerPlugin.test.js
@@ -343,3 +343,39 @@ test('container can use variants', () => {
     `)
   })
 })
+
+test('container can use screens with tuple syntax', () => {
+  let config = {
+    content: [{ raw: html`<div class="container"></div>` }],
+    theme: {
+      screens: [
+        [1800, { min: '1800px' }],
+        [1200, { min: '1200px' }],
+        [768, { min: '768px' }],
+      ],
+    },
+  }
+
+  return run('@tailwind components', config).then((result) => {
+    expect(result.css).toMatchFormattedCss(css`
+      .container {
+        width: 100%;
+      }
+      @media (min-width: 768px) {
+        .container {
+          max-width: 768px;
+        }
+      }
+      @media (min-width: 1200px) {
+        .container {
+          max-width: 1200px;
+        }
+      }
+      @media (min-width: 1800px) {
+        .container {
+          max-width: 1800px;
+        }
+      }
+    `)
+  })
+})
diff --git a/tests/detect-nesting.test.js b/tests/detect-nesting.test.js
index 35e30393..bd123eca 100644
--- a/tests/detect-nesting.test.js
+++ b/tests/detect-nesting.test.js
@@ -19,7 +19,37 @@ it('should warn when we detect nested css', () => {
     expect(result.messages).toMatchObject([
       {
         type: 'warning',
-        text: 'Nested CSS detected, checkout the docs on how to support nesting: https://tailwindcss.com/docs/using-with-preprocessors#nesting',
+        text: [
+          'Nested CSS was detected, but CSS nesting has not been configured correctly.',
+          'Please enable a CSS nesting plugin *before* Tailwind in your configuration.',
+          'See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting',
+        ].join('\n'),
+      },
+    ])
+  })
+})
+
+it('should warn when we detect namespaced @tailwind at rules', () => {
+  let config = {
+    content: [{ raw: html`<div class="text-center"></div>` }],
+  }
+
+  let input = css`
+    .namespace {
+      @tailwind utilities;
+    }
+  `
+
+  return run(input, config).then((result) => {
+    expect(result.messages).toHaveLength(1)
+    expect(result.messages).toMatchObject([
+      {
+        type: 'warning',
+        text: [
+          'Nested @tailwind rules were detected, but are not supported.',
+          "Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix",
+          'Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy',
+        ].join('\n'),
       },
     ])
   })
diff --git a/tests/evaluateTailwindFunctions.test.js b/tests/evaluateTailwindFunctions.test.js
index b2c69a0a..01d7393b 100644
--- a/tests/evaluateTailwindFunctions.test.js
+++ b/tests/evaluateTailwindFunctions.test.js
@@ -1,17 +1,22 @@
 import postcss from 'postcss'
 import plugin from '../src/lib/evaluateTailwindFunctions'
+import { css } from './util/run'
 
 function run(input, opts = {}) {
   return postcss([plugin({ tailwindConfig: opts })]).process(input, { from: undefined })
 }
 
 test('it looks up values in the theme using dot notation', () => {
-  const input = `
-    .banana { color: theme('colors.yellow'); }
+  let input = css`
+    .banana {
+      color: theme('colors.yellow');
+    }
   `
 
-  const output = `
-    .banana { color: #f7cc50; }
+  let output = css`
+    .banana {
+      color: #f7cc50;
+    }
   `
 
   return run(input, {
@@ -27,37 +32,85 @@ test('it looks up values in the theme using dot notation', () => {
 })
 
 test('color can be a function', () => {
-  const input = `
-    .backgroundColor { color: theme('backgroundColor.fn') }
-    .borderColor { color: theme('borderColor.fn') }
-    .caretColor { color: theme('caretColor.fn') }
-    .colors { color: theme('colors.fn') }
-    .divideColor { color: theme('divideColor.fn') }
-    .fill { color: theme('fill.fn') }
-    .gradientColorStops { color: theme('gradientColorStops.fn') }
-    .placeholderColor { color: theme('placeholderColor.fn') }
-    .ringColor { color: theme('ringColor.fn') }
-    .ringOffsetColor { color: theme('ringOffsetColor.fn') }
-    .stroke { color: theme('stroke.fn') }
-    .textColor { color: theme('textColor.fn') }
-  `
-
-  const output = `
-    .backgroundColor { color: #f00 }
-    .borderColor { color: #f00 }
-    .caretColor { color: #f00 }
-    .colors { color: #f00 }
-    .divideColor { color: #f00 }
-    .fill { color: #f00 }
-    .gradientColorStops { color: #f00 }
-    .placeholderColor { color: #f00 }
-    .ringColor { color: #f00 }
-    .ringOffsetColor { color: #f00 }
-    .stroke { color: #f00 }
-    .textColor { color: #f00 }
-  `
-
-  const fn = () => `#f00`
+  let input = css`
+    .backgroundColor {
+      color: theme('backgroundColor.fn');
+    }
+    .borderColor {
+      color: theme('borderColor.fn');
+    }
+    .caretColor {
+      color: theme('caretColor.fn');
+    }
+    .colors {
+      color: theme('colors.fn');
+    }
+    .divideColor {
+      color: theme('divideColor.fn');
+    }
+    .fill {
+      color: theme('fill.fn');
+    }
+    .gradientColorStops {
+      color: theme('gradientColorStops.fn');
+    }
+    .placeholderColor {
+      color: theme('placeholderColor.fn');
+    }
+    .ringColor {
+      color: theme('ringColor.fn');
+    }
+    .ringOffsetColor {
+      color: theme('ringOffsetColor.fn');
+    }
+    .stroke {
+      color: theme('stroke.fn');
+    }
+    .textColor {
+      color: theme('textColor.fn');
+    }
+  `
+
+  let output = css`
+    .backgroundColor {
+      color: #f00;
+    }
+    .borderColor {
+      color: #f00;
+    }
+    .caretColor {
+      color: #f00;
+    }
+    .colors {
+      color: #f00;
+    }
+    .divideColor {
+      color: #f00;
+    }
+    .fill {
+      color: #f00;
+    }
+    .gradientColorStops {
+      color: #f00;
+    }
+    .placeholderColor {
+      color: #f00;
+    }
+    .ringColor {
+      color: #f00;
+    }
+    .ringOffsetColor {
+      color: #f00;
+    }
+    .stroke {
+      color: #f00;
+    }
+    .textColor {
+      color: #f00;
+    }
+  `
+
+  let fn = () => `#f00`
 
   return run(input, {
     theme: {
@@ -81,12 +134,16 @@ test('color can be a function', () => {
 })
 
 test('quotes are optional around the lookup path', () => {
-  const input = `
-    .banana { color: theme(colors.yellow); }
+  let input = css`
+    .banana {
+      color: theme(colors.yellow);
+    }
   `
 
-  const output = `
-    .banana { color: #f7cc50; }
+  let output = css`
+    .banana {
+      color: #f7cc50;
+    }
   `
 
   return run(input, {
@@ -102,12 +159,16 @@ test('quotes are optional around the lookup path', () => {
 })
 
 test('a default value can be provided', () => {
-  const input = `
-    .cookieMonster { color: theme('colors.blue', #0000ff); }
+  let input = css`
+    .cookieMonster {
+      color: theme('colors.blue', #0000ff);
+    }
   `
 
-  const output = `
-    .cookieMonster { color: #0000ff; }
+  let output = css`
+    .cookieMonster {
+      color: #0000ff;
+    }
   `
 
   return run(input, {
@@ -123,12 +184,16 @@ test('a default value can be provided', () => {
 })
 
 test('the default value can use the theme function', () => {
-  const input = `
-    .cookieMonster { color: theme('colors.blue', theme('colors.yellow')); }
+  let input = css`
+    .cookieMonster {
+      color: theme('colors.blue', theme('colors.yellow'));
+    }
   `
 
-  const output = `
-    .cookieMonster { color: #f7cc50; }
+  let output = css`
+    .cookieMonster {
+      color: #f7cc50;
+    }
   `
 
   return run(input, {
@@ -144,12 +209,16 @@ test('the default value can use the theme function', () => {
 })
 
 test('quotes are preserved around default values', () => {
-  const input = `
-    .heading { font-family: theme('fontFamily.sans', "Helvetica Neue"); }
+  let input = css`
+    .heading {
+      font-family: theme('fontFamily.sans', 'Helvetica Neue');
+    }
   `
 
-  const output = `
-    .heading { font-family: "Helvetica Neue"; }
+  let output = css`
+    .heading {
+      font-family: 'Helvetica Neue';
+    }
   `
 
   return run(input, {
@@ -165,12 +234,16 @@ test('quotes are preserved around default values', () => {
 })
 
 test('an unquoted list is valid as a default value', () => {
-  const input = `
-    .heading { font-family: theme('fontFamily.sans', Helvetica, Arial, sans-serif); }
+  let input = css`
+    .heading {
+      font-family: theme('fontFamily.sans', Helvetica, Arial, sans-serif);
+    }
   `
 
-  const output = `
-    .heading { font-family: Helvetica, Arial, sans-serif; }
+  let output = css`
+    .heading {
+      font-family: Helvetica, Arial, sans-serif;
+    }
   `
 
   return run(input, {
@@ -186,8 +259,10 @@ test('an unquoted list is valid as a default value', () => {
 })
 
 test('a missing root theme value throws', () => {
-  const input = `
-    .heading { color: theme('colours.gray.100'); }
+  let input = css`
+    .heading {
+      color: theme('colours.gray.100');
+    }
   `
 
   return expect(
@@ -204,8 +279,10 @@ test('a missing root theme value throws', () => {
 })
 
 test('a missing nested theme property throws', () => {
-  const input = `
-    .heading { color: theme('colors.red'); }
+  let input = css`
+    .heading {
+      color: theme('colors.red');
+    }
   `
 
   return expect(
@@ -223,8 +300,10 @@ test('a missing nested theme property throws', () => {
 })
 
 test('a missing nested theme property with a close alternative throws with a suggestion', () => {
-  const input = `
-    .heading { color: theme('colors.yellw'); }
+  let input = css`
+    .heading {
+      color: theme('colors.yellw');
+    }
   `
 
   return expect(
@@ -241,8 +320,10 @@ test('a missing nested theme property with a close alternative throws with a sug
 })
 
 test('a path through a non-object throws', () => {
-  const input = `
-    .heading { color: theme('colors.yellow.100'); }
+  let input = css`
+    .heading {
+      color: theme('colors.yellow.100');
+    }
   `
 
   return expect(
@@ -259,8 +340,10 @@ test('a path through a non-object throws', () => {
 })
 
 test('a path which exists but is not a string throws', () => {
-  const input = `
-    .heading { color: theme('colors.yellow'); }
+  let input = css`
+    .heading {
+      color: theme('colors.yellow');
+    }
   `
 
   return expect(
@@ -275,8 +358,10 @@ test('a path which exists but is not a string throws', () => {
 })
 
 test('a path which exists but is invalid throws', () => {
-  const input = `
-    .heading { color: theme('colors'); }
+  let input = css`
+    .heading {
+      color: theme('colors');
+    }
   `
 
   return expect(
@@ -289,8 +374,10 @@ test('a path which exists but is invalid throws', () => {
 })
 
 test('a path which is an object throws with a suggested key', () => {
-  const input = `
-    .heading { color: theme('colors'); }
+  let input = css`
+    .heading {
+      color: theme('colors');
+    }
   `
 
   return expect(
@@ -307,12 +394,16 @@ test('a path which is an object throws with a suggested key', () => {
 })
 
 test('array values are joined by default', () => {
-  const input = `
-    .heading { font-family: theme('fontFamily.sans'); }
+  let input = css`
+    .heading {
+      font-family: theme('fontFamily.sans');
+    }
   `
 
-  const output = `
-    .heading { font-family: Inter, Helvetica, sans-serif; }
+  let output = css`
+    .heading {
+      font-family: Inter, Helvetica, sans-serif;
+    }
   `
 
   return run(input, {
@@ -328,14 +419,22 @@ test('array values are joined by default', () => {
 })
 
 test('font sizes are retrieved without default line-heights or letter-spacing', () => {
-  const input = `
-    .heading-1 { font-size: theme('fontSize.lg'); }
-    .heading-2 { font-size: theme('fontSize.xl'); }
+  let input = css`
+    .heading-1 {
+      font-size: theme('fontSize.lg');
+    }
+    .heading-2 {
+      font-size: theme('fontSize.xl');
+    }
   `
 
-  const output = `
-    .heading-1 { font-size: 20px; }
-    .heading-2 { font-size: 24px; }
+  let output = css`
+    .heading-1 {
+      font-size: 20px;
+    }
+    .heading-2 {
+      font-size: 24px;
+    }
   `
 
   return run(input, {
@@ -352,12 +451,16 @@ test('font sizes are retrieved without default line-heights or letter-spacing',
 })
 
 test('outlines are retrieved without default outline-offset', () => {
-  const input = `
-    .element { outline: theme('outline.black'); }
+  let input = css`
+    .element {
+      outline: theme('outline.black');
+    }
   `
 
-  const output = `
-    .element { outline: 2px dotted black; }
+  let output = css`
+    .element {
+      outline: 2px dotted black;
+    }
   `
 
   return run(input, {
@@ -373,12 +476,16 @@ test('outlines are retrieved without default outline-offset', () => {
 })
 
 test('font-family values are joined when an array', () => {
-  const input = `
-    .element { font-family: theme('fontFamily.sans'); }
+  let input = css`
+    .element {
+      font-family: theme('fontFamily.sans');
+    }
   `
 
-  const output = `
-    .element { font-family: Helvetica, Arial, sans-serif; }
+  let output = css`
+    .element {
+      font-family: Helvetica, Arial, sans-serif;
+    }
   `
 
   return run(input, {
@@ -394,12 +501,16 @@ test('font-family values are joined when an array', () => {
 })
 
 test('box-shadow values are joined when an array', () => {
-  const input = `
-    .element { box-shadow: theme('boxShadow.wtf'); }
+  let input = css`
+    .element {
+      box-shadow: theme('boxShadow.wtf');
+    }
   `
 
-  const output = `
-    .element { box-shadow: 0 0 2px black, 1px 2px 3px white; }
+  let output = css`
+    .element {
+      box-shadow: 0 0 2px black, 1px 2px 3px white;
+    }
   `
 
   return run(input, {
@@ -415,12 +526,16 @@ test('box-shadow values are joined when an array', () => {
 })
 
 test('transition-property values are joined when an array', () => {
-  const input = `
-    .element { transition-property: theme('transitionProperty.colors'); }
+  let input = css`
+    .element {
+      transition-property: theme('transitionProperty.colors');
+    }
   `
 
-  const output = `
-    .element { transition-property: color, fill; }
+  let output = css`
+    .element {
+      transition-property: color, fill;
+    }
   `
 
   return run(input, {
@@ -436,12 +551,16 @@ test('transition-property values are joined when an array', () => {
 })
 
 test('transition-duration values are joined when an array', () => {
-  const input = `
-    .element { transition-duration: theme('transitionDuration.lol'); }
+  let input = css`
+    .element {
+      transition-duration: theme('transitionDuration.lol');
+    }
   `
 
-  const output = `
-    .element { transition-duration: 1s, 2s; }
+  let output = css`
+    .element {
+      transition-duration: 1s, 2s;
+    }
   `
 
   return run(input, {
@@ -457,16 +576,18 @@ test('transition-duration values are joined when an array', () => {
 })
 
 test('basic screen function calls are expanded', () => {
-  const input = `
+  let input = css`
     @media screen(sm) {
-      .foo {}
+      .foo {
+      }
     }
   `
 
-  const output = `
-  @media (min-width: 600px) {
-    .foo {}
-  }
+  let output = css`
+    @media (min-width: 600px) {
+      .foo {
+      }
+    }
   `
 
   return run(input, {
@@ -478,16 +599,18 @@ test('basic screen function calls are expanded', () => {
 })
 
 test('screen function supports max-width screens', () => {
-  const input = `
+  let input = css`
     @media screen(sm) {
-      .foo {}
+      .foo {
+      }
     }
   `
 
-  const output = `
-  @media (max-width: 600px) {
-    .foo {}
-  }
+  let output = css`
+    @media (max-width: 600px) {
+      .foo {
+      }
+    }
   `
 
   return run(input, {
@@ -499,16 +622,18 @@ test('screen function supports max-width screens', () => {
 })
 
 test('screen function supports min-width screens', () => {
-  const input = `
+  let input = css`
     @media screen(sm) {
-      .foo {}
+      .foo {
+      }
     }
   `
 
-  const output = `
-  @media (min-width: 600px) {
-    .foo {}
-  }
+  let output = css`
+    @media (min-width: 600px) {
+      .foo {
+      }
+    }
   `
 
   return run(input, {
@@ -520,16 +645,18 @@ test('screen function supports min-width screens', () => {
 })
 
 test('screen function supports min-width and max-width screens', () => {
-  const input = `
+  let input = css`
     @media screen(sm) {
-      .foo {}
+      .foo {
+      }
     }
   `
 
-  const output = `
-  @media (min-width: 600px) and (max-width: 700px) {
-    .foo {}
-  }
+  let output = css`
+    @media (min-width: 600px) and (max-width: 700px) {
+      .foo {
+      }
+    }
   `
 
   return run(input, {
@@ -541,16 +668,18 @@ test('screen function supports min-width and max-width screens', () => {
 })
 
 test('screen function supports raw screens', () => {
-  const input = `
+  let input = css`
     @media screen(mono) {
-      .foo {}
+      .foo {
+      }
     }
   `
 
-  const output = `
-  @media monochrome {
-    .foo {}
-  }
+  let output = css`
+    @media monochrome {
+      .foo {
+      }
+    }
   `
 
   return run(input, {
@@ -562,16 +691,18 @@ test('screen function supports raw screens', () => {
 })
 
 test('screen arguments can be quoted', () => {
-  const input = `
+  let input = css`
     @media screen('sm') {
-      .foo {}
+      .foo {
+      }
     }
   `
 
-  const output = `
-  @media (min-width: 600px) {
-    .foo {}
-  }
+  let output = css`
+    @media (min-width: 600px) {
+      .foo {
+      }
+    }
   `
 
   return run(input, {
diff --git a/tests/format-variant-selector.test.js b/tests/format-variant-selector.test.js
index a32ae502..94e86ddf 100644
--- a/tests/format-variant-selector.test.js
+++ b/tests/format-variant-selector.test.js
@@ -259,3 +259,26 @@ describe('real examples', () => {
     })
   })
 })
+
+describe('pseudo elements', () => {
+  it.each`
+    before                                                   | after
+    ${'&::before'}                                           | ${'&::before'}
+    ${'&::before:hover'}                                     | ${'&:hover::before'}
+    ${'&:before:hover'}                                      | ${'&:hover:before'}
+    ${'&::file-selector-button:hover'}                       | ${'&::file-selector-button:hover'}
+    ${'&:hover::file-selector-button'}                       | ${'&:hover::file-selector-button'}
+    ${'.parent:hover &'}                                     | ${'.parent:hover &'}
+    ${'.parent::before &'}                                   | ${'.parent &::before'}
+    ${'.parent::before &:hover'}                             | ${'.parent &:hover::before'}
+    ${':where(&::before) :is(h1, h2, h3, h4)'}               | ${':where(&) :is(h1, h2, h3, h4)::before'}
+    ${':where(&::file-selector-button) :is(h1, h2, h3, h4)'} | ${':where(&::file-selector-button) :is(h1, h2, h3, h4)'}
+  `('should translate "$before" into "$after"', ({ before, after }) => {
+    let result = finalizeSelector(formatVariantSelector('&', before), {
+      selector: '.a',
+      candidate: 'a',
+    })
+
+    expect(result).toEqual(after.replace('&', '.a'))
+  })
+})
diff --git a/tests/kitchen-sink.test.css b/tests/kitchen-sink.test.css
index 0ebe1f76..729049b2 100644
--- a/tests/kitchen-sink.test.css
+++ b/tests/kitchen-sink.test.css
@@ -509,11 +509,6 @@ div {
     }
   }
 }
-@media (orientation: portrait) {
-  .portrait\:text-center {
-    text-align: center;
-  }
-}
 @media (min-width: 1280px) and (max-width: 1535px) {
   .range\:text-right {
     text-align: right;
diff --git a/tests/kitchen-sink.test.html b/tests/kitchen-sink.test.html
index 6a57cfe0..5215db2a 100644
--- a/tests/kitchen-sink.test.html
+++ b/tests/kitchen-sink.test.html
@@ -8,7 +8,7 @@
     <link rel="stylesheet" href="./tailwind.css" />
   </head>
   <body>
-    <div class="portrait:text-center range:text-right multi:text-left"></div>
+    <div class="range:text-right multi:text-left"></div>
     <div
       class="container hover:container sm:container md:container text-center sm:text-center md:text-center"
     ></div>
diff --git a/tests/kitchen-sink.test.js b/tests/kitchen-sink.test.js
index 6fcbe0be..83b3e6e7 100644
--- a/tests/kitchen-sink.test.js
+++ b/tests/kitchen-sink.test.js
@@ -11,7 +11,6 @@ test('it works', () => {
     theme: {
       extend: {
         screens: {
-          portrait: { raw: '(orientation: portrait)' },
           range: { min: '1280px', max: '1535px' },
           multi: [{ min: '640px', max: '767px' }, { max: '868px' }],
         },
diff --git a/tests/normalize-screens.test.js b/tests/normalize-screens.test.js
new file mode 100644
index 00000000..1a5b4a88
--- /dev/null
+++ b/tests/normalize-screens.test.js
@@ -0,0 +1,98 @@
+import { normalizeScreens } from '../src/util/normalizeScreens'
+
+it('should normalize an array of string values', () => {
+  let screens = ['768px', '1200px']
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: '768px', values: [{ min: '768px', max: undefined }] },
+    { name: '1200px', values: [{ min: '1200px', max: undefined }] },
+  ])
+})
+
+it('should normalize an object with string values', () => {
+  let screens = {
+    a: '768px',
+    b: '1200px',
+  }
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: 'a', values: [{ min: '768px', max: undefined }] },
+    { name: 'b', values: [{ min: '1200px', max: undefined }] },
+  ])
+})
+
+it('should normalize an object with object values', () => {
+  let screens = {
+    a: { min: '768px' },
+    b: { max: '1200px' },
+  }
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: 'a', values: [{ min: '768px', max: undefined }] },
+    { name: 'b', values: [{ min: undefined, max: '1200px' }] },
+  ])
+})
+
+it('should normalize an object with multiple object values', () => {
+  let screens = {
+    a: [{ min: '768px' }, { max: '1200px' }],
+  }
+
+  expect(normalizeScreens(screens)).toEqual([
+    {
+      name: 'a',
+      values: [
+        { max: undefined, min: '768px', raw: undefined },
+        { max: '1200px', min: undefined, raw: undefined },
+      ],
+    },
+  ])
+})
+
+it('should normalize an object with object values (min-width normalized to width)', () => {
+  let screens = {
+    a: { 'min-width': '768px' },
+    b: { max: '1200px' },
+  }
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: 'a', values: [{ min: '768px', max: undefined }] },
+    { name: 'b', values: [{ min: undefined, max: '1200px' }] },
+  ])
+})
+
+it('should normalize a tuple with string values', () => {
+  let screens = [
+    ['a', '768px'],
+    ['b', '1200px'],
+  ]
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: 'a', values: [{ min: '768px', max: undefined }] },
+    { name: 'b', values: [{ min: '1200px', max: undefined }] },
+  ])
+})
+
+it('should normalize a tuple with object values', () => {
+  let screens = [
+    ['a', { min: '768px' }],
+    ['b', { max: '1200px' }],
+  ]
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: 'a', values: [{ min: '768px', max: undefined }] },
+    { name: 'b', values: [{ min: undefined, max: '1200px' }] },
+  ])
+})
+
+it('should normalize a tuple with object values (min-width normalized to width)', () => {
+  let screens = [
+    ['a', { 'min-width': '768px' }],
+    ['b', { max: '1200px' }],
+  ]
+
+  expect(normalizeScreens(screens)).toEqual([
+    { name: 'a', values: [{ min: '768px', max: undefined }] },
+    { name: 'b', values: [{ min: undefined, max: '1200px' }] },
+  ])
+})
diff --git a/tests/parallel-variants.test.js b/tests/parallel-variants.test.js
index e92bee89..5d58ea34 100644
--- a/tests/parallel-variants.test.js
+++ b/tests/parallel-variants.test.js
@@ -27,7 +27,7 @@ test('basic parallel variants', async () => {
       .test\:font-medium *::test {
         font-weight: 500;
       }
-      .hover\:test\:font-black *::test:hover {
+      .hover\:test\:font-black *:hover::test {
         font-weight: 900;
       }
       .test\:font-bold::test {
@@ -36,7 +36,7 @@ test('basic parallel variants', async () => {
       .test\:font-medium::test {
         font-weight: 500;
       }
-      .hover\:test\:font-black::test:hover {
+      .hover\:test\:font-black:hover::test {
         font-weight: 900;
       }
     `)
diff --git a/tests/resolve-defaults-at-rules.test.js b/tests/resolve-defaults-at-rules.test.js
index ae8b3e90..99750779 100644
--- a/tests/resolve-defaults-at-rules.test.js
+++ b/tests/resolve-defaults-at-rules.test.js
@@ -252,12 +252,12 @@ test('with multi-class pseudo-element and pseudo-class variants', async () => {
           scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
       }
       /* --- */
-      .group:hover .group-hover\:hover\:before\:scale-x-110::before:hover {
+      .group:hover .group-hover\:hover\:before\:scale-x-110:hover::before {
         content: var(--tw-content);
         --tw-scale-x: 1.1;
         transform: var(--tw-transform);
       }
-      .peer:focus ~ .peer-focus\:focus\:after\:rotate-3::after:focus {
+      .peer:focus ~ .peer-focus\:focus\:after\:rotate-3:focus::after {
         content: var(--tw-content);
         --tw-rotate: 3deg;
         transform: var(--tw-transform);
diff --git a/tests/tailwind-screens.test.js b/tests/tailwind-screens.test.js
index 784bf40c..232ae011 100644
--- a/tests/tailwind-screens.test.js
+++ b/tests/tailwind-screens.test.js
@@ -65,3 +65,51 @@ test('`@tailwind screens` works as an alias for `@tailwind variants`', async ()
     `)
   })
 })
+
+test('screen names are in the correct order', () => {
+  // Using custom css function here, because otherwise with String.raw, we run
+  // into an issue with `\31 ` escapes. If we use `\31 ` then JS complains
+  // about strict mode. But `\\31 ` is not what it expected.
+  function css(templates) {
+    return templates.join('')
+  }
+
+  let config = {
+    content: [
+      {
+        raw: html`<div
+          class="768:font-light 1200:font-normal 1800:font-bold max-w-768 container"
+        ></div>`,
+      },
+    ],
+    theme: {
+      screens: [
+        [1800, { max: '1800px' }],
+        [1200, { max: '1200px' }],
+        [768, { max: '768px' }],
+      ],
+    },
+  }
+
+  return run('@tailwind utilities;', config).then((result) => {
+    return expect(result.css).toMatchFormattedCss(css`
+      @media (max-width: 1800px) {
+        .\\31 800\\:font-bold {
+          font-weight: 700;
+        }
+      }
+
+      @media (max-width: 1200px) {
+        .\\31 200\\:font-normal {
+          font-weight: 400;
+        }
+      }
+
+      @media (max-width: 768px) {
+        .\\37 68\\:font-light {
+          font-weight: 300;
+        }
+      }
+    `)
+  })
+})
diff --git a/tests/variants.test.css b/tests/variants.test.css
index f1c9b0e4..657d136e 100644
--- a/tests/variants.test.css
+++ b/tests/variants.test.css
@@ -165,6 +165,13 @@
   --tw-text-opacity: 1;
   color: rgb(255 255 255 / var(--tw-text-opacity));
 }
+.placeholder\:font-bold::placeholder {
+  font-weight: 700;
+}
+.placeholder\:text-red-500::placeholder {
+  --tw-text-opacity: 1;
+  color: rgb(239 68 68 / var(--tw-text-opacity));
+}
 .before\:block::before {
   content: var(--tw-content);
   display: block;
@@ -899,3 +906,15 @@
     }
   }
 }
+@media (orientation: portrait) {
+  .portrait\:bg-yellow-300 {
+    --tw-bg-opacity: 1;
+    background-color: rgb(253 224 71 / var(--tw-bg-opacity));
+  }
+}
+@media (orientation: landscape) {
+  .landscape\:bg-yellow-300 {
+    --tw-bg-opacity: 1;
+    background-color: rgb(253 224 71 / var(--tw-bg-opacity));
+  }
+}
diff --git a/tests/variants.test.html b/tests/variants.test.html
index 8a671fe2..af01da26 100644
--- a/tests/variants.test.html
+++ b/tests/variants.test.html
@@ -49,6 +49,7 @@
     <div class="file:bg-blue-500 file:text-white"></div>
     <div class="before:block before:bg-red-500"></div>
     <div class="after:flex after:uppercase"></div>
+    <div class="placeholder:font-bold placeholder:text-red-500"></div>
 
     <!-- Group variants -->
     <div class="group-open:bg-red-200"></div>
@@ -134,6 +135,10 @@
     <div class="lg:animate-spin"></div>
     <div class="hover:animate-spin"></div>
 
+    <!-- Orientation variants -->
+    <div class="portrait:bg-yellow-300"></div>
+    <div class="landscape:bg-yellow-300"></div>
+
     <!-- Stacked variants -->
     <div class="open:hover:bg-red-200"></div>
     <div class="file:hover:bg-blue-600"></div>
diff --git a/tests/variants.test.js b/tests/variants.test.js
index f2d80f42..b241a11c 100644
--- a/tests/variants.test.js
+++ b/tests/variants.test.js
@@ -323,3 +323,63 @@ test('custom addVariant with nested media & format shorthand', () => {
     `)
   })
 })
+
+test('before and after variants are a bit special, and forced to the end', () => {
+  let config = {
+    content: [
+      {
+        raw: html`
+          <div class="before:hover:text-center"></div>
+          <div class="hover:before:text-center"></div>
+        `,
+      },
+    ],
+    plugins: [],
+  }
+
+  return run('@tailwind components;@tailwind utilities', config).then((result) => {
+    return expect(result.css).toMatchFormattedCss(css`
+      .before\:hover\:text-center:hover::before {
+        content: var(--tw-content);
+        text-align: center;
+      }
+
+      .hover\:before\:text-center:hover::before {
+        content: var(--tw-content);
+        text-align: center;
+      }
+    `)
+  })
+})
+
+test('before and after variants are a bit special, and forced to the end (2)', () => {
+  let config = {
+    content: [
+      {
+        raw: html`
+          <div class="before:prose-headings:text-center"></div>
+          <div class="prose-headings:before:text-center"></div>
+        `,
+      },
+    ],
+    plugins: [
+      function ({ addVariant }) {
+        addVariant('prose-headings', ':where(&) :is(h1, h2, h3, h4)')
+      },
+    ],
+  }
+
+  return run('@tailwind components;@tailwind utilities', config).then((result) => {
+    return expect(result.css).toMatchFormattedCss(css`
+      :where(.before\:prose-headings\:text-center) :is(h1, h2, h3, h4)::before {
+        content: var(--tw-content);
+        text-align: center;
+      }
+
+      :where(.prose-headings\:before\:text-center) :is(h1, h2, h3, h4)::before {
+        content: var(--tw-content);
+        text-align: center;
+      }
+    `)
+  })
+})