@prosophia/lab-techy 0.0.2 → 0.0.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/dist/Footer.module.css +147 -0
- package/dist/Header.module.css +147 -0
- package/dist/ThemeToggle.module.css +34 -0
- package/dist/index-CSdV51Jq.d.mts +26 -0
- package/dist/index-CSdV51Jq.d.ts +26 -0
- package/dist/index.css +281 -0
- package/dist/index.d.mts +254 -0
- package/dist/index.d.ts +254 -0
- package/dist/index.js +299 -52
- package/dist/index.mjs +281 -51
- package/dist/layouts/index.css +281 -0
- package/dist/layouts/index.d.mts +13 -0
- package/dist/layouts/index.d.ts +13 -0
- package/dist/layouts/index.js +285 -0
- package/dist/layouts/index.mjs +248 -0
- package/dist/schemas/index.d.mts +461 -0
- package/dist/schemas/index.d.ts +461 -0
- package/dist/schemas/index.js +1319 -0
- package/dist/schemas/index.mjs +1278 -0
- package/dist/styles/globals.css +215 -0
- package/package.json +26 -8
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/* Design Tokens & Global Styles */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
/* Colors */
|
|
7
|
+
--primary: #D4A012;
|
|
8
|
+
--primary-dark: #B8860B;
|
|
9
|
+
--primary-light: rgba(212, 160, 18, 0.1);
|
|
10
|
+
--background-light: #f6f6f8;
|
|
11
|
+
--background-dark: #101622;
|
|
12
|
+
--white: #ffffff;
|
|
13
|
+
--slate-50: #f8fafc;
|
|
14
|
+
--slate-100: #f1f5f9;
|
|
15
|
+
--slate-200: #e2e8f0;
|
|
16
|
+
--slate-300: #cbd5e1;
|
|
17
|
+
--slate-400: #94a3b8;
|
|
18
|
+
--slate-500: #64748b;
|
|
19
|
+
--slate-600: #475569;
|
|
20
|
+
--slate-700: #334155;
|
|
21
|
+
--slate-800: #1e293b;
|
|
22
|
+
--slate-900: #0f172a;
|
|
23
|
+
--slate-950: #020617;
|
|
24
|
+
|
|
25
|
+
/* Badge colors */
|
|
26
|
+
--blue-100: #dbeafe;
|
|
27
|
+
--blue-600: rgba(37, 99, 235, 0.9);
|
|
28
|
+
--blue-800: #1e40af;
|
|
29
|
+
--purple-100: #f3e8ff;
|
|
30
|
+
--purple-600: rgba(147, 51, 234, 0.9);
|
|
31
|
+
--purple-800: #6b21a8;
|
|
32
|
+
--emerald-600: rgba(5, 150, 105, 0.9);
|
|
33
|
+
--green-100: #dcfce7;
|
|
34
|
+
--green-800: #166534;
|
|
35
|
+
--amber-100: #fef3c7;
|
|
36
|
+
--amber-800: #92400e;
|
|
37
|
+
--rose-100: #ffe4e9;
|
|
38
|
+
--rose-800: #9f1239;
|
|
39
|
+
--red-100: #fee2e2;
|
|
40
|
+
--red-700: #b91c1c;
|
|
41
|
+
|
|
42
|
+
/* Motion Design Tokens */
|
|
43
|
+
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
|
|
44
|
+
--timing-quick: 150ms;
|
|
45
|
+
--timing-standard: 350ms;
|
|
46
|
+
--timing-ambient: 800ms;
|
|
47
|
+
|
|
48
|
+
/* Spacing */
|
|
49
|
+
--container-max: 1280px;
|
|
50
|
+
--container-sm: 1200px;
|
|
51
|
+
--container-article: 960px;
|
|
52
|
+
|
|
53
|
+
/* Border radius */
|
|
54
|
+
--radius-sm: 0.25rem;
|
|
55
|
+
--radius-md: 0.5rem;
|
|
56
|
+
--radius-lg: 0.75rem;
|
|
57
|
+
--radius-xl: 1rem;
|
|
58
|
+
--radius-2xl: 1.5rem;
|
|
59
|
+
--radius-full: 9999px;
|
|
60
|
+
|
|
61
|
+
/* Shadows */
|
|
62
|
+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
63
|
+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
64
|
+
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
65
|
+
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
66
|
+
|
|
67
|
+
/* Text colors */
|
|
68
|
+
--text-primary: #0f172a;
|
|
69
|
+
--text-secondary: #475569;
|
|
70
|
+
--text-muted: #94a3b8;
|
|
71
|
+
|
|
72
|
+
/* Border colors */
|
|
73
|
+
--border-color: #e2e8f0;
|
|
74
|
+
|
|
75
|
+
/* Transitions */
|
|
76
|
+
--transition-fast: 150ms ease;
|
|
77
|
+
--transition-base: 300ms ease;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* CSS Reset */
|
|
81
|
+
*,
|
|
82
|
+
*::before,
|
|
83
|
+
*::after {
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
margin: 0;
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
html {
|
|
90
|
+
scroll-behavior: smooth;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
body {
|
|
94
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
95
|
+
background-color: var(--background-light);
|
|
96
|
+
color: var(--slate-900);
|
|
97
|
+
line-height: 1.6;
|
|
98
|
+
-webkit-font-smoothing: antialiased;
|
|
99
|
+
-moz-osx-font-smoothing: grayscale;
|
|
100
|
+
min-height: 100vh;
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
overflow-x: hidden;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
a {
|
|
107
|
+
color: inherit;
|
|
108
|
+
text-decoration: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
img {
|
|
112
|
+
max-width: 100%;
|
|
113
|
+
height: auto;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
button {
|
|
117
|
+
cursor: pointer;
|
|
118
|
+
border: none;
|
|
119
|
+
background: none;
|
|
120
|
+
font-family: inherit;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
input,
|
|
124
|
+
textarea,
|
|
125
|
+
select {
|
|
126
|
+
font-family: inherit;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Material Icons */
|
|
130
|
+
.material-symbols-outlined {
|
|
131
|
+
font-family: 'Material Symbols Outlined';
|
|
132
|
+
font-weight: normal;
|
|
133
|
+
font-style: normal;
|
|
134
|
+
font-size: 24px;
|
|
135
|
+
line-height: 1;
|
|
136
|
+
letter-spacing: normal;
|
|
137
|
+
text-transform: none;
|
|
138
|
+
display: inline-block;
|
|
139
|
+
white-space: nowrap;
|
|
140
|
+
word-wrap: normal;
|
|
141
|
+
direction: ltr;
|
|
142
|
+
-webkit-font-smoothing: antialiased;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* Animations */
|
|
146
|
+
@keyframes pulse-soft {
|
|
147
|
+
0%, 100% { opacity: 1; }
|
|
148
|
+
50% { opacity: 0.6; }
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@keyframes float-subtle {
|
|
152
|
+
0%, 100% { transform: translateY(0); }
|
|
153
|
+
50% { transform: translateY(-4px); }
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@keyframes ping {
|
|
157
|
+
75%, 100% {
|
|
158
|
+
transform: scale(2);
|
|
159
|
+
opacity: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.animate-pulse { animation: pulse-soft 2s ease-in-out infinite; }
|
|
164
|
+
.animate-float { animation: float-subtle 3s ease-in-out infinite; }
|
|
165
|
+
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
|
|
166
|
+
|
|
167
|
+
/* Dark Mode Styles */
|
|
168
|
+
[data-theme="dark"] {
|
|
169
|
+
--background-light: #0f172a;
|
|
170
|
+
--white: #1e293b;
|
|
171
|
+
--slate-50: #1e293b;
|
|
172
|
+
--slate-100: #334155;
|
|
173
|
+
--slate-200: #475569;
|
|
174
|
+
--slate-300: #64748b;
|
|
175
|
+
--slate-400: #94a3b8;
|
|
176
|
+
--slate-500: #cbd5e1;
|
|
177
|
+
--slate-600: #e2e8f0;
|
|
178
|
+
--slate-700: #f1f5f9;
|
|
179
|
+
--slate-800: #f8fafc;
|
|
180
|
+
--slate-900: #ffffff;
|
|
181
|
+
--slate-950: #ffffff;
|
|
182
|
+
|
|
183
|
+
/* Dark mode badge colors */
|
|
184
|
+
--blue-100: rgba(59, 130, 246, 0.2);
|
|
185
|
+
--blue-800: #93c5fd;
|
|
186
|
+
--purple-100: rgba(168, 85, 247, 0.2);
|
|
187
|
+
--purple-800: #d8b4fe;
|
|
188
|
+
--green-100: rgba(34, 197, 94, 0.2);
|
|
189
|
+
--green-800: #86efac;
|
|
190
|
+
--amber-100: rgba(245, 158, 11, 0.2);
|
|
191
|
+
--amber-800: #fcd34d;
|
|
192
|
+
--rose-100: rgba(244, 63, 94, 0.2);
|
|
193
|
+
--rose-800: #fda4af;
|
|
194
|
+
--red-100: rgba(239, 68, 68, 0.2);
|
|
195
|
+
--red-700: #fca5a5;
|
|
196
|
+
|
|
197
|
+
/* Dark mode shadows */
|
|
198
|
+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
|
|
199
|
+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
|
|
200
|
+
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
|
|
201
|
+
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
|
|
202
|
+
|
|
203
|
+
/* Dark mode text colors */
|
|
204
|
+
--text-primary: #ffffff;
|
|
205
|
+
--text-secondary: #e2e8f0;
|
|
206
|
+
--text-muted: #94a3b8;
|
|
207
|
+
|
|
208
|
+
/* Dark mode border colors */
|
|
209
|
+
--border-color: #475569;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
[data-theme="dark"] body {
|
|
213
|
+
background-color: var(--background-light);
|
|
214
|
+
color: var(--slate-900);
|
|
215
|
+
}
|
package/package.json
CHANGED
|
@@ -1,34 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosophia/lab-techy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Techy lab website template with Sanity CMS for Prosophia",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
10
11
|
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.js"
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
13
|
},
|
|
14
|
-
"./
|
|
14
|
+
"./schemas": {
|
|
15
|
+
"types": "./dist/schemas/index.d.ts",
|
|
16
|
+
"import": "./dist/schemas/index.mjs",
|
|
17
|
+
"require": "./dist/schemas/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./layouts": {
|
|
20
|
+
"types": "./dist/layouts/index.d.ts",
|
|
21
|
+
"import": "./dist/layouts/index.mjs",
|
|
22
|
+
"require": "./dist/layouts/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./styles": "./dist/styles/globals.css"
|
|
15
25
|
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
26
|
+
"files": ["dist"],
|
|
19
27
|
"scripts": {
|
|
20
28
|
"build": "tsup",
|
|
21
29
|
"dev": "tsup --watch",
|
|
22
30
|
"lint": "eslint src/"
|
|
23
31
|
},
|
|
24
32
|
"peerDependencies": {
|
|
33
|
+
"@sanity/image-url": ">=1.0.0",
|
|
34
|
+
"framer-motion": ">=10.0.0",
|
|
25
35
|
"next": ">=14.0.0",
|
|
36
|
+
"next-sanity": ">=7.0.0",
|
|
37
|
+
"next-themes": ">=0.2.0",
|
|
26
38
|
"react": ">=18.0.0",
|
|
27
|
-
"react-dom": ">=18.0.0"
|
|
39
|
+
"react-dom": ">=18.0.0",
|
|
40
|
+
"sanity": ">=3.0.0"
|
|
28
41
|
},
|
|
29
42
|
"devDependencies": {
|
|
43
|
+
"@portabletext/types": "^2.0.0",
|
|
44
|
+
"@sanity/image-url": "^1.0.0",
|
|
30
45
|
"@types/react": "^18.0.0",
|
|
31
46
|
"@types/react-dom": "^18.0.0",
|
|
47
|
+
"next-sanity": "^7.0.0",
|
|
48
|
+
"next-themes": "^0.2.0",
|
|
49
|
+
"sanity": "^3.0.0",
|
|
32
50
|
"tsup": "^8.0.0",
|
|
33
51
|
"typescript": "^5.0.0"
|
|
34
52
|
},
|