mljr-css 0.1.0 → 1.1.0

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.
Files changed (54) hide show
  1. package/dist/mljr.css +5573 -2766
  2. package/dist/mljr.min.css +2 -3
  3. package/package.json +16 -10
  4. package/src/components/alert-dialog.css +129 -0
  5. package/src/components/alert.css +41 -22
  6. package/src/components/animated-headline.css +118 -0
  7. package/src/components/audio-visualizer.css +96 -0
  8. package/src/components/autocomplete.css +143 -0
  9. package/src/components/avatar.css +66 -0
  10. package/src/components/badge.css +82 -41
  11. package/src/components/breadcrumb.css +3 -0
  12. package/src/components/button.css +80 -58
  13. package/src/components/calendar.css +169 -0
  14. package/src/components/card.css +139 -92
  15. package/src/components/chart.css +194 -0
  16. package/src/components/checkbox.css +1 -1
  17. package/src/components/chip.css +33 -18
  18. package/src/components/context-menu.css +118 -0
  19. package/src/components/cookie-banner.css +285 -0
  20. package/src/components/diff-viewer.css +199 -0
  21. package/src/components/dock.css +211 -0
  22. package/src/components/drop-zone.css +257 -0
  23. package/src/components/footer.css +51 -5
  24. package/src/components/gauge.css +63 -0
  25. package/src/components/image-compare.css +141 -0
  26. package/src/components/infinite-scroll.css +36 -0
  27. package/src/components/inview.css +118 -0
  28. package/src/components/lazy-image.css +60 -0
  29. package/src/components/legal-page.css +346 -0
  30. package/src/components/map-embed.css +92 -0
  31. package/src/components/marquee.css +112 -0
  32. package/src/components/navbar.css +357 -0
  33. package/src/components/navigation-rail.css +220 -0
  34. package/src/components/notification-center.css +306 -0
  35. package/src/components/number-input.css +134 -0
  36. package/src/components/number-ticker.css +65 -0
  37. package/src/components/pagination.css +59 -0
  38. package/src/components/pdf-viewer.css +163 -0
  39. package/src/components/pin-input.css +153 -0
  40. package/src/components/resizable.css +82 -0
  41. package/src/components/rich-text-editor.css +216 -0
  42. package/src/components/table-of-content.css +107 -0
  43. package/src/components/table.css +116 -0
  44. package/src/components/tabs.css +93 -3
  45. package/src/components/toast.css +30 -0
  46. package/src/components/tooltip.css +8 -0
  47. package/src/components/tree-view.css +270 -0
  48. package/src/components/turnstile.css +113 -0
  49. package/src/components/video-player.css +266 -0
  50. package/src/index.css +35 -1
  51. package/src/layout/footer.css +2 -2
  52. package/src/layout/navbar.css +187 -113
  53. package/src/layout/sidebar.css +27 -0
  54. package/src/themes/variables.css +146 -97
@@ -58,28 +58,75 @@
58
58
  --mljr-gray-950: #0c0a09;
59
59
 
60
60
  /* Semantic Colors - High contrast, colorblind-friendly */
61
- /* Success: Teal-leaning green (distinct from red for colorblind) */
61
+ /* Success: Teal-leaning green (distinct from red for colorblind) - Full shade scale */
62
+ --mljr-success-50: #f0fdf4;
63
+ --mljr-success-100: #dcfce7;
64
+ --mljr-success-200: #bbf7d0;
65
+ --mljr-success-300: #86efac;
66
+ --mljr-success-400: #4ade80;
67
+ --mljr-success-500: #22c55e;
68
+ --mljr-success-600: #16a34a;
69
+ --mljr-success-700: #15803d;
70
+ --mljr-success-800: #166534;
71
+ --mljr-success-900: #14532d;
72
+ --mljr-success-950: #052e16;
62
73
  --mljr-success: #10b981;
63
74
  --mljr-success-light: #34d399;
64
75
  --mljr-success-dark: #059669;
