Skip to content

Commit

Permalink
Fix missing supports in types (#9616)
Browse files Browse the repository at this point in the history
* add `supports` to types

* update changelog
  • Loading branch information
RobinMalfait committed Oct 20, 2022
1 parent 2faf86f commit 4dfb1e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions stubs/defaultConfig.stub.js
Expand Up @@ -11,6 +11,7 @@ module.exports = {
xl: '1280px',
'2xl': '1536px',
},
supports: {},
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.current,
Expand Down
1 change: 1 addition & 0 deletions types/config.d.ts
Expand Up @@ -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>
Expand Down

0 comments on commit 4dfb1e3

Please sign in to comment.