strapi-plugin-magic-mail 2.0.3 → 2.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.
@@ -36,6 +36,55 @@ const useAuthRefresh = () => {
36
36
  }
37
37
  };
38
38
  };
39
+ const theme$3 = {
40
+ colors: {
41
+ primary: {
42
+ 50: "#F0F9FF",
43
+ 100: "#E0F2FE",
44
+ 500: "#0EA5E9",
45
+ 600: "#0284C7"
46
+ },
47
+ secondary: {
48
+ 50: "#FAF5FF",
49
+ 100: "#F3E8FF",
50
+ 600: "#9333EA"
51
+ },
52
+ success: {
53
+ 100: "#DCFCE7",
54
+ 500: "#22C55E",
55
+ 600: "#16A34A"
56
+ },
57
+ warning: {
58
+ 100: "#FEF3C7",
59
+ 600: "#D97706"
60
+ },
61
+ danger: {
62
+ 600: "#DC2626"
63
+ }
64
+ },
65
+ shadows: {
66
+ sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
67
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
68
+ },
69
+ transitions: {
70
+ fast: "150ms cubic-bezier(0.4, 0, 0.2, 1)",
71
+ normal: "300ms cubic-bezier(0.4, 0, 0.2, 1)",
72
+ slow: "500ms cubic-bezier(0.4, 0, 0.2, 1)"
73
+ },
74
+ spacing: {
75
+ xs: "4px",
76
+ sm: "8px",
77
+ md: "16px",
78
+ lg: "24px",
79
+ xl: "32px",
80
+ "2xl": "48px"
81
+ },
82
+ borderRadius: {
83
+ md: "8px",
84
+ lg: "12px",
85
+ xl: "16px"
86
+ }
87
+ };
39
88
  const fadeIn$5 = keyframes`
40
89
  from {
41
90
  opacity: 0;
@@ -1786,62 +1835,6 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
1786
1835
  ] }) })
1787
1836
  ] }) });
1788
1837
  };
1789
- const theme$3 = {
1790
- colors: {
1791
- primary: {
1792
- 50: "#F0F9FF",
1793
- 100: "#E0F2FE",
1794
- 500: "#0EA5E9",
1795
- 600: "#0284C7"
1796
- },
1797
- secondary: {
1798
- 600: "#9333EA"
1799
- },
1800
- success: {
1801
- 100: "#DCFCE7",
1802
- 500: "#22C55E",
1803
- 600: "#16A34A"
1804
- },
1805
- warning: {
1806
- 100: "#FEF3C7",
1807
- 600: "#D97706"
1808
- },
1809
- danger: {
1810
- 600: "#DC2626"
1811
- },
1812
- neutral: {
1813
- 0: "#FFFFFF",
1814
- 50: "#F9FAFB",
1815
- 100: "#F3F4F6",
1816
- 200: "#E5E7EB",
1817
- 600: "#4B5563",
1818
- 700: "#374151",
1819
- 800: "#1F2937"
1820
- }
1821
- },
1822
- shadows: {
1823
- sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
1824
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
1825
- },
1826
- transitions: {
1827
- fast: "150ms cubic-bezier(0.4, 0, 0.2, 1)",
1828
- normal: "300ms cubic-bezier(0.4, 0, 0.2, 1)",
1829
- slow: "500ms cubic-bezier(0.4, 0, 0.2, 1)"
1830
- },
1831
- spacing: {
1832
- xs: "4px",
1833
- sm: "8px",
1834
- md: "16px",
1835
- lg: "24px",
1836
- xl: "32px",
1837
- "2xl": "48px"
1838
- },
1839
- borderRadius: {
1840
- md: "8px",
1841
- lg: "12px",
1842
- xl: "16px"
1843
- }
1844
- };
1845
1838
  const fadeIn$4 = keyframes`
1846
1839
  from { opacity: 0; transform: translateY(10px); }
1847
1840
  to { opacity: 1; transform: translateY(0); }
@@ -1930,7 +1923,7 @@ const HeaderContent$3 = styled(Flex)`
1930
1923
  z-index: 1;
1931
1924
  `;
1932
1925
  const Title$3 = styled(Typography)`
1933
- color: ${theme$3.colors.neutral[0]};
1926
+ color: white;
1934
1927
  font-size: 2rem;
1935
1928
  font-weight: 700;
1936
1929
  letter-spacing: -0.025em;
@@ -1982,7 +1975,7 @@ const StatsGrid$3 = styled.div`
1982
1975
  }
1983
1976
  `;
1984
1977
  const StatCard$3 = styled(Box)`
1985
- background: ${theme$3.colors.neutral[0]};
1978
+ background: ${(props) => props.theme.colors.neutral0};
1986
1979
  border-radius: ${theme$3.borderRadius.lg};
1987
1980
  padding: 28px ${theme$3.spacing.lg};
1988
1981
  position: relative;
@@ -1991,7 +1984,7 @@ const StatCard$3 = styled(Box)`
1991
1984
  ${css`animation: ${fadeIn$4} ${theme$3.transitions.slow} backwards;`}
1992
1985
  animation-delay: ${(props) => props.$delay || "0s"};
1993
1986
  box-shadow: ${theme$3.shadows.sm};
1994
- border: 1px solid ${theme$3.colors.neutral[200]};
1987
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
1995
1988
  min-width: 200px;
1996
1989
  flex: 1;
1997
1990
  text-align: center;
@@ -2056,7 +2049,7 @@ const StatIcon$3 = styled(Box)`
2056
2049
  const StatValue$3 = styled(Typography)`
2057
2050
  font-size: 2.75rem;
2058
2051
  font-weight: 700;
2059
- color: ${theme$3.colors.neutral[800]};
2052
+ color: ${(props) => props.theme.colors.neutral800};
2060
2053
  line-height: 1;
2061
2054
  margin-bottom: 10px;
2062
2055
  transition: all ${theme$3.transitions.normal};
@@ -2069,7 +2062,7 @@ const StatValue$3 = styled(Typography)`
2069
2062
  `;
2070
2063
  const StatLabel$3 = styled(Typography)`
2071
2064
  font-size: 0.95rem;
2072
- color: ${theme$3.colors.neutral[600]};
2065
+ color: ${(props) => props.theme.colors.neutral600};
2073
2066
  font-weight: 500;
2074
2067
  letter-spacing: 0.025em;
2075
2068
  text-align: center;
@@ -2082,9 +2075,9 @@ const AccountsContainer = styled(Box)`
2082
2075
  margin-top: ${theme$3.spacing.xl};
2083
2076
  `;
2084
2077
  const EmptyState$3 = styled(Box)`
2085
- background: ${theme$3.colors.neutral[0]};
2078
+ background: ${(props) => props.theme.colors.neutral0};
2086
2079
  border-radius: ${theme$3.borderRadius.xl};
2087
- border: 2px dashed ${theme$3.colors.neutral[200]};
2080
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
2088
2081
  padding: 80px 32px;
2089
2082
  text-align: center;
2090
2083
  position: relative;
@@ -2111,19 +2104,19 @@ const OnlineBadge$1 = styled.div`
2111
2104
  width: 12px;
2112
2105
  height: 12px;
2113
2106
  border-radius: 50%;
