strapi-plugin-magic-link-v5 4.9.0 → 4.9.1

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.
@@ -272,6 +272,11 @@ const EmptyState = styled(Box)`
272
272
  opacity: 0.08;
273
273
  animation: ${float} 4s ease-in-out infinite;
274
274
  }
275
+
276
+ @media (prefers-color-scheme: dark) {
277
+ background: rgba(30, 30, 40, 0.6);
278
+ border-color: rgba(255, 255, 255, 0.2);
279
+ }
275
280
  `;
276
281
 
277
282
  const FilterBar = styled(Flex)`
@@ -175,12 +175,20 @@ const StatValue = styled(Typography)`
175
175
  font-weight: 700;
176
176
  color: ${theme.colors.neutral[900]};
177
177
  margin: ${theme.spacing.md} 0 4px;
178
+
179
+ @media (prefers-color-scheme: dark) {
180
+ color: rgba(255, 255, 255, 0.95);
181
+ }
178
182
  `;
179
183
 
180
184
  const StatLabel = styled(Typography)`
181
185
  font-size: 0.875rem;
182
186
  color: ${theme.colors.neutral[600]};
183
187
  font-weight: 500;
188
+
189
+ @media (prefers-color-scheme: dark) {
190
+ color: rgba(255, 255, 255, 0.7);
191
+ }
184
192
  `;
185
193
 
186
194
  const DataTable = styled(Box)`
@@ -277,6 +285,11 @@ const EmptyState = styled(Box)`
277
285
  opacity: 0.08;
278
286
  animation: ${float} 4s ease-in-out infinite;
279
287
  }
288
+
289
+ @media (prefers-color-scheme: dark) {
290
+ background: rgba(30, 30, 40, 0.6);
291
+ border-color: rgba(255, 255, 255, 0.2);
292
+ }
280
293
  `;
281
294
 
282
295
  const FilterBar = styled(Flex)`
@@ -298,6 +311,10 @@ const ActionBar = styled(Flex)`
298
311
  background: linear-gradient(90deg, ${theme.colors.primary[50]} 0%, ${theme.colors.primary[100]} 100%);
299
312
  border-radius: ${theme.borderRadius.lg};
300
313
  margin-bottom: ${theme.spacing.md};
314
+
315
+ @media (prefers-color-scheme: dark) {
316
+ background: linear-gradient(90deg, rgba(2, 132, 199, 0.2) 0%, rgba(2, 132, 199, 0.3) 100%);
317
+ }
301
318
  `;
302
319
 
303
320
  const LoadingOverlay = styled(Flex)`
@@ -485,6 +485,10 @@ const StatValue = styled(Typography)`
485
485
  line-height: 1;
486
486
  margin: ${theme.spacing.sm} 0 ${theme.spacing.xs};
487
487
  transition: transform ${theme.transitions.normal};
488
+
489
+ @media (prefers-color-scheme: dark) {
490
+ color: rgba(255, 255, 255, 0.95);
491
+ }
488
492
  `;
489
493
 
490
494
  const StatLabel = styled(Typography)`
@@ -492,6 +496,10 @@ const StatLabel = styled(Typography)`
492
496
  color: ${theme.colors.neutral[600]};
493
497
  font-weight: 500;
494
498
  letter-spacing: 0.025em;
499
+
500
+ @media (prefers-color-scheme: dark) {
501
+ color: rgba(255, 255, 255, 0.7);
502
+ }
495
503
  `;
496
504
 
497
505
  const DataTable = styled(Box)`
@@ -628,6 +636,19 @@ const EmptyState = styled(Box)`
628
636
  width: 100%;
629
637
  max-width: 600px;
630
638
  }
639
+
640
+ @media (prefers-color-scheme: dark) {
641
+ background: rgba(30, 30, 40, 0.6);
642
+ border-color: rgba(255, 255, 255, 0.2);
643
+
644
+ &::before {
645
+ background: linear-gradient(135deg,
646
+ rgba(2, 132, 199, 0.1) 0%,
647
+ rgba(147, 51, 234, 0.1) 100%
648
+ );
649
+ opacity: 0.5;
650
+ }
651
+ }
631
652
  `;
632
653
 
633
654
  const LoadingOverlay = styled(Flex)`
@@ -654,6 +675,11 @@ const FilterBar = styled(Flex)`
654
675
  margin-bottom: ${theme.spacing.lg};
655
676
  box-shadow: ${theme.shadows.sm};
656
677
  border: 1px solid ${theme.colors.neutral[200]};
678
+
679
+ @media (prefers-color-scheme: dark) {
680
+ background: rgba(30, 30, 40, 0.6);
681
+ border-color: rgba(255, 255, 255, 0.1);
682
+ }
657
683
  `;
658
684
 
659
685
  const ActionBar = styled(Flex)`
@@ -665,6 +691,10 @@ const ActionBar = styled(Flex)`
665
691
  border-radius: ${theme.borderRadius.lg};
666
692
  margin-bottom: ${theme.spacing.md};
667
693
  animation: ${slideIn} ${theme.transitions.normal};
694
+
695
+ @media (prefers-color-scheme: dark) {
696
+ background: linear-gradient(90deg, rgba(2, 132, 199, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
697
+ }
668
698
  `;
669
699
 
670
700
  // ================ HELPER FUNKTIONEN ================
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.9.0",
2
+ "version": "4.9.1",
3
3
  "keywords": [],
4
4
  "type": "commonjs",
5
5
  "exports": {