-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
202 lines (189 loc) · 4.32 KB
/
constants.ts
File metadata and controls
202 lines (189 loc) · 4.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
export const GITHUB_WORKFLOW_YAML = `name: Deploy to GitHub Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: \${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
`;
export const BASE_COLORS = [
// Solids
{
name: 'White',
bg: 'bg-white',
text: 'text-gray-900',
hex: '#ffffff',
textHex: '#111827',
type: 'solid',
},
{
name: 'Black',
bg: 'bg-gray-900',
text: 'text-white',
hex: '#111827',
textHex: '#ffffff',
type: 'solid',
},
{
name: 'Gray',
bg: 'bg-gray-100',
text: 'text-gray-900',
hex: '#f3f4f6',
textHex: '#111827',
type: 'solid',
},
{
name: 'Red',
bg: 'bg-red-500',
text: 'text-white',
hex: '#ef4444',
textHex: '#ffffff',
type: 'solid',
},
{
name: 'Orange',
bg: 'bg-orange-500',
text: 'text-white',
hex: '#f97316',
textHex: '#ffffff',
type: 'solid',
},
{
name: 'Yellow',
bg: 'bg-amber-400',
text: 'text-gray-900',
hex: '#fbbf24',
textHex: '#111827',
type: 'solid',
},
{
name: 'Green',
bg: 'bg-emerald-500',
text: 'text-white',
hex: '#10b981',
textHex: '#ffffff',
type: 'solid',
},
{
name: 'Blue',
bg: 'bg-blue-500',
text: 'text-white',
hex: '#3b82f6',
textHex: '#ffffff',
type: 'solid',
},
{
name: 'Violet',
bg: 'bg-violet-500',
text: 'text-white',
hex: '#8b5cf6',
textHex: '#ffffff',
type: 'solid',
},
{
name: 'Pink',
bg: 'bg-pink-500',
text: 'text-white',
hex: '#ec4899',
textHex: '#ffffff',
type: 'solid',
},
// Gradients
{
name: 'Sunset',
bg: 'bg-gradient-to-br from-orange-400 to-rose-400',
text: 'text-white',
hex: 'linear-gradient(135deg, #fb923c 0%, #fb7185 100%)',
textHex: '#ffffff',
type: 'gradient',
},
{
name: 'Ocean',
bg: 'bg-gradient-to-br from-blue-400 to-emerald-400',
text: 'text-white',
hex: 'linear-gradient(135deg, #60a5fa 0%, #34d399 100%)',
textHex: '#ffffff',
type: 'gradient',
},
{
name: 'Insta',
bg: 'bg-gradient-to-tr from-yellow-400 via-red-500 to-purple-600',
text: 'text-white',
hex: 'linear-gradient(45deg, #facc15 0%, #ef4444 50%, #9333ea 100%)',
textHex: '#ffffff',
type: 'gradient',
},
{
name: 'Midnight',
bg: 'bg-gradient-to-br from-gray-900 to-blue-900',
text: 'text-white',
hex: 'linear-gradient(135deg, #111827 0%, #1e3a8a 100%)',
textHex: '#ffffff',
type: 'gradient',
},
{
name: 'Unicorn',
bg: 'bg-gradient-to-br from-pink-300 via-purple-300 to-indigo-400',
text: 'text-white',
hex: 'linear-gradient(135deg, #f9a8d4 0%, #d8b4fe 50%, #818cf8 100%)',
textHex: '#ffffff',
type: 'gradient',
},
{
name: 'Hyper',
bg: 'bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500',
text: 'text-white',
hex: 'linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #eab308 100%)',
textHex: '#ffffff',
type: 'gradient',
},
{
name: 'Peachy',
bg: 'bg-gradient-to-r from-red-200 via-red-300 to-yellow-200',
text: 'text-gray-900',
hex: 'linear-gradient(90deg, #fecaca 0%, #fca5a5 50%, #fef08a 100%)',
textHex: '#111827',
type: 'gradient',
},
{
name: 'Aurora',
bg: 'bg-gradient-to-t from-gray-900 via-purple-900 to-violet-600',
text: 'text-white',
hex: 'linear-gradient(0deg, #111827 0%, #581c87 50%, #7c3aed 100%)',
textHex: '#ffffff',
type: 'gradient',
},
];
export const AVATAR_PLACEHOLDER = 'https://picsum.photos/200/200';