2114
- background: ${(props) => props.$active ? theme$3.colors.success[500] : theme$3.colors.neutral[400]};
2107
+ background: ${(props) => props.$active ? theme$3.colors.success[500] : props.theme.colors.neutral400};
2115
2108
  display: inline-block;
2116
2109
  margin-right: 8px;
2117
2110
  ${css`animation: ${(props) => props.$active ? pulse$1 : "none"} 2s ease-in-out infinite;`}
2118
2111
  `;
2119
2112
  const StyledTable$3 = styled(Table)`
2120
2113
  thead {
2121
- background: ${theme$3.colors.neutral[50]};
2122
- border-bottom: 2px solid ${theme$3.colors.neutral[200]};
2114
+ background: ${(props) => props.theme.colors.neutral100};
2115
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
2123
2116
 
2124
2117
  th {
2125
2118
  font-weight: 600;
2126
- color: ${theme$3.colors.neutral[700]};
2119
+ color: ${(props) => props.theme.colors.neutral800};
2127
2120
  font-size: 0.875rem;
2128
2121
  text-transform: uppercase;
2129
2122
  letter-spacing: 0.025em;
@@ -2133,30 +2126,30 @@ const StyledTable$3 = styled(Table)`
2133
2126
 
2134
2127
  tbody tr {
2135
2128
  transition: all ${theme$3.transitions.fast};
2136
- border-bottom: 1px solid ${theme$3.colors.neutral[100]};
2129
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
2137
2130
 
2138
2131
  &:last-child {
2139
2132
  border-bottom: none;
2140
2133
  }
2141
2134
 
2142
2135
  &:hover {
2143
- background: ${theme$3.colors.neutral[50]};
2136
+ background: ${(props) => props.theme.colors.primary100};
2144
2137
  }
2145
2138
 
2146
2139
  td {
2147
2140
  padding: ${theme$3.spacing.lg} ${theme$3.spacing.lg};
2148
- color: ${theme$3.colors.neutral[700]};
2141
+ color: ${(props) => props.theme.colors.neutral800};
2149
2142
  vertical-align: middle;
2150
2143
  }
2151
2144
  }
2152
2145
  `;
2153
2146
  const FilterBar$3 = styled(Flex)`
2154
- background: ${theme$3.colors.neutral[0]};
2147
+ background: ${(props) => props.theme.colors.neutral0};
2155
2148
  padding: ${theme$3.spacing.md} ${theme$3.spacing.lg};
2156
2149
  border-radius: ${theme$3.borderRadius.lg};
2157
2150
  margin-bottom: ${theme$3.spacing.lg};
2158
2151
  box-shadow: ${theme$3.shadows.sm};
2159
- border: 1px solid ${theme$3.colors.neutral[200]};
2152
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
2160
2153
  gap: ${theme$3.spacing.md};
2161
2154
  align-items: center;
2162
2155
  `;
@@ -2171,16 +2164,18 @@ const SearchIcon$2 = styled(MagnifyingGlassIcon)`
2171
2164
  left: 12px;
2172
2165
  width: 16px;
2173
2166
  height: 16px;
2174
- color: ${theme$3.colors.neutral[600]};
2167
+ color: ${(props) => props.theme.colors.neutral600};
2175
2168
  pointer-events: none;
2176
2169
  `;
2177
2170
  const StyledSearchInput$2 = styled.input`
2178
2171
  width: 100%;
2179
2172
  padding: 10px 12px 10px 40px;
2180
- border: 1px solid ${theme$3.colors.neutral[200]};
2173
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
2181
2174
  border-radius: ${theme$3.borderRadius.md};
2182
2175
  font-size: 0.875rem;
2183
2176
  transition: all ${theme$3.transitions.fast};
2177
+ background: ${(props) => props.theme.colors.neutral0};
2178
+ color: ${(props) => props.theme.colors.neutral800};
2184
2179
 
2185
2180
  &:focus {
2186
2181
  outline: none;
@@ -2189,7 +2184,7 @@ const StyledSearchInput$2 = styled.input`
2189
2184
  }
2190
2185
 
2191
2186
  &::placeholder {
2192
- color: ${theme$3.colors.neutral[600]};
2187
+ color: ${(props) => props.theme.colors.neutral500};
2193
2188
  }
2194
2189
  `;
2195
2190
  const HomePage = () => {
@@ -2326,10 +2321,10 @@ const HomePage = () => {
2326
2321
  Typography,
2327
2322
  {
2328
2323
  variant: "alpha",
2324
+ textColor: "neutral800",
2329
2325
  style: {
2330
2326
  fontSize: "1.75rem",
2331
2327
  fontWeight: "700",
2332
- color: theme$3.colors.neutral[800],
2333
2328
  marginBottom: "8px"
2334
2329
  },
2335
2330
  children: "No Email Accounts Yet"
@@ -2360,7 +2355,7 @@ const HomePage = () => {
2360
2355
  ] })
2361
2356
  ] }) : /* @__PURE__ */ jsxs(AccountsContainer, { children: [
2362
2357
  /* @__PURE__ */ jsx(Box, { style: { marginBottom: theme$3.spacing.md }, children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", marginBottom: 4, children: [
2363
- /* @__PURE__ */ jsx(Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$3.colors.neutral[700] }, children: "📧 Email Accounts" }),
2358
+ /* @__PURE__ */ jsx(Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "📧 Email Accounts" }),
2364
2359
  /* @__PURE__ */ jsx(Button, { startIcon: /* @__PURE__ */ jsx(PlusIcon, { style: { width: 16, height: 16 } }), onClick: () => setShowAddModal(true), children: "Add Account" })
2365
2360
  ] }) }),
2366
2361
  /* @__PURE__ */ jsxs(FilterBar$3, { children: [
@@ -2451,10 +2446,10 @@ const HomePage = () => {
2451
2446
  account.dailyLimit > 0 && /* @__PURE__ */ jsx(Box, { style: { width: "100%", minWidth: "80px" }, children: /* @__PURE__ */ jsx(
2452
2447
  Box,
2453
2448
  {
2449
+ background: "neutral100",
2454
2450
  style: {
2455
2451
  width: "100%",
2456
2452
  height: "6px",
2457
- background: theme$3.colors.neutral[100],
2458
2453
  borderRadius: "999px",
2459
2454
  overflow: "hidden"
2460
2455
  },
@@ -2803,15 +2798,6 @@ const theme$2 = {
2803
2798
  danger: {
2804
2799
  100: "#FEE2E2",
2805
2800
  600: "#DC2626"
2806
- },
2807
- neutral: {
2808
- 0: "#FFFFFF",
2809
- 50: "#F9FAFB",
2810
- 100: "#F3F4F6",
2811
- 200: "#E5E7EB",
2812
- 600: "#4B5563",
2813
- 700: "#374151",
2814
- 800: "#1F2937"
2815
2801
  }
2816
2802
  },
2817
2803
  shadows: {
@@ -2925,7 +2911,7 @@ const HeaderContent$2 = styled(Flex)`
2925
2911
  z-index: 1;
2926
2912
  `;
2927
2913
  const Title$2 = styled(Typography)`
2928
- color: ${theme$2.colors.neutral[0]};
2914
+ color: white;
2929
2915
  font-size: 2rem;
2930
2916
  font-weight: 700;
2931
2917
  letter-spacing: -0.025em;
@@ -2977,7 +2963,7 @@ const StatsGrid$2 = styled.div`
2977
2963
  }
2978
2964
  `;
2979
2965
  const StatCard$2 = styled(Box)`
2980
- background: ${theme$2.colors.neutral[0]};
2966
+ background: ${(props) => props.theme.colors.neutral0};
2981
2967
  border-radius: ${theme$2.borderRadius.lg};
2982
2968
  padding: 28px ${theme$2.spacing.lg};
2983
2969
  position: relative;
@@ -2986,7 +2972,7 @@ const StatCard$2 = styled(Box)`
2986
2972
  ${css`animation: ${fadeIn$3} ${theme$2.transitions.slow} backwards;`}
2987
2973
  animation-delay: ${(props) => props.$delay || "0s"};
2988
2974
  box-shadow: ${theme$2.shadows.sm};
2989
- border: 1px solid ${theme$2.colors.neutral[200]};
2975
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
2990
2976
  min-width: 200px;
2991
2977
  flex: 1;
2992
2978
  text-align: center;
@@ -3051,7 +3037,7 @@ const StatIcon$2 = styled(Box)`
3051
3037
  const StatValue$2 = styled(Typography)`
3052
3038
  font-size: 2.75rem;
3053
3039
  font-weight: 700;
3054
- color: ${theme$2.colors.neutral[800]};
3040
+ color: ${(props) => props.theme.colors.neutral800};
3055
3041
  line-height: 1;
3056
3042
  margin-bottom: 10px;
3057
3043
  transition: all ${theme$2.transitions.normal};
@@ -3064,7 +3050,7 @@ const StatValue$2 = styled(Typography)`
3064
3050
  `;
3065
3051
  const StatLabel$2 = styled(Typography)`
3066
3052
  font-size: 0.95rem;
3067
- color: ${theme$2.colors.neutral[600]};
3053
+ color: ${(props) => props.theme.colors.neutral600};
3068
3054
  font-weight: 500;
3069
3055
  letter-spacing: 0.025em;
3070
3056
  text-align: center;
@@ -3077,9 +3063,9 @@ const RulesContainer = styled(Box)`
3077
3063
  margin-top: ${theme$2.spacing.xl};
3078
3064
  `;
3079
3065
  const EmptyState$2 = styled(Box)`
3080
- background: ${theme$2.colors.neutral[0]};
3066
+ background: ${(props) => props.theme.colors.neutral0};
3081
3067
  border-radius: ${theme$2.borderRadius.xl};
3082
- border: 2px dashed ${theme$2.colors.neutral[200]};
3068
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
3083
3069
  padding: 80px 32px;
3084
3070
  text-align: center;
3085
3071
  position: relative;
@@ -3106,19 +3092,19 @@ const OnlineBadge = styled.div`
3106
3092
  width: 12px;
3107
3093
  height: 12px;
3108
3094
  border-radius: 50%;
3109
- background: ${(props) => props.$active ? theme$2.colors.success[500] : theme$2.colors.neutral[400]};
3095
+ background: ${(props) => props.$active ? theme$2.colors.success[500] : props.theme.colors.neutral400};
3110
3096
  display: inline-block;
3111
3097
  margin-right: 8px;
3112
3098
  ${css`animation: ${(props) => props.$active ? pulse : "none"} 2s ease-in-out infinite;`}
3113
3099
  `;
3114
3100
  const StyledTable$2 = styled(Table)`
3115
3101
  thead {
3116
- background: ${theme$2.colors.neutral[50]};
3117
- border-bottom: 2px solid ${theme$2.colors.neutral[200]};
3102
+ background: ${(props) => props.theme.colors.neutral100};
3103
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
3118
3104
 
3119
3105
  th {
3120
3106
  font-weight: 600;
3121
- color: ${theme$2.colors.neutral[700]};
3107
+ color: ${(props) => props.theme.colors.neutral800};
3122
3108
  font-size: 0.875rem;
3123
3109
  text-transform: uppercase;
3124
3110
  letter-spacing: 0.025em;
@@ -3128,30 +3114,30 @@ const StyledTable$2 = styled(Table)`
3128
3114
 
3129
3115
  tbody tr {
3130
3116
  transition: all ${theme$2.transitions.fast};
3131
- border-bottom: 1px solid ${theme$2.colors.neutral[100]};
3117
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
3132
3118
 
3133
3119
  &:last-child {
3134
3120
  border-bottom: none;
3135
3121
  }
3136
3122
 
3137
3123
  &:hover {
3138
- background: ${theme$2.colors.neutral[50]};
3124
+ background: ${(props) => props.theme.colors.primary100};
3139
3125
  }
3140
3126
 
3141
3127
  td {
3142
3128
  padding: ${theme$2.spacing.lg} ${theme$2.spacing.lg};
3143
- color: ${theme$2.colors.neutral[700]};
3129
+ color: ${(props) => props.theme.colors.neutral800};
3144
3130
  vertical-align: middle;
3145
3131
  }
3146
3132
  }
3147
3133
  `;
3148
3134
  const FilterBar$2 = styled(Flex)`
3149
- background: ${theme$2.colors.neutral[0]};
3135
+ background: ${(props) => props.theme.colors.neutral0};
3150
3136
  padding: ${theme$2.spacing.md} ${theme$2.spacing.lg};
3151
3137
  border-radius: ${theme$2.borderRadius.lg};
3152
3138
  margin-bottom: ${theme$2.spacing.lg};
3153
3139
  box-shadow: ${theme$2.shadows.sm};
3154
- border: 1px solid ${theme$2.colors.neutral[200]};
3140
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
3155
3141
  gap: ${theme$2.spacing.md};
3156
3142
  align-items: center;
3157
3143
  `;
@@ -3166,13 +3152,13 @@ const SearchIcon$1 = styled(MagnifyingGlassIcon)`
3166
3152
  left: 12px;
3167
3153
  width: 16px;
3168
3154
  height: 16px;
3169
- color: ${theme$2.colors.neutral[600]};
3155
+ color: ${(props) => props.theme.colors.neutral600};
3170
3156
  pointer-events: none;
3171
3157
  `;
3172
3158
  const StyledSearchInput$1 = styled.input`
3173
3159
  width: 100%;
3174
3160
  padding: 10px 12px 10px 40px;
3175
- border: 1px solid ${theme$2.colors.neutral[200]};
3161
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
3176
3162
  border-radius: ${theme$2.borderRadius.md};
3177
3163
  font-size: 0.875rem;
3178
3164
  transition: all ${theme$2.transitions.fast};
@@ -3184,7 +3170,7 @@ const StyledSearchInput$1 = styled.input`
3184
3170
  }
3185
3171
 
3186
3172
  &::placeholder {
3187
- color: ${theme$2.colors.neutral[600]};
3173
+ color: ${(props) => props.theme.colors.neutral500};
3188
3174
  }
3189
3175
  `;
3190
3176
  const RoutingRulesPage = () => {
@@ -3298,10 +3284,10 @@ const RoutingRulesPage = () => {
3298
3284
  Typography,
3299
3285
  {
3300
3286
  variant: "alpha",
3287
+ textColor: "neutral800",
3301
3288
  style: {
3302
3289
  fontSize: "1.75rem",
3303
3290
  fontWeight: "700",
3304
- color: theme$2.colors.neutral[800],
3305
3291
  marginBottom: "8px"
3306
3292
  },
3307
3293
  children: "No Routing Rules Yet"
@@ -3332,7 +3318,7 @@ const RoutingRulesPage = () => {
3332
3318
  ] })
3333
3319
  ] }) : /* @__PURE__ */ jsxs(RulesContainer, { children: [
3334
3320
  /* @__PURE__ */ jsx(Box, { style: { marginBottom: theme$2.spacing.md }, children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", marginBottom: 4, children: [
3335
- /* @__PURE__ */ jsx(Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$2.colors.neutral[700] }, children: "🎯 Routing Rules" }),
3321
+ /* @__PURE__ */ jsx(Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "🎯 Routing Rules" }),
3336
3322
  /* @__PURE__ */ jsx(Button, { startIcon: /* @__PURE__ */ jsx(PlusIcon, { style: { width: 16, height: 16 } }), onClick: () => setShowModal(true), children: "Create Rule" })
3337
3323
  ] }) }),