65
- /* Warning: Rich amber/gold */
76
+
77
+ /* Warning: Rich amber/gold - Full shade scale */
78
+ --mljr-warning-50: #fffbeb;
79
+ --mljr-warning-100: #fef3c7;
80
+ --mljr-warning-200: #fde68a;
81
+ --mljr-warning-300: #fcd34d;
82
+ --mljr-warning-400: #fbbf24;
83
+ --mljr-warning-500: #f59e0b;
84
+ --mljr-warning-600: #d97706;
85
+ --mljr-warning-700: #b45309;
86
+ --mljr-warning-800: #92400e;
87
+ --mljr-warning-900: #78350f;
88
+ --mljr-warning-950: #451a03;
66
89
  --mljr-warning: #f59e0b;
67
90
  --mljr-warning-light: #fbbf24;
68
91
  --mljr-warning-dark: #d97706;
69
- /* Error: Deep crimson (very distinct from orange) */
92
+
93
+ /* Error: Deep crimson (very distinct from orange) - Full shade scale */
94
+ --mljr-error-50: #fef2f2;
95
+ --mljr-error-100: #fee2e2;
96
+ --mljr-error-200: #fecaca;
97
+ --mljr-error-300: #fca5a5;
98
+ --mljr-error-400: #f87171;
99
+ --mljr-error-500: #ef4444;
100
+ --mljr-error-600: #dc2626;
101
+ --mljr-error-700: #b91c1c;
102
+ --mljr-error-800: #991b1b;
103
+ --mljr-error-900: #7f1d1d;
104
+ --mljr-error-950: #450a0a;
70
105
  --mljr-error: #ef4444;
71
106
  --mljr-error-light: #f87171;
72
107
  --mljr-error-dark: #dc2626;
73
- /* Info: Soft blue */
108
+
109
+ /* Info: Soft blue - Full shade scale */
110
+ --mljr-info-50: #eff6ff;
111
+ --mljr-info-100: #dbeafe;
112
+ --mljr-info-200: #bfdbfe;
113
+ --mljr-info-300: #93c5fd;
114
+ --mljr-info-400: #60a5fa;
115
+ --mljr-info-500: #3b82f6;
116
+ --mljr-info-600: #2563eb;
117
+ --mljr-info-700: #1d4ed8;
118
+ --mljr-info-800: #1e40af;
119
+ --mljr-info-900: #1e3a8a;
120
+ --mljr-info-950: #172554;
74
121
  --mljr-info: #3b82f6;
75
122
  --mljr-info-light: #60a5fa;
76
123
  --mljr-info-dark: #2563eb;
77
124
 
