From fb0cc6340a4cccc61c8d6f3d6491ceb42b11a680 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 20 Oct 2022 14:16:38 +0200 Subject: [PATCH 1/2] add `supports` to types --- stubs/defaultConfig.stub.js | 1 + types/config.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index 6b6931e548cb..d8e55eb4eab3 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -11,6 +11,7 @@ module.exports = { xl: '1280px', '2xl': '1536px', }, + supports: {}, colors: ({ colors }) => ({ inherit: colors.inherit, current: colors.current, diff --git a/types/config.d.ts b/types/config.d.ts index 0df3620611c9..34e1621cf069 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -84,6 +84,7 @@ type ScreensConfig = string[] | KeyValuePair interface ThemeConfig { // Responsiveness screens: ResolvableTo + supports: ResolvableTo> // Reusable base configs colors: ResolvableTo From bfda5f4d631dc22709a0694253b12de5d4c4d701 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 20 Oct 2022 14:25:42 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d40abaa07c..5f5bd398bda8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Fix missing `supports` in types ([#9616](https://github.com/tailwindlabs/tailwindcss/pull/9616)) ## [3.2.0] - 2022-10-19