Fix missing supports in types (#9616)

* add `supports` to types

* update changelog
This commit is contained in:
Robin Malfait 2022-10-20 14:29:00 +02:00 committed by GitHub
parent 2faf86fba1
commit 4dfb1e3f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -11,6 +11,7 @@ module.exports = {
xl: '1280px',
'2xl': '1536px',
},
supports: {},
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.current,

1
types/config.d.ts vendored
View File

@ -84,6 +84,7 @@ type ScreensConfig = string[] | KeyValuePair<string, string | Screen | Screen[]>
interface ThemeConfig {
// Responsiveness
screens: ResolvableTo<ScreensConfig>
supports: ResolvableTo<Record<string, string>>
// Reusable base configs
colors: ResolvableTo<RecursiveKeyValuePair>