vkedit 2.8.6 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +385 -1193
- package/README.md +383 -1190
- package/dist/commands/distribute-elements-command.d.ts +13 -0
- package/dist/commands/index.d.ts +1 -0
- package/dist/components/ContextMenuDelete.vue.d.ts +1 -1
- package/dist/components/ui/{select/SelectTrigger.vue.d.ts → VkButton.vue.d.ts} +13 -7
- package/dist/components/ui/VkDropdown.vue.d.ts +22 -0
- package/dist/components/ui/VkIcon.vue.d.ts +8 -0
- package/dist/components/ui/{textarea/Textarea.vue.d.ts → VkInput.vue.d.ts} +6 -4
- package/dist/components/ui/VkInputMM.vue.d.ts +17 -0
- package/dist/components/ui/VkInputNumber.vue.d.ts +16 -0
- package/dist/components/ui/{input-mm/InputMM.vue.d.ts → VkInputNumberMM.vue.d.ts} +8 -6
- package/dist/components/ui/{number-field/NumberFieldContent.vue.d.ts → VkLabel.vue.d.ts} +3 -3
- package/dist/components/ui/{dropdown-menu/DropdownMenuRadioItem.vue.d.ts → VkSelect.vue.d.ts} +7 -7
- package/dist/components/ui/VkSwitch.vue.d.ts +14 -0
- package/dist/components/ui/{toggle/Toggle.vue.d.ts → VkToggle.vue.d.ts} +9 -12
- package/dist/components/ui/index.d.ts +11 -14
- package/dist/core/Editor.vue.d.ts +1 -7
- package/dist/{components/ui/button-group/ButtonGroupText.vue.d.ts → core/GraphicToolPanel.vue.d.ts} +14 -12
- package/dist/core/HelpGuide.vue.d.ts +2 -0
- package/dist/core/PropertyPanel.vue.d.ts +1 -0
- package/dist/core/{ScrollbarLayer.vue.d.ts → StatusBar.vue.d.ts} +1 -3
- package/dist/core/Toolbar.vue.d.ts +4 -6
- package/dist/core/editor-host.d.ts +12 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/use-bg-layer.d.ts +6 -0
- package/dist/hooks/use-content-layer.d.ts +4 -0
- package/dist/hooks/use-ruler-layer.d.ts +6 -1
- package/dist/hooks/use-stage-event.d.ts +6 -1
- package/dist/hooks/use-stage.d.ts +11 -7
- package/dist/hooks/use-zoom.d.ts +20 -1
- package/dist/{index-CjPgwxVC.js → index-xKPujfCD.js} +25499 -35356
- package/dist/index.d.ts +0 -1
- package/dist/{index.es-DekiblxN.js → index.es-CBeYPr_x.js} +1 -1
- package/dist/lib/utils.d.ts +1 -2
- package/dist/plugins/barcode/Tool.vue.d.ts +2 -1
- package/dist/plugins/barcode/barcode.d.ts +4 -0
- package/dist/plugins/chart/Tool.vue.d.ts +2 -1
- package/dist/plugins/clipboard/clipboard.d.ts +33 -0
- package/dist/plugins/clipboard/index.d.ts +1 -0
- package/dist/plugins/index.d.ts +2 -0
- package/dist/plugins/keydown.d.ts +11 -1
- package/dist/plugins/line/Tool.vue.d.ts +2 -1
- package/dist/plugins/line/line.d.ts +1 -2
- package/dist/plugins/preview/PreviewButton.vue.d.ts +1 -1
- package/dist/plugins/qrcode/Tool.vue.d.ts +2 -1
- package/dist/plugins/rect/Tool.vue.d.ts +2 -1
- package/dist/plugins/rect/rect.d.ts +1 -2
- package/dist/plugins/selection.d.ts +5 -0
- package/dist/{components/ui/number-field/NumberFieldInput.vue.d.ts → plugins/snap/SnapToggle.vue.d.ts} +4 -3
- package/dist/plugins/snap/index.d.ts +2 -0
- package/dist/plugins/snap/snap.d.ts +24 -0
- package/dist/plugins/table/Tool.vue.d.ts +2 -1
- package/dist/plugins/table/table.d.ts +1 -2
- package/dist/plugins/text/TextContextMenu.vue.d.ts +1 -1
- package/dist/plugins/text/Tool.vue.d.ts +2 -1
- package/dist/plugins/text/text.d.ts +1 -0
- package/dist/plugins/toolbar-manager.d.ts +3 -1
- package/dist/types/base-graphic-element.d.ts +3 -0
- package/dist/types/base.d.ts +14 -0
- package/dist/types/event-data.d.ts +16 -0
- package/dist/types/event-map.d.ts +6 -3
- package/dist/utils/geometry.d.ts +38 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vkedit.css +1 -1
- package/dist/vkedit.es.js +97 -107
- package/package.json +11 -20
- package/dist/components/ui/button/Button.vue.d.ts +0 -27
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +0 -23
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +0 -9
- package/dist/components/ui/button-group/index.d.ts +0 -8
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -22
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -28
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -26
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -23
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -22
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -7
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -21
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -22
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -38
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -23
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/components/ui/input/Input.vue.d.ts +0 -12
- package/dist/components/ui/input/index.d.ts +0 -1
- package/dist/components/ui/input-mm/InputNumberMM.vue.d.ts +0 -14
- package/dist/components/ui/input-mm/index.d.ts +0 -2
- package/dist/components/ui/input-number/VkInputNumber.vue.d.ts +0 -9
- package/dist/components/ui/input-number/index.d.ts +0 -1
- package/dist/components/ui/label/Label.vue.d.ts +0 -22
- package/dist/components/ui/label/index.d.ts +0 -1
- package/dist/components/ui/number-field/NumberField.vue.d.ts +0 -26
- package/dist/components/ui/number-field/NumberFieldDecrement.vue.d.ts +0 -22
- package/dist/components/ui/number-field/NumberFieldIncrement.vue.d.ts +0 -22
- package/dist/components/ui/number-field/index.d.ts +0 -5
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -22
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -9
- package/dist/components/ui/scroll-area/index.d.ts +0 -2
- package/dist/components/ui/select/Select.vue.d.ts +0 -25
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -32
- package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectItem.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
- package/dist/components/ui/select/SelectValue.vue.d.ts +0 -18
- package/dist/components/ui/select/index.d.ts +0 -11
- package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
- package/dist/components/ui/separator/index.d.ts +0 -1
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
- package/dist/components/ui/slider/index.d.ts +0 -1
- package/dist/components/ui/switch/Switch.vue.d.ts +0 -26
- package/dist/components/ui/switch/index.d.ts +0 -1
- package/dist/components/ui/textarea/index.d.ts +0 -1
- package/dist/components/ui/toggle/index.d.ts +0 -7
- package/dist/core/Toolbox.vue.d.ts +0 -23
- package/dist/hooks/use-scrollbar-layer.d.ts +0 -47
- package/dist/stores/index.d.ts +0 -1
- package/dist/stores/use-stage-store.d.ts +0 -40
- package/dist/styles/index.css +0 -144
- /package/dist/core/{Zoom.vue.d.ts → GuideLayer.vue.d.ts} +0 -0
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SelectValueProps } from 'reka-ui';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<SelectValueProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { default as Select } from './Select.vue';
|
|
2
|
-
export { default as SelectContent } from './SelectContent.vue';
|
|
3
|
-
export { default as SelectGroup } from './SelectGroup.vue';
|
|
4
|
-
export { default as SelectItem } from './SelectItem.vue';
|
|
5
|
-
export { default as SelectItemText } from './SelectItemText.vue';
|
|
6
|
-
export { default as SelectLabel } from './SelectLabel.vue';
|
|
7
|
-
export { default as SelectScrollDownButton } from './SelectScrollDownButton.vue';
|
|
8
|
-
export { default as SelectScrollUpButton } from './SelectScrollUpButton.vue';
|
|
9
|
-
export { default as SelectSeparator } from './SelectSeparator.vue';
|
|
10
|
-
export { default as SelectTrigger } from './SelectTrigger.vue';
|
|
11
|
-
export { default as SelectValue } from './SelectValue.vue';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SeparatorProps } from 'reka-ui';
|
|
2
|
-
import { HTMLAttributes } from 'vue';
|
|
3
|
-
type __VLS_Props = SeparatorProps & {
|
|
4
|
-
class?: HTMLAttributes["class"];
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
-
orientation: "horizontal" | "vertical";
|
|
8
|
-
decorative: boolean;
|
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Separator } from './Separator.vue';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SliderRootProps } from 'reka-ui';
|
|
2
|
-
import { HTMLAttributes } from 'vue';
|
|
3
|
-
type __VLS_Props = SliderRootProps & {
|
|
4
|
-
class?: HTMLAttributes["class"];
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (payload: number[] | undefined) => any;
|
|
8
|
-
valueCommit: (payload: number[]) => any;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((payload: number[] | undefined) => any) | undefined;
|
|
11
|
-
onValueCommit?: ((payload: number[]) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Slider } from './Slider.vue';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SwitchRootProps } from 'reka-ui';
|
|
2
|
-
import { HTMLAttributes } from 'vue';
|
|
3
|
-
type __VLS_Props = SwitchRootProps & {
|
|
4
|
-
class?: HTMLAttributes["class"];
|
|
5
|
-
};
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
thumb?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (payload: boolean) => any;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
-
new (): {
|
|
24
|
-
$slots: S;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Switch } from './Switch.vue';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Textarea } from './Textarea.vue';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export { default as Toggle } from './Toggle.vue';
|
|
3
|
-
export declare const toggleVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "outline" | null | undefined;
|
|
5
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export type ToggleVariants = VariantProps<typeof toggleVariants>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EditorHost } from '.';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
host: EditorHost;
|
|
4
|
-
};
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
toolbox?(_: {
|
|
9
|
-
host: EditorHost;
|
|
10
|
-
}): any;
|
|
11
|
-
};
|
|
12
|
-
refs: {};
|
|
13
|
-
rootEl: HTMLDivElement;
|
|
14
|
-
};
|
|
15
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EditorHost } from '../core';
|
|
2
|
-
export declare function useScrollbarLayer(host: EditorHost): {
|
|
3
|
-
scrollbarLayerRef: import('vue').Ref<any, any>;
|
|
4
|
-
scrollbarLayerConfig: {};
|
|
5
|
-
showVerticalScroll: import('vue').ComputedRef<boolean>;
|
|
6
|
-
showHorizontalScroll: import('vue').ComputedRef<boolean>;
|
|
7
|
-
horizontalThumbConfig: import('vue').ComputedRef<{
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
fill: string;
|
|
13
|
-
draggable: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
verticalThumbConfig: import('vue').ComputedRef<{
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
fill: string;
|
|
21
|
-
draggable: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
horizontalTrackConfig: import('vue').ComputedRef<{
|
|
24
|
-
x: number;
|
|
25
|
-
y: number;
|
|
26
|
-
width: number;
|
|
27
|
-
height: number;
|
|
28
|
-
fill: string;
|
|
29
|
-
listening: boolean;
|
|
30
|
-
}>;
|
|
31
|
-
verticalTrackConfig: import('vue').ComputedRef<{
|
|
32
|
-
x: number;
|
|
33
|
-
y: number;
|
|
34
|
-
width: number;
|
|
35
|
-
height: number;
|
|
36
|
-
fill: string;
|
|
37
|
-
listening: boolean;
|
|
38
|
-
}>;
|
|
39
|
-
handleVerticalDragMove: (e: any) => void;
|
|
40
|
-
handleHorizontalDragMove: (e: any) => void;
|
|
41
|
-
contentScrollX: import('vue').ComputedRef<number>;
|
|
42
|
-
contentScrollY: import('vue').ComputedRef<number>;
|
|
43
|
-
handleWheel: (e: any) => void;
|
|
44
|
-
verticalThumbY: import('vue').Ref<number, number>;
|
|
45
|
-
horizontalThumbX: import('vue').Ref<number, number>;
|
|
46
|
-
resetScrollbarPosition: () => void;
|
|
47
|
-
};
|
package/dist/stores/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './use-stage-store';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare const useStageStore: import('pinia').StoreDefinition<"stage", Pick<{
|
|
2
|
-
stageRef: import('vue').Ref<any, any>;
|
|
3
|
-
stageWrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
4
|
-
stageConfig: import('vue').ComputedRef<{
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
scaleX: number;
|
|
8
|
-
scaleY: number;
|
|
9
|
-
}>;
|
|
10
|
-
width: import('vue').ShallowRef<number, number>;
|
|
11
|
-
height: import('vue').ShallowRef<number, number>;
|
|
12
|
-
verticalThumbY: import('vue').Ref<number, number>;
|
|
13
|
-
horizontalThumbX: import('vue').Ref<number, number>;
|
|
14
|
-
}, "width" | "height" | "stageRef" | "stageWrapperRef" | "verticalThumbY" | "horizontalThumbX">, Pick<{
|
|
15
|
-
stageRef: import('vue').Ref<any, any>;
|
|
16
|
-
stageWrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
17
|
-
stageConfig: import('vue').ComputedRef<{
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
scaleX: number;
|
|
21
|
-
scaleY: number;
|
|
22
|
-
}>;
|
|
23
|
-
width: import('vue').ShallowRef<number, number>;
|
|
24
|
-
height: import('vue').ShallowRef<number, number>;
|
|
25
|
-
verticalThumbY: import('vue').Ref<number, number>;
|
|
26
|
-
horizontalThumbX: import('vue').Ref<number, number>;
|
|
27
|
-
}, "stageConfig">, Pick<{
|
|
28
|
-
stageRef: import('vue').Ref<any, any>;
|
|
29
|
-
stageWrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
30
|
-
stageConfig: import('vue').ComputedRef<{
|
|
31
|
-
width: number;
|
|
32
|
-
height: number;
|
|
33
|
-
scaleX: number;
|
|
34
|
-
scaleY: number;
|
|
35
|
-
}>;
|
|
36
|
-
width: import('vue').ShallowRef<number, number>;
|
|
37
|
-
height: import('vue').ShallowRef<number, number>;
|
|
38
|
-
verticalThumbY: import('vue').Ref<number, number>;
|
|
39
|
-
horizontalThumbX: import('vue').Ref<number, number>;
|
|
40
|
-
}, never>>;
|
package/dist/styles/index.css
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
@import 'tailwindcss';
|
|
2
|
-
@import 'tw-animate-css';
|
|
3
|
-
|
|
4
|
-
@custom-variant dark (&:is(.dark *));
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--background: oklch(1 0 0);
|
|
8
|
-
--foreground: oklch(0.145 0 0);
|
|
9
|
-
--card: oklch(1 0 0);
|
|
10
|
-
--card-foreground: oklch(0.145 0 0);
|
|
11
|
-
--popover: oklch(1 0 0);
|
|
12
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
13
|
-
--primary: oklch(0.205 0 0);
|
|
14
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
15
|
-
--secondary: oklch(0.97 0 0);
|
|
16
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
17
|
-
--muted: oklch(0.97 0 0);
|
|
18
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
19
|
-
--accent: oklch(0.97 0 0);
|
|
20
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
21
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
22
|
-
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
23
|
-
--border: oklch(0.922 0 0);
|
|
24
|
-
--input: oklch(0.922 0 0);
|
|
25
|
-
--ring: oklch(0.708 0 0);
|
|
26
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
27
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
28
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
29
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
30
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
31
|
-
--radius: 0.625rem;
|
|
32
|
-
--sidebar: oklch(0.985 0 0);
|
|
33
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
34
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
35
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
36
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
37
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
38
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
39
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.dark {
|
|
43
|
-
--background: oklch(0.145 0 0);
|
|
44
|
-
--foreground: oklch(0.985 0 0);
|
|
45
|
-
--card: oklch(0.145 0 0);
|
|
46
|
-
--card-foreground: oklch(0.985 0 0);
|
|
47
|
-
--popover: oklch(0.145 0 0);
|
|
48
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
49
|
-
--primary: oklch(0.985 0 0);
|
|
50
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
51
|
-
--secondary: oklch(0.269 0 0);
|
|
52
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
53
|
-
--muted: oklch(0.269 0 0);
|
|
54
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
55
|
-
--accent: oklch(0.269 0 0);
|
|
56
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
57
|
-
--destructive: oklch(0.396 0.141 25.723);
|
|
58
|
-
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
59
|
-
--border: oklch(0.269 0 0);
|
|
60
|
-
--input: oklch(0.269 0 0);
|
|
61
|
-
--ring: oklch(0.439 0 0);
|
|
62
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
63
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
64
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
65
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
66
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
67
|
-
--sidebar: oklch(0.205 0 0);
|
|
68
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
69
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
70
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
71
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
72
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
73
|
-
--sidebar-border: oklch(0.269 0 0);
|
|
74
|
-
--sidebar-ring: oklch(0.439 0 0);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@theme inline {
|
|
78
|
-
--color-background: var(--background);
|
|
79
|
-
--color-foreground: var(--foreground);
|
|
80
|
-
--color-card: var(--card);
|
|
81
|
-
--color-card-foreground: var(--card-foreground);
|
|
82
|
-
--color-popover: var(--popover);
|
|
83
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
84
|
-
--color-primary: var(--primary);
|
|
85
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
86
|
-
--color-secondary: var(--secondary);
|
|
87
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
88
|
-
--color-muted: var(--muted);
|
|
89
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
90
|
-
--color-accent: var(--accent);
|
|
91
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
92
|
-
--color-destructive: var(--destructive);
|
|
93
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
94
|
-
--color-border: var(--border);
|
|
95
|
-
--color-input: var(--input);
|
|
96
|
-
--color-ring: var(--ring);
|
|
97
|
-
--color-chart-1: var(--chart-1);
|
|
98
|
-
--color-chart-2: var(--chart-2);
|
|
99
|
-
--color-chart-3: var(--chart-3);
|
|
100
|
-
--color-chart-4: var(--chart-4);
|
|
101
|
-
--color-chart-5: var(--chart-5);
|
|
102
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
103
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
104
|
-
--radius-lg: var(--radius);
|
|
105
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
106
|
-
--color-sidebar: var(--sidebar);
|
|
107
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
108
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
109
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
110
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
111
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
112
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
113
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
114
|
-
|
|
115
|
-
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
116
|
-
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
117
|
-
|
|
118
|
-
@keyframes accordion-down {
|
|
119
|
-
from {
|
|
120
|
-
height: 0;
|
|
121
|
-
}
|
|
122
|
-
to {
|
|
123
|
-
height: var(--reka-accordion-content-height);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@keyframes accordion-up {
|
|
128
|
-
from {
|
|
129
|
-
height: var(--reka-accordion-content-height);
|
|
130
|
-
}
|
|
131
|
-
to {
|
|
132
|
-
height: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
@layer base {
|
|
138
|
-
* {
|
|
139
|
-
@apply border-border outline-ring/50;
|
|
140
|
-
}
|
|
141
|
-
body {
|
|
142
|
-
@apply bg-background text-foreground;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
File without changes
|