@versini/ui-styles 6.0.8 → 6.1.1
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.
- package/dist/index.d.ts +24 -23
- package/dist/index.js +449 -6493
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { Config } from 'tailwindcss';
|
|
2
|
-
|
|
3
|
-
type TailwindConfig = {
|
|
4
|
-
content: string[];
|
|
5
|
-
plugins: any[];
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import type { Config } from 'tailwindcss';
|
|
2
|
+
|
|
3
|
+
declare type TailwindConfig = {
|
|
4
|
+
content: string[];
|
|
5
|
+
plugins: any[];
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The plugin "merge" function is used to merge the custom configuration with
|
|
10
|
+
* the default and user TailwindCSS configuration.
|
|
11
|
+
* It's to be used in the "tailwind.config.js" configuration file.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
|
|
15
|
+
* import { twPlugin } from "@versini/ui-styles";
|
|
16
|
+
* export default twPlugin.merge({
|
|
17
|
+
* content: ["./src/*.{js,ts,jsx,tsx}"],
|
|
18
|
+
* });
|
|
19
|
+
*/
|
|
20
|
+
export declare const twPlugin: {
|
|
21
|
+
merge: (config: TailwindConfig) => Config;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { }
|