daisyui 4.12.8 → 4.12.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daisyui",
3
- "version": "4.12.8",
3
+ "version": "4.12.9",
4
4
  "description": "daisyUI - Tailwind CSS Components",
5
5
  "author": "Pouya Saadeghi",
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -101,6 +101,8 @@ interface DaisyUIConfig {
101
101
  * as extensions to Tailwind CSS classes. If you use daisyUI `prefix` option (like `daisy-`) and
102
102
  * Tailwind CSS `prefix` option (like `tw-`) together, classnames will be prefixed like
103
103
  * this: `tw-daisy-btn`.
104
+ *
105
+ * @default ''
104
106
  */
105
107
  prefix?: string
106
108
  /**
@@ -109,6 +111,12 @@ interface DaisyUIConfig {
109
111
  * @default true
110
112
  */
111
113
  logs?: boolean
114
+ /**
115
+ * The element that receives theme color CSS variables
116
+ *
117
+ * @default ':root'
118
+ */
119
+ themeRoot?: string
112
120
  }
113
121
 
114
122
  export type { DaisyUIConfig as Config, Theme, CustomTheme }