Skip to content

Commit 4dfb1e3

Browse files
authored
Fix missing supports in types (#9616)
* add `supports` to types * update changelog
1 parent 2faf86f commit 4dfb1e3

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Fix missing `supports` in types ([#9616](https://github.com/tailwindlabs/tailwindcss/pull/9616))
1113

1214
## [3.2.0] - 2022-10-19
1315

stubs/defaultConfig.stub.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
xl: '1280px',
1212
'2xl': '1536px',
1313
},
14+
supports: {},
1415
colors: ({ colors }) => ({
1516
inherit: colors.inherit,
1617
current: colors.current,

types/config.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ type ScreensConfig = string[] | KeyValuePair<string, string | Screen | Screen[]>
8484
interface ThemeConfig {
8585
// Responsiveness
8686
screens: ResolvableTo<ScreensConfig>
87+
supports: ResolvableTo<Record<string, string>>
8788

8889
// Reusable base configs
8990
colors: ResolvableTo<RecursiveKeyValuePair>

0 commit comments

Comments
 (0)