@leitware/composables 0.1.1 → 0.2.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/presets/signal-pop.css +128 -127
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/_internal/checkbox.tsx +3 -2
- package/src/_internal/combobox.tsx +4 -2
- package/src/_internal/input-group.tsx +7 -5
- package/src/_internal/input.tsx +3 -2
- package/src/_internal/native-select.tsx +4 -2
- package/src/_internal/radio-group.tsx +3 -2
- package/src/_internal/select.tsx +3 -2
- package/src/_internal/switch.tsx +3 -2
- package/src/_internal/textarea.tsx +2 -1
- package/src/lib/utils.ts +10 -3
- package/src/styles/presets/signal-pop.css +128 -127
- package/src/styles/presets-data/signal-pop.ts +128 -126
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox'
|
|
2
2
|
import { CheckIcon } from 'lucide-react'
|
|
3
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
3
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
4
4
|
|
|
5
5
|
function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {
|
|
6
6
|
return (
|
|
@@ -8,7 +8,8 @@ function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {
|
|
|
8
8
|
data-slot="checkbox"
|
|
9
9
|
className={cn(
|
|
10
10
|
FOCUS_RING,
|
|
11
|
-
|
|
11
|
+
HOVER_RING,
|
|
12
|
+
'border-field dark:bg-field/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary flex size-4 items-center justify-center rounded-sm border transition-shadow group-has-disabled/field:opacity-disabled peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-disabled',
|
|
12
13
|
className,
|
|
13
14
|
)}
|
|
14
15
|
{...props}
|
|
@@ -3,7 +3,7 @@ import { CheckIcon, ChevronDownIcon, XIcon } from 'lucide-react'
|
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import { Button } from './button'
|
|
5
5
|
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from './input-group'
|
|
6
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
6
|
+
import { cn, FOCUS_RING, GROUP_FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
7
7
|
|
|
8
8
|
const Combobox = ComboboxPrimitive.Root
|
|
9
9
|
|
|
@@ -191,7 +191,9 @@ function ComboboxChips({
|
|
|
191
191
|
<ComboboxPrimitive.Chips
|
|
192
192
|
data-slot="combobox-chips"
|
|
193
193
|
className={cn(
|
|
194
|
-
|
|
194
|
+
GROUP_FOCUS_RING,
|
|
195
|
+
HOVER_RING,
|
|
196
|
+
'bg-field/20 dark:bg-field/30 border-field flex min-h-7 flex-wrap items-center gap-1 rounded-md border bg-clip-padding px-2 py-0.5 text-xs/relaxed has-data-[slot=combobox-chip]:px-1',
|
|
195
197
|
className,
|
|
196
198
|
)}
|
|
197
199
|
{...props}
|
|
@@ -3,7 +3,7 @@ import type * as React from 'react'
|
|
|
3
3
|
import { Button } from './button'
|
|
4
4
|
import { Input } from './input'
|
|
5
5
|
import { Textarea } from './textarea'
|
|
6
|
-
import { cn } from '../lib/utils'
|
|
6
|
+
import { cn, GROUP_FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
7
7
|
|
|
8
8
|
function InputGroup({ className, ...props }: React.ComponentProps<'div'>) {
|
|
9
9
|
return (
|
|
@@ -11,7 +11,9 @@ function InputGroup({ className, ...props }: React.ComponentProps<'div'>) {
|
|
|
11
11
|
data-slot="input-group"
|
|
12
12
|
role="group"
|
|
13
13
|
className={cn(
|
|
14
|
-
|
|
14
|
+
GROUP_FOCUS_RING,
|
|
15
|
+
HOVER_RING,
|
|
16
|
+
'border-field bg-field/20 dark:bg-field/30 h-7 rounded-md border overflow-hidden bg-clip-padding has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[textarea]:rounded-md 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-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',
|
|
15
17
|
className,
|
|
16
18
|
)}
|
|
17
19
|
{...props}
|
|
@@ -61,7 +63,7 @@ function InputGroupAddon({
|
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
const inputGroupButtonVariants = cva(
|
|
64
|
-
'gap-2 rounded-md text-xs/relaxed shadow-none flex items-center',
|
|
66
|
+
'gap-2 rounded-md text-xs/relaxed shadow-none hover:border-transparent hover:ring-0 focus-visible:border-transparent focus-visible:ring-0 flex items-center',
|
|
65
67
|
{
|
|
66
68
|
variants: {
|
|
67
69
|
size: {
|
|
@@ -115,7 +117,7 @@ function InputGroupInput({ className, ...props }: React.ComponentProps<'input'>)
|
|
|
115
117
|
<Input
|
|
116
118
|
data-slot="input-group-control"
|
|
117
119
|
className={cn(
|
|
118
|
-
'rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1',
|
|
120
|
+
'rounded-none border-0 bg-transparent shadow-none ring-0 hover:border-transparent hover:ring-0 focus-visible:border-transparent focus-visible:ring-0 aria-invalid:border-transparent aria-invalid:ring-0 dark:bg-transparent flex-1',
|
|
119
121
|
className,
|
|
120
122
|
)}
|
|
121
123
|
{...props}
|
|
@@ -128,7 +130,7 @@ function InputGroupTextarea({ className, ...props }: React.ComponentProps<'texta
|
|
|
128
130
|
<Textarea
|
|
129
131
|
data-slot="input-group-control"
|
|
130
132
|
className={cn(
|
|
131
|
-
'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none',
|
|
133
|
+
'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 hover:border-transparent hover:ring-0 focus-visible:border-transparent focus-visible:ring-0 aria-invalid:border-transparent aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none',
|
|
132
134
|
className,
|
|
133
135
|
)}
|
|
134
136
|
{...props}
|
package/src/_internal/input.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Input as InputPrimitive } from '@base-ui/react/input'
|
|
2
2
|
import type * as React from 'react'
|
|
3
3
|
|
|
4
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
4
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
5
5
|
|
|
6
6
|
function Input({ className, type, ...props }: React.ComponentProps<'input'>) {
|
|
7
7
|
return (
|
|
@@ -10,7 +10,8 @@ function Input({ className, type, ...props }: React.ComponentProps<'input'>) {
|
|
|
10
10
|
data-slot="input"
|
|
11
11
|
className={cn(
|
|
12
12
|
FOCUS_RING,
|
|
13
|
-
|
|
13
|
+
HOVER_RING,
|
|
14
|
+
'bg-field/20 dark:bg-field/30 border-field h-7 rounded-md border px-2 py-0.5 text-sm file:h-6 file:text-xs/relaxed file:font-medium md:text-xs/relaxed file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-disabled',
|
|
14
15
|
className,
|
|
15
16
|
)}
|
|
16
17
|
{...props}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as React from 'react'
|
|
2
2
|
import { ChevronDownIcon } from 'lucide-react'
|
|
3
3
|
|
|
4
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
4
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
5
5
|
|
|
6
6
|
export type NativeSelectSize = 'sm' | 'default'
|
|
7
7
|
|
|
@@ -25,7 +25,9 @@ function NativeSelect({
|
|
|
25
25
|
data-slot="native-select"
|
|
26
26
|
data-size={size}
|
|
27
27
|
className={cn(
|
|
28
|
-
|
|
28
|
+
FOCUS_RING,
|
|
29
|
+
HOVER_RING,
|
|
30
|
+
'border-field bg-page h-(--input-height) w-full appearance-none rounded-(--input-radius) border px-3 py-2 pr-9 text-xs/relaxed shadow-xs outline-none motion-colors disabled:pointer-events-none disabled:cursor-not-allowed data-[size=sm]:h-8 data-[size=sm]:py-1',
|
|
29
31
|
className,
|
|
30
32
|
)}
|
|
31
33
|
{...props}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Radio as RadioPrimitive } from '@base-ui/react/radio'
|
|
2
2
|
import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group'
|
|
3
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
3
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
4
4
|
|
|
5
5
|
function RadioGroup({ className, ...props }: RadioGroupPrimitive.Props) {
|
|
6
6
|
return (
|
|
@@ -18,7 +18,8 @@ function RadioGroupItem({ className, ...props }: RadioPrimitive.Root.Props) {
|
|
|
18
18
|
data-slot="radio-group-item"
|
|
19
19
|
className={cn(
|
|
20
20
|
FOCUS_RING,
|
|
21
|
-
|
|
21
|
+
HOVER_RING,
|
|
22
|
+
'border-field dark:bg-field/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary flex size-4 rounded-[var(--radius)] transition-shadow group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-disabled',
|
|
22
23
|
className,
|
|
23
24
|
)}
|
|
24
25
|
{...props}
|
package/src/_internal/select.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select as SelectPrimitive } from '@base-ui/react/select'
|
|
2
2
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from 'lucide-react'
|
|
3
3
|
import type * as React from 'react'
|
|
4
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
4
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
5
5
|
|
|
6
6
|
const Select = SelectPrimitive.Root
|
|
7
7
|
|
|
@@ -39,7 +39,8 @@ function SelectTrigger({
|
|
|
39
39
|
data-size={size}
|
|
40
40
|
className={cn(
|
|
41
41
|
FOCUS_RING,
|
|
42
|
-
|
|
42
|
+
HOVER_RING,
|
|
43
|
+
"border-field data-[placeholder]:text-muted-foreground bg-field/20 dark:bg-field/30 dark:hover:bg-field/50 gap-1.5 rounded-md border px-2 py-1.5 text-xs/relaxed data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-3.5 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-disabled *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
43
44
|
className,
|
|
44
45
|
)}
|
|
45
46
|
{...props}
|
package/src/_internal/switch.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Switch as SwitchPrimitive } from '@base-ui/react/switch'
|
|
2
2
|
|
|
3
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
3
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
4
4
|
|
|
5
5
|
function Switch({
|
|
6
6
|
className,
|
|
@@ -15,7 +15,8 @@ function Switch({
|
|
|
15
15
|
data-size={size}
|
|
16
16
|
className={cn(
|
|
17
17
|
FOCUS_RING,
|
|
18
|
-
|
|
18
|
+
HOVER_RING,
|
|
19
|
+
'data-checked:bg-primary data-unchecked:bg-field dark:data-unchecked:bg-field/80 shrink-0 rounded-[var(--radius)] p-0.5 data-[size=default]:h-4 data-[size=default]:w-7 data-[size=sm]:h-3.5 data-[size=sm]:w-6 peer group/switch relative inline-flex items-center transition-[opacity,box-shadow] outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-disabled',
|
|
19
20
|
className,
|
|
20
21
|
)}
|
|
21
22
|
{...props}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react'
|
|
2
2
|
|
|
3
|
-
import { cn, FOCUS_RING } from '../lib/utils'
|
|
3
|
+
import { cn, FOCUS_RING, HOVER_RING } from '../lib/utils'
|
|
4
4
|
|
|
5
5
|
function Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {
|
|
6
6
|
return (
|
|
@@ -8,6 +8,7 @@ function Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {
|
|
|
8
8
|
data-slot="textarea"
|
|
9
9
|
className={cn(
|
|
10
10
|
FOCUS_RING,
|
|
11
|
+
HOVER_RING,
|
|
11
12
|
'border-field bg-field/20 dark:bg-field/30 resize-none rounded-md border px-2 py-2 text-sm md:text-xs/relaxed placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-disabled',
|
|
12
13
|
className,
|
|
13
14
|
)}
|
package/src/lib/utils.ts
CHANGED
|
@@ -14,11 +14,18 @@ export const FOCUS_RING =
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Centralised hover ring style for all interactive elements.
|
|
17
|
-
* Uses
|
|
18
|
-
*
|
|
17
|
+
* Uses a thinner accent treatment than focus, with a border color and ring
|
|
18
|
+
* so presets with zero base border width still have a visible hover affordance.
|
|
19
19
|
*/
|
|
20
20
|
export const HOVER_RING =
|
|
21
|
-
'hover:ring-[length:var(--hover-ring-width)] hover:ring-[color:var(--hover-ring-color)]/30'
|
|
21
|
+
'hover:border-[var(--hover-ring-color)] hover:ring-[length:var(--hover-ring-width)] hover:ring-[color:var(--hover-ring-color)]/30'
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Focus treatment for grouped controls whose focusable element is nested
|
|
25
|
+
* inside a wrapper, such as InputGroup and chip inputs.
|
|
26
|
+
*/
|
|
27
|
+
export const GROUP_FOCUS_RING =
|
|
28
|
+
'has-[:focus-visible]:border-[var(--focus-ring-color)] has-[:focus-visible]:ring-[color:var(--focus-ring-color)]/30 has-[:focus-visible]:ring-[length:var(--focus-ring-width)] has-aria-invalid:ring-stroke-critical/20 dark:has-aria-invalid:ring-stroke-critical/40 has-aria-invalid:border-stroke-critical dark:has-aria-invalid:border-stroke-critical/50 has-aria-invalid:ring-[length:var(--focus-ring-width)]'
|
|
22
29
|
|
|
23
30
|
/** Destructive-variant focus override – layer on top of FOCUS_RING. */
|
|
24
31
|
export const FOCUS_RING_DESTRUCTIVE =
|
|
@@ -14,45 +14,45 @@
|
|
|
14
14
|
--bg-inverse: #050507ff;
|
|
15
15
|
--bg-muted: #e8eef2ff;
|
|
16
16
|
--bg-surface-default: #ffffffff;
|
|
17
|
-
--bg-surface-info: #
|
|
18
|
-
--bg-surface-success: #
|
|
19
|
-
--bg-surface-warning: #
|
|
20
|
-
--bg-surface-critical: #
|
|
21
|
-
--bg-surface-emphasis: #
|
|
17
|
+
--bg-surface-info: #d7f0faff;
|
|
18
|
+
--bg-surface-success: #def6d8ff;
|
|
19
|
+
--bg-surface-warning: #ffe8b5ff;
|
|
20
|
+
--bg-surface-critical: #ffe0d8ff;
|
|
21
|
+
--bg-surface-emphasis: #bba6ffff;
|
|
22
22
|
--bg-surface-inverse: #111217ff;
|
|
23
23
|
--bg-surface-transparent: #0b0b0f12;
|
|
24
|
-
--bg-surface-brand: #
|
|
25
|
-
--bg-surface-brand-2: #
|
|
26
|
-
--bg-surface-brand-3: #
|
|
27
|
-
--bg-surface-brand-4: #
|
|
28
|
-
--bg-surface-brand-5: #
|
|
24
|
+
--bg-surface-brand: #cfe1ffff;
|
|
25
|
+
--bg-surface-brand-2: #eeff00ff;
|
|
26
|
+
--bg-surface-brand-3: #ff8bd3ff;
|
|
27
|
+
--bg-surface-brand-4: #ff8a70ff;
|
|
28
|
+
--bg-surface-brand-5: #a7ff5aff;
|
|
29
29
|
--bg-surface-hover: #e7eff7ff;
|
|
30
30
|
--bg-fill-default: #f4f5f1ff;
|
|
31
|
-
--bg-fill-primary: #
|
|
32
|
-
--bg-fill-brand: #
|
|
33
|
-
--bg-fill-brand-2: #
|
|
31
|
+
--bg-fill-primary: #006fe6ff;
|
|
32
|
+
--bg-fill-brand: #006fe6ff;
|
|
33
|
+
--bg-fill-brand-2: #eeff00ff;
|
|
34
34
|
--bg-fill-brand-3: #ff4db8ff;
|
|
35
35
|
--bg-fill-brand-4: #ff3b16ff;
|
|
36
|
-
--bg-fill-brand-5: #
|
|
37
|
-
--bg-fill-info: #
|
|
38
|
-
--bg-fill-success: #
|
|
39
|
-
--bg-fill-warning: #
|
|
40
|
-
--bg-fill-critical: #
|
|
36
|
+
--bg-fill-brand-5: #39f21eff;
|
|
37
|
+
--bg-fill-info: #168fc7ff;
|
|
38
|
+
--bg-fill-success: #20b85aff;
|
|
39
|
+
--bg-fill-warning: #e68a00ff;
|
|
40
|
+
--bg-fill-critical: #b83318ff;
|
|
41
41
|
--bg-fill-emphasis: #7a5cffff;
|
|
42
42
|
--bg-fill-transparent: #0b0b0f12;
|
|
43
|
-
--bg-fill-secondary: #
|
|
43
|
+
--bg-fill-secondary: #eeff00ff;
|
|
44
44
|
--bg-fill-secondary-inverse: #050507ff;
|
|
45
45
|
--text-default: #0b0b0fff;
|
|
46
46
|
--text-secondary: #2b2d35ff;
|
|
47
47
|
--text-muted: #62656fff;
|
|
48
48
|
--text-disabled: #b9bdc6ff;
|
|
49
49
|
--text-inverse: #f9faf2ff;
|
|
50
|
-
--text-info: #
|
|
51
|
-
--text-success: #
|
|
52
|
-
--text-warning: #
|
|
53
|
-
--text-critical: #
|
|
50
|
+
--text-info: #064864ff;
|
|
51
|
+
--text-success: #0b4a20ff;
|
|
52
|
+
--text-warning: #5c3600ff;
|
|
53
|
+
--text-critical: #8a1f0aff;
|
|
54
54
|
--text-emphasis: #2b1b8dff;
|
|
55
|
-
--text-brand: #
|
|
55
|
+
--text-brand: #12307aff;
|
|
56
56
|
--text-brand-2: #242900ff;
|
|
57
57
|
--text-brand-3: #770044ff;
|
|
58
58
|
--text-brand-4: #7a1300ff;
|
|
@@ -62,65 +62,65 @@
|
|
|
62
62
|
--icon-secondary: #2b2d35ff;
|
|
63
63
|
--icon-disabled: #c7cbd3ff;
|
|
64
64
|
--icon-inverse: #f9faf2ff;
|
|
65
|
-
--icon-info: #
|
|
66
|
-
--icon-success: #
|
|
67
|
-
--icon-warning: #
|
|
68
|
-
--icon-critical: #
|
|
65
|
+
--icon-info: #168fc7ff;
|
|
66
|
+
--icon-success: #20b85aff;
|
|
67
|
+
--icon-warning: #e68a00ff;
|
|
68
|
+
--icon-critical: #b83318ff;
|
|
69
69
|
--icon-emphasis: #7a5cffff;
|
|
70
|
-
--icon-brand: #
|
|
70
|
+
--icon-brand: #006fe6ff;
|
|
71
71
|
--icon-brand-2: #b7cc00ff;
|
|
72
72
|
--icon-brand-3: #ff4db8ff;
|
|
73
73
|
--icon-brand-4: #ff3b16ff;
|
|
74
|
-
--icon-brand-5: #
|
|
75
|
-
--border-default: #
|
|
76
|
-
--border-secondary: #
|
|
77
|
-
--border-tertiary: #
|
|
78
|
-
--border-disabled: #
|
|
74
|
+
--icon-brand-5: #39f21eff;
|
|
75
|
+
--border-default: #00000000;
|
|
76
|
+
--border-secondary: #00000000;
|
|
77
|
+
--border-tertiary: #00000000;
|
|
78
|
+
--border-disabled: #00000000;
|
|
79
79
|
--border-inverse: #f9faf2ff;
|
|
80
80
|
--border-focus: #ff4db8ff;
|
|
81
|
-
--border-brand: #
|
|
81
|
+
--border-brand: #006fe6ff;
|
|
82
82
|
--border-brand-2: #b7cc00ff;
|
|
83
83
|
--border-brand-3: #ff4db8ff;
|
|
84
84
|
--border-brand-4: #ff3b16ff;
|
|
85
|
-
--border-brand-5: #
|
|
86
|
-
--border-info: #
|
|
87
|
-
--border-success: #
|
|
88
|
-
--border-warning: #
|
|
89
|
-
--border-critical: #
|
|
85
|
+
--border-brand-5: #39f21eff;
|
|
86
|
+
--border-info: #168fc7ff;
|
|
87
|
+
--border-success: #20b85aff;
|
|
88
|
+
--border-warning: #e68a00ff;
|
|
89
|
+
--border-critical: #b83318ff;
|
|
90
90
|
--border-emphasis: #7a5cffff;
|
|
91
|
-
--chart-1: #
|
|
92
|
-
--chart-2: #
|
|
91
|
+
--chart-1: #006fe6ff;
|
|
92
|
+
--chart-2: #eeff00ff;
|
|
93
93
|
--chart-3: #ff4db8ff;
|
|
94
94
|
--chart-4: #ff3b16ff;
|
|
95
|
-
--chart-5: #
|
|
95
|
+
--chart-5: #39f21eff;
|
|
96
96
|
--background: #f4f5f1ff;
|
|
97
97
|
--foreground: #0b0b0fff;
|
|
98
98
|
--card: #ffffffff;
|
|
99
99
|
--card-foreground: #0b0b0fff;
|
|
100
100
|
--popover: #ffffffff;
|
|
101
101
|
--popover-foreground: #0b0b0fff;
|
|
102
|
-
--primary: #
|
|
103
|
-
--primary-foreground: #
|
|
104
|
-
--secondary: #
|
|
102
|
+
--primary: #006fe6ff;
|
|
103
|
+
--primary-foreground: #ffffffff;
|
|
104
|
+
--secondary: #eeff00ff;
|
|
105
105
|
--secondary-foreground: #050507ff;
|
|
106
106
|
--muted: #e8eef2ff;
|
|
107
107
|
--muted-foreground: #62656fff;
|
|
108
|
-
--accent: #
|
|
108
|
+
--accent: #ff8bd3ff;
|
|
109
109
|
--accent-foreground: #0b0b0fff;
|
|
110
|
-
--destructive: #
|
|
111
|
-
--border: #
|
|
112
|
-
--input: #
|
|
110
|
+
--destructive: #b83318ff;
|
|
111
|
+
--border: #00000000;
|
|
112
|
+
--input: #00000000;
|
|
113
113
|
--ring: #ff4db8ff;
|
|
114
114
|
--sidebar-background: #050507ff;
|
|
115
115
|
--sidebar-foreground: #f9faf2ff;
|
|
116
|
-
--sidebar-primary: #
|
|
116
|
+
--sidebar-primary: #eeff00ff;
|
|
117
117
|
--sidebar-primary-foreground: #050507ff;
|
|
118
118
|
--sidebar-accent: #15161cff;
|
|
119
119
|
--sidebar-accent-foreground: #f9faf2ff;
|
|
120
|
-
--sidebar-border: #
|
|
120
|
+
--sidebar-border: #00000000;
|
|
121
121
|
--sidebar-ring: #ff4db8ff;
|
|
122
|
-
--spacing: 0.
|
|
123
|
-
--border-width-base:
|
|
122
|
+
--spacing: 0.328125rem;
|
|
123
|
+
--border-width-base: 0rem;
|
|
124
124
|
--radius: 1.125rem;
|
|
125
125
|
--font-size-base: 1rem;
|
|
126
126
|
--leading-base: 1.25;
|
|
@@ -141,15 +141,15 @@
|
|
|
141
141
|
--font-heading: 'Space Grotesk Variable', 'IBM Plex Sans', sans-serif;
|
|
142
142
|
--font-brand: 'JetBrains Mono Variable', 'IBM Plex Mono', monospace;
|
|
143
143
|
--button-radius: var(--radius-4xl);
|
|
144
|
-
--button-padding-x: calc(var(--spacing) *
|
|
145
|
-
--button-padding-y: calc(var(--spacing) * 2);
|
|
144
|
+
--button-padding-x: calc(var(--spacing) * 6);
|
|
145
|
+
--button-padding-y: calc(var(--spacing) * 2.5);
|
|
146
146
|
--card-radius: var(--radius-2xl);
|
|
147
|
-
--card-padding: calc(var(--spacing) *
|
|
148
|
-
--nav-height: calc(var(--spacing) *
|
|
149
|
-
--section-padding-y: calc(var(--spacing) *
|
|
150
|
-
--hero-padding-y: calc(var(--spacing) *
|
|
147
|
+
--card-padding: calc(var(--spacing) * 7);
|
|
148
|
+
--nav-height: calc(var(--spacing) * 16);
|
|
149
|
+
--section-padding-y: calc(var(--spacing) * 28);
|
|
150
|
+
--hero-padding-y: calc(var(--spacing) * 40);
|
|
151
151
|
--input-radius: var(--radius-xl);
|
|
152
|
-
--input-height: calc(var(--spacing) *
|
|
152
|
+
--input-height: calc(var(--spacing) * 12);
|
|
153
153
|
--badge-radius: var(--radius-4xl);
|
|
154
154
|
--motion-duration-fast: 120ms;
|
|
155
155
|
--motion-duration-normal: 180ms;
|
|
@@ -185,12 +185,12 @@
|
|
|
185
185
|
--focus-ring-width: 0.1875rem;
|
|
186
186
|
--focus-ring-offset: 0px;
|
|
187
187
|
--focus-ring-style: solid;
|
|
188
|
-
--hover-ring-color: #
|
|
188
|
+
--hover-ring-color: #006fe6ff;
|
|
189
189
|
--hover-ring-width: 0.125rem;
|
|
190
|
-
--bento-gap:
|
|
191
|
-
--space-layout-sm: calc(var(--spacing) *
|
|
192
|
-
--space-layout-md: calc(var(--spacing) *
|
|
193
|
-
--space-layout-lg: calc(var(--spacing) *
|
|
190
|
+
--bento-gap: calc(var(--spacing) * 3);
|
|
191
|
+
--space-layout-sm: calc(var(--spacing) * 9);
|
|
192
|
+
--space-layout-md: calc(var(--spacing) * 15);
|
|
193
|
+
--space-layout-lg: calc(var(--spacing) * 26);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
.dark {
|
|
@@ -198,82 +198,82 @@
|
|
|
198
198
|
--bg-inverse: #f7f8f2ff;
|
|
199
199
|
--bg-muted: #121318ff;
|
|
200
200
|
--bg-surface-default: #050507ff;
|
|
201
|
-
--bg-surface-info: #
|
|
202
|
-
--bg-surface-success: #
|
|
203
|
-
--bg-surface-warning: #
|
|
204
|
-
--bg-surface-critical: #
|
|
205
|
-
--bg-surface-emphasis: #
|
|
201
|
+
--bg-surface-info: #073348ff;
|
|
202
|
+
--bg-surface-success: #0b3017ff;
|
|
203
|
+
--bg-surface-warning: #342602ff;
|
|
204
|
+
--bg-surface-critical: #36140eff;
|
|
205
|
+
--bg-surface-emphasis: #251064ff;
|
|
206
206
|
--bg-surface-inverse: #e7e8e2ff;
|
|
207
207
|
--bg-surface-transparent: #ffffff12;
|
|
208
|
-
--bg-surface-brand: #
|
|
209
|
-
--bg-surface-brand-2: #
|
|
210
|
-
--bg-surface-brand-3: #
|
|
211
|
-
--bg-surface-brand-4: #
|
|
212
|
-
--bg-surface-brand-5: #
|
|
208
|
+
--bg-surface-brand: #09285cff;
|
|
209
|
+
--bg-surface-brand-2: #343a00ff;
|
|
210
|
+
--bg-surface-brand-3: #451331ff;
|
|
211
|
+
--bg-surface-brand-4: #471508ff;
|
|
212
|
+
--bg-surface-brand-5: #113a08ff;
|
|
213
213
|
--bg-surface-hover: #17191fff;
|
|
214
214
|
--bg-fill-default: #202124ff;
|
|
215
|
-
--bg-fill-primary: #
|
|
216
|
-
--bg-fill-brand: #
|
|
217
|
-
--bg-fill-brand-2: #
|
|
215
|
+
--bg-fill-primary: #006fe6ff;
|
|
216
|
+
--bg-fill-brand: #006fe6ff;
|
|
217
|
+
--bg-fill-brand-2: #eeff00ff;
|
|
218
218
|
--bg-fill-brand-3: #ff4db8ff;
|
|
219
219
|
--bg-fill-brand-4: #ff3b16ff;
|
|
220
220
|
--bg-fill-brand-5: #4cff3aff;
|
|
221
|
-
--bg-fill-info: #
|
|
222
|
-
--bg-fill-success: #
|
|
223
|
-
--bg-fill-warning: #
|
|
224
|
-
--bg-fill-critical: #
|
|
221
|
+
--bg-fill-info: #2fa8d8ff;
|
|
222
|
+
--bg-fill-success: #38c76fff;
|
|
223
|
+
--bg-fill-warning: #f0a623ff;
|
|
224
|
+
--bg-fill-critical: #e05a42ff;
|
|
225
225
|
--bg-fill-emphasis: #9d86ffff;
|
|
226
226
|
--bg-fill-transparent: #ffffff12;
|
|
227
|
-
--bg-fill-secondary: #
|
|
227
|
+
--bg-fill-secondary: #eeff00ff;
|
|
228
228
|
--bg-fill-secondary-inverse: #050507ff;
|
|
229
229
|
--text-default: #f7f8f2ff;
|
|
230
230
|
--text-secondary: #d7dad2ff;
|
|
231
231
|
--text-muted: #9fa4aeff;
|
|
232
232
|
--text-disabled: #5b606aff;
|
|
233
233
|
--text-inverse: #050507ff;
|
|
234
|
-
--text-info: #
|
|
235
|
-
--text-success: #
|
|
236
|
-
--text-warning: #
|
|
237
|
-
--text-critical: #
|
|
234
|
+
--text-info: #9fdef2ff;
|
|
235
|
+
--text-success: #b2f29dff;
|
|
236
|
+
--text-warning: #ffd98cff;
|
|
237
|
+
--text-critical: #ffb8a8ff;
|
|
238
238
|
--text-emphasis: #c5b8ffff;
|
|
239
|
-
--text-brand: #
|
|
239
|
+
--text-brand: #afc8ffff;
|
|
240
240
|
--text-brand-2: #f0ff65ff;
|
|
241
|
-
--text-brand-3: #
|
|
241
|
+
--text-brand-3: #ff8bd3ff;
|
|
242
242
|
--text-brand-4: #ff9a86ff;
|
|
243
|
-
--text-brand-5: #
|
|
243
|
+
--text-brand-5: #b8ff5cff;
|
|
244
244
|
--text-link: #71c7ffff;
|
|
245
245
|
--icon-default: #f7f8f2ff;
|
|
246
246
|
--icon-secondary: #d7dad2ff;
|
|
247
247
|
--icon-disabled: #494e58ff;
|
|
248
248
|
--icon-inverse: #050507ff;
|
|
249
|
-
--icon-info: #
|
|
250
|
-
--icon-success: #
|
|
251
|
-
--icon-warning: #
|
|
252
|
-
--icon-critical: #
|
|
249
|
+
--icon-info: #2fa8d8ff;
|
|
250
|
+
--icon-success: #38c76fff;
|
|
251
|
+
--icon-warning: #f0a623ff;
|
|
252
|
+
--icon-critical: #e05a42ff;
|
|
253
253
|
--icon-emphasis: #9d86ffff;
|
|
254
254
|
--icon-brand: #149cffff;
|
|
255
|
-
--icon-brand-2: #
|
|
255
|
+
--icon-brand-2: #eeff00ff;
|
|
256
256
|
--icon-brand-3: #ff4db8ff;
|
|
257
257
|
--icon-brand-4: #ff3b16ff;
|
|
258
258
|
--icon-brand-5: #4cff3aff;
|
|
259
|
-
--border-default: #
|
|
260
|
-
--border-secondary: #
|
|
261
|
-
--border-tertiary: #
|
|
262
|
-
--border-disabled: #
|
|
259
|
+
--border-default: #00000000;
|
|
260
|
+
--border-secondary: #00000000;
|
|
261
|
+
--border-tertiary: #00000000;
|
|
262
|
+
--border-disabled: #00000000;
|
|
263
263
|
--border-inverse: #f7f8f2ff;
|
|
264
264
|
--border-focus: #ff4db8ff;
|
|
265
265
|
--border-brand: #149cffff;
|
|
266
|
-
--border-brand-2: #
|
|
266
|
+
--border-brand-2: #eeff00ff;
|
|
267
267
|
--border-brand-3: #ff4db8ff;
|
|
268
268
|
--border-brand-4: #ff3b16ff;
|
|
269
269
|
--border-brand-5: #4cff3aff;
|
|
270
|
-
--border-info: #
|
|
271
|
-
--border-success: #
|
|
272
|
-
--border-warning: #
|
|
273
|
-
--border-critical: #
|
|
270
|
+
--border-info: #2fa8d8ff;
|
|
271
|
+
--border-success: #38c76fff;
|
|
272
|
+
--border-warning: #f0a623ff;
|
|
273
|
+
--border-critical: #e05a42ff;
|
|
274
274
|
--border-emphasis: #9d86ffff;
|
|
275
275
|
--chart-1: #149cffff;
|
|
276
|
-
--chart-2: #
|
|
276
|
+
--chart-2: #eeff00ff;
|
|
277
277
|
--chart-3: #ff4db8ff;
|
|
278
278
|
--chart-4: #ff3b16ff;
|
|
279
279
|
--chart-5: #4cff3aff;
|
|
@@ -283,30 +283,31 @@
|
|
|
283
283
|
--card-foreground: #f7f8f2ff;
|
|
284
284
|
--popover: #050507ff;
|
|
285
285
|
--popover-foreground: #f7f8f2ff;
|
|
286
|
-
--primary: #
|
|
287
|
-
--primary-foreground: #
|
|
288
|
-
--secondary: #
|
|
286
|
+
--primary: #006fe6ff;
|
|
287
|
+
--primary-foreground: #ffffffff;
|
|
288
|
+
--secondary: #eeff00ff;
|
|
289
289
|
--secondary-foreground: #050507ff;
|
|
290
290
|
--muted: #17191fff;
|
|
291
291
|
--muted-foreground: #9fa4aeff;
|
|
292
292
|
--accent: #351026ff;
|
|
293
293
|
--accent-foreground: #f7f8f2ff;
|
|
294
|
-
--destructive: #
|
|
295
|
-
--border: #
|
|
296
|
-
--input: #
|
|
294
|
+
--destructive: #e05a42ff;
|
|
295
|
+
--border: #00000000;
|
|
296
|
+
--input: #00000000;
|
|
297
297
|
--ring: #ff4db8ff;
|
|
298
298
|
--sidebar-background: #050507ff;
|
|
299
299
|
--sidebar-foreground: #f7f8f2ff;
|
|
300
|
-
--sidebar-primary: #
|
|
300
|
+
--sidebar-primary: #eeff00ff;
|
|
301
301
|
--sidebar-primary-foreground: #050507ff;
|
|
302
302
|
--sidebar-accent: #17191fff;
|
|
303
303
|
--sidebar-accent-foreground: #f7f8f2ff;
|
|
304
|
-
--sidebar-border: #
|
|
304
|
+
--sidebar-border: #00000000;
|
|
305
305
|
--sidebar-ring: #ff4db8ff;
|
|
306
306
|
--font-sans: 'IBM Plex Sans', sans-serif;
|
|
307
307
|
--font-heading: 'Space Grotesk Variable', 'IBM Plex Sans', sans-serif;
|
|
308
308
|
--font-brand: 'JetBrains Mono Variable', 'IBM Plex Mono', monospace;
|
|
309
|
-
--
|
|
309
|
+
--spacing: 0.328125rem;
|
|
310
|
+
--border-width-base: 0rem;
|
|
310
311
|
--radius: 1.125rem;
|
|
311
312
|
--font-size-base: 1rem;
|
|
312
313
|
--leading-base: 1.25;
|
|
@@ -318,27 +319,27 @@
|
|
|
318
319
|
--dropdown-offset: 8;
|
|
319
320
|
--overlay-offset: 8;
|
|
320
321
|
--button-radius: var(--radius-4xl);
|
|
321
|
-
--button-padding-x: calc(var(--spacing) *
|
|
322
|
-
--button-padding-y: calc(var(--spacing) * 2);
|
|
322
|
+
--button-padding-x: calc(var(--spacing) * 6);
|
|
323
|
+
--button-padding-y: calc(var(--spacing) * 2.5);
|
|
323
324
|
--card-radius: var(--radius-2xl);
|
|
324
|
-
--card-padding: calc(var(--spacing) *
|
|
325
|
-
--nav-height: calc(var(--spacing) *
|
|
326
|
-
--section-padding-y: calc(var(--spacing) *
|
|
327
|
-
--hero-padding-y: calc(var(--spacing) *
|
|
325
|
+
--card-padding: calc(var(--spacing) * 7);
|
|
326
|
+
--nav-height: calc(var(--spacing) * 16);
|
|
327
|
+
--section-padding-y: calc(var(--spacing) * 28);
|
|
328
|
+
--hero-padding-y: calc(var(--spacing) * 40);
|
|
328
329
|
--input-radius: var(--radius-xl);
|
|
329
|
-
--input-height: calc(var(--spacing) *
|
|
330
|
+
--input-height: calc(var(--spacing) * 12);
|
|
330
331
|
--badge-radius: var(--radius-4xl);
|
|
331
332
|
--border-style: solid;
|
|
332
333
|
--focus-ring-color: #ff4db8ff;
|
|
333
334
|
--focus-ring-width: 0.1875rem;
|
|
334
335
|
--focus-ring-offset: 0px;
|
|
335
336
|
--focus-ring-style: solid;
|
|
336
|
-
--hover-ring-color: #
|
|
337
|
+
--hover-ring-color: #71c7ffff;
|
|
337
338
|
--hover-ring-width: 0.125rem;
|
|
338
|
-
--bento-gap:
|
|
339
|
-
--space-layout-sm: calc(var(--spacing) *
|
|
340
|
-
--space-layout-md: calc(var(--spacing) *
|
|
341
|
-
--space-layout-lg: calc(var(--spacing) *
|
|
339
|
+
--bento-gap: calc(var(--spacing) * 3);
|
|
340
|
+
--space-layout-sm: calc(var(--spacing) * 9);
|
|
341
|
+
--space-layout-md: calc(var(--spacing) * 15);
|
|
342
|
+
--space-layout-lg: calc(var(--spacing) * 26);
|
|
342
343
|
--motion-duration-fast: 120ms;
|
|
343
344
|
--motion-duration-normal: 180ms;
|
|
344
345
|
--motion-duration-slow: 260ms;
|