3338
3324
  /* @__PURE__ */ jsxs(FilterBar$2, { children: [
@@ -3821,8 +3807,7 @@ const theme$1 = {
3821
3807
  primary: { 50: "#F0F9FF", 100: "#E0F2FE", 500: "#0EA5E9", 600: "#0284C7", 700: "#0369A1" },
3822
3808
  secondary: { 50: "#F5F3FF", 100: "#EDE9FE", 600: "#9333EA" },
3823
3809
  success: { 100: "#DCFCE7", 500: "#22C55E", 600: "#16A34A" },
3824
- warning: { 100: "#FEF3C7", 500: "#F59E0B", 600: "#D97706" },
3825
- neutral: { 0: "#FFFFFF", 50: "#F9FAFB", 100: "#F3F4F6", 200: "#E5E7EB", 600: "#4B5563", 700: "#374151", 800: "#1F2937" }
3810
+ warning: { 100: "#FEF3C7", 500: "#F59E0B", 600: "#D97706" }
3826
3811
  },
3827
3812
  shadows: {
3828
3813
  sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
@@ -3869,12 +3854,12 @@ const ScrollableDialogBody = styled(Box)`
3869
3854
  }
3870
3855
 
3871
3856
  &::-webkit-scrollbar-thumb {
3872
- background: ${theme$1.colors.neutral[200]};
3857
+ background: ${(props) => props.theme.colors.neutral200};
3873
3858
  border-radius: 3px;
3874
3859
  }
3875
-
3860
+
3876
3861
  &::-webkit-scrollbar-thumb:hover {
3877
- background: ${theme$1.colors.neutral[300]};
3862
+ background: ${(props) => props.theme.colors.neutral300};
3878
3863
  }
3879
3864
  `;
3880
3865
  const CodeSection = styled(Box)`
@@ -3892,7 +3877,7 @@ const CodeHeader = styled(Flex)`
3892
3877
  const CodeLabel = styled(Typography)`
3893
3878
  font-size: 15px;
3894
3879
  font-weight: 600;
3895
- color: ${theme$1.colors.neutral[800]};
3880
+ color: ${(props) => props.theme.colors.neutral800};
3896
3881
  display: flex;
3897
3882
  align-items: center;
3898
3883
  gap: 8px;
@@ -4089,7 +4074,7 @@ const HeaderContent$1 = styled(Flex)`
4089
4074
  z-index: 1;
4090
4075
  `;
4091
4076
  const Title$1 = styled(Typography)`
4092
- color: ${theme$1.colors.neutral[0]};
4077
+ color: white;
4093
4078
  font-size: 2rem;
4094
4079
  font-weight: 700;
4095
4080
  letter-spacing: -0.025em;
@@ -4141,7 +4126,7 @@ const StatsGrid$1 = styled.div`
4141
4126
  }
4142
4127
  `;
4143
4128
  const StatCard$1 = styled(Box)`
4144
- background: ${theme$1.colors.neutral[0]};
4129
+ background: ${(props) => props.theme.colors.neutral0};
4145
4130
  border-radius: ${theme$1.borderRadius.lg};
4146
4131
  padding: 28px ${theme$1.spacing.lg};
4147
4132
  position: relative;
@@ -4150,7 +4135,7 @@ const StatCard$1 = styled(Box)`
4150
4135
  ${css`animation: ${fadeIn$2} ${theme$1.transitions.slow} backwards;`}
4151
4136
  animation-delay: ${(props) => props.$delay || "0s"};
4152
4137
  box-shadow: ${theme$1.shadows.sm};
4153
- border: 1px solid ${theme$1.colors.neutral[200]};
4138
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
4154
4139
  min-width: 200px;
4155
4140
  flex: 1;
4156
4141
  text-align: center;
@@ -4215,7 +4200,7 @@ const StatIcon$1 = styled(Box)`
4215
4200
  const StatValue$1 = styled(Typography)`
4216
4201
  font-size: 2.75rem;
4217
4202
  font-weight: 700;
4218
- color: ${theme$1.colors.neutral[800]};
4203
+ color: ${(props) => props.theme.colors.neutral800};
4219
4204
  line-height: 1;
4220
4205
  margin-bottom: 10px;
4221
4206
  transition: all ${theme$1.transitions.normal};
@@ -4228,7 +4213,7 @@ const StatValue$1 = styled(Typography)`
4228
4213
  `;
4229
4214
  const StatLabel$1 = styled(Typography)`
4230
4215
  font-size: 0.95rem;
4231
- color: ${theme$1.colors.neutral[600]};
4216
+ color: ${(props) => props.theme.colors.neutral600};
4232
4217
  font-weight: 500;
4233
4218
  letter-spacing: 0.025em;
4234
4219
  text-align: center;
@@ -4244,12 +4229,12 @@ const SectionHeader = styled(Box)`
4244
4229
  margin-bottom: ${theme$1.spacing.md};
4245
4230
  `;
4246
4231
  const FilterBar$1 = styled(Flex)`
4247
- background: ${theme$1.colors.neutral[0]};
4232
+ background: ${(props) => props.theme.colors.neutral0};
4248
4233
  padding: ${theme$1.spacing.md} ${theme$1.spacing.lg};
4249
4234
  border-radius: ${theme$1.borderRadius.lg};
4250
4235
  margin-bottom: ${theme$1.spacing.lg};
4251
4236
  box-shadow: ${theme$1.shadows.sm};
4252
- border: 1px solid ${theme$1.colors.neutral[200]};
4237
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
4253
4238
  gap: ${theme$1.spacing.md};
4254
4239
  align-items: center;
4255
4240
  `;
@@ -4264,7 +4249,7 @@ const SearchIcon = styled(MagnifyingGlassIcon)`
4264
4249
  left: 12px;
4265
4250
  width: 16px;
4266
4251
  height: 16px;
4267
- color: ${theme$1.colors.neutral[600]};
4252
+ color: ${(props) => props.theme.colors.neutral600};
4268
4253
  pointer-events: none;
4269
4254
  z-index: 1;
4270
4255
  `;
@@ -4275,12 +4260,12 @@ const StyledSearchInput = styled(TextInput)`
4275
4260
  const StyledTable$1 = styled(Table)`
4276
4261
  width: 100%;
4277
4262
  thead {
4278
- background: ${theme$1.colors.neutral[50]};
4279
- border-bottom: 2px solid ${theme$1.colors.neutral[200]};
4263
+ background: ${(props) => props.theme.colors.neutral100};
4264
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
4280
4265
 
4281
4266
  th {
4282
4267
  font-weight: 600;
4283
- color: ${theme$1.colors.neutral[700]};
4268
+ color: ${(props) => props.theme.colors.neutral800};
4284
4269
  font-size: 0.875rem;
4285
4270
  text-transform: uppercase;
4286
4271
  letter-spacing: 0.025em;
@@ -4290,27 +4275,27 @@ const StyledTable$1 = styled(Table)`
4290
4275
 
4291
4276
  tbody tr {
4292
4277
  transition: all ${theme$1.transitions.fast};
4293
- border-bottom: 1px solid ${theme$1.colors.neutral[100]};
4278
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
4294
4279
 
4295
4280
  &:last-child {
4296
4281
  border-bottom: none;
4297
4282
  }
4298
4283
 
4299
4284
  &:hover {
4300
- background: ${theme$1.colors.neutral[50]};
4285
+ background: ${(props) => props.theme.colors.primary100};
4301
4286
  }
4302
4287
 
4303
4288
  td {
4304
4289
  padding: ${theme$1.spacing.lg} ${theme$1.spacing.lg};
4305
- color: ${theme$1.colors.neutral[700]};
4290
+ color: ${(props) => props.theme.colors.neutral800};
4306
4291
  vertical-align: middle;
4307
4292
  }
4308
4293
  }
4309
4294
  `;
4310
4295
  const EmptyState$1 = styled(Box)`
4311
- background: ${theme$1.colors.neutral[0]};
4296
+ background: ${(props) => props.theme.colors.neutral0};
4312
4297
  border-radius: ${theme$1.borderRadius.xl};
4313
- border: 2px dashed ${theme$1.colors.neutral[200]};
4298
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
4314
4299
  padding: 80px 32px;
4315
4300
  text-align: center;
4316
4301
  position: relative;
@@ -4373,7 +4358,7 @@ const EmptyFeatureItem = styled.div`
4373
4358
  text-align: center;
4374
4359
  gap: ${theme$1.spacing.sm};
4375
4360
  padding: ${theme$1.spacing.lg};
4376
- background: ${theme$1.colors.neutral[0]};
4361
+ background: ${(props) => props.theme.colors.neutral0};
4377
4362
  border-radius: ${theme$1.borderRadius.md};
4378
4363
  box-shadow: ${theme$1.shadows.sm};
4379
4364
  transition: ${theme$1.transitions.fast};
@@ -4757,8 +4742,8 @@ const TemplateList = () => {
4757
4742
  /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 3, children: [
4758
4743
  /* @__PURE__ */ jsx(SparklesIcon, { style: { width: 24, height: 24, color: theme$1.colors.warning[600] } }),
4759
4744
  /* @__PURE__ */ jsxs(Box, { children: [
4760
- /* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "bold", style: { color: theme$1.colors.neutral[800] }, children: limits.emailTemplates.current >= limits.emailTemplates.max ? `You've reached your ${getTierInfo().name} limit!` : `You're approaching your ${getTierInfo().name} limit!` }),
4761
- /* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginTop: "4px" }, children: [
4745
+ /* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "bold", textColor: "neutral800", children: limits.emailTemplates.current >= limits.emailTemplates.max ? `You've reached your ${getTierInfo().name} limit!` : `You're approaching your ${getTierInfo().name} limit!` }),
4746
+ /* @__PURE__ */ jsxs(Typography, { variant: "pi", textColor: "neutral600", style: { marginTop: "4px" }, children: [
4762
4747
  "Using ",
4763
4748
  limits.emailTemplates.current,
4764
4749
  " of ",
@@ -4790,10 +4775,10 @@ const TemplateList = () => {
4790
4775
  Typography,
4791
4776
  {
4792
4777
  variant: "alpha",
4778
+ textColor: "neutral800",
4793
4779
  style: {
4794
4780
  fontSize: "1.75rem",
4795
4781
  fontWeight: "700",
4796
- color: theme$1.colors.neutral[800],
4797
4782
  textAlign: "center",
4798
4783
  display: "block"
4799
4784
  },
@@ -4855,7 +4840,7 @@ const TemplateList = () => {
4855
4840
  ] })
4856
4841
  ] }) }) : /* @__PURE__ */ jsxs(TemplatesContainer, { children: [
4857
4842
  /* @__PURE__ */ jsx(SectionHeader, { children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", marginBottom: 4, children: [
4858
- /* @__PURE__ */ jsx(Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$1.colors.neutral[700] }, children: "Email Templates" }),
4843
+ /* @__PURE__ */ jsx(Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "Email Templates" }),
4859
4844
  /* @__PURE__ */ jsx(
4860
4845
  Button,
4861
4846
  {
@@ -5001,16 +4986,16 @@ const TemplateList = () => {
5001
4986
  ] }) }) : /* @__PURE__ */ jsxs(
5002
4987
  Box,
5003
4988
  {
4989
+ background: "neutral100",
5004
4990
  style: {
5005
4991
  padding: "80px 32px",
5006
4992
  textAlign: "center",
5007
- background: theme$1.colors.neutral[50],
5008
4993
  borderRadius: theme$1.borderRadius.lg,
5009
- border: `1px dashed ${theme$1.colors.neutral[200]}`
4994
+ border: "1px dashed #D1D5DB"
5010
4995
  },
5011
4996
  children: [
5012
- /* @__PURE__ */ jsx(MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: theme$1.colors.neutral[400] } }),
5013
- /* @__PURE__ */ jsx(Typography, { variant: "beta", style: { marginBottom: "8px", color: theme$1.colors.neutral[700] }, children: "No templates found" }),
4997
+ /* @__PURE__ */ jsx(MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: "#9CA3AF" } }),
4998
+ /* @__PURE__ */ jsx(Typography, { variant: "beta", textColor: "neutral700", style: { marginBottom: "8px" }, children: "No templates found" }),
5014
4999
  /* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral600", children: "Try adjusting your search or filters" }),
5015
5000
  /* @__PURE__ */ jsx(
5016
5001
  Button,
@@ -5030,10 +5015,10 @@ const TemplateList = () => {
5030
5015
  ] }) }),
5031
5016
  /* @__PURE__ */ jsx(Tabs.Content, { value: "coreEmails", children: /* @__PURE__ */ jsxs(Box, { style: { marginTop: "24px" }, children: [
5032
5017
  /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, style: { marginBottom: "24px" }, children: [
5033
- /* @__PURE__ */ jsx(Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$1.colors.neutral[700] }, children: "Core Email Templates" }),
5018
+ /* @__PURE__ */ jsx(Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "Core Email Templates" }),
5034
5019
  /* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral600", children: "Design the default Strapi system emails (Password Reset & Email Confirmation)" })
5035
5020
  ] }),
5036
- /* @__PURE__ */ jsx(Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: `1px solid ${theme$1.colors.neutral[200]}`, overflow: "hidden" }, children: /* @__PURE__ */ jsxs(Table, { colCount: 2, rowCount: 2, children: [
5021
+ /* @__PURE__ */ jsx(Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: "1px solid #E5E7EB", overflow: "hidden" }, children: /* @__PURE__ */ jsxs(Table, { colCount: 2, rowCount: 2, children: [
5037
5022
  /* @__PURE__ */ jsx(Thead, { children: /* @__PURE__ */ jsxs(Tr, { children: [
5038
5023
  /* @__PURE__ */ jsx(Th, { children: /* @__PURE__ */ jsx(Typography, { variant: "sigma", children: "Email Type" }) }),
5039
5024
  /* @__PURE__ */ jsx(Th, { children: /* @__PURE__ */ jsx(Box, { style: { textAlign: "right", width: "100%" }, children: /* @__PURE__ */ jsx(Typography, { variant: "sigma", children: "Actions" }) }) })
@@ -5064,9 +5049,9 @@ const TemplateList = () => {
5064
5049
  display: "flex",
5065
5050
  flexDirection: "column"
5066
5051
  }, children: [
5067
- /* @__PURE__ */ jsx(Modal.Header, { style: { borderBottom: `1px solid ${theme$1.colors.neutral[200]}`, paddingBottom: "16px" }, children: /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
5052
+ /* @__PURE__ */ jsx(Modal.Header, { style: { borderBottom: "1px solid #E5E7EB", paddingBottom: "16px" }, children: /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
5068
5053
  /* @__PURE__ */ jsx(BoltIcon, { style: { width: 24, height: 24, color: theme$1.colors.primary[600] } }),
5069
- /* @__PURE__ */ jsxs(Typography, { variant: "beta", style: { color: theme$1.colors.neutral[800] }, children: [
5054
+ /* @__PURE__ */ jsxs(Typography, { variant: "beta", textColor: "neutral800", children: [
5070
5055
  "Send Template: ",
5071
5056
  selectedTemplate.name
5072
5057
  ] })
@@ -5080,7 +5065,7 @@ const TemplateList = () => {
5080
5065
  ] }),
5081
5066
  /* @__PURE__ */ jsx(RecommendedBadge, { children: "Empfohlen" })
5082
5067
  ] }),
5083
- /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginBottom: "16px" }, children: "Nutze die standard Strapi Email-Funktion. MagicMail fängt sie automatisch ab und wendet alle Features an." }),
5068
+ /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px" }, children: "Nutze die standard Strapi Email-Funktion. MagicMail fängt sie automatisch ab und wendet alle Features an." }),
5084
5069
  /* @__PURE__ */ jsxs(CodeBlockWrapper, { children: [
5085
5070
  /* @__PURE__ */ jsx(CodeBlock, { dangerouslySetInnerHTML: {
5086
5071
  __html: `<span class="comment">// Überall in deinem Strapi Backend:</span>
@@ -5133,7 +5118,7 @@ const TemplateList = () => {
5133
5118
  /* @__PURE__ */ jsx(CodeBracketIcon, { style: { width: 20, height: 20, color: theme$1.colors.primary[600] } }),
5134
5119
  "MagicMail Plugin Service"
5135
5120
  ] }) }),
