@antadesign/anta 0.3.34 → 0.3.35
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/LICENSE.md +14 -1
- package/README.md +9 -0
- package/dist/anta_helpers.d.ts +46 -30
- package/dist/anta_helpers.js +66 -25
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +2 -1333
- package/dist/components/Banner.d.ts +25 -40
- package/dist/components/Banner.js +15 -17
- package/dist/components/Button.js +1 -0
- package/dist/components/ButtonCopy.js +3 -2
- package/dist/components/Calendar.js +13 -13
- package/dist/components/Card.d.ts +9 -17
- package/dist/components/Card.js +50 -46
- package/dist/components/Dialog.d.ts +1 -0
- package/dist/components/Dialog.js +16 -10
- package/dist/components/Expander.d.ts +6 -21
- package/dist/components/Expander.js +24 -23
- package/dist/components/Icon.d.ts +8 -14
- package/dist/components/Input.d.ts +77 -96
- package/dist/components/Input.js +23 -27
- package/dist/components/InputAutocomplete.d.ts +29 -10
- package/dist/components/InputAutocomplete.js +25 -8
- package/dist/components/InputDate.js +2 -2
- package/dist/components/InputTime.d.ts +10 -4
- package/dist/components/InputTime.js +20 -16
- package/dist/components/Loader.d.ts +2 -2
- package/dist/components/Menu.d.ts +5 -4
- package/dist/components/Menu.js +13 -8
- package/dist/components/MenuItem.js +1 -14
- package/dist/components/MenuItemCopy.js +2 -2
- package/dist/components/Panel.d.ts +3 -1
- package/dist/components/Panel.js +17 -11
- package/dist/components/Progress.d.ts +21 -23
- package/dist/components/Progress.js +13 -9
- package/dist/components/RadioGroup.js +6 -8
- package/dist/components/{select-parts.css → Select.css} +1 -1
- package/dist/components/Select.d.ts +53 -35
- package/dist/components/Select.js +53 -97
- package/dist/components/SelectFaceted.d.ts +7 -3
- package/dist/components/SelectFaceted.js +21 -9
- package/dist/components/Slider.d.ts +28 -11
- package/dist/components/Slider.js +20 -20
- package/dist/components/Steps.css +1 -1
- package/dist/components/Steps.js +1 -11
- package/dist/components/Tabs.d.ts +17 -20
- package/dist/components/Tabs.js +5 -8
- package/dist/components/Text.d.ts +55 -36
- package/dist/components/Text.js +35 -22
- package/dist/components/Title.d.ts +16 -26
- package/dist/components/Title.js +2 -1
- package/dist/components/Toaster.js +9 -2
- package/dist/components/Tooltip.d.ts +10 -15
- package/dist/components/copy-props.d.ts +14 -3
- package/dist/components/copy-props.js +14 -3
- package/dist/components/select-tree.d.ts +24 -0
- package/dist/components/select-tree.js +35 -0
- package/dist/element-base.d.ts +10 -0
- package/dist/element-base.js +15 -0
- package/dist/elements/a-banner.css +1 -1
- package/dist/elements/a-banner.d.ts +4 -1
- package/dist/elements/a-banner.js +22 -112
- package/dist/elements/a-button.d.ts +2 -1
- package/dist/elements/a-button.js +18 -1
- package/dist/elements/a-calendar.d.ts +14 -13
- package/dist/elements/a-calendar.js +29 -24
- package/dist/elements/a-card.css +1 -1
- package/dist/elements/a-card.d.ts +0 -9
- package/dist/elements/a-card.js +0 -184
- package/dist/elements/a-checkbox.css +1 -1
- package/dist/elements/a-copy.css +1 -1
- package/dist/elements/a-copy.d.ts +1 -5
- package/dist/elements/a-copy.js +129 -108
- package/dist/elements/a-dialog.css +1 -1
- package/dist/elements/a-dialog.d.ts +1 -1
- package/dist/elements/a-dialog.js +66 -194
- package/dist/elements/a-expander.css +1 -1
- package/dist/elements/a-expander.d.ts +4 -30
- package/dist/elements/a-expander.js +85 -344
- package/dist/elements/a-icon.d.ts +5 -23
- package/dist/elements/a-icon.js +1 -2
- package/dist/elements/a-input-time.css +1 -1
- package/dist/elements/a-input-time.d.ts +2 -1
- package/dist/elements/a-input-time.js +101 -168
- package/dist/elements/a-input.css +1 -1
- package/dist/elements/a-input.d.ts +10 -8
- package/dist/elements/a-input.js +155 -230
- package/dist/elements/a-loader.d.ts +5 -8
- package/dist/elements/a-loader.js +1 -2
- package/dist/elements/a-menu-item.css +1 -1
- package/dist/elements/a-menu-item.d.ts +5 -3
- package/dist/elements/a-menu-item.js +5 -1
- package/dist/elements/a-menu.css +1 -1
- package/dist/elements/a-menu.d.ts +5 -7
- package/dist/elements/a-menu.js +383 -299
- package/dist/elements/a-panel.css +1 -1
- package/dist/elements/a-panel.js +19 -37
- package/dist/elements/a-progress.css +1 -1
- package/dist/elements/a-progress.d.ts +0 -22
- package/dist/elements/a-progress.js +0 -100
- package/dist/elements/a-radio-group.d.ts +1 -1
- package/dist/elements/a-radio-group.js +6 -4
- package/dist/elements/a-select-faceted.d.ts +1 -1
- package/dist/elements/a-select-faceted.js +1 -1
- package/dist/elements/a-select.d.ts +1 -1
- package/dist/elements/a-select.js +1 -1
- package/dist/elements/a-slider.css +1 -1
- package/dist/elements/a-slider.d.ts +11 -3
- package/dist/elements/a-slider.js +244 -242
- package/dist/elements/a-switch.css +1 -1
- package/dist/elements/a-tab.css +1 -1
- package/dist/elements/a-tabs.css +1 -1
- package/dist/elements/a-tabs.d.ts +1 -1
- package/dist/elements/a-tabs.js +6 -4
- package/dist/elements/a-tag.css +1 -1
- package/dist/elements/a-text.css +1 -1
- package/dist/elements/a-text.d.ts +6 -43
- package/dist/elements/a-text.js +110 -193
- package/dist/elements/a-title.css +1 -1
- package/dist/elements/a-toast.css +1 -1
- package/dist/elements/a-toast.d.ts +10 -45
- package/dist/elements/a-toast.js +80 -66
- package/dist/elements/a-toaster.css +1 -1
- package/dist/elements/a-toaster.js +9 -44
- package/dist/elements/a-tooltip.css +1 -1
- package/dist/elements/a-tooltip.d.ts +1 -1
- package/dist/elements/a-tooltip.js +142 -136
- package/dist/elements/copy-behavior.d.ts +1 -1
- package/dist/elements/copy-behavior.js +21 -21
- package/dist/elements/index.d.ts +3 -3
- package/dist/elements/index.js +3 -7
- package/dist/elements/input-focus-modality.d.ts +15 -0
- package/dist/elements/input-focus-modality.js +44 -0
- package/dist/elements/input-trailing-actions.d.ts +5 -0
- package/dist/elements/input-trailing-actions.js +38 -0
- package/dist/elements/shadow-aria.d.ts +2 -0
- package/dist/elements/shadow-aria.js +2 -1
- package/dist/elements/value-input.d.ts +3 -0
- package/dist/elements/value-input.js +12 -0
- package/dist/general_types.d.ts +103 -96
- package/dist/index.d.ts +1 -1
- package/dist/input-events.d.ts +4 -0
- package/dist/input-events.js +15 -0
- package/dist/jsx-runtime.d.ts +70 -23
- package/dist/jsx-runtime.js +26 -19
- package/dist/native-event-props.d.ts +2 -0
- package/dist/native-event-props.js +10 -0
- package/dist/reset.css +1 -1
- package/dist/theme-antithesis.css +10 -1
- package/dist/theme-antune.css +1 -1
- package/docs/accessibility.md +17 -3
- package/docs/changelog.md +348 -2
- package/docs/comparison.md +2 -2
- package/docs/components/avatar.md +5 -0
- package/docs/components/banner.md +117 -187
- package/docs/components/button.md +22 -0
- package/docs/components/card.md +74 -28
- package/docs/components/checkbox.md +9 -10
- package/docs/components/dialog.md +83 -32
- package/docs/components/expander.md +198 -435
- package/docs/components/icon.md +11 -17
- package/docs/components/input-autocomplete.md +152 -52
- package/docs/components/input-date.md +175 -148
- package/docs/components/input-time.md +81 -38
- package/docs/components/input.md +343 -349
- package/docs/components/loader.md +2 -1
- package/docs/components/menu.md +35 -6
- package/docs/components/panel.md +18 -0
- package/docs/components/progress.md +83 -49
- package/docs/components/radio.md +39 -43
- package/docs/components/select-faceted.md +54 -7
- package/docs/components/select.md +390 -386
- package/docs/components/slider.md +136 -19
- package/docs/components/steps.md +2 -1
- package/docs/components/switch.md +8 -9
- package/docs/components/tabs.md +110 -104
- package/docs/components/text.md +110 -86
- package/docs/components/title.md +47 -33
- package/docs/components/toaster.md +242 -84
- package/docs/components/tooltip.md +204 -113
- package/docs/install-config.md +183 -26
- package/docs/packages/plot.md +170 -148
- package/docs/theming.md +7 -0
- package/package.json +41 -3
- package/theme-antithesis-license.md +66 -0
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -14,35 +14,51 @@ type UseRef = <T>(initial: T) => {
|
|
|
14
14
|
type UseLayoutEffect = (effect: () => void | (() => void), deps?: unknown[]) => void;
|
|
15
15
|
type UseSyncExternalStore = <T>(subscribe: (onChange: () => void) => () => void, getSnapshot: () => T, getServerSnapshot?: () => T) => T;
|
|
16
16
|
declare let _Fragment: ComponentType;
|
|
17
|
+
/** Renderer hooks used by Anta wrappers. Pass the runtime's hooks object to
|
|
18
|
+
* `configure()`. Only hooks used by the rendered components need to be present. */
|
|
19
|
+
export interface RendererHooks {
|
|
20
|
+
useState?: UseState;
|
|
21
|
+
useId?: UseId;
|
|
22
|
+
useMemo?: UseMemo;
|
|
23
|
+
useRef?: UseRef;
|
|
24
|
+
useLayoutEffect?: UseLayoutEffect;
|
|
25
|
+
useSyncExternalStore?: UseSyncExternalStore;
|
|
26
|
+
}
|
|
27
|
+
/** Renderer behavior configured before mounting components. */
|
|
28
|
+
export interface RendererOptions {
|
|
29
|
+
/** Enable the browser event-prop workaround when hydrating server-rendered
|
|
30
|
+
* HTML. Handlers attach after the first browser commit. Omit or pass `false`
|
|
31
|
+
* for immediate forwarding without listener hooks or an extra mount render.
|
|
32
|
+
* Server and worker projections without `window` always forward immediately.
|
|
33
|
+
* @defaultValue false */
|
|
34
|
+
hydratingEvents?: boolean;
|
|
35
|
+
}
|
|
36
|
+
/** @internal Read the hydration option without exposing mutable configuration. */
|
|
37
|
+
export declare function hydratingEventsEnabled(): boolean;
|
|
17
38
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
39
|
+
* Configure the JSX factory, fragment, and hooks before rendering Anta components.
|
|
40
|
+
* Client-rendered React and Preact with React compatibility aliases need no setup.
|
|
20
41
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* the
|
|
25
|
-
*
|
|
26
|
-
*
|
|
42
|
+
* Pass your runtime's hooks object as a whole. It replaces the previous object;
|
|
43
|
+
* omitted hooks never fall back to another renderer. A missing hook reports an
|
|
44
|
+
* error when a component uses it. Omitting the object restores React's hooks.
|
|
45
|
+
* Configure the same package entry in each process or thread that renders JSX.
|
|
46
|
+
* Set `options.hydratingEvents` to `true` in the browser entry before hydrating
|
|
47
|
+
* server-rendered HTML. Client-only apps and worker renderers forward event
|
|
48
|
+
* subscriptions immediately by default, including workers with a `window` shim.
|
|
49
|
+
* Each call resets the option to `false` when omitted. Configure before mounting;
|
|
50
|
+
* keep the option unchanged for a mounted tree.
|
|
27
51
|
*
|
|
28
|
-
* @example
|
|
52
|
+
* @example Custom renderer
|
|
29
53
|
* ```ts
|
|
30
54
|
* import { configure } from '@antadesign/anta'
|
|
31
55
|
* import { h, Fragment } from 'preact'
|
|
32
|
-
* import
|
|
33
|
-
* configure(h, Fragment,
|
|
56
|
+
* import * as hooks from 'preact/hooks'
|
|
57
|
+
* configure(h, Fragment, hooks)
|
|
34
58
|
* ```
|
|
35
59
|
*/
|
|
36
|
-
export declare function configure(jsx: JsxFunction, Fragment?: ComponentType, hooks?:
|
|
37
|
-
|
|
38
|
-
useId?: UseId;
|
|
39
|
-
useMemo?: UseMemo;
|
|
40
|
-
useRef?: UseRef;
|
|
41
|
-
useLayoutEffect?: UseLayoutEffect;
|
|
42
|
-
useSyncExternalStore?: UseSyncExternalStore;
|
|
43
|
-
}): void;
|
|
44
|
-
/** Hooks indirection so wrappers depend on the configured renderer, not a hard
|
|
45
|
-
* `import … from 'react'`. Call these exactly like the React hooks. */
|
|
60
|
+
export declare function configure(jsx: JsxFunction, Fragment?: ComponentType, hooks?: RendererHooks, options?: RendererOptions): void;
|
|
61
|
+
/** Hooks delegate to the object supplied to `configure()`, or React by default. */
|
|
46
62
|
export declare function useState<S>(initial: S | (() => S)): [S, (next: S | ((prev: S) => S)) => void];
|
|
47
63
|
export declare function useId(): string;
|
|
48
64
|
export declare function useMemo<T>(factory: () => T, deps: unknown[]): T;
|
|
@@ -50,11 +66,14 @@ export declare function useRef<T>(initial: T): {
|
|
|
50
66
|
current: T;
|
|
51
67
|
};
|
|
52
68
|
export declare function useLayoutEffect(effect: () => void | (() => void), deps?: unknown[]): void;
|
|
69
|
+
/** @internal Optional browser cleanup for presets that also support runtimes
|
|
70
|
+
* without lifecycle hooks. Configure hooks before mounting and keep them stable. */
|
|
71
|
+
export declare function useOptionalClientLayoutEffect(effect: () => void | (() => void), deps?: unknown[]): void;
|
|
53
72
|
export declare function useSyncExternalStore<T>(subscribe: (onChange: () => void) => () => void, getSnapshot: () => T, getServerSnapshot?: () => T): T;
|
|
54
73
|
export declare function jsx(type: ComponentType, props: Record<string, unknown> | null, key?: string | number): unknown;
|
|
55
74
|
export declare function jsxs(type: ComponentType, props: Record<string, unknown> | null, key?: string | number): unknown;
|
|
56
75
|
export { _Fragment as Fragment };
|
|
57
|
-
import type { AAvatarAttributes, AProgressAttributes, ALoaderAttributes, ATextAttributes, ABoxAttributes, ACaptureAttributes, APanelAttributes, ATitleAttributes, ATagAttributes, AExpanderAttributes, AIconAttributes, AButtonAttributes, ACopyAttributes, ACheckboxAttributes, ASwitchAttributes, ATooltipAttributes, AInputAttributes, ASliderAttributes, AInputTimeAttributes, ACalendarAttributes, ARadioAttributes, ARadioGroupAttributes, AMenuAttributes, AMenuItemAttributes, AMenuGroupAttributes, ATabsAttributes, ATabAttributes, ATabpanelAttributes, ADialogAttributes, ACardAttributes, ABannerAttributes, AToasterAttributes, AToastAttributes, BaseAttributes } from './general_types';
|
|
76
|
+
import type { AAvatarAttributes, AProgressAttributes, ALoaderAttributes, ATextAttributes, ATextContentAttributes, ABoxAttributes, ACaptureAttributes, APanelAttributes, ATitleAttributes, ATagAttributes, AExpanderAttributes, AExpanderSummaryAttributes, AExpanderIndicatorAttributes, AIconAttributes, AButtonAttributes, ACopyAttributes, ACheckboxAttributes, ASwitchAttributes, ATooltipAttributes, AInputAttributes, ASliderAttributes, AInputTimeAttributes, ACalendarAttributes, ARadioAttributes, ARadioGroupAttributes, AMenuAttributes, AMenuItemAttributes, AMenuGroupAttributes, ATabsAttributes, ATabAttributes, ATabpanelAttributes, ADialogAttributes, ACardAttributes, ABannerAttributes, AToasterAttributes, AToastAttributes, BaseAttributes } from './general_types';
|
|
58
77
|
export declare namespace JSX {
|
|
59
78
|
interface IntrinsicElements extends React.JSX.IntrinsicElements, AntaIntrinsicElements {
|
|
60
79
|
}
|
|
@@ -70,6 +89,7 @@ export interface AntaIntrinsicElements {
|
|
|
70
89
|
'a-progress-text': BaseAttributes;
|
|
71
90
|
'a-progress-hint': BaseAttributes;
|
|
72
91
|
'a-text': ATextAttributes;
|
|
92
|
+
'a-text-content': ATextContentAttributes;
|
|
73
93
|
'a-box': ABoxAttributes;
|
|
74
94
|
'a-capture': ACaptureAttributes;
|
|
75
95
|
'a-panel': APanelAttributes;
|
|
@@ -78,7 +98,10 @@ export interface AntaIntrinsicElements {
|
|
|
78
98
|
'a-tag-label': BaseAttributes;
|
|
79
99
|
'a-tag-value': BaseAttributes;
|
|
80
100
|
'a-expander': AExpanderAttributes;
|
|
81
|
-
'a-expander-summary':
|
|
101
|
+
'a-expander-summary': AExpanderSummaryAttributes;
|
|
102
|
+
'a-expander-title': BaseAttributes;
|
|
103
|
+
'a-expander-actions': BaseAttributes;
|
|
104
|
+
'a-expander-indicator': AExpanderIndicatorAttributes;
|
|
82
105
|
'a-expander-details': BaseAttributes;
|
|
83
106
|
'a-icon': AIconAttributes;
|
|
84
107
|
'a-button': AButtonAttributes;
|
|
@@ -94,8 +117,18 @@ export interface AntaIntrinsicElements {
|
|
|
94
117
|
'a-switch-hint': BaseAttributes;
|
|
95
118
|
'a-tooltip': ATooltipAttributes;
|
|
96
119
|
'a-input': AInputAttributes;
|
|
120
|
+
'a-input-label': BaseAttributes;
|
|
121
|
+
'a-input-leading': BaseAttributes;
|
|
122
|
+
'a-input-clear': BaseAttributes;
|
|
123
|
+
'a-input-trailing': BaseAttributes;
|
|
124
|
+
'a-input-hint': BaseAttributes;
|
|
97
125
|
'a-slider': ASliderAttributes;
|
|
98
126
|
'a-input-time': AInputTimeAttributes;
|
|
127
|
+
'a-input-time-label': BaseAttributes;
|
|
128
|
+
'a-input-time-leading': BaseAttributes;
|
|
129
|
+
'a-input-time-clear': BaseAttributes;
|
|
130
|
+
'a-input-time-trailing': BaseAttributes;
|
|
131
|
+
'a-input-time-hint': BaseAttributes;
|
|
99
132
|
'a-calendar': ACalendarAttributes;
|
|
100
133
|
'a-radio': ARadioAttributes;
|
|
101
134
|
'a-radio-group': ARadioGroupAttributes;
|
|
@@ -126,6 +159,7 @@ export interface AntaIntrinsicElements {
|
|
|
126
159
|
open?: boolean | '';
|
|
127
160
|
};
|
|
128
161
|
'a-select-faceted-summary': BaseAttributes;
|
|
162
|
+
'a-select-faceted-text': BaseAttributes;
|
|
129
163
|
'a-menu-group': AMenuGroupAttributes;
|
|
130
164
|
'a-menu-group-label': BaseAttributes;
|
|
131
165
|
'a-tabs': ATabsAttributes;
|
|
@@ -137,11 +171,24 @@ export interface AntaIntrinsicElements {
|
|
|
137
171
|
'a-step-desc': BaseAttributes;
|
|
138
172
|
'a-step-hint': BaseAttributes;
|
|
139
173
|
'a-dialog': ADialogAttributes;
|
|
174
|
+
'a-dialog-close': BaseAttributes;
|
|
175
|
+
'a-dialog-footer': BaseAttributes;
|
|
140
176
|
'a-card': ACardAttributes;
|
|
177
|
+
'a-card-layout': BaseAttributes;
|
|
141
178
|
'a-card-icon-chip': BaseAttributes;
|
|
179
|
+
'a-card-footer': BaseAttributes;
|
|
180
|
+
'a-card-media': BaseAttributes;
|
|
181
|
+
'a-card-content': BaseAttributes;
|
|
182
|
+
'a-card-header': BaseAttributes;
|
|
183
|
+
'a-card-icon': BaseAttributes;
|
|
184
|
+
'a-card-title': BaseAttributes;
|
|
185
|
+
'a-card-body': BaseAttributes;
|
|
142
186
|
'a-input-date-time-container': BaseAttributes;
|
|
143
187
|
'a-banner': ABannerAttributes;
|
|
144
188
|
'a-banner-message': BaseAttributes;
|
|
189
|
+
'a-banner-content': BaseAttributes;
|
|
190
|
+
'a-banner-actions': BaseAttributes;
|
|
191
|
+
'a-banner-close': BaseAttributes;
|
|
145
192
|
'a-toaster': AToasterAttributes;
|
|
146
193
|
'a-toast': AToastAttributes;
|
|
147
194
|
}
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -1,39 +1,44 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
let _jsx = React.createElement;
|
|
3
3
|
let _Fragment = React.Fragment;
|
|
4
|
-
let
|
|
5
|
-
let
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function configure(jsx2, Fragment, hooks) {
|
|
4
|
+
let _hooks = React;
|
|
5
|
+
let _hydratingEvents = false;
|
|
6
|
+
function hydratingEventsEnabled() {
|
|
7
|
+
return _hydratingEvents;
|
|
8
|
+
}
|
|
9
|
+
function configure(jsx2, Fragment, hooks = React, options = {}) {
|
|
11
10
|
_jsx = jsx2;
|
|
12
11
|
if (Fragment !== void 0) _Fragment = Fragment;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
if (
|
|
12
|
+
_hooks = hooks;
|
|
13
|
+
_hydratingEvents = options.hydratingEvents === true;
|
|
14
|
+
}
|
|
15
|
+
function rendererHook(name) {
|
|
16
|
+
const hook = _hooks[name];
|
|
17
|
+
if (typeof hook !== "function") {
|
|
18
|
+
throw new Error(`Anta: the configured renderer is missing ${name}. Pass its hooks object to configure().`);
|
|
19
|
+
}
|
|
20
|
+
return hook;
|
|
19
21
|
}
|
|
20
22
|
function useState(initial) {
|
|
21
|
-
return
|
|
23
|
+
return rendererHook("useState")(initial);
|
|
22
24
|
}
|
|
23
25
|
function useId() {
|
|
24
|
-
return
|
|
26
|
+
return rendererHook("useId")();
|
|
25
27
|
}
|
|
26
28
|
function useMemo(factory, deps) {
|
|
27
|
-
return
|
|
29
|
+
return rendererHook("useMemo")(factory, deps);
|
|
28
30
|
}
|
|
29
31
|
function useRef(initial) {
|
|
30
|
-
return
|
|
32
|
+
return rendererHook("useRef")(initial);
|
|
31
33
|
}
|
|
32
34
|
function useLayoutEffect(effect, deps) {
|
|
33
|
-
return
|
|
35
|
+
return rendererHook("useLayoutEffect")(effect, deps);
|
|
36
|
+
}
|
|
37
|
+
function useOptionalClientLayoutEffect(effect, deps) {
|
|
38
|
+
if (typeof window !== "undefined") _hooks.useLayoutEffect?.(effect, deps);
|
|
34
39
|
}
|
|
35
40
|
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
36
|
-
return
|
|
41
|
+
return rendererHook("useSyncExternalStore")(subscribe, getSnapshot, getServerSnapshot);
|
|
37
42
|
}
|
|
38
43
|
function jsx(type, props, key) {
|
|
39
44
|
const { children, ...rest } = props ?? {};
|
|
@@ -54,11 +59,13 @@ function jsxs(type, props, key) {
|
|
|
54
59
|
export {
|
|
55
60
|
_Fragment as Fragment,
|
|
56
61
|
configure,
|
|
62
|
+
hydratingEventsEnabled,
|
|
57
63
|
jsx,
|
|
58
64
|
jsxs,
|
|
59
65
|
useId,
|
|
60
66
|
useLayoutEffect,
|
|
61
67
|
useMemo,
|
|
68
|
+
useOptionalClientLayoutEffect,
|
|
62
69
|
useRef,
|
|
63
70
|
useState,
|
|
64
71
|
useSyncExternalStore
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { hydratingEventsEnabled, useLayoutEffect, useState } from "./jsx-runtime";
|
|
2
|
+
function useNativeEventProps(events) {
|
|
3
|
+
if (!hydratingEventsEnabled() || typeof window === "undefined") return events;
|
|
4
|
+
const [listening, setListening] = useState(false);
|
|
5
|
+
useLayoutEffect(() => setListening(true), []);
|
|
6
|
+
return listening ? events : {};
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
useNativeEventProps
|
|
10
|
+
};
|
package/dist/reset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer base,anta,components,utilities;@layer anta.reset,anta.components,anta.theme;@layer anta.reset{*,*:before,*:after{box-sizing:border-box}*{margin:0}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;font-variation-settings:inherit}:focus-visible{outline:1px solid var(--focus-ring);outline-offset:2px}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}html{color:var(--text-2);font-family:var(--sans-serif);line-height:calc(22 / 15);-webkit-tap-highlight-color:transparent}body{background:var(--bg-2)}h1,h2,h3,h4,h5,h6{color:var(--text-1);font-weight:584.62;letter-spacing:0}h1{font-size:28px;line-height:32px;margin-block:0 16px}h2{font-size:24px;line-height:28px;margin-block:32px 12px}h3{font-size:20px;line-height:24px;margin-block:24px 12px}h4{font-size:17px;line-height:
|
|
1
|
+
@layer base,anta,components,utilities;@layer anta.reset,anta.components,anta.theme;@layer anta.reset{*,*:before,*:after{box-sizing:border-box}*{margin:0}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;font-variation-settings:inherit}:focus-visible{outline:1px solid var(--focus-ring);outline-offset:2px}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}html{color:var(--text-2);font-family:var(--sans-serif);line-height:calc(22 / 15);-webkit-tap-highlight-color:transparent}body{background:var(--bg-2)}h1,h2,h3,h4,h5,h6{color:var(--text-1);font-weight:584.62;letter-spacing:0}h1{font-size:28px;line-height:32px;margin-block:0 16px}h2{font-size:24px;line-height:28px;margin-block:32px 12px}h3{font-size:20px;line-height:24px;margin-block:24px 12px}h4{font-size:17px;line-height:22px;margin-block:20px 8px}h5{font-size:15px;line-height:20px;margin-block:16px 8px}h6{font-size:13px;line-height:16px;margin-block:16px 4px}b,strong{font-weight:600}dfn{font-style:normal;text-decoration:underline dotted;text-underline-offset:3px;text-decoration-color:color-mix(in oklch,currentColor 50%,transparent)}mark{color:color-mix(in oklch,black 90%,transparent);background-color:light-dark(hsl(55 100% 61.85%),hsl(55 100% 35%));border-radius:2px}del{color:var(--text-2-critical);text-decoration:line-through}ins{color:var(--text-2-success);text-decoration:none}var,dt{font-style:italic;font-weight:600}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}small,figcaption{font-size:calc(13em / 15)}figcaption{color:var(--text-3)}hr{border:0;border-block-start:1px solid var(--border-4)}code{font-family:var(--monospace);font-size:.933em;line-height:1em;color:inherit;background:light-dark(color-mix(in oklch,currentColor 6%,transparent),color-mix(in oklch,currentColor 10%,transparent));border:none;padding:.25em .4ch .2em;border-radius:3px}pre{padding:10px 1rem 6px;border:1px solid var(--border-5);border-radius:6px;background:var(--bg-3);color:var(--text-1);font-family:var(--monospace);font-size:13px;font-weight:440;line-height:20px;overflow-x:auto}pre code{background:none;padding:0;font:inherit;font-variation-settings:inherit}code,samp,pre{letter-spacing:0}p,ul,ol,blockquote,dl,pre,figure{margin-block-end:1rem}:is(p,ul,ol,blockquote,dl,pre,figure):last-child{margin-block-end:0}ul,ol{padding-left:3ch}:is(ul,ol)>li{margin-bottom:.5em}:is(ul,ol)>li::marker{color:var(--text-5)}blockquote{border-left:3px solid var(--text-5);padding-left:calc(2ch - 3px)}menu{list-style:none;padding:0;margin:0}menu>li{margin:0}a:not(:where([role=button])),a:not(:where([role=button])):link,a:not(:where([role=button])):visited{color:var(--link-color);text-decoration:underline;text-decoration-style:solid;text-decoration-color:color-mix(in srgb,currentColor 75%,transparent);text-decoration-thickness:.5px;text-underline-offset:3px}@media(hover:hover)and (pointer:fine){a:not(:where([role=button])):hover{color:var(--link-color-hover);text-decoration-thickness:1px}}a:not(:where([role=button])):active{text-decoration-color:color-mix(in srgb,currentColor 75%,transparent)}::selection{background:light-dark(color-mix(in oklch,var(--focus-ring) 20%,transparent),color-mix(in oklch,var(--focus-ring) 30%,transparent))}table{border-collapse:collapse;font-variant-numeric:lining-nums tabular-nums}caption{text-align:left;color:var(--text-3);padding-left:10px;margin-bottom:.25em}th,td{padding:5px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border-4)}thead th{font-weight:600}tfoot tr:last-child>:is(th,td),table:not(:has(tfoot)) tbody tr:last-child>:is(th,td){border-bottom:none}table[data-bordered]{border-collapse:separate;border-spacing:0;border:1px solid var(--border-4);border-radius:3px}table[data-bordered] :is(th,td){border-right:1px solid var(--border-4)}table[data-bordered] tr>:is(th,td):last-child{border-right:0}}
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
@layer base,anta,components,utilities;@layer anta.reset,anta.components,anta.theme;:root,.light{--anta-seed-brand: #cc4636;--anta-seed-neutral: #65605b;--anta-seed-critical: #c92c46}:root,.light{--bg-1: #ffffff;--bg-2: #fdfaf8;--bg-3: #faf7f5;--bg-4: #f3f0ee;--bg-5: #eeeae7;--bg-2-brand: #fff6f5;--bg-3-brand: #fff2f0;--bg-4-brand: #ffedeb;--bg-5-brand: #ffe5e0;--bg-2-success: #f7fcf9;--bg-3-success: #ecf9f0;--bg-4-success: #e2f5e8;--bg-5-success: #d9f2e0;--bg-2-critical: #fefbfb;--bg-3-critical: #fdf2f4;--bg-4-critical: #fcebee;--bg-5-critical: #fae5e9;--bg-2-warning: #fefbf6;--bg-3-warning: #fcf4e8;--bg-4-warning: #fbeeda;--bg-5-warning: #f9e7cd;--bg-2-info: #fbfcfe;--bg-3-info: #f2f7fd;--bg-4-info: #e9f3fb;--bg-5-info: #e1eefa;--text-1: #080707;--text-2: #312d2b;--text-3: #665f5b;--text-4: #89817c;--text-5: #a39994;--text-1-brand: #701600;--text-2-brand: #912a0d;--text-3-brand: #912a0dcc;--text-4-brand: #912a0d99;--text-5-brand: #912a0d66;--text-1-success: #004415;--text-2-success: #1f5c31;--text-3-success: #1f5c31cc;--text-4-success: #1f5c3199;--text-5-success: #1f5c3166;--text-1-critical: #8d0017;--text-2-critical: #a01c32;--text-3-critical: #a01c32cc;--text-4-critical: #a01c3299;--text-5-critical: #a01c3266;--text-1-warning: #7f410b;--text-2-warning: #995200;--text-3-warning: #995200cc;--text-4-warning: #99520099;--text-5-warning: #99520066;--text-1-info: #00396b;--text-2-info: #175082;--text-3-info: #175082cc;--text-4-info: #175082b2;--text-5-info: #17508280;--border-1: #99908b;--border-2: #c2b8b2;--border-3: #d8cfca;--border-4: #e4ddd8;--border-5: #eeeae7;--border-1-brand: #ee6d53;--border-2-brand: #fea192;--border-3-brand: #ffc1b8;--border-4-brand: #ffd3cc;--border-5-brand: #ffe5e0;--border-1-success: #44c169;--border-2-success: #88d7a0;--border-3-success: #b3e5c2;--border-4-success: #c6ecd1;--border-5-success: #d9f2e0;--border-1-critical: #e56c80;--border-2-critical: #efa4b0;--border-3-critical: #f4c2cb;--border-4-critical: #f7d4da;--border-5-critical: #fae5e9;--border-1-warning: #d88118;--border-2-warning: #edb25a;--border-3-warning: #f3cc91;--border-4-warning: #f6dbb1;--border-5-warning: #f9e7cd;--border-1-info: #56a1e1;--border-2-info: #93c5ec;--border-3-info: #bad6f3;--border-4-info: #cfe3f7;--border-5-info: #e1eefa}.dark{--bg-1: #0b0409;--bg-2: #170812;--bg-3: #1e0b18;--bg-4: #250e1e;--bg-5: #2c1124;--bg-2-brand: #160803;--bg-3-brand: #1f0c04;--bg-4-brand: #290e05;--bg-5-brand: #321106;--bg-2-success: #041008;--bg-3-success: #05140a;--bg-4-success: #061b0e;--bg-5-success: #081f0f;--bg-2-critical: #190408;--bg-3-critical: #1f0509;--bg-4-critical: #2c070d;--bg-5-critical: #330910;--bg-2-warning: #120a03;--bg-3-warning: #160d04;--bg-4-warning: #201305;--bg-5-warning: #241506;--bg-2-info: #040d18;--bg-3-info: #04111f;--bg-4-info: #051727;--bg-5-info: #071b2c;--text-1: #eeeae7;--text-2: #c0b7bd;--text-3: #a398a0;--text-4: #7c6e78;--text-5: #6b5b66;--text-1-brand: #ffb3a7;--text-2-brand: #f88d7d;--text-3-brand: #f88d7dcc;--text-4-brand: #f88d7d99;--text-5-brand: #f88d7d66;--text-1-success: #9ddeb1;--text-2-success: #74cd8e;--text-3-success: #74cd8ecc;--text-4-success: #74cd8e99;--text-5-success: #74cd8e66;--text-1-critical: #ffabb9;--text-2-critical: #e78e9d;--text-3-critical: #e78e9dcc;--text-4-critical: #e78e9d99;--text-5-critical: #e78e9d66;--text-1-warning: #f0bf75;--text-2-warning: #e1a452;--text-3-warning: #e1a452cc;--text-4-warning: #e1a45299;--text-5-warning: #e1a45266;--text-1-info: #99d0ff;--text-2-info: #7db6e8;--text-3-info: #7db6e8cc;--text-4-info: #7db6e899;--text-5-info: #7db6e866;--border-1: #725769;--border-2: #533c4b;--border-3: #442e3d;--border-4: #2a1824;--border-5: #250e1e;--border-1-brand: #d03711;--border-2-brand: #912a0d;--border-3-brand: #6d240d;--border-4-brand: #3e1609;--border-5-brand: #321106;--border-1-success: #2a7e43;--border-2-success: #1f5c31;--border-3-success: #174525;--border-4-success: #0d2b16;--border-5-success: #081f0f;--border-1-critical: #c92c46;--border-2-critical: #a01c32;--border-3-critical: #761928;--border-4-critical: #471019;--border-5-critical: #330910;--border-1-warning: #995200;--border-2-warning: #6a3b0c;--border-3-warning: #4f2d0d;--border-4-warning: #311d0a;--border-5-warning: #241506;--border-1-info: #1f6eb2;--border-2-info: #175082;--border-3-info: #133e62;--border-4-info: #0d273e;--border-5-info: #071b2c}:root,.light{--fill-1: #665f5b;--fill-1-hover: #56504d;--fill-1-active: #494441;--fill-1-brand: #d03711;--fill-1-brand-hover: #af2e0e;--fill-1-brand-active: #912a0d;--fill-1-info: #1f6eb2;--fill-1-info-hover: #1a5b93;--fill-1-info-active: #175082;--fill-1-success: #2a7e43;--fill-1-success-hover: #226737;--fill-1-success-active: #1f5c31;--fill-1-warning: #c37416;--fill-1-warning-hover: #ae6613;--fill-1-warning-active: #995200;--fill-1-critical: #c92c46;--fill-1-critical-hover: #b02038;--fill-1-critical-active: #a01c32;--fill-2: color-mix(in oklch, #8b6b59 10%, transparent);--fill-2-hover: color-mix(in oklch, #8b6b59 15%, transparent);--fill-2-active: color-mix(in oklch, #8b6b59 20%, transparent);--fill-2-brand: color-mix(in oklch, #e94520 10%, transparent);--fill-2-brand-hover: color-mix(in oklch, #e94520 15%, transparent);--fill-2-brand-active: color-mix(in oklch, #e94520 20%, transparent);--fill-2-info: color-mix(in oklch, #2686d9 10%, transparent);--fill-2-info-hover: color-mix(in oklch, #2686d9 15%, transparent);--fill-2-info-active: color-mix(in oklch, #2686d9 20%, transparent);--fill-2-success: color-mix(in oklch, #329550 10%, transparent);--fill-2-success-hover: color-mix(in oklch, #329550 15%, transparent);--fill-2-success-active: color-mix(in oklch, #329550 20%, transparent);--fill-2-warning: color-mix(in oklch, #ae6613 10%, transparent);--fill-2-warning-hover: color-mix(in oklch, #ae6613 15%, transparent);--fill-2-warning-active: color-mix(in oklch, #ae6613 20%, transparent);--fill-2-critical: color-mix(in oklch, #de455e 10%, transparent);--fill-2-critical-hover: color-mix(in oklch, #de455e 15%, transparent);--fill-2-critical-active: color-mix(in oklch, #de455e 20%, transparent);--fill-3: color-mix(in oklch, #8b6b59 5%, transparent);--fill-3-hover: color-mix(in oklch, #8b6b59 10%, transparent);--fill-3-active: color-mix(in oklch, #8b6b59 15%, transparent);--fill-3-brand: color-mix(in oklch, #e94520 5%, transparent);--fill-3-brand-hover: color-mix(in oklch, #e94520 10%, transparent);--fill-3-brand-active: color-mix(in oklch, #e94520 15%, transparent);--fill-3-info: color-mix(in oklch, #2686d9 5%, transparent);--fill-3-info-hover: color-mix(in oklch, #2686d9 10%, transparent);--fill-3-info-active: color-mix(in oklch, #2686d9 15%, transparent);--fill-3-success: color-mix(in oklch, #329550 5%, transparent);--fill-3-success-hover: color-mix(in oklch, #329550 10%, transparent);--fill-3-success-active: color-mix(in oklch, #329550 15%, transparent);--fill-3-warning: color-mix(in oklch, #ae6613 5%, transparent);--fill-3-warning-hover: color-mix(in oklch, #ae6613 10%, transparent);--fill-3-warning-active: color-mix(in oklch, #ae6613 15%, transparent);--fill-3-critical: color-mix(in oklch, #de455e 5%, transparent);--fill-3-critical-hover: color-mix(in oklch, #de455e 10%, transparent);--fill-3-critical-active: color-mix(in oklch, #de455e 15%, transparent);--fill-1-disabled: color-mix(in oklch, #79716d 50%, transparent);--fill-disabled: color-mix(in oklch, #79716d 10%, transparent);--stroke-1: #d8cfca;--stroke-1-hover: #c2b8b2;--stroke-1-active: #a39994;--stroke-1-brand: #fea192;--stroke-1-brand-hover: #f07866;--stroke-1-brand-active: #ee6d53;--stroke-1-info: #93c5ec;--stroke-1-info-hover: #69ace5;--stroke-1-info-active: #56a1e1;--stroke-1-success: #88d7a0;--stroke-1-success-hover: #5bc87b;--stroke-1-success-active: #44c169;--stroke-1-warning: #edb25a;--stroke-1-warning-hover: #e09127;--stroke-1-warning-active: #d88118;--stroke-1-critical: #efa4b0;--stroke-1-critical-hover: #e87f91;--stroke-1-critical-active: #e56c80;--stroke-2: color-mix(in oklch, #79716d 15%, transparent);--stroke-2-brand: color-mix(in oklch, #e94520 15%, transparent);--stroke-2-info: color-mix(in oklch, #2686d9 15%, transparent);--stroke-2-success: color-mix(in oklch, #329550 15%, transparent);--stroke-2-warning: color-mix(in oklch, #ae6613 15%, transparent);--stroke-2-critical: color-mix(in oklch, #de455e 15%, transparent);--stroke-disabled: color-mix(in oklch, #79716d 10%, transparent);--label-1: #56504d;--label-1-hover: #494441;--label-1-brand: #d03711;--label-1-brand-hover: #af2e0e;--label-1-info: #1f6eb2;--label-1-info-hover: #1a5b93;--label-1-success: #2a7e43;--label-1-success-hover: #226737;--label-1-warning: #995200;--label-1-warning-hover: #7f410b;--label-1-critical: #c92c46;--label-1-critical-hover: #b02038;--label-2: #665f5b;--label-2-hover: #56504d;--label-2-active: #494441;--label-2-brand: #d03711;--label-2-brand-hover: #af2e0e;--label-2-brand-active: #912a0d;--label-2-info: #1f6eb2;--label-2-info-hover: #1a5b93;--label-2-info-active: #175082;--label-2-success: #2a7e43;--label-2-success-hover: #226737;--label-2-success-active: #1f5c31;--label-2-warning: #995200;--label-2-warning-hover: #7f410b;--label-2-warning-active: #6a3b0c;--label-2-critical: #c92c46;--label-2-critical-hover: #b02038;--label-2-critical-active: #a01c32;--label-disabled: #b3a9a3;--label-on-fill: #ffffff;--label-on-fill-critical: #ffffff;--label-on-fill-disabled: #b3a9a3;--focus-ring: #b24393;--focus-halo: color-mix(in oklch, #ffffff 70%, transparent)}.dark{--fill-1: #c0b7bd;--fill-1-hover: #cbc5c9;--fill-1-active: #d5cfd3;--fill-1-brand: #fea192;--fill-1-brand-hover: #ffb3a7;--fill-1-brand-active: #ffc1b8;--fill-1-info: #93c5ec;--fill-1-info-hover: #a6cdef;--fill-1-info-active: #bad6f3;--fill-1-success: #88d7a0;--fill-1-success-hover: #9ddeb1;--fill-1-success-active: #b3e5c2;--fill-1-warning: #edb25a;--fill-1-warning-hover: #ffbd59;--fill-1-warning-active: #ffca7a;--fill-1-critical: #c92c46;--fill-1-critical-hover: #b02038;--fill-1-critical-active: #a01c32;--fill-2: color-mix(in oklch, #a398a0 17%, transparent);--fill-2-hover: color-mix(in oklch, #a398a0 25%, transparent);--fill-2-active: color-mix(in oklch, #a398a0 30%, transparent);--fill-2-brand: color-mix(in oklch, #e94520 25%, transparent);--fill-2-brand-hover: color-mix(in oklch, #e94520 30%, transparent);--fill-2-brand-active: color-mix(in oklch, #e94520 35%, transparent);--fill-2-info: color-mix(in oklch, #2686d9 25%, transparent);--fill-2-info-hover: color-mix(in oklch, #2686d9 30%, transparent);--fill-2-info-active: color-mix(in oklch, #2686d9 35%, transparent);--fill-2-success: color-mix(in oklch, #329550 25%, transparent);--fill-2-success-hover: color-mix(in oklch, #329550 30%, transparent);--fill-2-success-active: color-mix(in oklch, #329550 35%, transparent);--fill-2-warning: color-mix(in oklch, #ae6613 30%, transparent);--fill-2-warning-hover: color-mix(in oklch, #ae6613 30%, transparent);--fill-2-warning-active: color-mix(in oklch, #ae6613 35%, transparent);--fill-2-critical: color-mix(in oklch, #de455e 25%, transparent);--fill-2-critical-hover: color-mix(in oklch, #de455e 30%, transparent);--fill-2-critical-active: color-mix(in oklch, #de455e 35%, transparent);--fill-3: color-mix(in oklch, #a398a0 10%, transparent);--fill-3-hover: color-mix(in oklch, #a398a0 15%, transparent);--fill-3-active: color-mix(in oklch, #a398a0 20%, transparent);--fill-3-brand: color-mix(in oklch, #e94520 10%, transparent);--fill-3-brand-hover: color-mix(in oklch, #e94520 15%, transparent);--fill-3-brand-active: color-mix(in oklch, #e94520 20%, transparent);--fill-3-info: color-mix(in oklch, #2686d9 10%, transparent);--fill-3-info-hover: color-mix(in oklch, #2686d9 15%, transparent);--fill-3-info-active: color-mix(in oklch, #2686d9 20%, transparent);--fill-3-success: color-mix(in oklch, #329550 10%, transparent);--fill-3-success-hover: color-mix(in oklch, #329550 15%, transparent);--fill-3-success-active: color-mix(in oklch, #329550 20%, transparent);--fill-3-warning: color-mix(in oklch, #ae6613 10%, transparent);--fill-3-warning-hover: color-mix(in oklch, #ae6613 15%, transparent);--fill-3-warning-active: color-mix(in oklch, #ae6613 20%, transparent);--fill-3-critical: color-mix(in oklch, #de455e 10%, transparent);--fill-3-critical-hover: color-mix(in oklch, #de455e 15%, transparent);--fill-3-critical-active: color-mix(in oklch, #de455e 20%, transparent);--fill-1-disabled: color-mix(in oklch, #a398a0 50%, transparent);--fill-disabled: color-mix(in oklch, #a398a0 10%, transparent);--stroke-1: #533c4b;--stroke-1-hover: #6b5b66;--stroke-1-active: #7c6e78;--stroke-1-brand: #912a0d;--stroke-1-brand-hover: #d03711;--stroke-1-brand-active: #e94520;--stroke-1-info: #175082;--stroke-1-info-hover: #1f6eb2;--stroke-1-info-active: #2686d9;--stroke-1-success: #1f5c31;--stroke-1-success-hover: #2a7e43;--stroke-1-success-active: #329550;--stroke-1-warning: #6a3b0c;--stroke-1-warning-hover: #995200;--stroke-1-warning-active: #ae6613;--stroke-1-critical: #a01c32;--stroke-1-critical-hover: #c92c46;--stroke-1-critical-active: #de455e;--stroke-2: color-mix(in oklch, #a39994 15%, transparent);--stroke-2-brand: color-mix(in oklch, #e94520 25%, transparent);--stroke-2-info: color-mix(in oklch, #2686d9 25%, transparent);--stroke-2-success: color-mix(in oklch, #329550 25%, transparent);--stroke-2-warning: color-mix(in oklch, #ae6613 25%, transparent);--stroke-2-critical: color-mix(in oklch, #de455e 25%, transparent);--stroke-disabled: color-mix(in oklch, #a398a0 12%, transparent);--label-1: #cbc5c9;--label-1-hover: #d5cfd3;--label-1-brand: #ffb3a7;--label-1-brand-hover: #ffc1b8;--label-1-info: #99d0ff;--label-1-info-hover: #bad6f3;--label-1-success: #68ff95;--label-1-success-hover: #b3e5c2;--label-1-warning: #ffbd59;--label-1-warning-hover: #f3cc91;--label-1-critical: #ffabb9;--label-1-critical-hover: #f4c2cb;--label-2: #b1a8ae;--label-2-hover: #c0b7bd;--label-2-active: #cbc5c9;--label-2-brand: #fea192;--label-2-brand-hover: #ffb3a7;--label-2-brand-active: #ffc1b8;--label-2-info: #93c5ec;--label-2-info-hover: #a6cdef;--label-2-info-active: #bad6f3;--label-2-success: #88d7a0;--label-2-success-hover: #9ddeb1;--label-2-success-active: #b3e5c2;--label-2-warning: #edb25a;--label-2-warning-hover: #f0bf75;--label-2-warning-active: #f3cc91;--label-2-critical: #ff9cad;--label-2-critical-hover: #ffabb9;--label-2-critical-active: #f4c2cb;--label-disabled: #6b5b66;--label-on-fill: #000000;--label-on-fill-critical: #ffffff;--label-on-fill-disabled: #7c6e78;--focus-ring: #e17cc2;--focus-halo: color-mix(in oklch, #000000 70%, transparent)}@layer anta.theme{a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]),a-tab{font-stretch:88%}a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]){letter-spacing:.05ch}a-input{--_input-adornment-font-stretch: 88%}a-tag{letter-spacing:.02ch}a-tag[allcaps]{letter-spacing:.08ch}:is(h1,h2,h3,a-title[level="1"],a-title[level="2"],a-title[level="3"]){font-family:var(--serif)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit],[type=checkbox],[type=radio]),a-tab,a-menu-item,a[data-anta-menu-item],details[data-anta]>summary):focus-visible,:is(a-checkbox,a-radio,a-switch):focus-visible:before,a-radio-group:focus-visible a-radio:state(selected):before{outline:2px solid var(--focus-ring);outline-offset:calc(-2px * var(--focus-ring-inset, 0));animation:focus-ring-pulse .6s cubic-bezier(.2,0,0,1);@media(prefers-reduced-motion:reduce){animation:none}}a-tab{--focus-ring-inset: 1}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])):not([round]){--_radius: 999px}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])){--_padding-x-text: round(.8em, 1px);--button-fg-primary-rest: var(--label-on-fill);--bg-primary-disabled: var(--fill-disabled);--fg-disabled-primary: var(--label-on-fill-disabled);--bg-secondary-disabled: var(--fill-disabled);--fg-disabled: var(--label-disabled);&[priority=primary]:focus-visible{box-shadow:inset 0 0 0 1px var(--focus-halo)}}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])):not([priority=primary],[priority=tertiary],[priority=quaternary]){--button-fg: var(--button-fg-secondary-rest);box-shadow:inset 0 0 2px -1px currentColor;@media(hover:hover)and (pointer:fine){&:hover{--button-fg: var(--button-fg-secondary-hover)}}&:active,&[selected]{--button-fg: var(--button-fg-secondary-hover)}&[selected]{box-shadow:inset 0 0 0 1px color-mix(in oklch,currentColor 50%,transparent)}&[disabled]{box-shadow:inset 0 0 2px -1px var(--label-1)}}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[priority=quaternary][paddingless][selected]{box-shadow:0 0 0 1px color-mix(in oklch,currentColor 50%,transparent)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])):is(:not([tone]),[tone=""],[tone=neutral]){--button-bg-primary-rest: var(--fill-1);--button-bg-primary-hover: var(--fill-1-hover);--button-bg-primary-active: var(--fill-1-active);--button-fg-secondary-rest: var(--label-1);--button-fg-secondary-hover: var(--label-1-hover);--button-bg-secondary-rest: var(--fill-2);--button-bg-secondary-hover: var(--fill-2-hover);--button-bg-secondary-active: var(--fill-2-active);--button-fg-tertiary-rest: var(--label-2);--button-fg-tertiary-hover: var(--label-2-hover);--button-bg-tertiary-hover: var(--fill-3);--button-bg-tertiary-active: var(--fill-3-hover);--button-fg-quaternary-rest: light-dark(var(--label-2), color-mix(in oklch, var(--label-2) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=brand]{--button-bg-primary-rest: var(--fill-1-brand);--button-bg-primary-hover: var(--fill-1-brand-hover);--button-bg-primary-active: var(--fill-1-brand-active);--button-fg-secondary-rest: var(--label-1-brand);--button-fg-secondary-hover: var(--label-1-brand-hover);--button-bg-secondary-rest: var(--fill-2-brand);--button-bg-secondary-hover: var(--fill-2-brand-hover);--button-bg-secondary-active: var(--fill-2-brand-active);--button-fg-tertiary-rest: var(--label-2-brand);--button-fg-tertiary-hover: var(--label-2-brand-hover);--button-bg-tertiary-hover: var(--fill-3-brand);--button-bg-tertiary-active: var(--fill-3-brand-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-brand), color-mix(in oklch, var(--label-2-brand) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-brand-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=info]{--button-bg-primary-rest: var(--fill-1-info);--button-bg-primary-hover: var(--fill-1-info-hover);--button-bg-primary-active: var(--fill-1-info-active);--button-fg-secondary-rest: var(--label-1-info);--button-fg-secondary-hover: var(--label-1-info-hover);--button-bg-secondary-rest: var(--fill-2-info);--button-bg-secondary-hover: var(--fill-2-info-hover);--button-bg-secondary-active: var(--fill-2-info-active);--button-fg-tertiary-rest: var(--label-2-info);--button-fg-tertiary-hover: var(--label-2-info-hover);--button-bg-tertiary-hover: var(--fill-3-info);--button-bg-tertiary-active: var(--fill-3-info-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-info), color-mix(in oklch, var(--label-2-info) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-info-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=success]{--button-bg-primary-rest: var(--fill-1-success);--button-bg-primary-hover: var(--fill-1-success-hover);--button-bg-primary-active: var(--fill-1-success-active);--button-fg-secondary-rest: var(--label-1-success);--button-fg-secondary-hover: var(--label-1-success-hover);--button-bg-secondary-rest: var(--fill-2-success);--button-bg-secondary-hover: var(--fill-2-success-hover);--button-bg-secondary-active: var(--fill-2-success-active);--button-fg-tertiary-rest: var(--label-2-success);--button-fg-tertiary-hover: var(--label-2-success-hover);--button-bg-tertiary-hover: var(--fill-3-success);--button-bg-tertiary-active: var(--fill-3-success-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-success), color-mix(in oklch, var(--label-2-success) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-success-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=warning]{--button-bg-primary-rest: var(--fill-1-warning);--button-bg-primary-hover: var(--fill-1-warning-hover);--button-bg-primary-active: var(--fill-1-warning-active);--button-fg-secondary-rest: var(--label-1-warning);--button-fg-secondary-hover: var(--label-1-warning-hover);--button-bg-secondary-rest: var(--fill-2-warning);--button-bg-secondary-hover: var(--fill-2-warning-hover);--button-bg-secondary-active: var(--fill-2-warning-active);--button-fg-tertiary-rest: var(--label-2-warning);--button-fg-tertiary-hover: var(--label-2-warning-hover);--button-bg-tertiary-hover: var(--fill-3-warning);--button-bg-tertiary-active: var(--fill-3-warning-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-warning), color-mix(in oklch, var(--label-2-warning) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-warning-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=critical]{--button-fg-primary-rest: var(--label-on-fill-critical);--button-bg-primary-rest: var(--fill-1-critical);--button-bg-primary-hover: var(--fill-1-critical-hover);--button-bg-primary-active: var(--fill-1-critical-active);--button-fg-secondary-rest: var(--label-1-critical);--button-fg-secondary-hover: var(--label-1-critical-hover);--button-bg-secondary-rest: var(--fill-2-critical);--button-bg-secondary-hover: var(--fill-2-critical-hover);--button-bg-secondary-active: var(--fill-2-critical-active);--button-fg-tertiary-rest: var(--label-2-critical);--button-fg-tertiary-hover: var(--label-2-critical-hover);--button-bg-tertiary-hover: var(--fill-3-critical);--button-bg-tertiary-active: var(--fill-3-critical-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-critical), color-mix(in oklch, var(--label-2-critical) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-critical-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]){--button-bg-primary-rest: light-dark(oklch(from var(--_src) .51 .17 h), oklch(from var(--_src) .8 .1 h));--button-bg-primary-hover: light-dark(oklch(from var(--_src) .46 .17 h), oklch(from var(--_src) .84 .095 h));--button-bg-primary-active: light-dark(oklch(from var(--_src) .41 .17 h), oklch(from var(--_src) .87 .075 h));--button-fg-secondary-rest: light-dark(oklch(from var(--_src) .46 .17 h), oklch(from var(--_src) .835 .1 h));--button-fg-secondary-hover: light-dark(oklch(from var(--_src) .4 .17 h), oklch(from var(--_src) .865 .07 h));--button-fg-tertiary-rest: light-dark(oklch(from var(--_src) .46 .17 h), oklch(from var(--_src) .8 .11 h));--button-fg-tertiary-hover: light-dark(oklch(from var(--_src) .4 .17 h), oklch(from var(--_src) .83 .09 h));--button-fg-quaternary-rest: light-dark(oklch(from var(--_src) .46 .17 h / .85), oklch(from var(--_src) .76 .115 h));--button-fg-quaternary-hover: light-dark(oklch(from var(--_src) .38 .17 h), oklch(from var(--_src) .835 .09 h))}:is(a-checkbox,input[data-anta][type=checkbox]){--checkbox-icon: var(--label-on-fill);--checkbox-icon-disabled: var(--label-on-fill-disabled);--checkbox-bg-disabled: var(--fill-disabled);--checkbox-border-disabled: var(--stroke-disabled)}a-checkbox{--checkbox-label-color: var(--text-1);--checkbox-hint-color: var(--text-4);--checkbox-mask-size: 12px;--checkbox-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");--checkbox-mask-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E");&[size=small]{--checkbox-mask-size: 10px;--checkbox-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.84' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");--checkbox-mask-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.84' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}&[size=large]{--checkbox-gap: 10px;--checkbox-mask-size: 14px;--checkbox-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.74' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");--checkbox-mask-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.74' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}&:not([round]):before{border-radius:1px}}:is(a-checkbox,input[data-anta][type=checkbox]):is(:not([tone]),[tone=""],[tone=neutral],[tone-scope=selected]){--checkbox-bg: var(--bg-1);--checkbox-border-neutral: var(--stroke-1);--checkbox-border: var(--checkbox-border-neutral);--checkbox-border-hover: var(--stroke-1-hover);--checkbox-border-active: var(--stroke-1-active)}:is(a-checkbox,input[data-anta][type=checkbox]):is(:not([tone]),[tone=""],[tone=neutral]){--checkbox-bg-selected: var(--fill-1);--checkbox-bg-selected-hover: var(--fill-1-hover);--checkbox-bg-selected-active: var(--fill-1-active)}:is(a-checkbox,input[data-anta][type=checkbox])[tone=brand]{--checkbox-bg-selected: var(--fill-1-brand);--checkbox-bg-selected-hover: var(--fill-1-brand-hover);--checkbox-bg-selected-active: var(--fill-1-brand-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-brand);--checkbox-border: var(--stroke-1-brand);--checkbox-border-hover: var(--stroke-1-brand-hover);--checkbox-border-active: var(--stroke-1-brand-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=info]{--checkbox-bg-selected: var(--fill-1-info);--checkbox-bg-selected-hover: var(--fill-1-info-hover);--checkbox-bg-selected-active: var(--fill-1-info-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-info);--checkbox-border: var(--stroke-1-info);--checkbox-border-hover: var(--stroke-1-info-hover);--checkbox-border-active: var(--stroke-1-info-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=success]{--checkbox-bg-selected: var(--fill-1-success);--checkbox-bg-selected-hover: var(--fill-1-success-hover);--checkbox-bg-selected-active: var(--fill-1-success-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-success);--checkbox-border: var(--stroke-1-success);--checkbox-border-hover: var(--stroke-1-success-hover);--checkbox-border-active: var(--stroke-1-success-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=warning]{--checkbox-bg-selected: var(--fill-1-warning);--checkbox-bg-selected-hover: var(--fill-1-warning-hover);--checkbox-bg-selected-active: var(--fill-1-warning-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-warning);--checkbox-border: var(--stroke-1-warning);--checkbox-border-hover: var(--stroke-1-warning-hover);--checkbox-border-active: var(--stroke-1-warning-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=critical]{--checkbox-icon: var(--label-on-fill-critical);--checkbox-bg-selected: var(--fill-1-critical);--checkbox-bg-selected-hover: var(--fill-1-critical-hover);--checkbox-bg-selected-active: var(--fill-1-critical-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-critical);--checkbox-border: var(--stroke-1-critical);--checkbox-border-hover: var(--stroke-1-critical-hover);--checkbox-border-active: var(--stroke-1-critical-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]){--checkbox-bg-selected: light-dark(oklch(from var(--checkbox-tone-source) .5 c h), oklch(from var(--checkbox-tone-source) .8 .1 h));--checkbox-bg-selected-hover: light-dark(oklch(from var(--checkbox-tone-source) .45 c h), oklch(from var(--checkbox-tone-source) .84 .095 h));--checkbox-bg-selected-active: light-dark(oklch(from var(--checkbox-tone-source) .4 c h), oklch(from var(--checkbox-tone-source) .87 .075 h));--_checkbox-off-bg-selected: light-dark(oklch(from var(--checkbox-tone-source) .5 c h), oklch(from var(--checkbox-tone-source) .45 c h))}a-checkbox:after{clip-path:inset(0 100% 0 0)}a-checkbox:is(:state(checked),:state(indeterminate)):after{clip-path:inset(0)}@media(prefers-reduced-motion:no-preference){a-checkbox:is(:hover,:focus-visible):is(:state(checked),:state(indeterminate)):after{transition:clip-path .3s cubic-bezier(.45,.05,.55,.95)}}a-checkbox:is(:state(checked),:state(indeterminate)):focus-visible:before,input[data-anta][type=checkbox]:is(:checked,:indeterminate):focus-visible{border-width:0;box-shadow:inset 0 0 0 1px var(--focus-halo)}label:has(>input[data-anta][type=checkbox]){color:var(--text-1)}label:has(>input[data-anta][type=checkbox][size=large]){gap:10px}label:has(>input[data-anta][type=checkbox]:disabled){color:var(--text-4)}input[data-anta][type=checkbox]:not([round]){--checkbox-round: 1px}input[data-anta][type=checkbox]:disabled{border-color:var(--checkbox-border-disabled);background-color:var(--checkbox-bg-disabled)}input[data-anta][type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}input[data-anta][type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:not([tone=critical]):checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:not([tone=critical]):indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}input[data-anta][type=checkbox]:disabled:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a9a3' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}input[data-anta][type=checkbox]:disabled:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a9a3' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:disabled:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6e78' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:disabled:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6e78' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}:is(a-radio,input[data-anta][type=radio]){--radio-bg: var(--bg-1);--radio-border-neutral: var(--stroke-1);--radio-border: var(--radio-border-neutral);--radio-border-hover: var(--stroke-1-hover);--radio-border-active: var(--stroke-1-active);--radio-bg-selected: var(--fill-1);--radio-bg-selected-hover: var(--fill-1-hover);--radio-bg-selected-active: var(--fill-1-active);--radio-dot: var(--label-on-fill);--radio-dot-disabled: var(--label-on-fill-disabled);--radio-bg-disabled: var(--fill-disabled);--radio-border-disabled: var(--stroke-disabled)}:is(a-radio[tone=brand],a-radio-group[tone=brand] a-radio:not([tone]),input[data-anta][type=radio][tone=brand]){--radio-bg-selected: var(--fill-1-brand);--radio-bg-selected-hover: var(--fill-1-brand-hover);--radio-bg-selected-active: var(--fill-1-brand-active);--_radio-tint-bg: var(--bg-2-brand);--_radio-tint-border: var(--stroke-1-brand);--_radio-tint-border-hover: var(--stroke-1-brand-hover);--_radio-tint-border-active: var(--stroke-1-brand-active)}:is(a-radio[tone=info],a-radio-group[tone=info] a-radio:not([tone]),input[data-anta][type=radio][tone=info]){--radio-bg-selected: var(--fill-1-info);--radio-bg-selected-hover: var(--fill-1-info-hover);--radio-bg-selected-active: var(--fill-1-info-active);--_radio-tint-bg: var(--bg-2-info);--_radio-tint-border: var(--stroke-1-info);--_radio-tint-border-hover: var(--stroke-1-info-hover);--_radio-tint-border-active: var(--stroke-1-info-active)}:is(a-radio[tone=success],a-radio-group[tone=success] a-radio:not([tone]),input[data-anta][type=radio][tone=success]){--radio-bg-selected: var(--fill-1-success);--radio-bg-selected-hover: var(--fill-1-success-hover);--radio-bg-selected-active: var(--fill-1-success-active);--_radio-tint-bg: var(--bg-2-success);--_radio-tint-border: var(--stroke-1-success);--_radio-tint-border-hover: var(--stroke-1-success-hover);--_radio-tint-border-active: var(--stroke-1-success-active)}:is(a-radio[tone=warning],a-radio-group[tone=warning] a-radio:not([tone]),input[data-anta][type=radio][tone=warning]){--radio-bg-selected: var(--fill-1-warning);--radio-bg-selected-hover: var(--fill-1-warning-hover);--radio-bg-selected-active: var(--fill-1-warning-active);--_radio-tint-bg: var(--bg-2-warning);--_radio-tint-border: var(--stroke-1-warning);--_radio-tint-border-hover: var(--stroke-1-warning-hover);--_radio-tint-border-active: var(--stroke-1-warning-active)}:is(a-radio[tone=critical],a-radio-group[tone=critical] a-radio:not([tone]),input[data-anta][type=radio][tone=critical]){--radio-dot: var(--label-on-fill-critical);--radio-bg-selected: var(--fill-1-critical);--radio-bg-selected-hover: var(--fill-1-critical-hover);--radio-bg-selected-active: var(--fill-1-critical-active);--_radio-tint-bg: var(--bg-2-critical);--_radio-tint-border: var(--stroke-1-critical);--_radio-tint-border-hover: var(--stroke-1-critical-hover);--_radio-tint-border-active: var(--stroke-1-critical-active)}a-radio[tone]:not([tone=""],[tone=neutral],[tone-scope=selected]),a-radio-group[tone]:not([tone=""],[tone=neutral],[tone-scope=selected]) a-radio:not([tone],[tone-scope=selected]),a-radio-group[tone]:not([tone=""],[tone=neutral])[tone-scope=selected] a-radio[tone-scope=all]:not([tone]),input[data-anta][type=radio][tone]:not([tone=""],[tone=neutral],[tone-scope=selected]){--radio-bg: var(--_radio-tint-bg);--radio-border: var(--_radio-tint-border);--radio-border-hover: var(--_radio-tint-border-hover);--radio-border-active: var(--_radio-tint-border-active)}:is(a-radio[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]),a-radio-group[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]) a-radio:not([tone]),input[data-anta][type=radio][tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical])){--radio-bg-selected: light-dark(oklch(from var(--radio-tone-source) .5 c h), oklch(from var(--radio-tone-source) .8 .1 h));--radio-bg-selected-hover: light-dark(oklch(from var(--radio-tone-source) .45 c h), oklch(from var(--radio-tone-source) .84 .095 h));--radio-bg-selected-active: light-dark(oklch(from var(--radio-tone-source) .4 c h), oklch(from var(--radio-tone-source) .87 .075 h));--_radio-off-bg-selected: light-dark(oklch(from var(--radio-tone-source) .5 c h), oklch(from var(--radio-tone-source) .45 c h));--_radio-tint-bg: light-dark(oklch(from var(--radio-off-tone-source) .99 calc(c*.03) h), oklch(from var(--radio-off-tone-source) .15 calc(c*.18) h));--_radio-tint-border: light-dark(oklch(from var(--_radio-border-base) calc(l + .17) c h), var(--_radio-border-base));--_radio-tint-border-hover: oklch(from var(--_radio-border-base) calc(l + .1) c h);--_radio-tint-border-active: light-dark(var(--_radio-border-base), oklch(from var(--_radio-border-base) calc(l + .17) c h))}input[data-anta][type=radio]:disabled{border-color:var(--radio-border-disabled);background-color:var(--radio-bg-disabled)}input[data-anta][type=radio]:disabled:checked{border-color:var(--radio-border-disabled);background:radial-gradient(circle,var(--radio-dot-disabled) 0 var(--radio-dot-core),var(--radio-bg-disabled) var(--radio-dot-edge))}a-radio:state(selected):focus-visible:before,a-radio-group:focus-visible a-radio:state(selected):before,input[data-anta][type=radio]:checked:focus-visible,a-switch:state(checked):focus-visible:before{border-width:0;box-shadow:inset 0 0 0 1px var(--focus-halo)}a-input:not([round])::part(field),a-input:not([round]):not(:defined):after{border-radius:0}a-input{--_input-focus-width: 2px;--_input-focus-offset: -2px}a-input:not([status]:not([status=neutral]),[tone]:not([tone=""]),:disabled){--input-border: var(--stroke-1-hover);--input-border-width: 1px;&:not([priority=tertiary]){--input-rest-border: var(--stroke-1)}}a-input:disabled{--input-border: var(--stroke-disabled);--input-border-width: 1px;&:not([priority=tertiary]){--input-rest-border: var(--stroke-disabled)}&:not([priority=secondary],[priority=tertiary]){--input-bg: var(--fill-disabled)}}:is(input[data-anta]:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=reset],[type=submit],[type=image],[type=hidden]),textarea[data-anta],select[data-anta]):not([round]){--native-field-round: 0px}a-tag{border-radius:1px}}@keyframes focus-ring-pulse{0%{outline-width:0;outline-offset:0;outline-color:color-mix(in oklch,var(--focus-ring) 60%,transparent)}30%{outline-width:4px;outline-offset:calc(-4px * var(--focus-ring-inset, 0));outline-color:color-mix(in oklch,var(--focus-ring) 60%,transparent)}}
|
|
1
|
+
/*!
|
|
2
|
+
* Antithesis theme
|
|
3
|
+
* Copyright (c) 2026 Antithesis Operations LLC.
|
|
4
|
+
* SPDX-License-Identifier: LicenseRef-Antithesis-Theme
|
|
5
|
+
* Free for noncommercial use. Commercial use requires prior written permission.
|
|
6
|
+
* Separately licensed; the Anta MIT license does not apply to this theme.
|
|
7
|
+
* See theme-antithesis-license.md in the package root for the full terms:
|
|
8
|
+
* https://github.com/antithesishq/anta/blob/main/theme-antithesis-license.md
|
|
9
|
+
* Permission requests: https://antithesis.com/company/contact/
|
|
10
|
+
*/@layer base,anta,components,utilities;@layer anta.reset,anta.components,anta.theme;:root,.light{--anta-seed-brand: #cc4636;--anta-seed-neutral: #65605b;--anta-seed-critical: #c92c46}:root,.light{--bg-1: #ffffff;--bg-2: #fdfaf8;--bg-3: #faf7f5;--bg-4: #f3f0ee;--bg-5: #eeeae7;--bg-2-brand: #fff6f5;--bg-3-brand: #fff2f0;--bg-4-brand: #ffedeb;--bg-5-brand: #ffe5e0;--bg-2-success: #f7fcf9;--bg-3-success: #ecf9f0;--bg-4-success: #e2f5e8;--bg-5-success: #d9f2e0;--bg-2-critical: #fefbfb;--bg-3-critical: #fdf2f4;--bg-4-critical: #fcebee;--bg-5-critical: #fae5e9;--bg-2-warning: #fefbf6;--bg-3-warning: #fcf4e8;--bg-4-warning: #fbeeda;--bg-5-warning: #f9e7cd;--bg-2-info: #fbfcfe;--bg-3-info: #f2f7fd;--bg-4-info: #e9f3fb;--bg-5-info: #e1eefa;--text-1: #080707;--text-2: #312d2b;--text-3: #665f5b;--text-4: #79716d;--text-5: #99908b;--text-1-brand: #701600;--text-2-brand: #912a0d;--text-3-brand: #912a0dcc;--text-4-brand: #912a0dbd;--text-5-brand: #912a0d91;--text-1-success: #004415;--text-2-success: #1f5c31;--text-3-success: #1f5c31cc;--text-4-success: #1f5c31c7;--text-5-success: #1f5c3199;--text-1-critical: #8d0017;--text-2-critical: #a01c32;--text-3-critical: #a01c32cc;--text-4-critical: #a01c32bd;--text-5-critical: #a01c328f;--text-1-warning: #632800;--text-2-warning: #833e00;--text-3-warning: #833e00d9;--text-4-warning: #833e00c4;--text-5-warning: #833e0099;--text-1-info: #00396b;--text-2-info: #175082;--text-3-info: #175082cc;--text-4-info: #175082c2;--text-5-info: #17508296;--border-1: #99908b;--border-2: #c2b8b2;--border-3: #d8cfca;--border-4: #e4ddd8;--border-5: #eeeae7;--border-1-brand: #ee6d53;--border-2-brand: #fea192;--border-3-brand: #ffc1b8;--border-4-brand: #ffd3cc;--border-5-brand: #ffe5e0;--border-1-success: #44c169;--border-2-success: #88d7a0;--border-3-success: #b3e5c2;--border-4-success: #c6ecd1;--border-5-success: #d9f2e0;--border-1-critical: #e56c80;--border-2-critical: #efa4b0;--border-3-critical: #f4c2cb;--border-4-critical: #f7d4da;--border-5-critical: #fae5e9;--border-1-warning: #d88118;--border-2-warning: #edb25a;--border-3-warning: #f3cc91;--border-4-warning: #f6dbb1;--border-5-warning: #f9e7cd;--border-1-info: #56a1e1;--border-2-info: #93c5ec;--border-3-info: #bad6f3;--border-4-info: #cfe3f7;--border-5-info: #e1eefa}.dark{--bg-1: #0b0409;--bg-2: #170812;--bg-3: #1e0b18;--bg-4: #250e1e;--bg-5: #2c1124;--bg-2-brand: #160803;--bg-3-brand: #1f0c04;--bg-4-brand: #290e05;--bg-5-brand: #321106;--bg-2-success: #041008;--bg-3-success: #05140a;--bg-4-success: #061b0e;--bg-5-success: #081f0f;--bg-2-critical: #190408;--bg-3-critical: #1f0509;--bg-4-critical: #2c070d;--bg-5-critical: #330910;--bg-2-warning: #120a03;--bg-3-warning: #160d04;--bg-4-warning: #201305;--bg-5-warning: #241506;--bg-2-info: #040d18;--bg-3-info: #04111f;--bg-4-info: #051727;--bg-5-info: #071b2c;--text-1: #eeeae7;--text-2: #c0b7bd;--text-3: #a398a0;--text-4: #8c7e88;--text-5: #7c6e78;--text-1-brand: #ffb3a7;--text-2-brand: #f88d7d;--text-3-brand: #f88d7dcc;--text-4-brand: #f88d7db0;--text-5-brand: #f88d7d85;--text-1-success: #9ddeb1;--text-2-success: #74cd8e;--text-3-success: #74cd8ecc;--text-4-success: #74cd8ea1;--text-5-success: #74cd8e7a;--text-1-critical: #ffabb9;--text-2-critical: #e78e9d;--text-3-critical: #e78e9dcc;--text-4-critical: #e78e9db3;--text-5-critical: #e78e9d8a;--text-1-warning: #f0bf75;--text-2-warning: #e1a452;--text-3-warning: #e1a452cc;--text-4-warning: #e1a452ab;--text-5-warning: #e1a45282;--text-1-info: #99d0ff;--text-2-info: #7db6e8;--text-3-info: #7db6e8cc;--text-4-info: #7db6e8ab;--text-5-info: #7db6e882;--border-1: #725769;--border-2: #533c4b;--border-3: #442e3d;--border-4: #2a1824;--border-5: #250e1e;--border-1-brand: #d03711;--border-2-brand: #912a0d;--border-3-brand: #6d240d;--border-4-brand: #3e1609;--border-5-brand: #321106;--border-1-success: #2a7e43;--border-2-success: #1f5c31;--border-3-success: #174525;--border-4-success: #0d2b16;--border-5-success: #081f0f;--border-1-critical: #c92c46;--border-2-critical: #a01c32;--border-3-critical: #761928;--border-4-critical: #471019;--border-5-critical: #330910;--border-1-warning: #995200;--border-2-warning: #6a3b0c;--border-3-warning: #4f2d0d;--border-4-warning: #311d0a;--border-5-warning: #241506;--border-1-info: #1f6eb2;--border-2-info: #175082;--border-3-info: #133e62;--border-4-info: #0d273e;--border-5-info: #071b2c}:root,.light{--fill-1: #665f5b;--fill-1-hover: #56504d;--fill-1-active: #494441;--fill-1-brand: #d03711;--fill-1-brand-hover: #af2e0e;--fill-1-brand-active: #912a0d;--fill-1-info: #1f6eb2;--fill-1-info-hover: #1a5b93;--fill-1-info-active: #175082;--fill-1-success: #2a7e43;--fill-1-success-hover: #226737;--fill-1-success-active: #1f5c31;--fill-1-warning: #c37416;--fill-1-warning-hover: #ae6613;--fill-1-warning-active: #995200;--fill-1-critical: #c92c46;--fill-1-critical-hover: #b02038;--fill-1-critical-active: #a01c32;--fill-2: color-mix(in oklch, #8b6b59 10%, transparent);--fill-2-hover: color-mix(in oklch, #8b6b59 15%, transparent);--fill-2-active: color-mix(in oklch, #8b6b59 20%, transparent);--fill-2-brand: color-mix(in oklch, #e94520 10%, transparent);--fill-2-brand-hover: color-mix(in oklch, #e94520 15%, transparent);--fill-2-brand-active: color-mix(in oklch, #e94520 20%, transparent);--fill-2-info: color-mix(in oklch, #2686d9 10%, transparent);--fill-2-info-hover: color-mix(in oklch, #2686d9 15%, transparent);--fill-2-info-active: color-mix(in oklch, #2686d9 20%, transparent);--fill-2-success: color-mix(in oklch, #329550 10%, transparent);--fill-2-success-hover: color-mix(in oklch, #329550 15%, transparent);--fill-2-success-active: color-mix(in oklch, #329550 20%, transparent);--fill-2-warning: color-mix(in oklch, #ae6613 10%, transparent);--fill-2-warning-hover: color-mix(in oklch, #ae6613 15%, transparent);--fill-2-warning-active: color-mix(in oklch, #ae6613 20%, transparent);--fill-2-critical: color-mix(in oklch, #de455e 10%, transparent);--fill-2-critical-hover: color-mix(in oklch, #de455e 15%, transparent);--fill-2-critical-active: color-mix(in oklch, #de455e 20%, transparent);--fill-3: color-mix(in oklch, #8b6b59 5%, transparent);--fill-3-hover: color-mix(in oklch, #8b6b59 10%, transparent);--fill-3-active: color-mix(in oklch, #8b6b59 15%, transparent);--fill-3-brand: color-mix(in oklch, #e94520 5%, transparent);--fill-3-brand-hover: color-mix(in oklch, #e94520 10%, transparent);--fill-3-brand-active: color-mix(in oklch, #e94520 15%, transparent);--fill-3-info: color-mix(in oklch, #2686d9 5%, transparent);--fill-3-info-hover: color-mix(in oklch, #2686d9 10%, transparent);--fill-3-info-active: color-mix(in oklch, #2686d9 15%, transparent);--fill-3-success: color-mix(in oklch, #329550 5%, transparent);--fill-3-success-hover: color-mix(in oklch, #329550 10%, transparent);--fill-3-success-active: color-mix(in oklch, #329550 15%, transparent);--fill-3-warning: color-mix(in oklch, #ae6613 5%, transparent);--fill-3-warning-hover: color-mix(in oklch, #ae6613 10%, transparent);--fill-3-warning-active: color-mix(in oklch, #ae6613 15%, transparent);--fill-3-critical: color-mix(in oklch, #de455e 5%, transparent);--fill-3-critical-hover: color-mix(in oklch, #de455e 10%, transparent);--fill-3-critical-active: color-mix(in oklch, #de455e 15%, transparent);--fill-1-disabled: color-mix(in oklch, #79716d 50%, transparent);--fill-disabled: color-mix(in oklch, #79716d 10%, transparent);--stroke-1: #d8cfca;--stroke-1-hover: #c2b8b2;--stroke-1-active: #a39994;--stroke-1-brand: #fea192;--stroke-1-brand-hover: #f07866;--stroke-1-brand-active: #ee6d53;--stroke-1-info: #93c5ec;--stroke-1-info-hover: #69ace5;--stroke-1-info-active: #56a1e1;--stroke-1-success: #88d7a0;--stroke-1-success-hover: #5bc87b;--stroke-1-success-active: #44c169;--stroke-1-warning: #edb25a;--stroke-1-warning-hover: #e09127;--stroke-1-warning-active: #d88118;--stroke-1-critical: #efa4b0;--stroke-1-critical-hover: #e87f91;--stroke-1-critical-active: #e56c80;--stroke-2: color-mix(in oklch, #79716d 15%, transparent);--stroke-2-brand: color-mix(in oklch, #e94520 15%, transparent);--stroke-2-info: color-mix(in oklch, #2686d9 15%, transparent);--stroke-2-success: color-mix(in oklch, #329550 15%, transparent);--stroke-2-warning: color-mix(in oklch, #ae6613 15%, transparent);--stroke-2-critical: color-mix(in oklch, #de455e 15%, transparent);--stroke-disabled: color-mix(in oklch, #79716d 10%, transparent);--label-1: #56504d;--label-1-hover: #494441;--label-1-brand: #d03711;--label-1-brand-hover: #af2e0e;--label-1-info: #1f6eb2;--label-1-info-hover: #1a5b93;--label-1-success: #2a7e43;--label-1-success-hover: #226737;--label-1-warning: #995200;--label-1-warning-hover: #7f410b;--label-1-critical: #c92c46;--label-1-critical-hover: #b02038;--label-2: #665f5b;--label-2-hover: #56504d;--label-2-active: #494441;--label-2-brand: #d03711;--label-2-brand-hover: #af2e0e;--label-2-brand-active: #912a0d;--label-2-info: #1f6eb2;--label-2-info-hover: #1a5b93;--label-2-info-active: #175082;--label-2-success: #2a7e43;--label-2-success-hover: #226737;--label-2-success-active: #1f5c31;--label-2-warning: #995200;--label-2-warning-hover: #7f410b;--label-2-warning-active: #6a3b0c;--label-2-critical: #c92c46;--label-2-critical-hover: #b02038;--label-2-critical-active: #a01c32;--label-disabled: #b3a9a3;--label-on-fill: #ffffff;--label-on-fill-critical: #ffffff;--label-on-fill-disabled: #b3a9a3;--focus-ring: #b24393;--focus-halo: color-mix(in oklch, #ffffff 70%, transparent)}.dark{--fill-1: #c0b7bd;--fill-1-hover: #cbc5c9;--fill-1-active: #d5cfd3;--fill-1-brand: #fea192;--fill-1-brand-hover: #ffb3a7;--fill-1-brand-active: #ffc1b8;--fill-1-info: #93c5ec;--fill-1-info-hover: #a6cdef;--fill-1-info-active: #bad6f3;--fill-1-success: #88d7a0;--fill-1-success-hover: #9ddeb1;--fill-1-success-active: #b3e5c2;--fill-1-warning: #edb25a;--fill-1-warning-hover: #ffbd59;--fill-1-warning-active: #ffca7a;--fill-1-critical: #c92c46;--fill-1-critical-hover: #b02038;--fill-1-critical-active: #a01c32;--fill-2: color-mix(in oklch, #a398a0 17%, transparent);--fill-2-hover: color-mix(in oklch, #a398a0 25%, transparent);--fill-2-active: color-mix(in oklch, #a398a0 30%, transparent);--fill-2-brand: color-mix(in oklch, #e94520 25%, transparent);--fill-2-brand-hover: color-mix(in oklch, #e94520 30%, transparent);--fill-2-brand-active: color-mix(in oklch, #e94520 35%, transparent);--fill-2-info: color-mix(in oklch, #2686d9 25%, transparent);--fill-2-info-hover: color-mix(in oklch, #2686d9 30%, transparent);--fill-2-info-active: color-mix(in oklch, #2686d9 35%, transparent);--fill-2-success: color-mix(in oklch, #329550 25%, transparent);--fill-2-success-hover: color-mix(in oklch, #329550 30%, transparent);--fill-2-success-active: color-mix(in oklch, #329550 35%, transparent);--fill-2-warning: color-mix(in oklch, #ae6613 30%, transparent);--fill-2-warning-hover: color-mix(in oklch, #ae6613 30%, transparent);--fill-2-warning-active: color-mix(in oklch, #ae6613 35%, transparent);--fill-2-critical: color-mix(in oklch, #de455e 25%, transparent);--fill-2-critical-hover: color-mix(in oklch, #de455e 30%, transparent);--fill-2-critical-active: color-mix(in oklch, #de455e 35%, transparent);--fill-3: color-mix(in oklch, #a398a0 10%, transparent);--fill-3-hover: color-mix(in oklch, #a398a0 15%, transparent);--fill-3-active: color-mix(in oklch, #a398a0 20%, transparent);--fill-3-brand: color-mix(in oklch, #e94520 10%, transparent);--fill-3-brand-hover: color-mix(in oklch, #e94520 15%, transparent);--fill-3-brand-active: color-mix(in oklch, #e94520 20%, transparent);--fill-3-info: color-mix(in oklch, #2686d9 10%, transparent);--fill-3-info-hover: color-mix(in oklch, #2686d9 15%, transparent);--fill-3-info-active: color-mix(in oklch, #2686d9 20%, transparent);--fill-3-success: color-mix(in oklch, #329550 10%, transparent);--fill-3-success-hover: color-mix(in oklch, #329550 15%, transparent);--fill-3-success-active: color-mix(in oklch, #329550 20%, transparent);--fill-3-warning: color-mix(in oklch, #ae6613 10%, transparent);--fill-3-warning-hover: color-mix(in oklch, #ae6613 15%, transparent);--fill-3-warning-active: color-mix(in oklch, #ae6613 20%, transparent);--fill-3-critical: color-mix(in oklch, #de455e 10%, transparent);--fill-3-critical-hover: color-mix(in oklch, #de455e 15%, transparent);--fill-3-critical-active: color-mix(in oklch, #de455e 20%, transparent);--fill-1-disabled: color-mix(in oklch, #a398a0 50%, transparent);--fill-disabled: color-mix(in oklch, #a398a0 10%, transparent);--stroke-1: #533c4b;--stroke-1-hover: #6b5b66;--stroke-1-active: #7c6e78;--stroke-1-brand: #912a0d;--stroke-1-brand-hover: #d03711;--stroke-1-brand-active: #e94520;--stroke-1-info: #175082;--stroke-1-info-hover: #1f6eb2;--stroke-1-info-active: #2686d9;--stroke-1-success: #1f5c31;--stroke-1-success-hover: #2a7e43;--stroke-1-success-active: #329550;--stroke-1-warning: #6a3b0c;--stroke-1-warning-hover: #995200;--stroke-1-warning-active: #ae6613;--stroke-1-critical: #a01c32;--stroke-1-critical-hover: #c92c46;--stroke-1-critical-active: #de455e;--stroke-2: color-mix(in oklch, #a39994 15%, transparent);--stroke-2-brand: color-mix(in oklch, #e94520 25%, transparent);--stroke-2-info: color-mix(in oklch, #2686d9 25%, transparent);--stroke-2-success: color-mix(in oklch, #329550 25%, transparent);--stroke-2-warning: color-mix(in oklch, #ae6613 25%, transparent);--stroke-2-critical: color-mix(in oklch, #de455e 25%, transparent);--stroke-disabled: color-mix(in oklch, #a398a0 12%, transparent);--label-1: #cbc5c9;--label-1-hover: #d5cfd3;--label-1-brand: #ffb3a7;--label-1-brand-hover: #ffc1b8;--label-1-info: #99d0ff;--label-1-info-hover: #bad6f3;--label-1-success: #68ff95;--label-1-success-hover: #b3e5c2;--label-1-warning: #ffbd59;--label-1-warning-hover: #f3cc91;--label-1-critical: #ffabb9;--label-1-critical-hover: #f4c2cb;--label-2: #b1a8ae;--label-2-hover: #c0b7bd;--label-2-active: #cbc5c9;--label-2-brand: #fea192;--label-2-brand-hover: #ffb3a7;--label-2-brand-active: #ffc1b8;--label-2-info: #93c5ec;--label-2-info-hover: #a6cdef;--label-2-info-active: #bad6f3;--label-2-success: #88d7a0;--label-2-success-hover: #9ddeb1;--label-2-success-active: #b3e5c2;--label-2-warning: #edb25a;--label-2-warning-hover: #f0bf75;--label-2-warning-active: #f3cc91;--label-2-critical: #ff9cad;--label-2-critical-hover: #ffabb9;--label-2-critical-active: #f4c2cb;--label-disabled: #6b5b66;--label-on-fill: #000000;--label-on-fill-critical: #ffffff;--label-on-fill-disabled: #7c6e78;--focus-ring: #e17cc2;--focus-halo: color-mix(in oklch, #000000 70%, transparent)}@layer anta.theme{a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]),a-tab{font-stretch:88%}a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]),a-tab{letter-spacing:.05ch}a-input{--_input-adornment-font-stretch: 88%}a-tag{letter-spacing:.02ch}a-tag[allcaps]{letter-spacing:.08ch}:is(h1,h2,h3),a-title:is([level="1"],[level="2"],[level="3"]):not([font]),a-title[font=serif]{font-family:var(--serif);font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:is(h1,h2,h3,h4,h5,h6),a-title{letter-spacing:-.1px}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit],[type=checkbox],[type=radio]),a-tab,a-menu-item,a[data-anta-menu-item],details[data-anta]>summary):focus-visible,a-expander::part(summary):focus-visible,a-card>a:focus-visible,:is(a-checkbox,a-radio,a-switch):focus-visible:before,a-radio-group:focus-visible a-radio:state(selected):before{outline:2px solid var(--focus-ring);outline-offset:calc(-2px * var(--focus-ring-inset, 0));animation:focus-ring-pulse .6s cubic-bezier(.2,0,0,1);@media(prefers-reduced-motion:reduce){animation:none}}a-tab{--focus-ring-inset: 1}a-card>a{--focus-ring-inset: 1}a-card>a:focus-visible{box-shadow:none}a-expander:not([round])::part(summary){border-radius:1px}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])):not([round]){--_radius: 999px}a-tabs:not([round],[data-steps]){--tab-radius: calc(var(--tab-height) / 2)}a-tabs:not([round],[data-steps],[priority=secondary],[priority=tertiary]){border-radius:var(--tab-radius)}a-tabs:not([data-steps])>a-tab{--tab-padding-x: round(.8em, 1px)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])){--_padding-x-text: round(.8em, 1px);--button-fg-primary-rest: var(--label-on-fill);--bg-primary-disabled: var(--fill-disabled);--fg-disabled-primary: var(--label-on-fill-disabled);--bg-secondary-disabled: var(--fill-disabled);--fg-disabled: var(--label-disabled);&[priority=primary]:focus-visible{box-shadow:inset 0 0 0 1px var(--focus-halo)}}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])):not([priority=primary],[priority=tertiary],[priority=quaternary]){--button-fg: var(--button-fg-secondary-rest);box-shadow:inset 0 0 2px -1px currentColor;@media(hover:hover)and (pointer:fine){&:hover{--button-fg: var(--button-fg-secondary-hover)}}&:active,&[selected]{--button-fg: var(--button-fg-secondary-hover)}&[selected]{box-shadow:inset 0 0 0 1px color-mix(in oklch,currentColor 50%,transparent)}&[disabled]{box-shadow:inset 0 0 2px -1px var(--label-1)}}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[priority=quaternary][paddingless][selected]{box-shadow:0 0 0 1px color-mix(in oklch,currentColor 50%,transparent)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit])):is(:not([tone]),[tone=""],[tone=neutral]){--button-bg-primary-rest: var(--fill-1);--button-bg-primary-hover: var(--fill-1-hover);--button-bg-primary-active: var(--fill-1-active);--button-fg-secondary-rest: var(--label-1);--button-fg-secondary-hover: var(--label-1-hover);--button-bg-secondary-rest: var(--fill-2);--button-bg-secondary-hover: var(--fill-2-hover);--button-bg-secondary-active: var(--fill-2-active);--button-fg-tertiary-rest: var(--label-2);--button-fg-tertiary-hover: var(--label-2-hover);--button-bg-tertiary-hover: var(--fill-3);--button-bg-tertiary-active: var(--fill-3-hover);--button-fg-quaternary-rest: light-dark(var(--label-2), color-mix(in oklch, var(--label-2) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=brand]{--button-bg-primary-rest: var(--fill-1-brand);--button-bg-primary-hover: var(--fill-1-brand-hover);--button-bg-primary-active: var(--fill-1-brand-active);--button-fg-secondary-rest: var(--label-1-brand);--button-fg-secondary-hover: var(--label-1-brand-hover);--button-bg-secondary-rest: var(--fill-2-brand);--button-bg-secondary-hover: var(--fill-2-brand-hover);--button-bg-secondary-active: var(--fill-2-brand-active);--button-fg-tertiary-rest: var(--label-2-brand);--button-fg-tertiary-hover: var(--label-2-brand-hover);--button-bg-tertiary-hover: var(--fill-3-brand);--button-bg-tertiary-active: var(--fill-3-brand-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-brand), color-mix(in oklch, var(--label-2-brand) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-brand-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=info]{--button-bg-primary-rest: var(--fill-1-info);--button-bg-primary-hover: var(--fill-1-info-hover);--button-bg-primary-active: var(--fill-1-info-active);--button-fg-secondary-rest: var(--label-1-info);--button-fg-secondary-hover: var(--label-1-info-hover);--button-bg-secondary-rest: var(--fill-2-info);--button-bg-secondary-hover: var(--fill-2-info-hover);--button-bg-secondary-active: var(--fill-2-info-active);--button-fg-tertiary-rest: var(--label-2-info);--button-fg-tertiary-hover: var(--label-2-info-hover);--button-bg-tertiary-hover: var(--fill-3-info);--button-bg-tertiary-active: var(--fill-3-info-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-info), color-mix(in oklch, var(--label-2-info) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-info-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=success]{--button-bg-primary-rest: var(--fill-1-success);--button-bg-primary-hover: var(--fill-1-success-hover);--button-bg-primary-active: var(--fill-1-success-active);--button-fg-secondary-rest: var(--label-1-success);--button-fg-secondary-hover: var(--label-1-success-hover);--button-bg-secondary-rest: var(--fill-2-success);--button-bg-secondary-hover: var(--fill-2-success-hover);--button-bg-secondary-active: var(--fill-2-success-active);--button-fg-tertiary-rest: var(--label-2-success);--button-fg-tertiary-hover: var(--label-2-success-hover);--button-bg-tertiary-hover: var(--fill-3-success);--button-bg-tertiary-active: var(--fill-3-success-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-success), color-mix(in oklch, var(--label-2-success) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-success-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=warning]{--button-bg-primary-rest: var(--fill-1-warning);--button-bg-primary-hover: var(--fill-1-warning-hover);--button-bg-primary-active: var(--fill-1-warning-active);--button-fg-secondary-rest: var(--label-1-warning);--button-fg-secondary-hover: var(--label-1-warning-hover);--button-bg-secondary-rest: var(--fill-2-warning);--button-bg-secondary-hover: var(--fill-2-warning-hover);--button-bg-secondary-active: var(--fill-2-warning-active);--button-fg-tertiary-rest: var(--label-2-warning);--button-fg-tertiary-hover: var(--label-2-warning-hover);--button-bg-tertiary-hover: var(--fill-3-warning);--button-bg-tertiary-active: var(--fill-3-warning-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-warning), color-mix(in oklch, var(--label-2-warning) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-warning-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone=critical]{--button-fg-primary-rest: var(--label-on-fill-critical);--button-bg-primary-rest: var(--fill-1-critical);--button-bg-primary-hover: var(--fill-1-critical-hover);--button-bg-primary-active: var(--fill-1-critical-active);--button-fg-secondary-rest: var(--label-1-critical);--button-fg-secondary-hover: var(--label-1-critical-hover);--button-bg-secondary-rest: var(--fill-2-critical);--button-bg-secondary-hover: var(--fill-2-critical-hover);--button-bg-secondary-active: var(--fill-2-critical-active);--button-fg-tertiary-rest: var(--label-2-critical);--button-fg-tertiary-hover: var(--label-2-critical-hover);--button-bg-tertiary-hover: var(--fill-3-critical);--button-bg-tertiary-active: var(--fill-3-critical-hover);--button-fg-quaternary-rest: light-dark(var(--label-2-critical), color-mix(in oklch, var(--label-2-critical) 90%, transparent));--button-fg-quaternary-hover: var(--label-2-critical-active)}:is(a-button,a[role=button][data-anta],button[data-anta],input[data-anta]:is([type=reset],[type=submit]))[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]){--button-bg-primary-rest: light-dark(oklch(from var(--_src) .51 .17 h), oklch(from var(--_src) .8 .1 h));--button-bg-primary-hover: light-dark(oklch(from var(--_src) .46 .17 h), oklch(from var(--_src) .84 .095 h));--button-bg-primary-active: light-dark(oklch(from var(--_src) .41 .17 h), oklch(from var(--_src) .87 .075 h));--button-fg-secondary-rest: light-dark(oklch(from var(--_src) .46 .17 h), oklch(from var(--_src) .835 .1 h));--button-fg-secondary-hover: light-dark(oklch(from var(--_src) .4 .17 h), oklch(from var(--_src) .865 .07 h));--button-fg-tertiary-rest: light-dark(oklch(from var(--_src) .46 .17 h), oklch(from var(--_src) .8 .11 h));--button-fg-tertiary-hover: light-dark(oklch(from var(--_src) .4 .17 h), oklch(from var(--_src) .83 .09 h));--button-fg-quaternary-rest: light-dark(oklch(from var(--_src) .46 .17 h / .85), oklch(from var(--_src) .76 .115 h));--button-fg-quaternary-hover: light-dark(oklch(from var(--_src) .38 .17 h), oklch(from var(--_src) .835 .09 h))}:is(a-checkbox,input[data-anta][type=checkbox]){--checkbox-icon: var(--label-on-fill);--checkbox-icon-disabled: var(--label-on-fill-disabled);--checkbox-bg-disabled: var(--fill-disabled);--checkbox-border-disabled: var(--stroke-disabled)}a-checkbox{--checkbox-label-color: var(--text-1);--checkbox-hint-color: var(--text-4);--checkbox-mask-size: 14px;--checkbox-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");--checkbox-mask-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E");&[size=small]{--checkbox-mask-size: 12px;--checkbox-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");--checkbox-mask-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}&[size=large]{--checkbox-gap: 10px;--checkbox-mask-size: 16px;--checkbox-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");--checkbox-mask-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}&:not([round]):before{border-radius:1px}}:is(a-checkbox,input[data-anta][type=checkbox]):is(:not([tone]),[tone=""],[tone=neutral],[tone-scope=selected]){--checkbox-bg: var(--bg-1);--checkbox-border-neutral: var(--stroke-1);--checkbox-border: var(--checkbox-border-neutral);--checkbox-border-hover: var(--stroke-1-hover);--checkbox-border-active: var(--stroke-1-active)}:is(a-checkbox,input[data-anta][type=checkbox]):is(:not([tone]),[tone=""],[tone=neutral]){--checkbox-bg-selected: var(--fill-1);--checkbox-bg-selected-hover: var(--fill-1-hover);--checkbox-bg-selected-active: var(--fill-1-active)}:is(a-checkbox,input[data-anta][type=checkbox])[tone=brand]{--checkbox-bg-selected: var(--fill-1-brand);--checkbox-bg-selected-hover: var(--fill-1-brand-hover);--checkbox-bg-selected-active: var(--fill-1-brand-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-brand);--checkbox-border: var(--stroke-1-brand);--checkbox-border-hover: var(--stroke-1-brand-hover);--checkbox-border-active: var(--stroke-1-brand-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=info]{--checkbox-bg-selected: var(--fill-1-info);--checkbox-bg-selected-hover: var(--fill-1-info-hover);--checkbox-bg-selected-active: var(--fill-1-info-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-info);--checkbox-border: var(--stroke-1-info);--checkbox-border-hover: var(--stroke-1-info-hover);--checkbox-border-active: var(--stroke-1-info-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=success]{--checkbox-bg-selected: var(--fill-1-success);--checkbox-bg-selected-hover: var(--fill-1-success-hover);--checkbox-bg-selected-active: var(--fill-1-success-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-success);--checkbox-border: var(--stroke-1-success);--checkbox-border-hover: var(--stroke-1-success-hover);--checkbox-border-active: var(--stroke-1-success-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=warning]{--checkbox-bg-selected: var(--fill-1-warning);--checkbox-bg-selected-hover: var(--fill-1-warning-hover);--checkbox-bg-selected-active: var(--fill-1-warning-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-warning);--checkbox-border: var(--stroke-1-warning);--checkbox-border-hover: var(--stroke-1-warning-hover);--checkbox-border-active: var(--stroke-1-warning-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone=critical]{--checkbox-icon: var(--label-on-fill-critical);--checkbox-bg-selected: var(--fill-1-critical);--checkbox-bg-selected-hover: var(--fill-1-critical-hover);--checkbox-bg-selected-active: var(--fill-1-critical-active);&:not([tone-scope=selected]){--checkbox-bg: var(--bg-2-critical);--checkbox-border: var(--stroke-1-critical);--checkbox-border-hover: var(--stroke-1-critical-hover);--checkbox-border-active: var(--stroke-1-critical-active)}}:is(a-checkbox,input[data-anta][type=checkbox])[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]){--checkbox-bg-selected: light-dark(oklch(from var(--checkbox-tone-source) .5 c h), oklch(from var(--checkbox-tone-source) .8 .1 h));--checkbox-bg-selected-hover: light-dark(oklch(from var(--checkbox-tone-source) .45 c h), oklch(from var(--checkbox-tone-source) .84 .095 h));--checkbox-bg-selected-active: light-dark(oklch(from var(--checkbox-tone-source) .4 c h), oklch(from var(--checkbox-tone-source) .87 .075 h));--_checkbox-off-bg-selected: light-dark(oklch(from var(--checkbox-tone-source) .5 c h), oklch(from var(--checkbox-tone-source) .45 c h))}a-checkbox:after{clip-path:inset(0 100% 0 0)}a-checkbox:is(:state(checked),:state(indeterminate)):after{clip-path:inset(0)}@media(prefers-reduced-motion:no-preference){a-checkbox:is(:hover,:focus-visible):is(:state(checked),:state(indeterminate)):after{transition:clip-path .3s cubic-bezier(.45,.05,.55,.95)}}a-checkbox:is(:state(checked),:state(indeterminate)):focus-visible:before,input[data-anta][type=checkbox]:is(:checked,:indeterminate):focus-visible{border-width:0;box-shadow:inset 0 0 0 1px var(--focus-halo)}label:has(>input[data-anta][type=checkbox]){color:var(--text-1)}label:has(>input[data-anta][type=checkbox][size=large]){gap:10px}label:has(>input[data-anta][type=checkbox]:disabled){color:var(--text-4)}input[data-anta][type=checkbox]:not([round]){--checkbox-round: 1px}input[data-anta][type=checkbox]{--checkbox-mask-size: 14px}input[data-anta][type=checkbox][size=small]{--checkbox-mask-size: 12px}input[data-anta][type=checkbox][size=large]{--checkbox-mask-size: 16px}input[data-anta][type=checkbox]:disabled{border-color:var(--checkbox-border-disabled);background-color:var(--checkbox-bg-disabled)}input[data-anta][type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}input[data-anta][type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:not([tone=critical]):checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:not([tone=critical]):indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}input[data-anta][type=checkbox]:disabled:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a9a3' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}input[data-anta][type=checkbox]:disabled:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a9a3' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:disabled:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6e78' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}.dark input[data-anta][type=checkbox]:disabled:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6e78' stroke-width='3.26' stroke-linecap='square'%3E%3Cpath d='M21 12H3'/%3E%3C/svg%3E")}:is(a-radio,input[data-anta][type=radio]){--radio-bg: var(--bg-1);--radio-border-neutral: var(--stroke-1);--radio-border: var(--radio-border-neutral);--radio-border-hover: var(--stroke-1-hover);--radio-border-active: var(--stroke-1-active);--radio-bg-selected: var(--fill-1);--radio-bg-selected-hover: var(--fill-1-hover);--radio-bg-selected-active: var(--fill-1-active);--radio-dot: var(--label-on-fill);--radio-dot-disabled: var(--label-on-fill-disabled);--radio-bg-disabled: var(--fill-disabled);--radio-border-disabled: var(--stroke-disabled)}:is(a-radio[tone=brand],a-radio-group[tone=brand] a-radio:not([tone]),input[data-anta][type=radio][tone=brand]){--radio-bg-selected: var(--fill-1-brand);--radio-bg-selected-hover: var(--fill-1-brand-hover);--radio-bg-selected-active: var(--fill-1-brand-active);--_radio-tint-bg: var(--bg-2-brand);--_radio-tint-border: var(--stroke-1-brand);--_radio-tint-border-hover: var(--stroke-1-brand-hover);--_radio-tint-border-active: var(--stroke-1-brand-active)}:is(a-radio[tone=info],a-radio-group[tone=info] a-radio:not([tone]),input[data-anta][type=radio][tone=info]){--radio-bg-selected: var(--fill-1-info);--radio-bg-selected-hover: var(--fill-1-info-hover);--radio-bg-selected-active: var(--fill-1-info-active);--_radio-tint-bg: var(--bg-2-info);--_radio-tint-border: var(--stroke-1-info);--_radio-tint-border-hover: var(--stroke-1-info-hover);--_radio-tint-border-active: var(--stroke-1-info-active)}:is(a-radio[tone=success],a-radio-group[tone=success] a-radio:not([tone]),input[data-anta][type=radio][tone=success]){--radio-bg-selected: var(--fill-1-success);--radio-bg-selected-hover: var(--fill-1-success-hover);--radio-bg-selected-active: var(--fill-1-success-active);--_radio-tint-bg: var(--bg-2-success);--_radio-tint-border: var(--stroke-1-success);--_radio-tint-border-hover: var(--stroke-1-success-hover);--_radio-tint-border-active: var(--stroke-1-success-active)}:is(a-radio[tone=warning],a-radio-group[tone=warning] a-radio:not([tone]),input[data-anta][type=radio][tone=warning]){--radio-bg-selected: var(--fill-1-warning);--radio-bg-selected-hover: var(--fill-1-warning-hover);--radio-bg-selected-active: var(--fill-1-warning-active);--_radio-tint-bg: var(--bg-2-warning);--_radio-tint-border: var(--stroke-1-warning);--_radio-tint-border-hover: var(--stroke-1-warning-hover);--_radio-tint-border-active: var(--stroke-1-warning-active)}:is(a-radio[tone=critical],a-radio-group[tone=critical] a-radio:not([tone]),input[data-anta][type=radio][tone=critical]){--radio-dot: var(--label-on-fill-critical);--radio-bg-selected: var(--fill-1-critical);--radio-bg-selected-hover: var(--fill-1-critical-hover);--radio-bg-selected-active: var(--fill-1-critical-active);--_radio-tint-bg: var(--bg-2-critical);--_radio-tint-border: var(--stroke-1-critical);--_radio-tint-border-hover: var(--stroke-1-critical-hover);--_radio-tint-border-active: var(--stroke-1-critical-active)}a-radio[tone]:not([tone=""],[tone=neutral],[tone-scope=selected]),a-radio-group[tone]:not([tone=""],[tone=neutral],[tone-scope=selected]) a-radio:not([tone],[tone-scope=selected]),a-radio-group[tone]:not([tone=""],[tone=neutral])[tone-scope=selected] a-radio[tone-scope=all]:not([tone]),input[data-anta][type=radio][tone]:not([tone=""],[tone=neutral],[tone-scope=selected]){--radio-bg: var(--_radio-tint-bg);--radio-border: var(--_radio-tint-border);--radio-border-hover: var(--_radio-tint-border-hover);--radio-border-active: var(--_radio-tint-border-active)}:is(a-radio[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]),a-radio-group[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]) a-radio:not([tone]),input[data-anta][type=radio][tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical])){--radio-bg-selected: light-dark(oklch(from var(--radio-tone-source) .5 c h), oklch(from var(--radio-tone-source) .8 .1 h));--radio-bg-selected-hover: light-dark(oklch(from var(--radio-tone-source) .45 c h), oklch(from var(--radio-tone-source) .84 .095 h));--radio-bg-selected-active: light-dark(oklch(from var(--radio-tone-source) .4 c h), oklch(from var(--radio-tone-source) .87 .075 h));--_radio-off-bg-selected: light-dark(oklch(from var(--radio-tone-source) .5 c h), oklch(from var(--radio-tone-source) .45 c h));--_radio-tint-bg: light-dark(oklch(from var(--radio-off-tone-source) .99 calc(c*.03) h), oklch(from var(--radio-off-tone-source) .15 calc(c*.18) h));--_radio-tint-border: light-dark(oklch(from var(--_radio-border-base) calc(l + .17) c h), var(--_radio-border-base));--_radio-tint-border-hover: oklch(from var(--_radio-border-base) calc(l + .1) c h);--_radio-tint-border-active: light-dark(var(--_radio-border-base), oklch(from var(--_radio-border-base) calc(l + .17) c h))}input[data-anta][type=radio]:disabled{border-color:var(--radio-border-disabled);background-color:var(--radio-bg-disabled)}input[data-anta][type=radio]:disabled:checked{border-color:var(--radio-border-disabled);background:radial-gradient(circle,var(--radio-dot-disabled) 0 var(--radio-dot-core),var(--radio-bg-disabled) var(--radio-dot-edge))}a-switch{--switch-thumb: var(--label-on-fill);--switch-thumb-shadow: 0 1px 2px color-mix(in oklch, #000000 25%, transparent);--switch-track-disabled: var(--fill-disabled);--switch-track-disabled-border: var(--stroke-disabled);--switch-track-on-disabled: var(--fill-disabled);--switch-track-on-disabled-border: var(--stroke-disabled);--switch-thumb-off-disabled: var(--label-on-fill-disabled);--switch-thumb-on-disabled: var(--label-on-fill-disabled);--switch-thumb-shadow-disabled: none}a-switch:is(:not([tone]),[tone=""],[tone=neutral],[tone-scope=selected]){--switch-track-off-stroke-neutral: var(--stroke-1);--switch-track-off-stroke-hover: var(--stroke-1-hover);--switch-track-off-stroke-active: var(--stroke-1-active)}a-switch:is(:not([tone]),[tone=""],[tone=neutral]){--switch-track-on: var(--fill-1);--switch-track-on-hover: var(--fill-1-hover);--switch-track-on-active: var(--fill-1-active)}a-switch[tone=brand]{--switch-track-on: var(--fill-1-brand);--switch-track-on-hover: var(--fill-1-brand-hover);--switch-track-on-active: var(--fill-1-brand-active);&:not([tone-scope=selected]){--switch-track-off-stroke: var(--stroke-1-brand);--switch-track-off-stroke-hover: var(--stroke-1-brand-hover);--switch-track-off-stroke-active: var(--stroke-1-brand-active);--switch-thumb-off: var(--switch-track-off-stroke)}}a-switch[tone=info]{--switch-track-on: var(--fill-1-info);--switch-track-on-hover: var(--fill-1-info-hover);--switch-track-on-active: var(--fill-1-info-active);&:not([tone-scope=selected]){--switch-track-off-stroke: var(--stroke-1-info);--switch-track-off-stroke-hover: var(--stroke-1-info-hover);--switch-track-off-stroke-active: var(--stroke-1-info-active);--switch-thumb-off: var(--switch-track-off-stroke)}}a-switch[tone=success]{--switch-track-on: var(--fill-1-success);--switch-track-on-hover: var(--fill-1-success-hover);--switch-track-on-active: var(--fill-1-success-active);&:not([tone-scope=selected]){--switch-track-off-stroke: var(--stroke-1-success);--switch-track-off-stroke-hover: var(--stroke-1-success-hover);--switch-track-off-stroke-active: var(--stroke-1-success-active);--switch-thumb-off: var(--switch-track-off-stroke)}}a-switch[tone=warning]{--switch-track-on: var(--fill-1-warning);--switch-track-on-hover: var(--fill-1-warning-hover);--switch-track-on-active: var(--fill-1-warning-active);&:not([tone-scope=selected]){--switch-track-off-stroke: var(--stroke-1-warning);--switch-track-off-stroke-hover: var(--stroke-1-warning-hover);--switch-track-off-stroke-active: var(--stroke-1-warning-active);--switch-thumb-off: var(--switch-track-off-stroke)}}a-switch[tone=critical]{--switch-thumb: var(--label-on-fill-critical);--switch-track-on: var(--fill-1-critical);--switch-track-on-hover: var(--fill-1-critical-hover);--switch-track-on-active: var(--fill-1-critical-active);&:not([tone-scope=selected]){--switch-track-off-stroke: var(--stroke-1-critical);--switch-track-off-stroke-hover: var(--stroke-1-critical-hover);--switch-track-off-stroke-active: var(--stroke-1-critical-active);--switch-thumb-off: var(--switch-track-off-stroke)}}a-switch[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]){--switch-track-on: light-dark(oklch(from var(--switch-tone-source) .5 c h), oklch(from var(--switch-tone-source) .8 .1 h));--switch-track-on-hover: light-dark(oklch(from var(--switch-tone-source) .45 c h), oklch(from var(--switch-tone-source) .84 .095 h));--switch-track-on-active: light-dark(oklch(from var(--switch-tone-source) .4 c h), oklch(from var(--switch-tone-source) .87 .075 h))}a-radio:state(selected):focus-visible:before,a-radio-group:focus-visible a-radio:state(selected):before,input[data-anta][type=radio]:checked:focus-visible,a-switch:state(checked):focus-visible:before{border-width:0;box-shadow:inset 0 0 0 1px var(--focus-halo)}:is(a-slider,input[data-anta][type=range]):not([thumb-fill]){--anta-slider-thumb-border-width: 2px}a-slider:focus-visible::part(control),a-slider::part(thumb):focus-visible,input[data-anta][type=range]:focus-visible{outline-width:2px;animation:focus-ring-pulse .6s cubic-bezier(.2,0,0,1);@media(prefers-reduced-motion:reduce){animation:none}}a-slider::part(control),input[data-anta][type=range]{border-radius:1px}:is(a-slider,input[data-anta][type=range]):is(:not([tone]),[tone=""],[tone=neutral]){--slider-interactive-rest: light-dark(color-mix(in oklch, var(--border-2) 50%, var(--border-1)), var(--fill-1));--slider-fill-hover: light-dark(var(--border-1), var(--fill-1-hover))}:is(a-slider,input[data-anta][type=range])[tone=brand]{--slider-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-brand) 50%, var(--border-1-brand)), var(--fill-1-brand));--slider-fill-hover: light-dark(var(--border-1-brand), var(--fill-1-brand-hover))}:is(a-slider,input[data-anta][type=range])[tone=info]{--slider-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-info) 50%, var(--border-1-info)), var(--fill-1-info));--slider-fill-hover: light-dark(var(--border-1-info), var(--fill-1-info-hover))}:is(a-slider,input[data-anta][type=range])[tone=success]{--slider-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-success) 50%, var(--border-1-success)), var(--fill-1-success));--slider-fill-hover: light-dark(var(--border-1-success), var(--fill-1-success-hover))}:is(a-slider,input[data-anta][type=range])[tone=warning]{--slider-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-warning) 50%, var(--border-1-warning)), var(--fill-1-warning));--slider-fill-hover: light-dark(var(--border-1-warning), var(--fill-1-warning-hover))}:is(a-slider,input[data-anta][type=range])[tone=critical]{--slider-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-critical) 50%, var(--border-1-critical)), var(--fill-1-critical));--slider-fill-hover: light-dark(var(--border-1-critical), var(--fill-1-critical-hover))}:is(a-slider,input[data-anta][type=range])[tone]:not([tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning],[tone=critical]){--slider-interactive-rest: light-dark(color-mix(in oklch, var(--slider-tone-source) 65%, var(--border-2)), oklch(from var(--slider-tone-source) .8 .1 h));--slider-fill-hover: light-dark(color-mix(in oklch, var(--slider-tone-source) 80%, var(--border-1)), oklch(from var(--slider-tone-source) .84 .095 h))}:is(a-slider,input[data-anta][type=range]):is(:not([thumb-tone]),[thumb-tone=""]){--slider-thumb-interactive-rest: var(--slider-interactive-rest);--slider-thumb-border-active: var(--slider-fill-hover)}:is(a-slider,input[data-anta][type=range])[thumb-tone=neutral]{--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--border-2) 50%, var(--border-1)), var(--fill-1));--slider-thumb-border-active: light-dark(var(--border-1), var(--fill-1-hover))}:is(a-slider,input[data-anta][type=range])[thumb-tone=brand]{--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-brand) 50%, var(--border-1-brand)), var(--fill-1-brand));--slider-thumb-border-active: light-dark(var(--border-1-brand), var(--fill-1-brand-hover))}:is(a-slider,input[data-anta][type=range])[thumb-tone=info]{--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-info) 50%, var(--border-1-info)), var(--fill-1-info));--slider-thumb-border-active: light-dark(var(--border-1-info), var(--fill-1-info-hover))}:is(a-slider,input[data-anta][type=range])[thumb-tone=success]{--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-success) 50%, var(--border-1-success)), var(--fill-1-success));--slider-thumb-border-active: light-dark(var(--border-1-success), var(--fill-1-success-hover))}:is(a-slider,input[data-anta][type=range])[thumb-tone=warning]{--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-warning) 50%, var(--border-1-warning)), var(--fill-1-warning));--slider-thumb-border-active: light-dark(var(--border-1-warning), var(--fill-1-warning-hover))}:is(a-slider,input[data-anta][type=range])[thumb-tone=critical]{--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--border-2-critical) 50%, var(--border-1-critical)), var(--fill-1-critical));--slider-thumb-border-active: light-dark(var(--border-1-critical), var(--fill-1-critical-hover))}:is(a-slider,input[data-anta][type=range])[thumb-tone]:not([thumb-tone=""],[thumb-tone=neutral],[thumb-tone=brand],[thumb-tone=info],[thumb-tone=success],[thumb-tone=warning],[thumb-tone=critical]){--slider-thumb-interactive-rest: light-dark(color-mix(in oklch, var(--slider-thumb-tone-source) 65%, var(--border-2)), oklch(from var(--slider-thumb-tone-source) .8 .1 h));--slider-thumb-border-active: light-dark(color-mix(in oklch, var(--slider-thumb-tone-source) 80%, var(--border-1)), oklch(from var(--slider-thumb-tone-source) .84 .095 h))}input[data-anta][type=range]{--slider-tone-source: var(--anta-native-range-tone-source, transparent);--slider-thumb-tone-source: var(--anta-native-range-thumb-tone-source, transparent);--anta-native-range-interactive-rest: var(--slider-interactive-rest);--anta-native-range-fill-hover: var(--slider-fill-hover);--anta-native-range-thumb-interactive-rest: var(--slider-thumb-interactive-rest);--anta-native-range-thumb-border-active: var(--slider-thumb-border-active)}a-input:not([round])::part(field),a-input:not([round]):not(:defined):after{border-radius:0}a-input{--_input-focus-width: 2px;--_input-focus-offset: -1px}a-input:not([readonly]):focus::part(field),a-input[readonly]:state(kb-focus)::part(field){--focus-ring-pulse-width: 3px;animation:focus-ring-pulse .6s cubic-bezier(.2,0,0,1);@media(prefers-reduced-motion:reduce){animation:none}}a-input:not([status]:not([status=neutral]),[tone]:not([tone=""]),:disabled){--input-border: var(--stroke-1-hover);--input-border-width: 1px;&:not([priority=tertiary]){--input-rest-border: var(--stroke-1)}}a-input[status=brand]:not(:disabled){--input-border: light-dark( var(--stroke-1-brand-active), oklch(from var(--stroke-1-brand-active) .6 calc(c*.75) h) )}a-input[status=info]:not(:disabled){--input-border: var(--stroke-1-info-active)}a-input[status=success]:not(:disabled){--input-border: var(--stroke-1-success-active)}a-input[status=warning]:not(:disabled){--input-border: var(--stroke-1-warning-active)}a-input[status=critical]:not(:disabled){--input-border: light-dark(#ff4a68, var(--stroke-1-critical-active))}a-input[status]:not([status=neutral],:disabled){--input-hint: light-dark( oklch(from var(--input-border) .53 c h), oklch(from var(--input-border) .72 c h) )}a-input:disabled{--input-border: var(--stroke-disabled);--input-border-width: 1px;&:not([priority=tertiary]){--input-rest-border: var(--stroke-disabled)}&:not([priority=secondary],[priority=tertiary]){--input-bg: var(--fill-disabled)}}a-input-time:not([round])::part(field),a-input-time:not([round]):not(:defined):after{border-radius:0}a-input-time:not([status]:not([status=neutral]),[tone]:not([tone=""]),:disabled){--input-time-border: var(--stroke-1);--input-time-border-hover: var(--stroke-1-hover)}a-input-time:not([tone]:not([tone=""]))::part(field),a-input-time:not([tone]:not([tone=""])):not(:defined):after{box-shadow:inset 0 0 0 1px var(--input-time-border)}@media(hover:hover)and (pointer:fine){a-input-time:not([tone]:not([tone=""]),:disabled)::part(field):hover{box-shadow:inset 0 0 0 1px var(--input-time-border-hover)}}a-input-time:not([tone]:not([tone=""])):focus-within::part(field){box-shadow:inset 0 0 0 1px var(--input-time-border-hover)}a-input-time:focus-within::part(field){--focus-ring-pulse-width: 3px;outline:2px solid var(--focus-ring);outline-offset:-1px;animation:focus-ring-pulse .6s cubic-bezier(.2,0,0,1);@media(prefers-reduced-motion:reduce){animation:none}}a-input-time[status=brand]:not(:disabled){--input-time-border: light-dark( var(--stroke-1-brand-active), oklch(from var(--stroke-1-brand-active) .6 calc(c*.75) h) )}a-input-time[status=info]:not(:disabled){--input-time-border: var(--stroke-1-info-active)}a-input-time[status=success]:not(:disabled){--input-time-border: var(--stroke-1-success-active)}a-input-time[status=warning]:not(:disabled){--input-time-border: var(--stroke-1-warning-active)}a-input-time[status=critical]:not(:disabled){--input-time-border: light-dark(#ff4a68, var(--stroke-1-critical-active))}a-input-time[status]:not([status=neutral],:disabled){--input-time-hint: light-dark( oklch(from var(--input-time-border) .53 c h), oklch(from var(--input-time-border) .72 c h) )}a-input-time:disabled{--input-time-border: var(--stroke-disabled);--input-time-bg: var(--fill-disabled)}:is(input[data-anta]:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=reset],[type=submit],[type=image],[type=hidden]),textarea[data-anta],select[data-anta]):not([round]){--native-field-round: 0px}a-tag{border-radius:3px}a-tag[priority=primary]:is(:not([tone]),[tone=""],[tone=neutral],[tone=brand],[tone=info],[tone=success],[tone=warning]){--tag-text: var(--label-on-fill)}a-tag[priority=primary]:is(:not([tone]),[tone=""],[tone=neutral]){--tag-bg: var(--fill-1)}a-tag[priority=primary][tone=brand]{--tag-bg: var(--fill-1-brand)}a-tag[priority=primary][tone=info]{--tag-bg: var(--fill-1-info)}a-tag[priority=primary][tone=success]{--tag-bg: var(--fill-1-success)}a-tag[priority=primary][tone=warning]{--tag-bg: light-dark(var(--fill-1-warning-active), var(--fill-1-warning))}a-tag[priority=primary][tone=critical]{--tag-bg: var(--fill-1-critical);--tag-text: var(--label-on-fill-critical)}a-tag:is(:not([tone]),[tone=""],[tone=neutral]):not([priority=primary]){--tag-text: light-dark(var(--text-2), var(--text-3))}a-tag[tone=brand]:not([priority=primary]){--tag-text: light-dark(var(--text-2-brand), var(--text-3-brand))}a-tag[tone=info]:not([priority=primary]){--tag-text: light-dark(var(--text-2-info), var(--text-3-info))}a-tag[tone=success]:not([priority=primary]){--tag-text: light-dark(var(--text-2-success), var(--text-3-success))}a-tag[tone=warning]:not([priority=primary]){--tag-text: light-dark(var(--text-2-warning), var(--text-3-warning))}a-tag[tone=critical]:not([priority=primary]){--tag-text: light-dark(var(--text-2-critical), var(--text-3-critical))}:where(a-progress,progress[data-anta]):is(:not([tone]),[tone=""],[tone=neutral]){--progress-indicator-bg: light-dark(var(--bg-5), #311228);--progress-border-color: light-dark(var(--border-4), #3f1b35)}a-card:not([round]){--card-radius: 1px}a-expander:not([round]){border-radius:1px}details[data-anta]:not([round]){--native-expander-round: 1px}a-dialog:not([round]){--dialog-radius: 1px}a-menu:not([round],a-menu[round] a-menu){--menu-radius: 2px}:is(a-menu-item,a[data-anta-menu-item]):is(:not([tone]),[tone=""],[tone=neutral]){--menu-item-color: var(--text-1);--menu-item-hover-bg: var(--fill-3-hover);--menu-item-selected-bg: var(--fill-3-active);--menu-item-active-bg: var(--fill-3-active)}:is(a-menu-item,a[data-anta-menu-item])[tone=brand]{--menu-item-hover-bg: var(--fill-3-brand-hover);--menu-item-selected-bg: var(--fill-3-brand-active);--menu-item-active-bg: var(--fill-3-brand-active)}:is(a-menu-item,a[data-anta-menu-item])[tone=info]{--menu-item-hover-bg: var(--fill-3-info-hover);--menu-item-selected-bg: var(--fill-3-info-active);--menu-item-active-bg: var(--fill-3-info-active)}:is(a-menu-item,a[data-anta-menu-item])[tone=success]{--menu-item-hover-bg: var(--fill-3-success-hover);--menu-item-selected-bg: var(--fill-3-success-active);--menu-item-active-bg: var(--fill-3-success-active)}:is(a-menu-item,a[data-anta-menu-item])[tone=warning]{--menu-item-hover-bg: var(--fill-3-warning-hover);--menu-item-selected-bg: var(--fill-3-warning-active);--menu-item-active-bg: var(--fill-3-warning-active)}:is(a-menu-item,a[data-anta-menu-item])[tone=critical]{--menu-item-hover-bg: var(--fill-3-critical-hover);--menu-item-selected-bg: var(--fill-3-critical-active);--menu-item-active-bg: var(--fill-3-critical-active)}:is(a-menu-item[disabled],a[data-anta-menu-item][aria-disabled=true]){--menu-item-color: var(--text-4);--menu-item-icon-color: var(--text-4);--menu-item-hint-color: var(--text-4)}}@layer anta.reset{:root :focus-visible:not([data-anta]){outline-width:2px;animation:focus-ring-pulse .6s cubic-bezier(.2,0,0,1);@media(prefers-reduced-motion:reduce){animation:none}}}@keyframes focus-ring-pulse{0%{outline-width:0;outline-offset:0;outline-color:color-mix(in oklch,var(--focus-ring) 60%,transparent)}30%{outline-width:var(--focus-ring-pulse-width, 4px);outline-offset:calc(-1 * var(--focus-ring-pulse-width, 4px) * var(--focus-ring-inset, 0));outline-color:color-mix(in oklch,var(--focus-ring) 60%,transparent)}}
|