@customafk/lunas-ui 0.0.0-h → 0.0.0-i
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Atoms/index.js +154 -2
- package/package.json +1 -1
package/dist/Atoms/index.js
CHANGED
|
@@ -1,11 +1,163 @@
|
|
|
1
1
|
// packages/Atoms/Button/Button.tsx
|
|
2
2
|
import { Slot, Slottable } from "@radix-ui/react-slot";
|
|
3
3
|
|
|
4
|
+
// packages/tailwindTheme.ts
|
|
5
|
+
var tailwindTheme_default = {
|
|
6
|
+
colors: {
|
|
7
|
+
ui: {
|
|
8
|
+
white: "#F8F8F8",
|
|
9
|
+
"white-primary": "#FDFDFD",
|
|
10
|
+
"black-primary": "#111315",
|
|
11
|
+
"bg-white": "#F9F9F9",
|
|
12
|
+
primary: {
|
|
13
|
+
default: "#6C70F0",
|
|
14
|
+
50: "#EEF2FF",
|
|
15
|
+
100: "#E0E7FF",
|
|
16
|
+
200: "#C8D2FD",
|
|
17
|
+
300: "#A6B6FB",
|
|
18
|
+
400: "#828EF7",
|
|
19
|
+
500: "#6C70F0",
|
|
20
|
+
600: "#5048E3",
|
|
21
|
+
700: "#443AC8",
|
|
22
|
+
800: "#3731A2",
|
|
23
|
+
900: "#312F80",
|
|
24
|
+
950: "#1F1C4A"
|
|
25
|
+
},
|
|
26
|
+
secondary: {
|
|
27
|
+
default: "#AE54F5",
|
|
28
|
+
50: "#FAF5FF",
|
|
29
|
+
100: "#F4E8FF",
|
|
30
|
+
200: "#EBD5FF",
|
|
31
|
+
300: "#DBB5FD",
|
|
32
|
+
400: "#C685FB",
|
|
33
|
+
500: "#AE54F5",
|
|
34
|
+
600: "#9B35E8",
|
|
35
|
+
700: "#8624CC",
|
|
36
|
+
800: "#7123A6",
|
|
37
|
+
900: "#5D1D86",
|
|
38
|
+
950: "#3F0863"
|
|
39
|
+
},
|
|
40
|
+
tertiary: {
|
|
41
|
+
default: "#4277EF",
|
|
42
|
+
50: "#F0F5FE",
|
|
43
|
+
100: "#DCE8FD",
|
|
44
|
+
200: "#C1D7FC",
|
|
45
|
+
300: "#84B2F8",
|
|
46
|
+
400: "#669BF4",
|
|
47
|
+
500: "#4277EF",
|
|
48
|
+
600: "#2C58E4",
|
|
49
|
+
700: "#2444D1",
|
|
50
|
+
800: "#2339AA",
|
|
51
|
+
900: "#223486",
|
|
52
|
+
950: "#192252"
|
|
53
|
+
},
|
|
54
|
+
text: {
|
|
55
|
+
black: "#19191B",
|
|
56
|
+
white: "#F7F7F8",
|
|
57
|
+
50: "#F7F7F8",
|
|
58
|
+
100: "#EEEEF0",
|
|
59
|
+
200: "#DADADD",
|
|
60
|
+
300: "#B9BAC0",
|
|
61
|
+
400: "#93949D",
|
|
62
|
+
500: "#767681",
|
|
63
|
+
600: "#606169",
|
|
64
|
+
700: "#4E4E56",
|
|
65
|
+
800: "#434349",
|
|
66
|
+
900: "#3B3C3F",
|
|
67
|
+
950: "#19191B"
|
|
68
|
+
},
|
|
69
|
+
destructive: {
|
|
70
|
+
default: "#EF4444",
|
|
71
|
+
50: "#FEF2F2",
|
|
72
|
+
100: "#FEE2E2",
|
|
73
|
+
200: "#FECACA",
|
|
74
|
+
300: "#FCA5A5",
|
|
75
|
+
400: "#F87171",
|
|
76
|
+
500: "#EF4444",
|
|
77
|
+
600: "#DC2626",
|
|
78
|
+
700: "#B91C1C",
|
|
79
|
+
800: "#991B1B",
|
|
80
|
+
900: "#7F1D1D",
|
|
81
|
+
950: "#450A0A"
|
|
82
|
+
},
|
|
83
|
+
// TEXT COLOR
|
|
84
|
+
"text-primary": "#111315",
|
|
85
|
+
"text-secondary": "#30353C",
|
|
86
|
+
"text-third": "#30353CCC",
|
|
87
|
+
"text-placeholder": "#11131566",
|
|
88
|
+
"text-white-placeholder": "#FDFDFD99",
|
|
89
|
+
"text-black": {
|
|
90
|
+
primary: "#19191B",
|
|
91
|
+
secondary: "#222325",
|
|
92
|
+
third: "#292A2E",
|
|
93
|
+
fourth: "#5F606A",
|
|
94
|
+
placeholder: "#B2B3BD"
|
|
95
|
+
},
|
|
96
|
+
"text-white": {
|
|
97
|
+
primary: "#FCFCFC",
|
|
98
|
+
secondary: "#F9F9F9",
|
|
99
|
+
third: "#D9D9D9"
|
|
100
|
+
},
|
|
101
|
+
// COLOR SPECIAL
|
|
102
|
+
"positive-flat": "#4ADE80",
|
|
103
|
+
"destruction-flat": "#EF4444",
|
|
104
|
+
"neutral-flat": "#BFDBFE",
|
|
105
|
+
rating: "#FDE047",
|
|
106
|
+
input: {
|
|
107
|
+
border: {
|
|
108
|
+
active: "#71717A",
|
|
109
|
+
disabled: "#D4D4D8"
|
|
110
|
+
},
|
|
111
|
+
bg: {
|
|
112
|
+
default: "#FDFDFD",
|
|
113
|
+
error: "#FEF2F2"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
backgroundImage: {
|
|
119
|
+
"ui-bg-color": "linear-gradient(110deg, #9CD5F5 3.09%, #B1B8E6 33.47%, rgba(185, 155, 215, 0.90) 62.82%, #A293DF 84.45%, #878AEA 106.08%)",
|
|
120
|
+
"ui-bg-page": "radial-gradient(70.47% 70.47% at 50% 50%, #FDFDFD 0%, #F3F1FF 50%, #F1FCFF 100%)",
|
|
121
|
+
"ui-btn-primary": "linear-gradient(180deg, #9EA1FF 0%, #607DE8 100%)",
|
|
122
|
+
"ui-btn-secondary": "linear-gradient(180deg, #5E7FF1 0%, #8FDDFF 100%)",
|
|
123
|
+
"ui-btn-accept": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
|
|
124
|
+
"ui-btn-destructive": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
|
|
125
|
+
"ui-status-bg-positive": "linear-gradient(0deg, #C4FFD8 0%, #68FF9D 100%)",
|
|
126
|
+
"ui-status-bg-negative": "linear-gradient(0deg, #FECACA 0%, #FF8F8F 100%)",
|
|
127
|
+
"ui-status-bg-neutral": "linear-gradient(0deg, #E1EBFF 0%, #C7E8FF 100%)"
|
|
128
|
+
},
|
|
129
|
+
boxShadow: {
|
|
130
|
+
"ui-sd-primary": "0 4px 20px 0 rgba(104, 109, 224, 0.5)",
|
|
131
|
+
"ui-sd-base": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
|
|
132
|
+
"ui-sd-destructive": "0 10px 10px 0 rgba(255, 56, 74, 0.15)",
|
|
133
|
+
"ui-sd-accept": "0 10px 10px 0 rgba(46, 213, 115, 0.15)",
|
|
134
|
+
"ui-xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
|
|
135
|
+
"ui-soft": "0px 5px 50px 0px rgba(0, 67, 101, 0.08)",
|
|
136
|
+
"ui-muli": "0px 5px 50px 0px rgba(0, 67, 101, 0.08), 0px 2px 6px 0px rgba(130, 169, 188, 0.08)",
|
|
137
|
+
"ui-category-effect": "0px 4px 50px 0px rgba(0, 67, 101, 0.08)"
|
|
138
|
+
},
|
|
139
|
+
fontSize: {
|
|
140
|
+
"ui-h1": ["1.5rem", "2rem"],
|
|
141
|
+
"ui-h2": ["1.25rem", "1.75rem"],
|
|
142
|
+
"ui-h3": ["1.125rem", "1.75rem"],
|
|
143
|
+
"ui-p": ["1rem", "1.5rem"],
|
|
144
|
+
"ui-note": ["0.875rem", "1.25rem"],
|
|
145
|
+
"ui-small-note": ["0.75rem", "1rem"]
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
4
149
|
// packages/libs/utils.ts
|
|
5
150
|
import clsx from "clsx";
|
|
6
|
-
import {
|
|
151
|
+
import { extendTailwindMerge } from "tailwind-merge";
|
|
152
|
+
var customTailwindMerge = () => {
|
|
153
|
+
return extendTailwindMerge({
|
|
154
|
+
...tailwindTheme_default,
|
|
155
|
+
prefix: ""
|
|
156
|
+
});
|
|
157
|
+
};
|
|
7
158
|
var cn = (...inputs) => {
|
|
8
|
-
|
|
159
|
+
const customTwMerge = customTailwindMerge();
|
|
160
|
+
return customTwMerge(clsx(inputs));
|
|
9
161
|
};
|
|
10
162
|
|
|
11
163
|
// packages/Atoms/Button/Button.tsx
|