5136
- /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginBottom: "16px" }, children: "Direkter Zugriff auf den MagicMail Service für erweiterte Optionen." }),
5121
+ /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px" }, children: "Direkter Zugriff auf den MagicMail Service für erweiterte Optionen." }),
5137
5122
  /* @__PURE__ */ jsxs(CodeBlockWrapper, { children: [
5138
5123
  /* @__PURE__ */ jsx(CodeBlock, { dangerouslySetInnerHTML: {
5139
5124
  __html: `<span class="comment">// Inside Strapi backend</span>
@@ -5182,7 +5167,7 @@ const TemplateList = () => {
5182
5167
  /* @__PURE__ */ jsx(DocumentArrowDownIcon, { style: { width: 20, height: 20, color: theme$1.colors.secondary[600] } }),
5183
5168
  "REST API"
5184
5169
  ] }) }),
5185
- /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginBottom: "16px" }, children: "Für externe Anwendungen, Frontend-Calls oder Postman Tests." }),
5170
+ /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px" }, children: "Für externe Anwendungen, Frontend-Calls oder Postman Tests." }),
5186
5171
  /* @__PURE__ */ jsxs(CodeBlockWrapper, { children: [
5187
5172
  /* @__PURE__ */ jsx(CodeBlock, { dangerouslySetInnerHTML: {
5188
5173
  __html: `curl -X POST http://localhost:1337/api/magic-mail/send \\
@@ -5404,11 +5389,11 @@ const Container$1 = styled.div`
5404
5389
  min-height: 100vh;
5405
5390
  display: flex;
5406
5391
  flex-direction: column;
5407
- background: #f6f6f9;
5392
+ background: ${(props) => props.theme.colors.neutral100};
5408
5393
  `;
5409
5394
  const Header$1 = styled.div`
5410
5395
  padding: 24px;
5411
- background: white;
5396
+ background: ${(props) => props.theme.colors.neutral0};
5412
5397
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
5413
5398
  `;
5414
5399
  const HeaderRow = styled.div`
@@ -5479,8 +5464,8 @@ const TabsWrapper = styled.div`
5479
5464
  `;
5480
5465
  const TabListWrapper = styled.div`
5481
5466
  padding: 0 24px;
5482
- background: white;
5483
- border-bottom: 1px solid #eaeaef;
5467
+ background: ${(props) => props.theme.colors.neutral0};
5468
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral200};
5484
5469
  `;
5485
5470
  const StyledTabsRoot = styled(Tabs.Root)`
5486
5471
  display: flex;
@@ -5494,7 +5479,7 @@ const StyledTabsContent = styled(Tabs.Content)`
5494
5479
  `;
5495
5480
  const TabContentWrapper = styled.div`
5496
5481
  height: calc(100vh - 240px);
5497
- background: white;
5482
+ background: ${(props) => props.theme.colors.neutral0};
5498
5483
  position: relative;
5499
5484
  `;
5500
5485
  const TextTabContent = styled.div`
@@ -5566,10 +5551,10 @@ const ImportExportButton = styled.span`
5566
5551
  gap: 6px;
5567
5552
  padding: 8px 16px;
5568
5553
  height: 36px;
5569
- background: white;
5570
- border: 1px solid #dcdce4;
5554
+ background: ${(props) => props.theme.colors.neutral0};
5555
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5571
5556
  border-radius: 4px;
5572
- color: #32324d;
5557
+ color: ${(props) => props.theme.colors.neutral800};
5573
5558
  font-weight: 500;
5574
5559
  font-size: 13px;
5575
5560
  cursor: pointer;
@@ -5577,9 +5562,9 @@ const ImportExportButton = styled.span`
5577
5562
  white-space: nowrap;
5578
5563
 
5579
5564
  &:hover {
5580
- background: #f6f6f9;
5581
- border-color: #0EA5E9;
5582
- color: #0EA5E9;
5565
+ background: ${(props) => props.theme.colors.neutral100};
5566
+ border-color: ${(props) => props.theme.colors.primary600};
5567
+ color: ${(props) => props.theme.colors.primary600};
5583
5568
  transform: translateY(-1px);
5584
5569
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
5585
5570
  }
@@ -5598,8 +5583,8 @@ const ImportLabel = styled.label`
5598
5583
  display: inline-block;
5599
5584
  `;
5600
5585
  const BackButton = styled.button`
5601
- background: white;
5602
- border: 1px solid #dcdce4;
5586
+ background: ${(props) => props.theme.colors.neutral0};
5587
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5603
5588
  border-radius: 4px;
5604
5589
  padding: 8px 10px;
5605
5590
  height: 36px;
@@ -5610,8 +5595,8 @@ const BackButton = styled.button`
5610
5595
  transition: all 200ms;
5611
5596
 
5612
5597
  &:hover {
5613
- background: #f6f6f9;
5614
- border-color: #c0c0cf;
5598
+ background: ${(props) => props.theme.colors.neutral100};
5599
+ border-color: ${(props) => props.theme.colors.neutral300};
5615
5600
  transform: translateY(-1px);
5616
5601
  }
5617
5602
 
@@ -5625,8 +5610,8 @@ const BackButton = styled.button`
5625
5610
  }
5626
5611
  `;
5627
5612
  const VersionButton = styled.button`
5628
- background: white;
5629
- border: 1px solid #dcdce4;
5613
+ background: ${(props) => props.theme.colors.neutral0};
5614
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5630
5615
  border-radius: 4px;
5631
5616
  padding: 8px 16px;
5632
5617
  height: 36px;
@@ -5638,13 +5623,13 @@ const VersionButton = styled.button`
5638
5623
  transition: all 200ms;
5639
5624
  font-size: 13px;
5640
5625
  font-weight: 500;
5641
- color: #32324d;
5626
+ color: ${(props) => props.theme.colors.neutral800};
5642
5627
  white-space: nowrap;
5643
5628
 
5644
5629
  &:hover {
5645
- background: #f6f6f9;
5646
- border-color: #0EA5E9;
5647
- color: #0EA5E9;
5630
+ background: ${(props) => props.theme.colors.neutral100};
5631
+ border-color: ${(props) => props.theme.colors.primary600};
5632
+ color: ${(props) => props.theme.colors.primary600};
5648
5633
  transform: translateY(-1px);
5649
5634
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
5650
5635
  }
@@ -5664,7 +5649,7 @@ const VersionModal = styled.div`
5664
5649
  right: ${(props) => props.$isOpen ? "0" : "-450px"};
5665
5650
  width: 450px;
5666
5651
  height: 100vh;
5667
- background: white;
5652
+ background: ${(props) => props.theme.colors.neutral0};
5668
5653
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
5669
5654
  z-index: 9999;
5670
5655
  transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
@@ -5685,7 +5670,7 @@ const VersionModalOverlay = styled.div`
5685
5670
  `;
5686
5671
  const VersionModalHeader = styled.div`
5687
5672
  padding: 24px;
5688
- border-bottom: 1px solid #eaeaef;
5673
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral200};
5689
5674
  display: flex;
5690
5675
  justify-content: space-between;
5691
5676
  align-items: center;
@@ -5697,13 +5682,13 @@ const VersionModalContent = styled.div`
5697
5682
  `;
5698
5683
  const VersionItem = styled.div`
5699
5684
  padding: 16px;
5700
- border: 1px solid #eaeaef;
5685
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5701
5686
  border-radius: 8px;
5702
5687
  margin-bottom: 12px;
5703
5688
  transition: all 150ms;
5704
5689
 
5705
5690
  &:hover {
5706
- border-color: #0EA5E9;
5691
+ border-color: ${(props) => props.theme.colors.primary600};
5707
5692
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
5708
5693
  }
5709
5694
  `;
@@ -5715,7 +5700,7 @@ const VersionItemHeader = styled.div`
5715
5700
  `;
5716
5701
  const VersionNumber = styled.div`
5717
5702
  font-weight: 600;
5718
- color: #32324d;
5703
+ color: ${(props) => props.theme.colors.neutral800};
5719
5704
  display: flex;
5720
5705
  align-items: center;
5721
5706
  gap: 8px;
@@ -5730,11 +5715,11 @@ const VersionBadge = styled.span`
5730
5715
  `;
5731
5716
  const VersionDate = styled.div`
5732
5717
  font-size: 13px;
5733
- color: #666687;
5718
+ color: ${(props) => props.theme.colors.neutral600};
5734
5719
  `;
5735
5720
  const VersionMeta = styled.div`
5736
5721
  font-size: 13px;
5737
- color: #666687;
5722
+ color: ${(props) => props.theme.colors.neutral600};
5738
5723
  margin-bottom: 12px;
5739
5724
  `;
5740
5725
  const VersionActions = styled.div`
@@ -5787,12 +5772,12 @@ const CloseButton$1 = styled.button`
5787
5772
  display: flex;
5788
5773
  align-items: center;
5789
5774
  justify-content: center;
5790
- color: #666687;
5775
+ color: ${(props) => props.theme.colors.neutral600};
5791
5776
  transition: all 150ms;
5792
5777
 
5793
5778
  &:hover {
5794
- color: #32324d;
5795
- background: #f6f6f9;
5779
+ color: ${(props) => props.theme.colors.neutral800};
5780
+ background: ${(props) => props.theme.colors.neutral100};
5796
5781
  border-radius: 4px;
5797
5782
  }
5798
5783
 
@@ -5804,7 +5789,7 @@ const CloseButton$1 = styled.button`
5804
5789
  const EmptyVersions = styled.div`
5805
5790
  text-align: center;
5806
5791
  padding: 60px 20px;
5807
- color: #666687;
5792
+ color: ${(props) => props.theme.colors.neutral600};
5808
5793
  display: flex;
5809
5794
  flex-direction: column;
5810
5795
  align-items: center;
@@ -5814,7 +5799,7 @@ const EmptyVersions = styled.div`
5814
5799
  width: 64px;
5815
5800
  height: 64px;
5816
5801
  margin-bottom: 16px;
5817
- color: #dcdce4;
5802
+ color: ${(props) => props.theme.colors.neutral300};
5818
5803
  }
5819
5804
  `;
5820
5805
  const EditorPage = () => {
@@ -6516,8 +6501,7 @@ const theme = {
6516
6501
  primary: { 50: "#F0F9FF", 100: "#E0F2FE", 500: "#0EA5E9", 600: "#0284C7" },
6517
6502
  secondary: { 50: "#F5F3FF", 100: "#EDE9FE", 600: "#9333EA" },
6518
6503
  success: { 100: "#DCFCE7", 500: "#22C55E", 600: "#16A34A" },
6519
- danger: { 100: "#FEE2E2", 500: "#EF4444", 600: "#DC2626" },
6520
- neutral: { 0: "#FFFFFF", 50: "#F9FAFB", 100: "#F3F4F6", 200: "#E5E7EB", 600: "#4B5563", 700: "#374151", 800: "#1F2937" }
6504
+ danger: { 100: "#FEE2E2", 500: "#EF4444", 600: "#DC2626" }
6521
6505
  },
6522
6506
  shadows: {
6523
6507
  sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
@@ -6599,7 +6583,7 @@ const HeaderContent = styled(Flex)`
6599
6583
  z-index: 1;
6600
6584
  `;
6601
6585
  const Title = styled(Typography)`
6602
- color: ${theme.colors.neutral[0]};
6586
+ color: white;
6603
6587
  font-size: 2rem;
6604
6588
  font-weight: 700;
6605
6589
  letter-spacing: -0.025em;
@@ -6651,7 +6635,7 @@ const StatsGrid = styled.div`
6651
6635
  }
6652
6636
  `;
6653
6637
  const StatCard = styled(Box)`
6654
- background: ${theme.colors.neutral[0]};
6638
+ background: ${(props) => props.theme.colors.neutral0};
6655
6639
  border-radius: ${theme.borderRadius.lg};
6656
6640
  padding: 28px ${theme.spacing.lg};
6657
6641
  position: relative;
@@ -6660,7 +6644,7 @@ const StatCard = styled(Box)`
6660
6644
  ${css`animation: ${fadeIn$1} ${theme.transitions.slow} backwards;`}
6661
6645
  animation-delay: ${(props) => props.$delay || "0s"};
6662
6646
  box-shadow: ${theme.shadows.sm};
6663
- border: 1px solid ${theme.colors.neutral[200]};
6647
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
6664
6648
  min-width: 200px;
6665
6649
  flex: 1;
6666
6650
  text-align: center;
@@ -6724,7 +6708,7 @@ const StatIcon = styled(Box)`
6724
6708
  const StatValue = styled(Typography)`
6725
6709
  font-size: 2.25rem;
6726
6710
  font-weight: 700;
6727
- color: ${theme.colors.neutral[800]};
6711
+ color: ${(props) => props.theme.colors.neutral800};
6728
6712
  transition: all ${theme.transitions.normal};
6729
6713
  line-height: 1;
6730
6714
  margin-bottom: ${theme.spacing.xs};
@@ -6735,7 +6719,7 @@ const StatValue = styled(Typography)`
6735
6719
  `;
6736
6720
  const StatLabel = styled(Typography)`
6737
6721
  font-size: 0.875rem;
6738
- color: ${theme.colors.neutral[600]};
6722
+ color: ${(props) => props.theme.colors.neutral600};
6739
6723
  font-weight: 500;
6740
6724
  text-transform: uppercase;
6741
6725
  letter-spacing: 0.05em;
@@ -6745,21 +6729,21 @@ const StatLabel = styled(Typography)`
6745
6729
  }
6746
6730
  `;
6747
6731
  const FilterBar = styled(Box)`
6748
- background: ${theme.colors.neutral[0]};
6732
+ background: ${(props) => props.theme.colors.neutral0};
6749
6733
  border-radius: ${theme.borderRadius.lg};
6750
6734
  padding: ${theme.spacing.lg} ${theme.spacing.xl};
6751
6735
  margin-bottom: ${theme.spacing.lg};
6752
6736
  box-shadow: ${theme.shadows.sm};
6753
- border: 1px solid ${theme.colors.neutral[200]};
6737
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
6754
6738
  `;
6755
6739
  const StyledTable = styled(Table)`
6756
6740
  thead {
6757
- background: ${theme.colors.neutral[50]};
6758
- border-bottom: 2px solid ${theme.colors.neutral[200]};
6741
+ background: ${(props) => props.theme.colors.neutral100};
6742
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
6759
6743
 
6760
6744
  th {
6761
6745
  font-weight: 600;
6762
- color: ${theme.colors.neutral[700]};
6746
+ color: ${(props) => props.theme.colors.neutral800};
6763
6747
  font-size: 0.875rem;
6764
6748
  text-transform: uppercase;
6765
6749
  letter-spacing: 0.025em;
@@ -6769,35 +6753,35 @@ const StyledTable = styled(Table)`
6769
6753
 
6770
6754
  tbody tr {
6771
6755
  transition: all ${theme.transitions.fast};
6772
- border-bottom: 1px solid ${theme.colors.neutral[100]};
6756
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
6773
6757
 
6774
6758
  &:last-child {
6775
6759
  border-bottom: none;
6776
6760
  }
6777
6761
 
6778
6762
  &:hover {
6779
- background: ${theme.colors.neutral[50]};
6763
+ background: ${(props) => props.theme.colors.primary100};
6780
6764
  }
6781
6765
 
6782
6766
  td {
6783
6767
  padding: ${theme.spacing.lg} ${theme.spacing.lg};
6784
- color: ${theme.colors.neutral[700]};
6768
+ color: ${(props) => props.theme.colors.neutral800};
6785
6769
  vertical-align: middle;
6786
6770
  }
6787
6771
  }
6788
6772
  `;
6789
6773
  const TableContainer = styled(Box)`
6790
- background: ${theme.colors.neutral[0]};
6774
+ background: ${(props) => props.theme.colors.neutral0};
6791
6775
  border-radius: ${theme.borderRadius.lg};
6792
6776
  box-shadow: ${theme.shadows.md};
6793
- border: 1px solid ${theme.colors.neutral[200]};
6777
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
6794
6778
  overflow: hidden;
6795
6779
  margin-bottom: ${theme.spacing.xl};
6796
6780
  `;
6797
6781
  const EmptyState = styled(Box)`
6798
- background: ${theme.colors.neutral[0]};
6782
+ background: ${(props) => props.theme.colors.neutral0};
6799
6783
  border-radius: ${theme.borderRadius.xl};
6800
- border: 2px dashed ${theme.colors.neutral[200]};
6784
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
6801
6785
  padding: 80px 32px;
6802
6786
  text-align: center;
6803
6787
  position: relative;
@@ -7043,7 +7027,7 @@ const Analytics = () => {
7043
7027
  log.openCount === 1 ? "time" : "times"
7044
7028
  ] })
7045
7029
  ] }) : /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 1, children: [
7046
- /* @__PURE__ */ jsx(XCircleIcon, { style: { width: 16, height: 16, color: theme.colors.neutral[400] } }),
7030
+ /* @__PURE__ */ jsx(XCircleIcon, { style: { width: 16, height: 16, color: "#9CA3AF" } }),
7047
7031
  /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", children: "No" })
7048
7032
  ] }) }),
7049
7033
  /* @__PURE__ */ jsx(Td, { children: log.clickCount > 0 ? /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
@@ -7054,7 +7038,7 @@ const Analytics = () => {
7054
7038
  log.clickCount === 1 ? "time" : "times"
7055
7039
  ] })
7056
7040
  ] }) : /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 1, children: [
7057
- /* @__PURE__ */ jsx(XCircleIcon, { style: { width: 16, height: 16, color: theme.colors.neutral[400] } }),
7041
+ /* @__PURE__ */ jsx(XCircleIcon, { style: { width: 16, height: 16, color: "#9CA3AF" } }),
7058
7042
  /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", children: "No" })
7059
7043
  ] }) })
7060
7044
  ] }, log.id)) })