@prosophia/lab-techy 0.0.1 → 0.0.3

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.
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -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,30 +1,34 @@
1
1
  {
2
2
  "name": "@prosophia/lab-techy",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
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
- "types": "./dist/index.d.ts",
8
7
  "exports": {
9
8
  ".": {
10
9
  "import": "./dist/index.mjs",
11
- "require": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
10
+ "require": "./dist/index.js"
13
11
  },
14
- "./styles": "./dist/styles/index.css"
12
+ "./schemas": {
13
+ "import": "./dist/schemas/index.mjs",
14
+ "require": "./dist/schemas/index.js"
15
+ },
16
+ "./layouts": {
17
+ "import": "./dist/layouts/index.mjs",
18
+ "require": "./dist/layouts/index.js"
19
+ },
20
+ "./styles": "./dist/styles/globals.css"
15
21
  },
16
- "files": [
17
- "dist"
18
- ],
22
+ "files": ["dist"],
19
23
  "scripts": {
20
24
  "build": "tsup",
21
25
  "dev": "tsup --watch",
22
26
  "lint": "eslint src/"
23
27
  },
24
28
  "peerDependencies": {
25
- "next": "^14.0.0",
26
- "react": "^18.0.0",
27
- "react-dom": "^18.0.0"
29
+ "next": ">=14.0.0",
30
+ "react": ">=18.0.0",
31
+ "react-dom": ">=18.0.0"
28
32
  },
29
33
  "devDependencies": {
30
34
  "@types/react": "^18.0.0",