@codefast/ui 0.11.0 → 0.13.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/CHANGELOG.md +36 -0
- package/README.md +2 -2
- package/dist/components/accordion.js +1 -1
- package/dist/components/bubble.js +1 -1
- package/dist/components/calendar.js +2 -2
- package/dist/components/checkbox-cards.js +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/input-group.js +2 -2
- package/dist/components/input-number.js +6 -6
- package/dist/components/input-otp.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/message-scroller.d.ts +1 -1
- package/dist/components/native-select.js +1 -1
- package/dist/components/navigation-menu.js +2 -2
- package/dist/components/radio-cards.js +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs.js +2 -2
- package/dist/components/textarea.js +1 -1
- package/dist/hooks/use-message-scroller-controller.d.ts +1 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +3 -1
- package/dist/lib/message-scroller/geometry.d.ts +1 -8
- package/dist/lib/message-scroller/geometry.js +1 -1
- package/dist/lib/message-scroller/stores.d.ts +2 -6
- package/dist/lib/message-scroller/stores.js +1 -1
- package/dist/lib/message-scroller/types.d.ts +1 -7
- package/dist/lib/message-scroller/types.js +1 -1
- package/dist/primitives/checkbox-group.js +1 -1
- package/dist/primitives/message-scroller.d.ts +2 -1
- package/dist/variants/attachment.js +1 -1
- package/dist/variants/badge.js +3 -3
- package/dist/variants/bubble.js +1 -1
- package/dist/variants/button.js +3 -3
- package/dist/variants/input-group.js +1 -1
- package/dist/variants/item.js +1 -1
- package/dist/variants/navigation-menu.js +1 -1
- package/dist/variants/toggle.js +1 -1
- package/package.json +4 -28
- package/src/css/foundation/base.css +1 -1
- package/src/css/foundation/tokens.css +2 -0
- package/src/css/themes/amber.css +8 -8
- package/src/css/themes/blue.css +7 -7
- package/src/css/themes/cyan.css +8 -8
- package/src/css/themes/emerald.css +8 -8
- package/src/css/themes/fuchsia.css +10 -10
- package/src/css/themes/gray.css +4 -4
- package/src/css/themes/green.css +8 -8
- package/src/css/themes/indigo.css +8 -8
- package/src/css/themes/lime.css +8 -8
- package/src/css/themes/neutral.css +3 -3
- package/src/css/themes/orange.css +8 -8
- package/src/css/themes/pink.css +10 -10
- package/src/css/themes/purple.css +8 -8
- package/src/css/themes/red.css +10 -10
- package/src/css/themes/rose.css +10 -10
- package/src/css/themes/sky.css +8 -8
- package/src/css/themes/slate.css +4 -4
- package/src/css/themes/stone.css +2 -2
- package/src/css/themes/teal.css +8 -8
- package/src/css/themes/violet.css +8 -8
- package/src/css/themes/yellow.css +8 -8
- package/src/css/themes/zinc.css +2 -2
|
@@ -228,17 +228,11 @@ type MessageScrollerContextValue = {
|
|
|
228
228
|
* @since 0.5.0-canary.3
|
|
229
229
|
*/
|
|
230
230
|
declare const EMPTY_MESSAGE_SCROLLER_SCROLLABLE: MessageScrollerScrollable;
|
|
231
|
-
/**
|
|
232
|
-
* Shared empty array so empty visibility snapshots stay referentially stable.
|
|
233
|
-
*
|
|
234
|
-
* @since 0.5.0-canary.3
|
|
235
|
-
*/
|
|
236
|
-
declare const EMPTY_VISIBLE_MESSAGE_IDS: Array<string>;
|
|
237
231
|
/**
|
|
238
232
|
* Initial MessageScrollerVisibilityState. Nothing tracked, no current anchor.
|
|
239
233
|
*
|
|
240
234
|
* @since 0.5.0-canary.3
|
|
241
235
|
*/
|
|
242
236
|
declare const EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE: MessageScrollerVisibilityState;
|
|
243
|
-
export { AUTOSCROLLING_CLEAR_DELAY, DEFAULT_SCROLL_EDGE_THRESHOLD, DEFAULT_SCROLL_MARGIN, DEFAULT_SCROLL_PREVIOUS_ITEM_PEEK, EMPTY_MESSAGE_SCROLLER_SCROLLABLE, EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE,
|
|
237
|
+
export { AUTOSCROLLING_CLEAR_DELAY, DEFAULT_SCROLL_EDGE_THRESHOLD, DEFAULT_SCROLL_MARGIN, DEFAULT_SCROLL_PREVIOUS_ITEM_PEEK, EMPTY_MESSAGE_SCROLLER_SCROLLABLE, EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE, SCROLL_POSITION_EPSILON, USER_SCROLL_KEYS, };
|
|
244
238
|
export type { MessageScrollerButtonDirection, MessageScrollerButtonProps, MessageScrollerButtonRenderState, MessageScrollerContentProps, MessageScrollerContextValue, MessageScrollerDefaultScrollPosition, MessageScrollerItemProps, MessageScrollerMode, MessageScrollerProps, MessageScrollerProviderProps, MessageScrollerRegisterMessage, MessageScrollerScrollAlign, MessageScrollerScrollEdges, MessageScrollerScrollOptions, MessageScrollerScrollable, MessageScrollerStore, MessageScrollerViewportProps, MessageScrollerVisibilityState, MessageScrollerVisibilityStore, };
|
|
@@ -72,4 +72,4 @@ const EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE = {
|
|
|
72
72
|
currentAnchorId: null,
|
|
73
73
|
visibleMessageIds: EMPTY_VISIBLE_MESSAGE_IDS,
|
|
74
74
|
};
|
|
75
|
-
export { AUTOSCROLLING_CLEAR_DELAY, DEFAULT_SCROLL_EDGE_THRESHOLD, DEFAULT_SCROLL_MARGIN, DEFAULT_SCROLL_PREVIOUS_ITEM_PEEK, EMPTY_MESSAGE_SCROLLER_SCROLLABLE, EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE,
|
|
75
|
+
export { AUTOSCROLLING_CLEAR_DELAY, DEFAULT_SCROLL_EDGE_THRESHOLD, DEFAULT_SCROLL_MARGIN, DEFAULT_SCROLL_PREVIOUS_ITEM_PEEK, EMPTY_MESSAGE_SCROLLER_SCROLLABLE, EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE, SCROLL_POSITION_EPSILON, USER_SCROLL_KEYS, };
|
|
@@ -58,7 +58,7 @@ function CheckboxGroup({ __scopeCheckboxGroup, defaultValue, dir, disabled = fal
|
|
|
58
58
|
return currentValue.filter((inputValue) => inputValue !== itemValue);
|
|
59
59
|
});
|
|
60
60
|
}, [setValue, required]);
|
|
61
|
-
return (_jsx(CheckboxGroupContextProvider, { disabled: disabled, name: name, required: required, scope: __scopeCheckboxGroup, value: value, onItemCheck: handleItemCheck, onItemUncheck: handleItemUncheck, children: _jsx(RovingFocus.Root, { asChild: true, ...rovingFocusGroupScope, dir: direction, loop: loop, orientation: orientation, children: _jsx("div", { "data-disabled": disabled ? "" : undefined, dir: direction, role: "group", ...props }) }) }));
|
|
61
|
+
return (_jsx(CheckboxGroupContextProvider, { disabled: disabled, name: name, required: required, scope: __scopeCheckboxGroup, value: value, onItemCheck: handleItemCheck, onItemUncheck: handleItemUncheck, children: _jsx(RovingFocus.Root, { asChild: true, ...rovingFocusGroupScope, dir: direction, loop: loop, ...(orientation === undefined ? {} : { orientation }), children: _jsx("div", { "data-disabled": disabled ? "" : undefined, dir: direction, role: "group", ...props }) }) }));
|
|
62
62
|
}
|
|
63
63
|
// ── Component: CheckboxGroupItem ─────────────────────────────────────────────────────────────────────────────────────
|
|
64
64
|
const ITEM_NAME = "CheckboxGroupItem";
|
|
@@ -39,4 +39,5 @@ declare function MessageScrollerItem({ messageId, ref, isScrollAnchor, ...props
|
|
|
39
39
|
* @since 0.5.0-canary.3
|
|
40
40
|
*/
|
|
41
41
|
declare function MessageScrollerButton({ behavior, children, direction, onClick, render, tabIndex, type, ...props }: MessageScrollerButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
42
|
-
export { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, };
|
|
42
|
+
export { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, };
|
|
43
|
+
export type { MessageScrollerButtonDirection, MessageScrollerButtonProps, MessageScrollerButtonRenderState, MessageScrollerContentProps, MessageScrollerDefaultScrollPosition, MessageScrollerItemProps, MessageScrollerProps, MessageScrollerProviderProps, MessageScrollerScrollable, MessageScrollerScrollAlign, MessageScrollerScrollOptions, MessageScrollerViewportProps, MessageScrollerVisibilityState, } from "#lib/message-scroller/types";
|
|
@@ -7,7 +7,7 @@ import { tv } from "#lib/utils";
|
|
|
7
7
|
* @since 0.5.0-canary.3
|
|
8
8
|
*/
|
|
9
9
|
const attachmentVariants = tv({
|
|
10
|
-
base: "group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring
|
|
10
|
+
base: "group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 data-[state=idle]:border-dashed",
|
|
11
11
|
defaultVariants: {
|
|
12
12
|
orientation: "horizontal",
|
|
13
13
|
size: "default",
|
package/dist/variants/badge.js
CHANGED
|
@@ -4,14 +4,14 @@ import { tv } from "#lib/utils";
|
|
|
4
4
|
* @since 0.3.16-canary.0
|
|
5
5
|
*/
|
|
6
6
|
const badgeVariants = tv({
|
|
7
|
-
base: "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:
|
|
7
|
+
base: "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
|
|
8
8
|
defaultVariants: {
|
|
9
9
|
variant: "default",
|
|
10
10
|
},
|
|
11
11
|
variants: {
|
|
12
12
|
variant: {
|
|
13
|
-
default: "bg-primary text-primary-foreground [a]:hover:bg-primary
|
|
14
|
-
destructive: "bg-destructive/10 text-destructive focus-visible:
|
|
13
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary-hover",
|
|
14
|
+
destructive: "bg-destructive/10 text-destructive focus-visible:outline-destructive dark:bg-destructive/20 [a]:hover:bg-destructive/20",
|
|
15
15
|
ghost: "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
|
|
16
16
|
link: "text-primary underline-offset-4 hover:underline",
|
|
17
17
|
outline: "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
|
package/dist/variants/bubble.js
CHANGED
|
@@ -13,7 +13,7 @@ const bubbleVariants = tv({
|
|
|
13
13
|
},
|
|
14
14
|
variants: {
|
|
15
15
|
variant: {
|
|
16
|
-
default: "*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary
|
|
16
|
+
default: "*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary-hover",
|
|
17
17
|
secondary: "*:data-[slot=bubble-content]:bg-secondary *:data-[slot=bubble-content]:text-secondary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]",
|
|
18
18
|
muted: "*:data-[slot=bubble-content]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]",
|
|
19
19
|
tinted: "*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)] *:data-[slot=bubble-content]:text-foreground dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)] [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)] dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]",
|
package/dist/variants/button.js
CHANGED
|
@@ -4,7 +4,7 @@ import { tv } from "#lib/utils";
|
|
|
4
4
|
* @since 0.3.16-canary.0
|
|
5
5
|
*/
|
|
6
6
|
const buttonVariants = tv({
|
|
7
|
-
base: "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:
|
|
7
|
+
base: "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
8
8
|
defaultVariants: {
|
|
9
9
|
size: "default",
|
|
10
10
|
variant: "default",
|
|
@@ -21,8 +21,8 @@ const buttonVariants = tv({
|
|
|
21
21
|
"icon-lg": "size-9", // 36px
|
|
22
22
|
},
|
|
23
23
|
variant: {
|
|
24
|
-
default: "bg-primary text-primary-foreground hover:bg-primary
|
|
25
|
-
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:
|
|
24
|
+
default: "bg-primary text-primary-foreground hover:bg-primary-hover",
|
|
25
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:outline-destructive dark:bg-destructive/20 dark:hover:bg-destructive/30",
|
|
26
26
|
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
27
27
|
link: "text-primary underline-offset-4 hover:underline",
|
|
28
28
|
outline: "border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
@@ -4,7 +4,7 @@ import { tv } from "#lib/utils";
|
|
|
4
4
|
* @since 0.3.16-canary.0
|
|
5
5
|
*/
|
|
6
6
|
const inputGroupVariants = tv({
|
|
7
|
-
base: "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit
|
|
7
|
+
base: "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit has-disabled:bg-input/50 has-[[data-slot=input-group-control]:focus-visible]:outline-2 has-[[data-slot=input-group-control]:focus-visible]:outline-offset-2 has-[[data-slot=input-group-control]:focus-visible]:outline-ring has-[[data-slot=input-group-control]:focus-visible]:outline-solid in-data-[slot=combobox-content]:has-[[data-slot=input-group-control]:focus-visible]:outline-none has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5",
|
|
8
8
|
});
|
|
9
9
|
// ── Variant: InputGroupAddon ─────────────────────────────────────────────────────────────────────────────────────────
|
|
10
10
|
/**
|
package/dist/variants/item.js
CHANGED
|
@@ -4,7 +4,7 @@ import { tv } from "#lib/utils";
|
|
|
4
4
|
* @since 0.3.16-canary.0
|
|
5
5
|
*/
|
|
6
6
|
const itemVariants = tv({
|
|
7
|
-
base: "group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:
|
|
7
|
+
base: "group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid [a]:transition-colors [a]:hover:bg-muted",
|
|
8
8
|
defaultVariants: {
|
|
9
9
|
size: "default",
|
|
10
10
|
variant: "default",
|
|
@@ -4,7 +4,7 @@ import { tv } from "#lib/utils";
|
|
|
4
4
|
* @since 0.3.16-canary.0
|
|
5
5
|
*/
|
|
6
6
|
const navigationMenuTriggerVariants = tv({
|
|
7
|
-
base: "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:
|
|
7
|
+
base: "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted",
|
|
8
8
|
});
|
|
9
9
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
10
10
|
export { navigationMenuTriggerVariants };
|
package/dist/variants/toggle.js
CHANGED
|
@@ -4,7 +4,7 @@ import { tv } from "#lib/utils";
|
|
|
4
4
|
* @since 0.3.16-canary.0
|
|
5
5
|
*/
|
|
6
6
|
const toggleVariants = tv({
|
|
7
|
-
base: "group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-foreground focus-visible:
|
|
7
|
+
base: "group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
8
8
|
defaultVariants: {
|
|
9
9
|
size: "default",
|
|
10
10
|
variant: "default",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Core UI components library built with React and Tailwind CSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -345,18 +345,6 @@
|
|
|
345
345
|
"types": "./dist/hooks/use-media-query.d.ts",
|
|
346
346
|
"import": "./dist/hooks/use-media-query.js"
|
|
347
347
|
},
|
|
348
|
-
"./hooks/use-message-scroller-commands": {
|
|
349
|
-
"types": "./dist/hooks/use-message-scroller-commands.d.ts",
|
|
350
|
-
"import": "./dist/hooks/use-message-scroller-commands.js"
|
|
351
|
-
},
|
|
352
|
-
"./hooks/use-message-scroller-controller": {
|
|
353
|
-
"types": "./dist/hooks/use-message-scroller-controller.d.ts",
|
|
354
|
-
"import": "./dist/hooks/use-message-scroller-controller.js"
|
|
355
|
-
},
|
|
356
|
-
"./hooks/use-message-scroller-refs": {
|
|
357
|
-
"types": "./dist/hooks/use-message-scroller-refs.d.ts",
|
|
358
|
-
"import": "./dist/hooks/use-message-scroller-refs.js"
|
|
359
|
-
},
|
|
360
348
|
"./hooks/use-mutation-observer": {
|
|
361
349
|
"types": "./dist/hooks/use-mutation-observer.d.ts",
|
|
362
350
|
"import": "./dist/hooks/use-mutation-observer.js"
|
|
@@ -365,18 +353,6 @@
|
|
|
365
353
|
"types": "./dist/hooks/use-pagination.d.ts",
|
|
366
354
|
"import": "./dist/hooks/use-pagination.js"
|
|
367
355
|
},
|
|
368
|
-
"./lib/message-scroller/geometry": {
|
|
369
|
-
"types": "./dist/lib/message-scroller/geometry.d.ts",
|
|
370
|
-
"import": "./dist/lib/message-scroller/geometry.js"
|
|
371
|
-
},
|
|
372
|
-
"./lib/message-scroller/stores": {
|
|
373
|
-
"types": "./dist/lib/message-scroller/stores.d.ts",
|
|
374
|
-
"import": "./dist/lib/message-scroller/stores.js"
|
|
375
|
-
},
|
|
376
|
-
"./lib/message-scroller/types": {
|
|
377
|
-
"types": "./dist/lib/message-scroller/types.d.ts",
|
|
378
|
-
"import": "./dist/lib/message-scroller/types.js"
|
|
379
|
-
},
|
|
380
356
|
"./lib/slot": {
|
|
381
357
|
"types": "./dist/lib/slot.d.ts",
|
|
382
358
|
"import": "./dist/lib/slot.js"
|
|
@@ -497,11 +473,11 @@
|
|
|
497
473
|
"cmdk": "^1.1.1",
|
|
498
474
|
"embla-carousel-react": "^8.6.0",
|
|
499
475
|
"input-otp": "^1.5.0",
|
|
500
|
-
"lucide-react": "^1.
|
|
476
|
+
"lucide-react": "^1.54.0",
|
|
501
477
|
"next-themes": "^0.4.6",
|
|
502
|
-
"radix-ui": "^1.
|
|
478
|
+
"radix-ui": "^1.7.0",
|
|
503
479
|
"react-hook-form": "^7.89.0",
|
|
504
|
-
"react-resizable-panels": "^4.14.
|
|
480
|
+
"react-resizable-panels": "^4.14.3",
|
|
505
481
|
"recharts": "^3.10.1",
|
|
506
482
|
"sonner": "^2.0.8",
|
|
507
483
|
"tailwind-merge": "^3.7.0",
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
--color-primary: var(--primary);
|
|
29
29
|
--color-primary-foreground: var(--primary-foreground);
|
|
30
|
+
/* Pulled toward `foreground`, so `primary-foreground` gains contrast on hover in both schemes. */
|
|
31
|
+
--color-primary-hover: color-mix(in oklab, var(--primary), var(--foreground) 20%);
|
|
30
32
|
|
|
31
33
|
--color-secondary: var(--secondary);
|
|
32
34
|
--color-secondary-foreground: var(--secondary-foreground);
|
package/src/css/themes/amber.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
13
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
14
14
|
|
|
15
|
-
--primary: oklch(0.
|
|
15
|
+
--primary: oklch(0.56 0.15 49); /* --color-amber-700 */
|
|
16
16
|
--primary-foreground: oklch(0.99 0.02 95); /* --color-amber-50 */
|
|
17
17
|
|
|
18
18
|
--secondary: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
|
|
37
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
38
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
39
|
-
--ring: oklch(0.
|
|
39
|
+
--ring: oklch(0.56 0.15 49); /* --color-amber-700 */
|
|
40
40
|
|
|
41
41
|
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
42
42
|
|
|
43
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
44
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
45
|
-
--sidebar-primary: oklch(0.
|
|
45
|
+
--sidebar-primary: oklch(0.56 0.15 49); /* --color-amber-700 */
|
|
46
46
|
--sidebar-primary-foreground: oklch(0.99 0.02 95); /* --color-amber-50 */
|
|
47
47
|
--sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
48
48
|
--sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
49
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
50
|
-
--sidebar-ring: oklch(0.
|
|
50
|
+
--sidebar-ring: oklch(0.56 0.15 49); /* --color-amber-700 */
|
|
51
51
|
|
|
52
52
|
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
53
53
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
--foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
66
66
|
|
|
67
67
|
--primary: oklch(0.77 0.16 70); /* --color-amber-500 */
|
|
68
|
-
--primary-foreground: oklch(0.
|
|
68
|
+
--primary-foreground: oklch(0.279 0.077 45.635); /* --color-amber-950 */
|
|
69
69
|
|
|
70
70
|
--secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
71
71
|
--secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
@@ -86,16 +86,16 @@
|
|
|
86
86
|
|
|
87
87
|
--border: oklch(1 0 0 / 10%); /* --color-white */
|
|
88
88
|
--input: oklch(1 0 0 / 15%); /* --color-white */
|
|
89
|
-
--ring: oklch(0.
|
|
89
|
+
--ring: oklch(0.67 0.16 58); /* --color-amber-600 */
|
|
90
90
|
|
|
91
91
|
--sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
92
92
|
--sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
93
93
|
--sidebar-primary: oklch(0.77 0.16 70); /* --color-amber-500 */
|
|
94
|
-
--sidebar-primary-foreground: oklch(0.
|
|
94
|
+
--sidebar-primary-foreground: oklch(0.279 0.077 45.635); /* --color-amber-950 */
|
|
95
95
|
--sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
96
96
|
--sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
97
97
|
--sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
|
|
98
|
-
--sidebar-ring: oklch(0.
|
|
98
|
+
--sidebar-ring: oklch(0.67 0.16 58); /* --color-amber-600 */
|
|
99
99
|
|
|
100
100
|
--chart-1: oklch(0.88 0.15 92); /* --color-amber-300 */
|
|
101
101
|
--chart-2: oklch(0.77 0.16 70); /* --color-amber-500 */
|
package/src/css/themes/blue.css
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
38
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
39
|
-
--ring: oklch(0.
|
|
39
|
+
--ring: oklch(0.623 0.214 259.815); /* --color-blue-500 */
|
|
40
40
|
|
|
41
41
|
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
42
42
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
--sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
48
48
|
--sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
49
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
50
|
-
--sidebar-ring: oklch(0.
|
|
50
|
+
--sidebar-ring: oklch(0.623 0.214 259.815); /* --color-blue-500 */
|
|
51
51
|
|
|
52
52
|
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
53
53
|
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
--background: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
65
65
|
--foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
66
66
|
|
|
67
|
-
--primary: oklch(0.
|
|
68
|
-
--primary-foreground: oklch(0.
|
|
67
|
+
--primary: oklch(0.707 0.165 254.624); /* --color-blue-400 */
|
|
68
|
+
--primary-foreground: oklch(0.282 0.091 267.935); /* --color-blue-950 */
|
|
69
69
|
|
|
70
70
|
--secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
71
71
|
--secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
|
|
91
91
|
--sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
92
92
|
--sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
93
|
-
--sidebar-primary: oklch(0.
|
|
94
|
-
--sidebar-primary-foreground: oklch(0.
|
|
93
|
+
--sidebar-primary: oklch(0.707 0.165 254.624); /* --color-blue-400 */
|
|
94
|
+
--sidebar-primary-foreground: oklch(0.282 0.091 267.935); /* --color-blue-950 */
|
|
95
95
|
--sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
96
96
|
--sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
97
97
|
--sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
|
|
98
|
-
--sidebar-ring: oklch(0.
|
|
98
|
+
--sidebar-ring: oklch(0.556 0 0); /* default ring (dark) */
|
|
99
99
|
|
|
100
100
|
--chart-1: oklch(0.809 0.105 251.813); /* --color-blue-300 */
|
|
101
101
|
--chart-2: oklch(0.623 0.214 259.815); /* --color-blue-500 */
|
package/src/css/themes/cyan.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
13
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
14
14
|
|
|
15
|
-
--primary: oklch(0.
|
|
15
|
+
--primary: oklch(0.52 0.09 223); /* --color-cyan-700 */
|
|
16
16
|
--primary-foreground: oklch(0.98 0.02 201); /* --color-cyan-50 */
|
|
17
17
|
|
|
18
18
|
--secondary: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
|
|
37
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
38
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
39
|
-
--ring: oklch(0.
|
|
39
|
+
--ring: oklch(0.61 0.11 222); /* --color-cyan-600 */
|
|
40
40
|
|
|
41
41
|
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
42
42
|
|
|
43
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
44
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
45
|
-
--sidebar-primary: oklch(0.
|
|
45
|
+
--sidebar-primary: oklch(0.52 0.09 223); /* --color-cyan-700 */
|
|
46
46
|
--sidebar-primary-foreground: oklch(0.98 0.02 201); /* --color-cyan-50 */
|
|
47
47
|
--sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
48
48
|
--sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
49
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
50
|
-
--sidebar-ring: oklch(0.
|
|
50
|
+
--sidebar-ring: oklch(0.61 0.11 222); /* --color-cyan-600 */
|
|
51
51
|
|
|
52
52
|
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
53
53
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
--foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
66
66
|
|
|
67
67
|
--primary: oklch(0.71 0.13 215); /* --color-cyan-500 */
|
|
68
|
-
--primary-foreground: oklch(0.
|
|
68
|
+
--primary-foreground: oklch(0.302 0.056 229.695); /* --color-cyan-950 */
|
|
69
69
|
|
|
70
70
|
--secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
71
71
|
--secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
@@ -86,16 +86,16 @@
|
|
|
86
86
|
|
|
87
87
|
--border: oklch(1 0 0 / 10%); /* --color-white */
|
|
88
88
|
--input: oklch(1 0 0 / 15%); /* --color-white */
|
|
89
|
-
--ring: oklch(0.
|
|
89
|
+
--ring: oklch(0.61 0.11 222); /* --color-cyan-600 */
|
|
90
90
|
|
|
91
91
|
--sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
92
92
|
--sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
93
93
|
--sidebar-primary: oklch(0.71 0.13 215); /* --color-cyan-500 */
|
|
94
|
-
--sidebar-primary-foreground: oklch(0.
|
|
94
|
+
--sidebar-primary-foreground: oklch(0.302 0.056 229.695); /* --color-cyan-950 */
|
|
95
95
|
--sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
96
96
|
--sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
97
97
|
--sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
|
|
98
|
-
--sidebar-ring: oklch(0.
|
|
98
|
+
--sidebar-ring: oklch(0.61 0.11 222); /* --color-cyan-600 */
|
|
99
99
|
|
|
100
100
|
--chart-1: oklch(0.87 0.12 207); /* --color-cyan-300 */
|
|
101
101
|
--chart-2: oklch(0.8 0.13 212); /* --color-cyan-400 */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
13
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
14
14
|
|
|
15
|
-
--primary: oklch(0.
|
|
15
|
+
--primary: oklch(0.51 0.1 166); /* --color-emerald-700 */
|
|
16
16
|
--primary-foreground: oklch(0.98 0.02 166); /* --color-emerald-50 */
|
|
17
17
|
|
|
18
18
|
--secondary: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
|
|
37
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
38
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
39
|
-
--ring: oklch(0.
|
|
39
|
+
--ring: oklch(0.6 0.13 163); /* --color-emerald-600 */
|
|
40
40
|
|
|
41
41
|
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
42
42
|
|
|
43
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
44
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
45
|
-
--sidebar-primary: oklch(0.
|
|
45
|
+
--sidebar-primary: oklch(0.51 0.1 166); /* --color-emerald-700 */
|
|
46
46
|
--sidebar-primary-foreground: oklch(0.98 0.02 166); /* --color-emerald-50 */
|
|
47
47
|
--sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
48
48
|
--sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
49
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
50
|
-
--sidebar-ring: oklch(0.
|
|
50
|
+
--sidebar-ring: oklch(0.6 0.13 163); /* --color-emerald-600 */
|
|
51
51
|
|
|
52
52
|
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
53
53
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
--foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
66
66
|
|
|
67
67
|
--primary: oklch(0.7 0.15 162); /* --color-emerald-500 */
|
|
68
|
-
--primary-foreground: oklch(0.
|
|
68
|
+
--primary-foreground: oklch(0.262 0.051 172.552); /* --color-emerald-950 */
|
|
69
69
|
|
|
70
70
|
--secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
71
71
|
--secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
@@ -86,16 +86,16 @@
|
|
|
86
86
|
|
|
87
87
|
--border: oklch(1 0 0 / 10%); /* --color-white */
|
|
88
88
|
--input: oklch(1 0 0 / 15%); /* --color-white */
|
|
89
|
-
--ring: oklch(0.
|
|
89
|
+
--ring: oklch(0.6 0.13 163); /* --color-emerald-600 */
|
|
90
90
|
|
|
91
91
|
--sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
92
92
|
--sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
93
93
|
--sidebar-primary: oklch(0.7 0.15 162); /* --color-emerald-500 */
|
|
94
|
-
--sidebar-primary-foreground: oklch(0.
|
|
94
|
+
--sidebar-primary-foreground: oklch(0.262 0.051 172.552); /* --color-emerald-950 */
|
|
95
95
|
--sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
96
96
|
--sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
97
97
|
--sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
|
|
98
|
-
--sidebar-ring: oklch(0.
|
|
98
|
+
--sidebar-ring: oklch(0.6 0.13 163); /* --color-emerald-600 */
|
|
99
99
|
|
|
100
100
|
--chart-1: oklch(0.85 0.13 165); /* --color-emerald-300 */
|
|
101
101
|
--chart-2: oklch(0.77 0.15 163); /* --color-emerald-400 */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
13
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
14
14
|
|
|
15
|
-
--primary: oklch(0.
|
|
15
|
+
--primary: oklch(0.52 0.23 324); /* --color-fuchsia-700 */
|
|
16
16
|
--primary-foreground: oklch(0.98 0.02 320); /* --color-fuchsia-50 */
|
|
17
17
|
|
|
18
18
|
--secondary: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
|
|
37
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
38
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
39
|
-
--ring: oklch(0.
|
|
39
|
+
--ring: oklch(0.67 0.26 322); /* --color-fuchsia-500 */
|
|
40
40
|
|
|
41
41
|
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
42
42
|
|
|
43
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
44
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
45
|
-
--sidebar-primary: oklch(0.
|
|
45
|
+
--sidebar-primary: oklch(0.52 0.23 324); /* --color-fuchsia-700 */
|
|
46
46
|
--sidebar-primary-foreground: oklch(0.98 0.02 320); /* --color-fuchsia-50 */
|
|
47
47
|
--sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
|
|
48
48
|
--sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
49
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
50
|
-
--sidebar-ring: oklch(0.
|
|
50
|
+
--sidebar-ring: oklch(0.67 0.26 322); /* --color-fuchsia-500 */
|
|
51
51
|
|
|
52
52
|
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
53
53
|
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
--background: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
65
65
|
--foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
66
66
|
|
|
67
|
-
--primary: oklch(0.
|
|
68
|
-
--primary-foreground: oklch(0.
|
|
67
|
+
--primary: oklch(0.75 0.21 322); /* --color-fuchsia-400 */
|
|
68
|
+
--primary-foreground: oklch(0.293 0.136 325.661); /* --color-fuchsia-950 */
|
|
69
69
|
|
|
70
70
|
--secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
71
71
|
--secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
@@ -86,16 +86,16 @@
|
|
|
86
86
|
|
|
87
87
|
--border: oklch(1 0 0 / 10%); /* --color-white */
|
|
88
88
|
--input: oklch(1 0 0 / 15%); /* --color-white */
|
|
89
|
-
--ring: oklch(0.
|
|
89
|
+
--ring: oklch(0.59 0.26 323); /* --color-fuchsia-600 */
|
|
90
90
|
|
|
91
91
|
--sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
|
|
92
92
|
--sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
93
|
-
--sidebar-primary: oklch(0.
|
|
94
|
-
--sidebar-primary-foreground: oklch(0.
|
|
93
|
+
--sidebar-primary: oklch(0.75 0.21 322); /* --color-fuchsia-400 */
|
|
94
|
+
--sidebar-primary-foreground: oklch(0.293 0.136 325.661); /* --color-fuchsia-950 */
|
|
95
95
|
--sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
|
|
96
96
|
--sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
97
97
|
--sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
|
|
98
|
-
--sidebar-ring: oklch(0.
|
|
98
|
+
--sidebar-ring: oklch(0.59 0.26 323); /* --color-fuchsia-600 */
|
|
99
99
|
|
|
100
100
|
--chart-1: oklch(0.83 0.13 321); /* --color-fuchsia-300 */
|
|
101
101
|
--chart-2: oklch(0.75 0.21 322); /* --color-fuchsia-400 */
|
package/src/css/themes/gray.css
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
--border: oklch(0.93 0.01 265); /* --color-gray-200 */
|
|
38
38
|
--input: oklch(0.93 0.01 265); /* --color-gray-200 */
|
|
39
|
-
--ring: oklch(0.
|
|
39
|
+
--ring: oklch(0.55 0.02 264); /* --color-gray-500 */
|
|
40
40
|
|
|
41
41
|
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
42
42
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
--sidebar-accent: oklch(0.97 0 265); /* --color-gray-100 */
|
|
48
48
|
--sidebar-accent-foreground: oklch(0.21 0.03 265); /* --color-gray-900 */
|
|
49
49
|
--sidebar-border: oklch(0.93 0.01 265); /* --color-gray-200 */
|
|
50
|
-
--sidebar-ring: oklch(0.
|
|
50
|
+
--sidebar-ring: oklch(0.55 0.02 264); /* --color-gray-500 */
|
|
51
51
|
|
|
52
52
|
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
53
53
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
|
|
87
87
|
--border: oklch(1 0 0 / 10%); /* --color-white */
|
|
88
88
|
--input: oklch(1 0 0 / 15%); /* --color-white */
|
|
89
|
-
--ring: oklch(0.
|
|
89
|
+
--ring: oklch(0.71 0.02 261); /* --color-gray-400 */
|
|
90
90
|
|
|
91
91
|
--sidebar: oklch(0.21 0.03 265); /* --color-gray-900 */
|
|
92
92
|
--sidebar-foreground: oklch(0.98 0 248); /* --color-gray-50 */
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
--sidebar-accent: oklch(0.28 0.03 257); /* --color-gray-800 */
|
|
96
96
|
--sidebar-accent-foreground: oklch(0.98 0 248); /* --color-gray-50 */
|
|
97
97
|
--sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
|
|
98
|
-
--sidebar-ring: oklch(0.
|
|
98
|
+
--sidebar-ring: oklch(0.71 0.02 261); /* --color-gray-400 */
|
|
99
99
|
|
|
100
100
|
--chart-1: oklch(0.488 0.243 264.376); /* --color-blue-700 */
|
|
101
101
|
--chart-2: oklch(0.696 0.17 162.48); /* --color-emerald-500 */
|