@almanaclabs/blaze-ui 0.1.0
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 +27 -0
- package/dist/components/button.d.ts +12 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/card.d.ts +9 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/input.d.ts +4 -0
- package/dist/components/input.d.ts.map +1 -0
- package/dist/components/label.d.ts +5 -0
- package/dist/components/label.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +118 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/package.json +52 -0
- package/src/styles/globals.css +78 -0
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# `@almanaclabs/blaze-ui`
|
|
2
|
+
|
|
3
|
+
Shared React components and semantic design tokens for Blaze.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Configure the `@almanaclabs` scope for GitHub Packages and install an explicit version:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @almanaclabs/blaze-ui@0.1.0
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Tailwind 4 setup
|
|
14
|
+
|
|
15
|
+
Import the package styles and explicitly register the built package as a Tailwind source. The `@source` path is relative to your application's CSS entrypoint:
|
|
16
|
+
|
|
17
|
+
```css
|
|
18
|
+
@import 'tailwindcss';
|
|
19
|
+
@import '@almanaclabs/blaze-ui/styles.css';
|
|
20
|
+
@source '../../../node_modules/@almanaclabs/blaze-ui/dist';
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Then import components from the public package entrypoint:
|
|
24
|
+
|
|
25
|
+
```tsx
|
|
26
|
+
import { Button } from '@almanaclabs/blaze-ui'
|
|
27
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type ButtonProps = React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function Button({ className, variant, size, asChild, ...props }: ButtonProps): React.JSX.Element;
|
|
11
|
+
export { buttonVariants };
|
|
12
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,cAAc;;;8EA6BnB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GACtD,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAEH,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAe,EACf,GAAG,KAAK,EACT,EAAE,WAAW,qBAUb;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare function Card({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
3
|
+
export declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
4
|
+
export declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
5
|
+
export declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
6
|
+
export declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
7
|
+
export declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
8
|
+
export declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWxE;AAED,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW7B;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B;AAED,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B;AAED,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW7B;AAED,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B;AAED,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;AAEtD,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,qBAc9D"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
+
export type LabelProps = React.ComponentProps<typeof LabelPrimitive.Root>;
|
|
4
|
+
export declare function Label({ className, ...props }: LabelProps): React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/components/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AAGvD,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,CAAA;AAEzE,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,qBAWxD"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Button, buttonVariants, type ButtonProps } from './components/button';
|
|
2
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from './components/card';
|
|
3
|
+
export { Input, type InputProps } from './components/input';
|
|
4
|
+
export { Label, type LabelProps } from './components/label';
|
|
5
|
+
export { cn } from './lib/utils';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9E,OAAO,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { Slot as e } from "@radix-ui/react-slot";
|
|
3
|
+
import { cva as t } from "class-variance-authority";
|
|
4
|
+
import { clsx as n } from "clsx";
|
|
5
|
+
import { twMerge as r } from "tailwind-merge";
|
|
6
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
+
import * as a from "@radix-ui/react-label";
|
|
8
|
+
//#region src/lib/utils.ts
|
|
9
|
+
function o(...e) {
|
|
10
|
+
return r(n(e));
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/button.tsx
|
|
14
|
+
var s = t("inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*=\"size-\"])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", {
|
|
15
|
+
variants: {
|
|
16
|
+
variant: {
|
|
17
|
+
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
18
|
+
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
|
|
19
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
20
|
+
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
21
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
22
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
23
|
+
},
|
|
24
|
+
size: {
|
|
25
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
26
|
+
sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
|
|
27
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
28
|
+
icon: "size-9"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
defaultVariants: {
|
|
32
|
+
variant: "default",
|
|
33
|
+
size: "default"
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
function c({ className: t, variant: n, size: r, asChild: a = !1, ...c }) {
|
|
37
|
+
return /* @__PURE__ */ i(a ? e : "button", {
|
|
38
|
+
"data-slot": "button",
|
|
39
|
+
className: o(s({
|
|
40
|
+
variant: n,
|
|
41
|
+
size: r,
|
|
42
|
+
className: t
|
|
43
|
+
})),
|
|
44
|
+
...c
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/card.tsx
|
|
49
|
+
function l({ className: e, ...t }) {
|
|
50
|
+
return /* @__PURE__ */ i("div", {
|
|
51
|
+
"data-slot": "card",
|
|
52
|
+
className: o("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm", e),
|
|
53
|
+
...t
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function u({ className: e, ...t }) {
|
|
57
|
+
return /* @__PURE__ */ i("div", {
|
|
58
|
+
"data-slot": "card-header",
|
|
59
|
+
className: o("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
|
|
60
|
+
...t
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function d({ className: e, ...t }) {
|
|
64
|
+
return /* @__PURE__ */ i("div", {
|
|
65
|
+
"data-slot": "card-title",
|
|
66
|
+
className: o("leading-none font-semibold", e),
|
|
67
|
+
...t
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function f({ className: e, ...t }) {
|
|
71
|
+
return /* @__PURE__ */ i("div", {
|
|
72
|
+
"data-slot": "card-description",
|
|
73
|
+
className: o("text-sm text-muted-foreground", e),
|
|
74
|
+
...t
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function p({ className: e, ...t }) {
|
|
78
|
+
return /* @__PURE__ */ i("div", {
|
|
79
|
+
"data-slot": "card-action",
|
|
80
|
+
className: o("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
|
|
81
|
+
...t
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function m({ className: e, ...t }) {
|
|
85
|
+
return /* @__PURE__ */ i("div", {
|
|
86
|
+
"data-slot": "card-content",
|
|
87
|
+
className: o("px-6", e),
|
|
88
|
+
...t
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function h({ className: e, ...t }) {
|
|
92
|
+
return /* @__PURE__ */ i("div", {
|
|
93
|
+
"data-slot": "card-footer",
|
|
94
|
+
className: o("flex items-center px-6 [.border-t]:pt-6", e),
|
|
95
|
+
...t
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/components/input.tsx
|
|
100
|
+
function g({ className: e, type: t, ...n }) {
|
|
101
|
+
return /* @__PURE__ */ i("input", {
|
|
102
|
+
type: t,
|
|
103
|
+
"data-slot": "input",
|
|
104
|
+
className: o("flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30", "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", e),
|
|
105
|
+
...n
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/components/label.tsx
|
|
110
|
+
function _({ className: e, ...t }) {
|
|
111
|
+
return /* @__PURE__ */ i(a.Root, {
|
|
112
|
+
"data-slot": "label",
|
|
113
|
+
className: o("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
114
|
+
...t
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
//#endregion
|
|
118
|
+
export { c as Button, l as Card, p as CardAction, m as CardContent, f as CardDescription, h as CardFooter, u as CardHeader, d as CardTitle, g as Input, _ as Label, s as buttonVariants, o as cn };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAG5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@almanaclabs/blaze-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared React components and design tokens for Blaze",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.css"
|
|
8
|
+
],
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"src/styles",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./styles.css": "./src/styles/globals.css"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "restricted",
|
|
26
|
+
"registry": "https://npm.pkg.github.com"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/almanaclabs/blaze-ui.git"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=24"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "vite build",
|
|
37
|
+
"build:watch": "vite build --watch"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": ">=19.2.0 <20",
|
|
41
|
+
"react-dom": ">=19.2.0 <20",
|
|
42
|
+
"tailwindcss": ">=4.3.0 <5"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@radix-ui/react-label": "2.1.15",
|
|
46
|
+
"@radix-ui/react-slot": "1.3.3",
|
|
47
|
+
"class-variance-authority": "0.7.1",
|
|
48
|
+
"clsx": "2.1.1",
|
|
49
|
+
"lucide-react": "1.31.0",
|
|
50
|
+
"tailwind-merge": "3.6.0"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--background: oklch(1 0 0);
|
|
5
|
+
--foreground: oklch(0.145 0 0);
|
|
6
|
+
--card: oklch(1 0 0);
|
|
7
|
+
--card-foreground: oklch(0.145 0 0);
|
|
8
|
+
--popover: oklch(1 0 0);
|
|
9
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
10
|
+
--primary: oklch(0.7 0.19 48);
|
|
11
|
+
--primary-foreground: oklch(0.15 0.03 48);
|
|
12
|
+
--secondary: oklch(0.97 0 0);
|
|
13
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
14
|
+
--muted: oklch(0.97 0 0);
|
|
15
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
16
|
+
--accent: oklch(0.97 0 0);
|
|
17
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
18
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
19
|
+
--border: oklch(0.922 0 0);
|
|
20
|
+
--input: oklch(0.922 0 0);
|
|
21
|
+
--ring: oklch(0.7 0.19 48);
|
|
22
|
+
--radius: 0.625rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.dark {
|
|
26
|
+
--background: oklch(0.145 0 0);
|
|
27
|
+
--foreground: oklch(0.985 0 0);
|
|
28
|
+
--card: oklch(0.205 0 0);
|
|
29
|
+
--card-foreground: oklch(0.985 0 0);
|
|
30
|
+
--popover: oklch(0.205 0 0);
|
|
31
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
32
|
+
--primary: oklch(0.76 0.18 55);
|
|
33
|
+
--primary-foreground: oklch(0.16 0.03 48);
|
|
34
|
+
--secondary: oklch(0.269 0 0);
|
|
35
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
36
|
+
--muted: oklch(0.269 0 0);
|
|
37
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
38
|
+
--accent: oklch(0.269 0 0);
|
|
39
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
40
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
41
|
+
--border: oklch(1 0 0 / 10%);
|
|
42
|
+
--input: oklch(1 0 0 / 15%);
|
|
43
|
+
--ring: oklch(0.76 0.18 55);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@theme inline {
|
|
47
|
+
--color-background: var(--background);
|
|
48
|
+
--color-foreground: var(--foreground);
|
|
49
|
+
--color-card: var(--card);
|
|
50
|
+
--color-card-foreground: var(--card-foreground);
|
|
51
|
+
--color-popover: var(--popover);
|
|
52
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
53
|
+
--color-primary: var(--primary);
|
|
54
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
55
|
+
--color-secondary: var(--secondary);
|
|
56
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
57
|
+
--color-muted: var(--muted);
|
|
58
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
59
|
+
--color-accent: var(--accent);
|
|
60
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
61
|
+
--color-destructive: var(--destructive);
|
|
62
|
+
--color-border: var(--border);
|
|
63
|
+
--color-input: var(--input);
|
|
64
|
+
--color-ring: var(--ring);
|
|
65
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
66
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
67
|
+
--radius-lg: var(--radius);
|
|
68
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
* {
|
|
72
|
+
border-color: var(--border);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
body {
|
|
76
|
+
background: var(--background);
|
|
77
|
+
color: var(--foreground);
|
|
78
|
+
}
|