@cmdniels/uikit 1.1.3 → 1.1.5

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/out/clerk.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { experimental_createTheme } from "@clerk/themes";
2
+ declare const clerk: ReturnType<typeof experimental_createTheme>;
3
+ export default clerk;
package/out/clerk.js ADDED
@@ -0,0 +1,64 @@
1
+ import { experimental_createTheme } from "@clerk/themes";
2
+ const clerk = experimental_createTheme({
3
+ name: "uikit",
4
+ cssLayerName: "components",
5
+ variables: {
6
+ colorBackground: "var(--background)",
7
+ colorDanger: "var(--destructive)",
8
+ colorForeground: "var(--foreground)",
9
+ colorInput: "var(--card)",
10
+ colorInputBackground: "var(--card)",
11
+ colorInputForeground: "var(--card-foreground)",
12
+ colorModalBackdrop: "oklch(0 0 0 / 0.5)",
13
+ colorMuted: "var(--muted)",
14
+ colorMutedForeground: "var(--muted-foreground)",
15
+ colorNeutral: "var(--foreground)",
16
+ colorPrimary: "var(--primary)",
17
+ colorPrimaryForeground: "var(--primary-foreground)",
18
+ colorRing: "var(--ring)",
19
+ colorTextOnPrimaryBackground: "var(--primary-foreground)",
20
+ colorTextSecondary: "var(--muted-foreground)",
21
+ borderRadius: "0.375rem",
22
+ fontSize: "0.875rem",
23
+ fontWeight: {
24
+ normal: "400",
25
+ medium: "500",
26
+ semibold: "600",
27
+ bold: "600",
28
+ },
29
+ },
30
+ elements: {
31
+ // Cards & Containers
32
+ card: "rounded-xl border border-border bg-card shadow-xs text-card-foreground",
33
+ pricingTableCard: "rounded-xl border border-border bg-card shadow-xs text-card-foreground",
34
+ cardBox: "rounded-xl border border-border bg-card shadow-xs text-card-foreground",
35
+ popoverBox: "rounded-md border border-border bg-card shadow-md text-card-foreground",
36
+ userButtonPopoverMain: "rounded-md border border-border bg-card shadow-md text-card-foreground",
37
+ userButtonPopoverFooter: "bg-card",
38
+ navbarMobileMenuRow: "bg-card",
39
+ navbar: "bg-card",
40
+ pageScrollBox: "bg-card",
41
+ footer: "border-border bg-card",
42
+ // Inputs
43
+ formFieldInput: "h-9 rounded-md border border-border bg-card shadow-xs placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20",
44
+ formFieldLabel: "text-sm font-medium text-foreground",
45
+ // Buttons
46
+ formButtonPrimary: "h-9 rounded-md bg-primary text-primary-foreground hover:bg-primary/80 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
47
+ socialButtonsBlockButton: "h-9 rounded-md border border-border bg-card shadow-xs hover:bg-muted focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
48
+ // Remove Clerk's default styling
49
+ button: {
50
+ '&[data-variant="solid"]::after': {
51
+ display: "none",
52
+ },
53
+ },
54
+ // Provider Icons
55
+ providerIcon__apple: "dark:invert",
56
+ providerIcon__github: "dark:invert",
57
+ providerIcon__okx_wallet: "dark:invert",
58
+ providerIcon__vercel: "dark:invert",
59
+ providerIcon__linear: "dark:invert",
60
+ providerIcon__notion: "dark:invert",
61
+ pricingTableCardTitle: "text-2xl font-semibold",
62
+ },
63
+ });
64
+ export default clerk;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmdniels/uikit",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -15,6 +15,10 @@
15
15
  "types": "./out/cn.d.ts",
16
16
  "import": "./out/cn.js"
17
17
  },
18
+ "./clerk": {
19
+ "types": "./out/clerk.d.ts",
20
+ "import": "./out/clerk.js"
21
+ },
18
22
  "./tailwind.css": "./tailwind.css"
19
23
  },
20
24
  "files": [
@@ -25,6 +29,7 @@
25
29
  ],
26
30
  "sideEffects": false,
27
31
  "peerDependencies": {
32
+ "@clerk/themes": "^2.4.46",
28
33
  "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
29
34
  "react": "^18.0.0 || ^19.0.0",
30
35
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -50,6 +55,7 @@
50
55
  "tw-animate-css": "^1.4.0"
51
56
  },
52
57
  "devDependencies": {
58
+ "@clerk/themes": "^2.4.46",
53
59
  "@cmdniels/eslint-config": "^1.0.1",
54
60
  "@ladle/react": "^5.1.1",
55
61
  "@types/node": "24.10.1",