78
- /* Light Mode Theme Colors - Slightly darker for better contrast */
79
- --mljr-bg: #f5f0eb;
80
- --mljr-bg-secondary: #efe8e1;
81
- --mljr-bg-tertiary: #e8dfd6;
82
- --mljr-bg-gradient: linear-gradient(135deg, #f5f0eb 0%, #efe8e1 50%, #f0ebe5 100%);
125
+ /* Light Mode Theme Colors - Brightened for clay aesthetic */
126
+ --mljr-bg: #faf7f4;
127
+ --mljr-bg-secondary: #f3ede7;
128
+ --mljr-bg-tertiary: #ebe4dc;
129
+ --mljr-bg-gradient: linear-gradient(135deg, #faf7f4 0%, #f3ede7 50%, #f5f0eb 100%);
83
130
  --mljr-text: #44403c;
84
131
  --mljr-text-secondary: #78716c;
85
132
  --mljr-text-muted: #a8a29e;
@@ -89,84 +136,85 @@
89
136
 
90
137
  /* ============================================
91
138
  Claymorphism Shadow System
92
- Smooth gradual shadows with subtle warm tint
93
- Size-aware: xs for tiny, sm for small, default for medium, lg/xl for large
139
+ Triple-shadow pattern: outset + inset-dark + inset-light
140
+ Creates an "inflated rubber" 3D puffy effect
94
141
  ============================================ */
95
142
 
96
143
  /* Extra small - for badges, status dots, tiny elements */
97
144
  --mljr-clay-shadow-xs:
98
- 3px 3px 6px rgba(100, 60, 30, 0.12),
99
- -2px -2px 4px rgba(255, 255, 255, 0.8);
145
+ 3px 3px 6px rgba(100, 60, 30, 0.18),
146
+ inset -3px -3px 6px rgba(100, 60, 30, 0.1),
147
+ inset 3px 3px 6px rgba(255, 255, 255, 0.5);
100
148
 
101
- /* Small - for buttons, inputs, small cards */
149
+ /* Small - for chips, small cards */
102
150
  --mljr-clay-shadow-sm:
103
- 5px 5px 12px rgba(100, 60, 30, 0.15),
104
- -3px -3px 8px rgba(255, 255, 255, 0.9),
105
- inset 0px 1px 2px rgba(255, 255, 255, 0.5);
151
+ 5px 5px 10px rgba(100, 60, 30, 0.2),
152
+ inset -5px -5px 10px rgba(100, 60, 30, 0.12),
153
+ inset 5px 5px 10px rgba(255, 255, 255, 0.55);
106
154
 
107
- /* Default - for cards, panels */
155
+ /* Default - for buttons, inputs, cards */
108
156
  --mljr-clay-shadow:
109
- 8px 8px 20px rgba(100, 60, 30, 0.18),
110
- -6px -6px 16px rgba(255, 255, 255, 0.95),
111
- inset 0px 2px 4px rgba(255, 255, 255, 0.6);
157
+ 8px 8px 16px rgba(100, 60, 30, 0.22),
158
+ inset -8px -8px 16px rgba(100, 60, 30, 0.14),
159
+ inset 8px 8px 16px rgba(255, 255, 255, 0.6);
112
160
 
113
161
  /* Large - for modals, elevated cards */
114
162
  --mljr-clay-shadow-lg:
115
- 14px 14px 35px rgba(100, 60, 30, 0.2),
116
- -10px -10px 25px rgba(255, 255, 255, 0.95),
117
- inset 0px 3px 6px rgba(255, 255, 255, 0.6);
163
+ 12px 12px 24px rgba(100, 60, 30, 0.24),
164
+ inset -12px -12px 24px rgba(100, 60, 30, 0.14),
165
+ inset 12px 12px 24px rgba(255, 255, 255, 0.6);
118
166
 
119
167
  /* Extra large - for hero sections, major overlays */
120
168
  --mljr-clay-shadow-xl:
121
- 20px 20px 50px rgba(100, 60, 30, 0.22),
122
- -14px -14px 35px rgba(255, 255, 255, 0.98),
123
- inset 0px 4px 10px rgba(255, 255, 255, 0.7);
169
+ 16px 16px 32px rgba(100, 60, 30, 0.26),
170
+ inset -16px -16px 32px rgba(100, 60, 30, 0.14),
171
+ inset 16px 16px 32px rgba(255, 255, 255, 0.65);
124
172
 
125
173
  /* Inset shadows (concave/pressed effect) */
126
174
  --mljr-clay-inset-xs:
127
- inset 2px 2px 4px rgba(100, 60, 30, 0.12),
128
- inset -1px -1px 3px rgba(255, 255, 255, 0.7);
175
+ inset 2px 2px 4px rgba(100, 60, 30, 0.18),
176
+ inset -2px -2px 4px rgba(255, 255, 255, 0.5);
129
177
 
130
178
  --mljr-clay-inset-sm:
131
- inset 3px 3px 7px rgba(100, 60, 30, 0.14),
132
- inset -2px -2px 5px rgba(255, 255, 255, 0.8);
179
+ inset 3px 3px 7px rgba(100, 60, 30, 0.2),
180
+ inset -3px -3px 7px rgba(255, 255, 255, 0.55);
133
181
 
134
182
  --mljr-clay-inset:
135
- inset 5px 5px 12px rgba(100, 60, 30, 0.16),
136
- inset -4px -4px 10px rgba(255, 255, 255, 0.85);
183
+ inset 5px 5px 12px rgba(100, 60, 30, 0.22),
184
+ inset -5px -5px 12px rgba(255, 255, 255, 0.6);
137
185
 
138
186
  --mljr-clay-inset-lg:
139
- inset 8px 8px 18px rgba(100, 60, 30, 0.18),
140
- inset -6px -6px 14px rgba(255, 255, 255, 0.9);
187
+ inset 8px 8px 18px rgba(100, 60, 30, 0.22),
188
+ inset -8px -8px 18px rgba(255, 255, 255, 0.6);
141
189
 
142
- /* Button shadow (convex with subtle inner highlight) */
190
+ /* Button shadow (convex with triple-shadow) */
143
191
  --mljr-clay-btn:
144
- 6px 6px 14px rgba(100, 60, 30, 0.16),
145
- -4px -4px 10px rgba(255, 255, 255, 0.9),
146
- inset 0px 2px 4px rgba(255, 255, 255, 0.6);
192
+ 6px 6px 14px rgba(100, 60, 30, 0.2),
193
+ inset -6px -6px 14px rgba(100, 60, 30, 0.12),
194
+ inset 6px 6px 14px rgba(255, 255, 255, 0.55);
147
195
 
148
196
  /* Button pressed state */
149
197
  --mljr-clay-btn-pressed:
150
- inset 3px 3px 8px rgba(120, 80, 50, 0.15),
151
- inset -2px -2px 6px rgba(255, 255, 255, 0.5);
198
+ inset 3px 3px 8px rgba(100, 60, 30, 0.22),
199
+ inset -3px -3px 8px rgba(255, 255, 255, 0.5);
152
200
 
153
- /* Primary colored clay shadow (for primary buttons/elements) - smooth gradient */
201
+ /* Primary colored clay shadow (for primary buttons/elements) */
154
202
  --mljr-clay-primary:
155
- 5px 5px 14px rgba(234, 88, 12, 0.2),
156
- -3px -3px 10px rgba(255, 255, 255, 0.85),
157
- inset 0px 2px 5px rgba(255, 255, 255, 0.4);
203
+ 5px 5px 14px rgba(234, 88, 12, 0.25),
204
+ inset -5px -5px 14px rgba(100, 60, 30, 0.1),
205
+ inset 5px 5px 14px rgba(255, 255, 255, 0.45);
158
206
 
159
207
  /* Secondary colored clay shadow (purple) */
160
208
  --mljr-clay-secondary:
161
- 5px 5px 14px rgba(147, 51, 234, 0.18),
162
- -3px -3px 10px rgba(255, 255, 255, 0.85),
163
- inset 0px 2px 5px rgba(255, 255, 255, 0.4);
209
+ 5px 5px 14px rgba(147, 51, 234, 0.22),
210
+ inset -5px -5px 14px rgba(100, 60, 30, 0.1),
211
+ inset 5px 5px 14px rgba(255, 255, 255, 0.45);
164
212
 
165
213
  /* Accent colored clay shadow (teal) */
166
214
  --mljr-clay-accent:
167
- 5px 5px 14px rgba(13, 148, 136, 0.18),
168
- -3px -3px 10px rgba(255, 255, 255, 0.85),
169
- inset 0px 2px 5px rgba(255, 255, 255, 0.4);
215
+ 5px 5px 14px rgba(13, 148, 136, 0.22),
216
+ inset -5px -5px 14px rgba(100, 60, 30, 0.1),
217
+ inset 5px 5px 14px rgba(255, 255, 255, 0.45);
170
218
 
171
219
  /* Traditional shadows (kept for compatibility) */
172
220
  --mljr-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
@@ -176,14 +224,14 @@
176
224
  --mljr-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
177
225
 
178
226
  /* ============================================
179
- Border Radius System (Soft, rounded)
227
+ Border Radius System (Soft, rounded - clay-sized)
180
228
  ============================================ */
181
- --mljr-radius-sm: 12px;
182
- --mljr-radius: 16px;
183
- --mljr-radius-md: 20px;
184
- --mljr-radius-lg: 28px;
185
- --mljr-radius-xl: 36px;
186
- --mljr-radius-2xl: 48px;
229
+ --mljr-radius-sm: 14px;
230
+ --mljr-radius: 20px;
231
+ --mljr-radius-md: 24px;
232
+ --mljr-radius-lg: 32px;
233
+ --mljr-radius-xl: 40px;
234
+ --mljr-radius-2xl: 52px;
187
235
  --mljr-radius-full: 9999px;
188
236
 
189
237
  /* Gradient definitions - more visible color transitions */
@@ -206,8 +254,8 @@
206
254
  --mljr-space-16: 4rem;
207
255
 
208
256
  /* Typography - Friendly, rounded fonts */
209
- --mljr-font-display: 'Inter', system-ui, sans-serif;
210
- --mljr-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
257
+ --mljr-font-display: 'Nunito', system-ui, sans-serif;
258
+ --mljr-font-sans: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
211
259
  --mljr-font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
212
260
 
213
261
  --mljr-text-xs: 0.75rem;
@@ -248,7 +296,7 @@
248
296
  --mljr-z-tooltip: 1070;
249
297
  }
250
298
 
251
- /* Dark Mode (Warm dark tones - slightly lighter for better contrast) */
299
+ /* Dark Mode (Warm dark tones) */
252
300
  .dark,
253
301
  [data-theme="dark"] {
254
302
  --mljr-bg: #2a2522;
@@ -261,73 +309,74 @@
261
309
  --mljr-border: #4a4542;
262
310
  --mljr-border-strong: #5c5652;
263
311
 
264
- /* Clay shadows adapted for dark mode - more visible floating effect */
312
+ /* Clay shadows for dark mode - triple pattern with warm glow */
265
313
  --mljr-clay-shadow-xs:
266
- 3px 3px 6px rgba(0, 0, 0, 0.5),
267
- -2px -2px 4px rgba(80, 75, 70, 0.2);
314
+ 3px 3px 6px rgba(0, 0, 0, 0.45),
315
+ inset -3px -3px 6px rgba(0, 0, 0, 0.2),
316
+ inset 3px 3px 6px rgba(255, 200, 150, 0.08);
268
317
 
269
318
  --mljr-clay-shadow-sm:
270
- 5px 5px 12px rgba(0, 0, 0, 0.55),
271
- -3px -3px 8px rgba(80, 75, 70, 0.18),
272
- inset 0px 1px 2px rgba(255, 200, 150, 0.08);
319
+ 5px 5px 10px rgba(0, 0, 0, 0.5),
320
+ inset -5px -5px 10px rgba(0, 0, 0, 0.22),
321
+ inset 5px 5px 10px rgba(255, 200, 150, 0.1);
273
322
 
274
323
  --mljr-clay-shadow:
275
- 8px 8px 22px rgba(0, 0, 0, 0.6),
276
- -6px -6px 16px rgba(80, 75, 70, 0.2),
277
- inset 0px 2px 4px rgba(255, 200, 150, 0.1);
324
+ 8px 8px 16px rgba(0, 0, 0, 0.55),
325
+ inset -8px -8px 16px rgba(0, 0, 0, 0.25),
326
+ inset 8px 8px 16px rgba(255, 200, 150, 0.12);
278
327
 
279
328
  --mljr-clay-shadow-lg:
280
- 14px 14px 38px rgba(0, 0, 0, 0.65),
281
- -10px -10px 26px rgba(80, 75, 70, 0.22),
282
- inset 0px 3px 6px rgba(255, 200, 150, 0.12);
329
+ 12px 12px 24px rgba(0, 0, 0, 0.6),
330
+ inset -12px -12px 24px rgba(0, 0, 0, 0.25),
331
+ inset 12px 12px 24px rgba(255, 200, 150, 0.14);
283
332
 
284
333
  --mljr-clay-shadow-xl:
285
- 20px 20px 55px rgba(0, 0, 0, 0.7),
286
- -14px -14px 40px rgba(80, 75, 70, 0.25),
287
- inset 0px 4px 10px rgba(255, 200, 150, 0.15);
334
+ 16px 16px 32px rgba(0, 0, 0, 0.65),
335
+ inset -16px -16px 32px rgba(0, 0, 0, 0.25),
336
+ inset 16px 16px 32px rgba(255, 200, 150, 0.16);
288
337
 
289
338
  --mljr-clay-inset-xs:
290
339
  inset 2px 2px 4px rgba(0, 0, 0, 0.5),
291
- inset -1px -1px 3px rgba(80, 75, 70, 0.15);
340
+ inset -2px -2px 4px rgba(80, 75, 70, 0.15);
292
341
 
293
342
  --mljr-clay-inset-sm:
294
343
  inset 3px 3px 7px rgba(0, 0, 0, 0.55),
295
- inset -2px -2px 5px rgba(80, 75, 70, 0.18);
344
+ inset -3px -3px 7px rgba(80, 75, 70, 0.18);
296
345
 
297
346
  --mljr-clay-inset:
298
- inset 5px 5px 14px rgba(0, 0, 0, 0.6),
299
- inset -4px -4px 10px rgba(80, 75, 70, 0.2);
347
+ inset 5px 5px 12px rgba(0, 0, 0, 0.6),
348
+ inset -5px -5px 12px rgba(80, 75, 70, 0.2);
300
349
 
301
350
  --mljr-clay-inset-lg:
302
- inset 6px 6px 14px rgba(0, 0, 0, 0.55),
303
- inset -6px -6px 12px rgba(70, 65, 60, 0.18);
351
+ inset 8px 8px 18px rgba(0, 0, 0, 0.6),
352
+ inset -8px -8px 18px rgba(80, 75, 70, 0.2);
304
353
 
305
354
  --mljr-clay-btn:
306
- 4px 4px 10px rgba(0, 0, 0, 0.45),
307
- -3px -3px 8px rgba(70, 65, 60, 0.15),
308
- inset 0px 2px 4px rgba(255, 200, 150, 0.06);
355
+ 6px 6px 14px rgba(0, 0, 0, 0.5),
356
+ inset -6px -6px 14px rgba(0, 0, 0, 0.2),
357
+ inset 6px 6px 14px rgba(255, 200, 150, 0.08);
309
358
 
310
359
  --mljr-clay-btn-pressed:
311
- inset 3px 3px 8px rgba(0, 0, 0, 0.5),
312
- inset -2px -2px 6px rgba(70, 65, 60, 0.1);
360
+ inset 3px 3px 8px rgba(0, 0, 0, 0.55),
361
+ inset -3px -3px 8px rgba(80, 75, 70, 0.12);
313
362
 
314
- /* Primary colored clay shadow for dark mode - warm glow */
363
+ /* Primary colored clay shadow for dark mode */
315
364
  --mljr-clay-primary:
316
- 5px 5px 14px rgba(234, 88, 12, 0.25),
317
- -3px -3px 10px rgba(70, 65, 60, 0.15),
318
- inset 0px 2px 5px rgba(255, 200, 150, 0.08);
365
+ 5px 5px 14px rgba(234, 88, 12, 0.3),
366
+ inset -5px -5px 14px rgba(0, 0, 0, 0.2),
367
+ inset 5px 5px 14px rgba(255, 200, 150, 0.08);
319
368
 
320
369
  /* Secondary colored clay shadow for dark mode (purple) */
321
370
  --mljr-clay-secondary:
322
- 5px 5px 14px rgba(147, 51, 234, 0.22),
323
- -3px -3px 10px rgba(70, 65, 60, 0.15),
324
- inset 0px 2px 5px rgba(255, 200, 150, 0.06);
371
+ 5px 5px 14px rgba(147, 51, 234, 0.25),
372
+ inset -5px -5px 14px rgba(0, 0, 0, 0.2),
373
+ inset 5px 5px 14px rgba(255, 200, 150, 0.06);
325
374
 
326
375
  /* Accent colored clay shadow for dark mode (teal) */
327
376
  --mljr-clay-accent:
328
- 5px 5px 14px rgba(13, 148, 136, 0.22),
329
- -3px -3px 10px rgba(70, 65, 60, 0.15),
330
- inset 0px 2px 5px rgba(255, 200, 150, 0.06);
377
+ 5px 5px 14px rgba(13, 148, 136, 0.25),
378
+ inset -5px -5px 14px rgba(0, 0, 0, 0.2),
379
+ inset 5px 5px 14px rgba(255, 200, 150, 0.06);
331
380
 
332
381
  /* Frosted Glass for dark mode */
333
382
  --mljr-frosted-bg: rgba(51, 46, 43, 0.75);