@petnow/ui 1.6.17 → 1.6.18
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/package.json +2 -2
- package/tailwind.config.ts +158 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@petnow/ui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"files": [
|
|
82
82
|
"dist",
|
|
83
|
-
"tailwind.config.
|
|
83
|
+
"tailwind.config.ts"
|
|
84
84
|
],
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
backgroundImage: {
|
|
8
|
+
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
|
|
9
|
+
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
|
|
10
|
+
},
|
|
11
|
+
keyframes: {
|
|
12
|
+
shimmer: {
|
|
13
|
+
"100%": {
|
|
14
|
+
transform: "translateX(350%) rotate(25deg)",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
colors: {
|
|
19
|
+
petnowOrange: {
|
|
20
|
+
primary: "#FF592C",
|
|
21
|
+
secondary: "#FFEEEA",
|
|
22
|
+
tertiary: "#FFF7F4",
|
|
23
|
+
0: "#0A0B0C",
|
|
24
|
+
10: "#3B1B12",
|
|
25
|
+
20: "#6C2A19",
|
|
26
|
+
30: "#9D3A1F",
|
|
27
|
+
40: "#CE4926",
|
|
28
|
+
50: "#FF592C",
|
|
29
|
+
60: "#FF7A56",
|
|
30
|
+
70: "#FF9B80",
|
|
31
|
+
80: "#FFBDAB",
|
|
32
|
+
90: "#FFDED5",
|
|
33
|
+
95: "#FFEEEA",
|
|
34
|
+
99: "#FFF7F4",
|
|
35
|
+
100: "#FFFFFF",
|
|
36
|
+
},
|
|
37
|
+
petnowBlue: {
|
|
38
|
+
primary: "#4389E5",
|
|
39
|
+
secondary: "#ECF3FC",
|
|
40
|
+
tertiary: "#F6F9FE",
|
|
41
|
+
0: "#0A0B0C",
|
|
42
|
+
10: "#152437",
|
|
43
|
+
20: "#213D63",
|
|
44
|
+
30: "#2C578E",
|
|
45
|
+
40: "#3870BA",
|
|
46
|
+
50: "#4389E5",
|
|
47
|
+
60: "#69A1EA",
|
|
48
|
+
70: "#8EB8EF",
|
|
49
|
+
80: "#B4D0F5",
|
|
50
|
+
90: "#D9E7FA",
|
|
51
|
+
95: "#ECF3FC",
|
|
52
|
+
99: "#F6F9FE",
|
|
53
|
+
100: "#FFFFFF",
|
|
54
|
+
},
|
|
55
|
+
petnowRed: {
|
|
56
|
+
primary: "#FF4055",
|
|
57
|
+
50: "#FF4055",
|
|
58
|
+
95: "#FFECF1",
|
|
59
|
+
99: "#FFF5F8",
|
|
60
|
+
},
|
|
61
|
+
petnowGreen: {
|
|
62
|
+
primary: "#42D48E",
|
|
63
|
+
50: "#42D48E",
|
|
64
|
+
95: "#ECFBF4",
|
|
65
|
+
99: "#F6FDF9",
|
|
66
|
+
},
|
|
67
|
+
petnowPurple: {
|
|
68
|
+
primary: "#AF50DC",
|
|
69
|
+
50: "#AF50DC",
|
|
70
|
+
95: "#F7EDFB",
|
|
71
|
+
99: "#FBF6FD",
|
|
72
|
+
},
|
|
73
|
+
petnowYellow: {
|
|
74
|
+
primary: "#FFD22D",
|
|
75
|
+
50: "#FFD22D",
|
|
76
|
+
95: "#FFF8E0",
|
|
77
|
+
99: "#FFFBEB",
|
|
78
|
+
},
|
|
79
|
+
petnowGrey: {
|
|
80
|
+
primary: "#C5C8CD",
|
|
81
|
+
secondary: "#8B919A",
|
|
82
|
+
tertiary: "#585E67",
|
|
83
|
+
0: "#0A0B0C",
|
|
84
|
+
10: "#16181A",
|
|
85
|
+
20: "#2C2F34",
|
|
86
|
+
30: "#42474D",
|
|
87
|
+
40: "#585E67",
|
|
88
|
+
50: "#6E7681",
|
|
89
|
+
60: "#8B919A",
|
|
90
|
+
70: "#A8ADB3",
|
|
91
|
+
80: "#C5C8CD",
|
|
92
|
+
90: "#E2E4E6",
|
|
93
|
+
95: "#F0F1F2",
|
|
94
|
+
99: "#F8F8F9",
|
|
95
|
+
100: "#FFFFFF",
|
|
96
|
+
},
|
|
97
|
+
background: {
|
|
98
|
+
primary: "#FFFFFF",
|
|
99
|
+
secondary: "#F8F8F9",
|
|
100
|
+
tertiary: "#F0F1F2",
|
|
101
|
+
},
|
|
102
|
+
black: "#2C2F34",
|
|
103
|
+
error: "#FF323E",
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
plugins: [
|
|
108
|
+
({ addUtilities }: { addUtilities: any }) => {
|
|
109
|
+
addUtilities({
|
|
110
|
+
".text-displayLarge": {
|
|
111
|
+
"@apply font-bold text-[34px] leading-[46px] tracking-normal": "",
|
|
112
|
+
},
|
|
113
|
+
".text-displayMedium": {
|
|
114
|
+
"@apply font-bold text-[28px] leading-[38px] tracking-normal": "",
|
|
115
|
+
},
|
|
116
|
+
".text-titleLarge": {
|
|
117
|
+
"@apply font-bold text-[24px] leading-[34px] tracking-normal": "",
|
|
118
|
+
},
|
|
119
|
+
".text-titleMedium": {
|
|
120
|
+
"@apply font-bold text-[20px] leading-[30px] tracking-normal": "",
|
|
121
|
+
},
|
|
122
|
+
".text-titleSmall": {
|
|
123
|
+
"@apply font-bold text-[18px] leading-[26px] tracking-normal": "",
|
|
124
|
+
},
|
|
125
|
+
".text-labelLarge": {
|
|
126
|
+
"@apply font-bold text-[16px] leading-[24px] tracking-normal": "",
|
|
127
|
+
},
|
|
128
|
+
".text-labelMedium": {
|
|
129
|
+
"@apply font-bold text-[14px] leading-[22px] tracking-normal": "",
|
|
130
|
+
},
|
|
131
|
+
".text-labelSmall": {
|
|
132
|
+
"@apply font-bold text-[12px] leading-[18px] tracking-normal": "",
|
|
133
|
+
},
|
|
134
|
+
".text-bodyLarge": {
|
|
135
|
+
"@apply font-medium text-[16px] leading-[24px] tracking-normal": "",
|
|
136
|
+
},
|
|
137
|
+
".text-bodyMedium": {
|
|
138
|
+
"@apply font-medium text-[14px] leading-[22px] tracking-normal": "",
|
|
139
|
+
},
|
|
140
|
+
".text-bodySmall": {
|
|
141
|
+
"@apply font-medium text-[12px] leading-[18px] tracking-normal": "",
|
|
142
|
+
},
|
|
143
|
+
".text-captionLarge": {
|
|
144
|
+
"@apply font-normal text-[16px] leading-[24px] tracking-normal": "",
|
|
145
|
+
},
|
|
146
|
+
".text-captionMedium": {
|
|
147
|
+
"@apply font-normal text-[14px] leading-[22px] tracking-normal": "",
|
|
148
|
+
},
|
|
149
|
+
".text-captionSmall": {
|
|
150
|
+
"@apply font-normal text-[12px] leading-[18px] tracking-normal": "",
|
|
151
|
+
},
|
|
152
|
+
".text-badge": {
|
|
153
|
+
"@apply font-medium text-[11px] leading-[16px] tracking-normal": "",
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
};
|