@lotte-innovate/ui-component-test 0.1.44 → 0.1.45

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';
2
2
  import { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';
3
3
  export var colorOptions = [
4
+ // 'black',
4
5
  'slate',
5
6
  'olive',
6
7
  'sand',
@@ -29,6 +30,7 @@ export var colorOptions = [
29
30
  'yellow',
30
31
  'amber',
31
32
  'orange',
33
+ // 'white',
32
34
  ];
33
35
  export var alphaColorOptions = [
34
36
  'slateA',
@@ -1,3 +1,4 @@
1
+ // 기본 그레이 색상
1
2
  export var slate = {
2
3
  1: '#fcfcfd',
3
4
  2: '#f9f9fb',
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
4
  export interface BorderRadius {
@@ -31,7 +32,7 @@ declare const barChartVariants: (props?: ({
31
32
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
32
33
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
33
34
  declare const BarChart: {
34
- ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, isColorMixed, ...props }: BarChartProps): import("react/jsx-runtime").JSX.Element;
35
+ ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, isColorMixed, ...props }: BarChartProps): import("react").JSX.Element;
35
36
  displayName: string;
36
37
  };
37
38
  export default BarChart;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
4
  type IBubbleChartDataset = IChartDatasets & {
@@ -22,7 +23,7 @@ declare const bubbleChartVariants: (props?: ({
22
23
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
23
24
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
24
25
  export declare const BubbleChart: {
25
- ({ className, title, legend, datalabels, datasets, scaling, width, height, appearance, isColorMixed, ...props }: BubbleChartProps): import("react/jsx-runtime").JSX.Element;
26
+ ({ className, title, legend, datalabels, datasets, scaling, width, height, appearance, isColorMixed, ...props }: BubbleChartProps): React.JSX.Element;
26
27
  displayName: string;
27
28
  };
28
29
  export default BubbleChart;
@@ -10,6 +10,6 @@ export interface DialogProps extends VariantProps<typeof dialogContentVariants>,
10
10
  }
11
11
  export declare const DialogContext: React.Context<DialogProps>;
12
12
  export declare const DialogRoot: {
13
- ({ children, radius, size, scaling, color, ...props }: ComponentPropsWithoutRef<typeof DialogTheme.Root> & DialogProps): import("react/jsx-runtime").JSX.Element;
13
+ ({ children, radius, size, scaling, color, ...props }: ComponentPropsWithoutRef<typeof DialogTheme.Root> & DialogProps): React.JSX.Element;
14
14
  displayName: string;
15
15
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const Dialog: {
3
3
  Root: {
4
- ({ children, radius, size, scaling, color, ...props }: import("@radix-ui/themes/dist/cjs/components/dialog").RootProps & import("./DialogRoot").DialogProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, radius, size, scaling, color, ...props }: import("@radix-ui/themes/dist/cjs/components/dialog").RootProps & import("./DialogRoot").DialogProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
4
  export interface DoughnutChartProps extends VariantProps<typeof doughnutVariants> {
@@ -16,7 +17,7 @@ declare const doughnutVariants: (props?: ({
16
17
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
17
18
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
18
19
  declare const DoughnutChart: {
19
- ({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: DoughnutChartProps): import("react/jsx-runtime").JSX.Element;
20
+ ({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: DoughnutChartProps): React.JSX.Element;
20
21
  displayName: string;
21
22
  };
22
23
  export default DoughnutChart;
@@ -10,6 +10,6 @@ export interface DropdownMenuProps extends VariantProps<typeof dropdownMenuConte
10
10
  }
11
11
  export declare const DropdownMenuContext: React.Context<DropdownMenuProps>;
12
12
  export declare const DropdownMenuRoot: {
13
- ({ children, radius, size, scaling, color, appearance, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
13
+ ({ children, radius, size, scaling, color, appearance, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuProps): React.JSX.Element;
14
14
  displayName: string;
15
15
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const DropdownMenu: {
3
3
  Root: {
4
- ({ children, radius, size, scaling, color, appearance, ...props }: import("@radix-ui/react-dropdown-menu").DropdownMenuProps & import("./DropdownMenuRoot").DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, radius, size, scaling, color, appearance, ...props }: import("@radix-ui/react-dropdown-menu").DropdownMenuProps & import("./DropdownMenuRoot").DropdownMenuProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./DropdownMenuTrigger").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -6,6 +6,6 @@ export interface HoverCardProps extends VariantProps<typeof hoverCardContentVari
6
6
  }
7
7
  export declare const HoverCardContext: React.Context<HoverCardProps>;
8
8
  export declare const HoverCardRoot: {
9
- ({ children, radius, size, scaling, weight, color, ...props }: ComponentPropsWithoutRef<typeof HoverCardTheme.Root> & HoverCardProps): import("react/jsx-runtime").JSX.Element;
9
+ ({ children, radius, size, scaling, weight, color, ...props }: ComponentPropsWithoutRef<typeof HoverCardTheme.Root> & HoverCardProps): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const HoverCard: {
3
3
  Root: {
4
- ({ children, radius, size, scaling, weight, color, ...props }: import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps & import("./HoverCardRoot").HoverCardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, radius, size, scaling, weight, color, ...props }: import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps & import("./HoverCardRoot").HoverCardProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/hover-card").TriggerProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
4
  export interface BorderRadius {
@@ -37,7 +38,7 @@ declare const lineChartVariants: (props?: ({
37
38
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
38
39
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
39
40
  declare const LineChart: {
40
- ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react/jsx-runtime").JSX.Element;
41
+ ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react").JSX.Element;
41
42
  displayName: string;
42
43
  };
43
44
  export default LineChart;
@@ -54,7 +54,7 @@ export var useMenubarContext = function () {
54
54
  export var MenubarRoot = forwardRef(function (_a, ref) {
55
55
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
56
56
  var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color, appearance: appearance, itemAppearance: itemAppearance }); }, [radius, size, scaling, color, appearance, itemAppearance]);
57
- var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), className);
57
+ var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), 'w-fit', className);
58
58
  return (_jsx(MenubarContext.Provider, { value: contextValue, children: _jsx(MenubarPrimitive.Root, __assign({ ref: ref, className: menuClassName }, props, { children: children })) }));
59
59
  });
60
60
  MenubarRoot.displayName = 'Menubar.Root';
@@ -27,7 +27,7 @@ import { cva } from 'class-variance-authority';
27
27
  import { cn } from '../../../lib/utils/utils';
28
28
  import { appearanceStyle, scalingVariants } from '../../../lib/constants';
29
29
  import { useMenubarContext } from './MenubarRoot';
30
- export var menubarTriggerVariants = cva("flex items-center justify-between gap-[2px] outline-none select-none leading-none py-1 px-3 \n font-medium truncate w-fit", {
30
+ export var menubarTriggerVariants = cva("flex items-center justify-between gap-[2px] outline-none select-none leading-none py-1 px-3 font-medium", {
31
31
  variants: {
32
32
  size: {
33
33
  small: 'text-xs',
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
4
  export interface PieChartProps extends VariantProps<typeof PieVariants> {
@@ -16,7 +17,7 @@ declare const PieVariants: (props?: ({
16
17
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
17
18
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
18
19
  declare const PieChart: {
19
- ({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: PieChartProps): import("react/jsx-runtime").JSX.Element;
20
+ ({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: PieChartProps): React.JSX.Element;
20
21
  displayName: string;
21
22
  };
22
23
  export default PieChart;
@@ -7,6 +7,6 @@ export interface PopoverProps extends VariantProps<typeof popoverContentVariants
7
7
  }
8
8
  export declare const PopoverContext: React.Context<PopoverProps>;
9
9
  export declare const PopoverRoot: {
10
- ({ children, radius, size, scaling, ...props }: ComponentPropsWithoutRef<typeof PopoverTheme.Root> & PopoverProps): import("react/jsx-runtime").JSX.Element;
10
+ ({ children, radius, size, scaling, ...props }: ComponentPropsWithoutRef<typeof PopoverTheme.Root> & PopoverProps): React.JSX.Element;
11
11
  displayName: string;
12
12
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const Popover: {
3
3
  Root: {
4
- ({ children, radius, size, scaling, ...props }: import("@radix-ui/themes/dist/cjs/components/popover").RootProps & import("./PopoverRoot").PopoverProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, radius, size, scaling, ...props }: import("@radix-ui/themes/dist/cjs/components/popover").RootProps & import("./PopoverRoot").PopoverProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/popover").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
4
  type IRadarChartDataset = IChartDatasets & {
@@ -26,7 +27,7 @@ declare const radarChartVariants: (props?: ({
26
27
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
27
28
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
28
29
  export declare const RadarChart: {
29
- ({ className, title, legend, datalabels, datasets, labels, width, height, scaling, appearance, isColorMixed, ...props }: RadarChartProps): import("react/jsx-runtime").JSX.Element;
30
+ ({ className, title, legend, datalabels, datasets, labels, width, height, scaling, appearance, isColorMixed, ...props }: RadarChartProps): React.JSX.Element;
30
31
  displayName: string;
31
32
  };
32
33
  export default RadarChart;
@@ -29,6 +29,7 @@ import { Theme, Slider as SliderTheme } from '@radix-ui/themes';
29
29
  var sliderVariants = cva('relative flex items-center select-none touch-none w-[200px] h-5', {
30
30
  variants: {
31
31
  radius: __assign({}, radiusVariants['base']),
32
+ // color: bgColorStyle(),
32
33
  },
33
34
  });
34
35
  export var Slider = React.forwardRef(function (_a, forwardedRef) {
@@ -21,6 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ // your-tooltip.jsx
24
25
  import React from 'react';
25
26
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
26
27
  import { cva } from 'class-variance-authority';
@@ -1,3 +1,4 @@
1
+ // Component
1
2
  export { default as Accordion } from './Accordion';
2
3
  export { default as AlertDialog } from './AlertDialog';
3
4
  export { default as AspectRatio } from './AspectRatio';
@@ -42,6 +43,7 @@ export { default as ToggleWithText } from './Toggle/ToggleWithText';
42
43
  export { default as ToggleGroup } from './ToggleGroup';
43
44
  export { default as ToggleSwitch } from './ToggleSwitch';
44
45
  export { default as Tooltip } from './Tooltip';
46
+ // Chart
45
47
  export { default as BarChart } from './BarChart';
46
48
  export { default as BubbleChart } from './BubbleChart';
47
49
  export { default as RadarChart } from './RadarChart';
@@ -14,6 +14,7 @@ export var appearanceOptions = [
14
14
  'solid',
15
15
  'surface',
16
16
  ];
17
+ //차트
17
18
  export var labelPositionList = ['top', 'bottom', 'left', 'right'];
18
19
  export var pointStyleList = [
19
20
  'circle',
@@ -29,6 +30,7 @@ export var pointStyleList = [
29
30
  false,
30
31
  ];
31
32
  export var radiusVariants = {
33
+ // 체크박스
32
34
  small: {
33
35
  none: 'rounded-none',
34
36
  small: 'rounded-[3px]',
@@ -36,20 +38,23 @@ export var radiusVariants = {
36
38
  large: 'rounded',
37
39
  full: 'rounded',
38
40
  },
41
+ // 라디오버튼, 스위치, 태그, 배지, 버튼, 텍스트인풋, 텍스트영역, 페이지네이션
39
42
  base: {
40
43
  none: 'rounded-none',
41
44
  small: 'rounded-[3px]',
42
- medium: 'rounded',
43
- large: 'rounded-md',
45
+ medium: 'rounded', // 4px
46
+ large: 'rounded-md', // 6px
44
47
  full: 'rounded-full',
45
48
  },
49
+ // 배너
46
50
  large: {
47
51
  none: 'rounded-none',
48
52
  small: 'rounded',
49
- medium: 'rounded-lg',
50
- large: 'rounded-xl',
51
- full: 'rounded-2xl',
53
+ medium: 'rounded-lg', // 8px
54
+ large: 'rounded-xl', // 12px
55
+ full: 'rounded-2xl', // 16px
52
56
  },
57
+ // 다이얼로그, 바텀시트, 그리드, 카드
53
58
  'extra-large': {
54
59
  none: 'rounded-none',
55
60
  small: 'rounded',
@@ -57,6 +62,7 @@ export var radiusVariants = {
57
62
  large: 'rounded-xl',
58
63
  full: 'rounded-xl',
59
64
  },
65
+ // Dropdown, Context Menu 아이템
60
66
  'menu-item': {
61
67
  none: 'rounded-none',
62
68
  small: 'rounded-[1px]',
@@ -66,10 +72,10 @@ export var radiusVariants = {
66
72
  },
67
73
  };
68
74
  export var weightVariants = {
69
- regular: 'font-normal',
70
- medium: 'font-medium',
71
- semibold: 'font-semibold',
72
- bold: 'font-bold',
75
+ regular: 'font-normal', // 400
76
+ medium: 'font-medium', // 500
77
+ semibold: 'font-semibold', // 600
78
+ bold: 'font-bold', // 700
73
79
  };
74
80
  export var scalingVariants = {
75
81
  '90%': 'scale-90',
@@ -78,6 +84,7 @@ export var scalingVariants = {
78
84
  '105%': 'scale-105',
79
85
  '110%': 'scale-110',
80
86
  };
87
+ // 스토리북 공통 argTypes 설정
81
88
  export var commonArgTypes = {
82
89
  typoSize: {
83
90
  table: {
@@ -1,5 +1,6 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { twMerge } from 'tailwind-merge';
3
+ // tailwind를 merge할 때 발생할 수 있는 클래스 충돌 문제 해결
3
4
  export function cn() {
4
5
  var inputs = [];
5
6
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -27,14 +27,16 @@ var darkClasses = [];
27
27
  var colorScale = Array.from({ length: 12 }, function (_, i) { return (i + 1).toString(); });
28
28
  var allColorOptions = [colorOptions, alphaColorOptions];
29
29
  var generateClasses = function (colorList, colorScale) {
30
- var classPrefixes = ['fill', 'border', 'bg', 'text'];
30
+ var classPrefixes = ['accent', 'fill', 'border', 'outline', 'bg', 'text'];
31
31
  return colorList.flatMap(function (color) {
32
32
  return colorScale.flatMap(function (scale) { return classPrefixes.map(function (prefix) { return "".concat(prefix, "-").concat(color, "-").concat(scale); }); });
33
33
  });
34
34
  };
35
35
  var generateDarkClasses = function (colorList, colorScale) {
36
36
  var classPrefixes = [
37
+ 'dark:accent',
37
38
  'dark:fill',
39
+ 'dark:outline',
38
40
  'dark:border',
39
41
  'dark:bg',
40
42
  'dark:text',
@@ -44,6 +46,7 @@ var generateDarkClasses = function (colorList, colorScale) {
44
46
  'dark:active:bg',
45
47
  'dark:active:border',
46
48
  'dark:active:text',
49
+ 'dark:before:checked:bg',
47
50
  'dark:data-[state=on]:bg',
48
51
  'dark:data-[state=open]:bg',
49
52
  'dark:data-[state=on]:text',
@@ -66,7 +69,7 @@ var config = {
66
69
  './src/stories/**/*.{js,ts,jsx,tsx,mdx,zip}',
67
70
  './src/**/*.{js,ts,jsx,tsx,mdx,zip}',
68
71
  ],
69
- safelist: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], classes, true), classes.map(function (cls) { return "hover:".concat(cls); }), true), classes.map(function (cls) { return "active:".concat(cls); }), true), classes.map(function (cls) { return "before:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=checked]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=unchecked]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=on]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=open]:".concat(cls); }), true), darkClasses, true),
72
+ safelist: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], classes, true), classes.map(function (cls) { return "hover:".concat(cls); }), true), classes.map(function (cls) { return "active:".concat(cls); }), true), classes.map(function (cls) { return "before:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=checked]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=unchecked]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=on]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=on]:hover:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=open]:".concat(cls); }), true), classes.map(function (cls) { return "after:checked:".concat(cls); }), true), classes.map(function (cls) { return "before:checked:".concat(cls); }), true), darkClasses, true),
70
73
  theme: {
71
74
  extend: {
72
75
  fontFamily: {
@@ -77,6 +80,7 @@ var config = {
77
80
  'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
78
81
  },
79
82
  colors: __assign(__assign(__assign({ danger: '#C40006', warning: '#AB6400', success: '#00713F', information: '#00749E' }, formatColors(lightColors)), formatColors(darkColors)), formatColors(alphaColors)),
83
+ // radix tailwind
80
84
  keyframes: {
81
85
  overlayShow: {
82
86
  from: { opacity: '0' },
@@ -119,6 +123,10 @@ var config = {
119
123
  ],
120
124
  darkMode: 'class',
121
125
  };
126
+ /**
127
+ * tailwind 방식으로 변경
128
+ * ex) bg-yellow-3
129
+ */
122
130
  function formatColors(colors) {
123
131
  var formatcolors = {};
124
132
  for (var _i = 0, _a = Object.entries(colors); _i < _a.length; _i++) {