tailwindcss/scripts
Nikita Gaidakov ffadf2ba4b Improve resolveConfig return type: merge themes (#12272)
* Generate types: do not intersect with Config theme type when generating DefaultTheme

* Merge default theme in ResolvedConfig

* UnwrapResolvables on theme.extend as well

* Apply extend to overrides and default theme

* Omit extend from DefaultTheme

* Relax generic constraints, better generic variable names

* Fall back to ThemeConfig if key not in DefaultTheme

* Split out ThemeConfigCustomizable to avoid anys in ThemeConfigResolved

* Allow custom theme properties

* handle TypeScript error

* apply prettier formatting

* update changelog

* change type name

---------

Co-authored-by: Nikita Gaidakov <ngaidakov@podfather.com>
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2023-10-30 14:55:42 -04:00
..
create-plugin-list.js Polish match APIs (#5664) 2021-10-01 17:31:09 +02:00
generate-types.js Improve resolveConfig return type: merge themes (#12272) 2023-10-30 14:55:42 -04:00
release-channel.js Prepare for release (#9605) 2022-10-19 15:52:39 +02:00
release-notes.js Prepare for release (#9605) 2022-10-19 15:52:39 +02:00
swap-engines.js Separate stable and oxide engines (#10359) 2023-01-19 11:58:25 -05:00
type-utils.js Add more explicit types for the default theme (#8780) 2022-07-07 09:05:38 -04:00