@kayord/ui 0.0.8 → 0.0.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.
package/README.md CHANGED
@@ -42,7 +42,7 @@ import { kayordPlugin } from "@kayord/ui";
42
42
 
43
43
  export default {
44
44
  darkMode: ["class"],
45
- content: ["./src/**/*.{html,js,svelte,ts}"],
45
+ content: ["./src/**/*.{html,js,svelte,ts}", "./node_modules/@kayord/ui/**/*.{html,js,svelte,ts}"],
46
46
  theme: {
47
47
  container: {
48
48
  center: true,
@@ -1 +1 @@
1
- export { kayordPlugin } from "./plugin";
1
+ export { default as kayordPlugin } from "./plugin";
@@ -1 +1,2 @@
1
- export { kayordPlugin } from "./plugin";
1
+ // export { kayordPlugin } from "./plugin";
2
+ export { default as kayordPlugin } from "./plugin";
@@ -1,4 +1,5 @@
1
- export declare const kayordPlugin: {
1
+ declare const kayordPlugin: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
3
  config?: Partial<import("tailwindcss").Config> | undefined;
4
4
  };
5
+ export default kayordPlugin;
@@ -1,8 +1,9 @@
1
1
  import plugin from "tailwindcss/plugin";
2
- export const kayordPlugin = plugin(function ({ addBase, theme }) {
2
+ const kayordPlugin = plugin(function ({ addBase, theme }) {
3
3
  addBase({
4
4
  h1: { fontSize: theme("fontSize.2xl") },
5
5
  h2: { fontSize: theme("fontSize.xl") },
6
6
  h3: { fontSize: theme("fontSize.lg") },
7
7
  });
8
8
  });
9
+ export default kayordPlugin;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kayord/ui",
3
3
  "private": false,
4
- "version": "0.0.8",
4
+ "version": "0.0.9",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",