From de20f3b00e15883ce173598f469270458609e161 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 6 Sep 2024 15:36:53 -0400 Subject: [PATCH 1/2] Export `Config` type --- packages/tailwindcss/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tailwindcss/src/index.ts b/packages/tailwindcss/src/index.ts index fe68936ff6cf..87b2b467e0e3 100644 --- a/packages/tailwindcss/src/index.ts +++ b/packages/tailwindcss/src/index.ts @@ -9,6 +9,7 @@ import { buildDesignSystem, type DesignSystem } from './design-system' import { registerPlugins, type CssPluginOptions, type Plugin } from './plugin-api' import { Theme, ThemeOptions } from './theme' import { segment } from './utils/segment' +export type Config = UserConfig const IS_VALID_UTILITY_NAME = /^[a-z][a-zA-Z0-9/%._-]*$/ From 5e07ce4157e21f739a8734f97ef5c63b3b57d8f4 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 6 Sep 2024 16:09:29 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 209d999c79cd..490f1ff4266b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Support CSS `theme()` functions inside other `@custom-media`, `@container`, and `@supports` rules ([#14358])(https://github.com/tailwindlabs/tailwindcss/pull/14358) +- Export `Config` type from `tailwindcss` for JS config files ([#14360])(https://github.com/tailwindlabs/tailwindcss/pull/14360) ### Fixed