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.
@@ -59,6 +59,55 @@ const useAuthRefresh = () => {
59
59
  }
60
60
  };
61
61
  };
62
+ const theme$3 = {
63
+ colors: {
64
+ primary: {
65
+ 50: "#F0F9FF",
66
+ 100: "#E0F2FE",
67
+ 500: "#0EA5E9",
68
+ 600: "#0284C7"
69
+ },
70
+ secondary: {
71
+ 50: "#FAF5FF",
72
+ 100: "#F3E8FF",
73
+ 600: "#9333EA"
74
+ },
75
+ success: {
76
+ 100: "#DCFCE7",
77
+ 500: "#22C55E",
78
+ 600: "#16A34A"
79
+ },
80
+ warning: {
81
+ 100: "#FEF3C7",
82
+ 600: "#D97706"
83
+ },
84
+ danger: {
85
+ 600: "#DC2626"
86
+ }
87
+ },
88
+ shadows: {
89
+ sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
90
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
91
+ },
92
+ transitions: {
93
+ fast: "150ms cubic-bezier(0.4, 0, 0.2, 1)",
94
+ normal: "300ms cubic-bezier(0.4, 0, 0.2, 1)",
95
+ slow: "500ms cubic-bezier(0.4, 0, 0.2, 1)"
96
+ },
97
+ spacing: {
98
+ xs: "4px",
99
+ sm: "8px",
100
+ md: "16px",
101
+ lg: "24px",
102
+ xl: "32px",
103
+ "2xl": "48px"
104
+ },
105
+ borderRadius: {
106
+ md: "8px",
107
+ lg: "12px",
108
+ xl: "16px"
109
+ }
110
+ };
62
111
  const fadeIn$5 = styled.keyframes`
63
112
  from {
64
113
  opacity: 0;
@@ -1809,62 +1858,6 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
1809
1858
  ] }) })
1810
1859
  ] }) });
1811
1860
  };
1812
- const theme$3 = {
1813
- colors: {
1814
- primary: {
1815
- 50: "#F0F9FF",
1816
- 100: "#E0F2FE",
1817
- 500: "#0EA5E9",
1818
- 600: "#0284C7"
1819
- },
1820
- secondary: {
1821
- 600: "#9333EA"
1822
- },
1823
- success: {
1824
- 100: "#DCFCE7",
1825
- 500: "#22C55E",
1826
- 600: "#16A34A"
1827
- },
1828
- warning: {
1829
- 100: "#FEF3C7",
1830
- 600: "#D97706"
1831
- },
1832
- danger: {
1833
- 600: "#DC2626"
1834
- },
1835
- neutral: {
1836
- 0: "#FFFFFF",
1837
- 50: "#F9FAFB",
1838
- 100: "#F3F4F6",
1839
- 200: "#E5E7EB",
1840
- 600: "#4B5563",
1841
- 700: "#374151",
1842
- 800: "#1F2937"
1843
- }
1844
- },
1845
- shadows: {
1846
- sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
1847
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
1848
- },
1849
- transitions: {
1850
- fast: "150ms cubic-bezier(0.4, 0, 0.2, 1)",
1851
- normal: "300ms cubic-bezier(0.4, 0, 0.2, 1)",
1852
- slow: "500ms cubic-bezier(0.4, 0, 0.2, 1)"
1853
- },
1854
- spacing: {
1855
- xs: "4px",
1856
- sm: "8px",
1857
- md: "16px",
1858
- lg: "24px",
1859
- xl: "32px",
1860
- "2xl": "48px"
1861
- },
1862
- borderRadius: {
1863
- md: "8px",
1864
- lg: "12px",
1865
- xl: "16px"
1866
- }
1867
- };
1868
1861
  const fadeIn$4 = styled.keyframes`
1869
1862
  from { opacity: 0; transform: translateY(10px); }
1870
1863
  to { opacity: 1; transform: translateY(0); }
@@ -1953,7 +1946,7 @@ const HeaderContent$3 = styled__default.default(designSystem.Flex)`
1953
1946
  z-index: 1;
1954
1947
  `;
1955
1948
  const Title$3 = styled__default.default(designSystem.Typography)`
1956
- color: ${theme$3.colors.neutral[0]};
1949
+ color: white;
1957
1950
  font-size: 2rem;
1958
1951
  font-weight: 700;
1959
1952
  letter-spacing: -0.025em;
@@ -2005,7 +1998,7 @@ const StatsGrid$3 = styled__default.default.div`
2005
1998
  }
2006
1999
  `;
2007
2000
  const StatCard$3 = styled__default.default(designSystem.Box)`
2008
- background: ${theme$3.colors.neutral[0]};
2001
+ background: ${(props) => props.theme.colors.neutral0};
2009
2002
  border-radius: ${theme$3.borderRadius.lg};
2010
2003
  padding: 28px ${theme$3.spacing.lg};
2011
2004
  position: relative;
@@ -2014,7 +2007,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
2014
2007
  ${styled.css`animation: ${fadeIn$4} ${theme$3.transitions.slow} backwards;`}
2015
2008
  animation-delay: ${(props) => props.$delay || "0s"};
2016
2009
  box-shadow: ${theme$3.shadows.sm};
2017
- border: 1px solid ${theme$3.colors.neutral[200]};
2010
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
2018
2011
  min-width: 200px;
2019
2012
  flex: 1;
2020
2013
  text-align: center;
@@ -2079,7 +2072,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
2079
2072
  const StatValue$3 = styled__default.default(designSystem.Typography)`
2080
2073
  font-size: 2.75rem;
2081
2074
  font-weight: 700;
2082
- color: ${theme$3.colors.neutral[800]};
2075
+ color: ${(props) => props.theme.colors.neutral800};
2083
2076
  line-height: 1;
2084
2077
  margin-bottom: 10px;
2085
2078
  transition: all ${theme$3.transitions.normal};
@@ -2092,7 +2085,7 @@ const StatValue$3 = styled__default.default(designSystem.Typography)`
2092
2085
  `;
2093
2086
  const StatLabel$3 = styled__default.default(designSystem.Typography)`
2094
2087
  font-size: 0.95rem;
2095
- color: ${theme$3.colors.neutral[600]};
2088
+ color: ${(props) => props.theme.colors.neutral600};
2096
2089
  font-weight: 500;
2097
2090
  letter-spacing: 0.025em;
2098
2091
  text-align: center;
@@ -2105,9 +2098,9 @@ const AccountsContainer = styled__default.default(designSystem.Box)`
2105
2098
  margin-top: ${theme$3.spacing.xl};
2106
2099
  `;
2107
2100
  const EmptyState$3 = styled__default.default(designSystem.Box)`
2108
- background: ${theme$3.colors.neutral[0]};
2101
+ background: ${(props) => props.theme.colors.neutral0};
2109
2102
  border-radius: ${theme$3.borderRadius.xl};
2110
- border: 2px dashed ${theme$3.colors.neutral[200]};
2103
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
2111
2104
  padding: 80px 32px;
2112
2105
  text-align: center;
2113
2106
  position: relative;
@@ -2134,19 +2127,19 @@ const OnlineBadge$1 = styled__default.default.div`
2134
2127
  width: 12px;
2135
2128
  height: 12px;
2136
2129
  border-radius: 50%;
2137
- background: ${(props) => props.$active ? theme$3.colors.success[500] : theme$3.colors.neutral[400]};
2130
+ background: ${(props) => props.$active ? theme$3.colors.success[500] : props.theme.colors.neutral400};
2138
2131
  display: inline-block;
2139
2132
  margin-right: 8px;
2140
2133
  ${styled.css`animation: ${(props) => props.$active ? pulse$1 : "none"} 2s ease-in-out infinite;`}
2141
2134
  `;
2142
2135
  const StyledTable$3 = styled__default.default(designSystem.Table)`
2143
2136
  thead {
2144
- background: ${theme$3.colors.neutral[50]};
2145
- border-bottom: 2px solid ${theme$3.colors.neutral[200]};
2137
+ background: ${(props) => props.theme.colors.neutral100};
2138
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
2146
2139
 
2147
2140
  th {
2148
2141
  font-weight: 600;
2149
- color: ${theme$3.colors.neutral[700]};
2142
+ color: ${(props) => props.theme.colors.neutral800};
2150
2143
  font-size: 0.875rem;
2151
2144
  text-transform: uppercase;
2152
2145
  letter-spacing: 0.025em;
@@ -2156,30 +2149,30 @@ const StyledTable$3 = styled__default.default(designSystem.Table)`
2156
2149
 
2157
2150
  tbody tr {
2158
2151
  transition: all ${theme$3.transitions.fast};
2159
- border-bottom: 1px solid ${theme$3.colors.neutral[100]};
2152
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
2160
2153
 
2161
2154
  &:last-child {
2162
2155
  border-bottom: none;
2163
2156
  }
2164
2157
 
2165
2158
  &:hover {
2166
- background: ${theme$3.colors.neutral[50]};
2159
+ background: ${(props) => props.theme.colors.primary100};
2167
2160
  }
2168
2161
 
2169
2162
  td {
2170
2163
  padding: ${theme$3.spacing.lg} ${theme$3.spacing.lg};
2171
- color: ${theme$3.colors.neutral[700]};
2164
+ color: ${(props) => props.theme.colors.neutral800};
2172
2165
  vertical-align: middle;
2173
2166
  }
2174
2167
  }
2175
2168
  `;
2176
2169
  const FilterBar$3 = styled__default.default(designSystem.Flex)`
2177
- background: ${theme$3.colors.neutral[0]};
2170
+ background: ${(props) => props.theme.colors.neutral0};
2178
2171
  padding: ${theme$3.spacing.md} ${theme$3.spacing.lg};
2179
2172
  border-radius: ${theme$3.borderRadius.lg};
2180
2173
  margin-bottom: ${theme$3.spacing.lg};
2181
2174
  box-shadow: ${theme$3.shadows.sm};
2182
- border: 1px solid ${theme$3.colors.neutral[200]};
2175
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
2183
2176
  gap: ${theme$3.spacing.md};
2184
2177
  align-items: center;
2185
2178
  `;
@@ -2194,16 +2187,18 @@ const SearchIcon$2 = styled__default.default(outline.MagnifyingGlassIcon)`
2194
2187
  left: 12px;
2195
2188
  width: 16px;
2196
2189
  height: 16px;
2197
- color: ${theme$3.colors.neutral[600]};
2190
+ color: ${(props) => props.theme.colors.neutral600};
2198
2191
  pointer-events: none;
2199
2192
  `;
2200
2193
  const StyledSearchInput$2 = styled__default.default.input`
2201
2194
  width: 100%;
2202
2195
  padding: 10px 12px 10px 40px;
2203
- border: 1px solid ${theme$3.colors.neutral[200]};
2196
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
2204
2197
  border-radius: ${theme$3.borderRadius.md};
2205
2198
  font-size: 0.875rem;
2206
2199
  transition: all ${theme$3.transitions.fast};
2200
+ background: ${(props) => props.theme.colors.neutral0};
2201
+ color: ${(props) => props.theme.colors.neutral800};
2207
2202
 
2208
2203
  &:focus {
2209
2204
  outline: none;
@@ -2212,7 +2207,7 @@ const StyledSearchInput$2 = styled__default.default.input`
2212
2207
  }
2213
2208
 
2214
2209
  &::placeholder {
2215
- color: ${theme$3.colors.neutral[600]};
2210
+ color: ${(props) => props.theme.colors.neutral500};
2216
2211
  }
2217
2212
  `;
2218
2213
  const HomePage = () => {
@@ -2349,10 +2344,10 @@ const HomePage = () => {
2349
2344
  designSystem.Typography,
2350
2345
  {
2351
2346
  variant: "alpha",
2347
+ textColor: "neutral800",
2352
2348
  style: {
2353
2349
  fontSize: "1.75rem",
2354
2350
  fontWeight: "700",
2355
- color: theme$3.colors.neutral[800],
2356
2351
  marginBottom: "8px"
2357
2352
  },
2358
2353
  children: "No Email Accounts Yet"
@@ -2383,7 +2378,7 @@ const HomePage = () => {
2383
2378
  ] })
2384
2379
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(AccountsContainer, { children: [
2385
2380
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { marginBottom: theme$3.spacing.md }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", marginBottom: 4, children: [
2386
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$3.colors.neutral[700] }, children: "📧 Email Accounts" }),
2381
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "📧 Email Accounts" }),
2387
2382
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { startIcon: /* @__PURE__ */ jsxRuntime.jsx(outline.PlusIcon, { style: { width: 16, height: 16 } }), onClick: () => setShowAddModal(true), children: "Add Account" })
2388
2383
  ] }) }),
2389
2384
  /* @__PURE__ */ jsxRuntime.jsxs(FilterBar$3, { children: [
@@ -2474,10 +2469,10 @@ const HomePage = () => {
2474
2469
  account.dailyLimit > 0 && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { width: "100%", minWidth: "80px" }, children: /* @__PURE__ */ jsxRuntime.jsx(
2475
2470
  designSystem.Box,
2476
2471
  {
2472
+ background: "neutral100",
2477
2473
  style: {
2478
2474
  width: "100%",
2479
2475
  height: "6px",
2480
- background: theme$3.colors.neutral[100],
2481
2476
  borderRadius: "999px",
2482
2477
  overflow: "hidden"
2483
2478
  },
@@ -2826,15 +2821,6 @@ const theme$2 = {
2826
2821
  danger: {
2827
2822
  100: "#FEE2E2",
2828
2823
  600: "#DC2626"
2829
- },
2830
- neutral: {
2831
- 0: "#FFFFFF",
2832
- 50: "#F9FAFB",
2833
- 100: "#F3F4F6",
2834
- 200: "#E5E7EB",
2835
- 600: "#4B5563",
2836
- 700: "#374151",
2837
- 800: "#1F2937"
2838
2824
  }
2839
2825
  },
2840
2826
  shadows: {
@@ -2948,7 +2934,7 @@ const HeaderContent$2 = styled__default.default(designSystem.Flex)`
2948
2934
  z-index: 1;
2949
2935
  `;
2950
2936
  const Title$2 = styled__default.default(designSystem.Typography)`
2951
- color: ${theme$2.colors.neutral[0]};
2937
+ color: white;
2952
2938
  font-size: 2rem;
2953
2939
  font-weight: 700;
2954
2940
  letter-spacing: -0.025em;
@@ -3000,7 +2986,7 @@ const StatsGrid$2 = styled__default.default.div`
3000
2986
  }
3001
2987
  `;
3002
2988
  const StatCard$2 = styled__default.default(designSystem.Box)`
3003
- background: ${theme$2.colors.neutral[0]};
2989
+ background: ${(props) => props.theme.colors.neutral0};
3004
2990
  border-radius: ${theme$2.borderRadius.lg};
3005
2991
  padding: 28px ${theme$2.spacing.lg};
3006
2992
  position: relative;
@@ -3009,7 +2995,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
3009
2995
  ${styled.css`animation: ${fadeIn$3} ${theme$2.transitions.slow} backwards;`}
3010
2996
  animation-delay: ${(props) => props.$delay || "0s"};
3011
2997
  box-shadow: ${theme$2.shadows.sm};
3012
- border: 1px solid ${theme$2.colors.neutral[200]};
2998
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
3013
2999
  min-width: 200px;
3014
3000
  flex: 1;
3015
3001
  text-align: center;
@@ -3074,7 +3060,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
3074
3060
  const StatValue$2 = styled__default.default(designSystem.Typography)`
3075
3061
  font-size: 2.75rem;
3076
3062
  font-weight: 700;
3077
- color: ${theme$2.colors.neutral[800]};
3063
+ color: ${(props) => props.theme.colors.neutral800};
3078
3064
  line-height: 1;
3079
3065
  margin-bottom: 10px;
3080
3066
  transition: all ${theme$2.transitions.normal};
@@ -3087,7 +3073,7 @@ const StatValue$2 = styled__default.default(designSystem.Typography)`
3087
3073
  `;
3088
3074
  const StatLabel$2 = styled__default.default(designSystem.Typography)`
3089
3075
  font-size: 0.95rem;
3090
- color: ${theme$2.colors.neutral[600]};
3076
+ color: ${(props) => props.theme.colors.neutral600};
3091
3077
  font-weight: 500;
3092
3078
  letter-spacing: 0.025em;
3093
3079
  text-align: center;
@@ -3100,9 +3086,9 @@ const RulesContainer = styled__default.default(designSystem.Box)`
3100
3086
  margin-top: ${theme$2.spacing.xl};
3101
3087
  `;
3102
3088
  const EmptyState$2 = styled__default.default(designSystem.Box)`
3103
- background: ${theme$2.colors.neutral[0]};
3089
+ background: ${(props) => props.theme.colors.neutral0};
3104
3090
  border-radius: ${theme$2.borderRadius.xl};
3105
- border: 2px dashed ${theme$2.colors.neutral[200]};
3091
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
3106
3092
  padding: 80px 32px;
3107
3093
  text-align: center;
3108
3094
  position: relative;
@@ -3129,19 +3115,19 @@ const OnlineBadge = styled__default.default.div`
3129
3115
  width: 12px;
3130
3116
  height: 12px;
3131
3117
  border-radius: 50%;
3132
- background: ${(props) => props.$active ? theme$2.colors.success[500] : theme$2.colors.neutral[400]};
3118
+ background: ${(props) => props.$active ? theme$2.colors.success[500] : props.theme.colors.neutral400};
3133
3119
  display: inline-block;
3134
3120
  margin-right: 8px;
3135
3121
  ${styled.css`animation: ${(props) => props.$active ? pulse : "none"} 2s ease-in-out infinite;`}
3136
3122
  `;
3137
3123
  const StyledTable$2 = styled__default.default(designSystem.Table)`
3138
3124
  thead {
3139
- background: ${theme$2.colors.neutral[50]};
3140
- border-bottom: 2px solid ${theme$2.colors.neutral[200]};
3125
+ background: ${(props) => props.theme.colors.neutral100};
3126
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
3141
3127
 
3142
3128
  th {
3143
3129
  font-weight: 600;
3144
- color: ${theme$2.colors.neutral[700]};
3130
+ color: ${(props) => props.theme.colors.neutral800};
3145
3131
  font-size: 0.875rem;
3146
3132
  text-transform: uppercase;
3147
3133
  letter-spacing: 0.025em;
@@ -3151,30 +3137,30 @@ const StyledTable$2 = styled__default.default(designSystem.Table)`
3151
3137
 
3152
3138
  tbody tr {
3153
3139
  transition: all ${theme$2.transitions.fast};
3154
- border-bottom: 1px solid ${theme$2.colors.neutral[100]};
3140
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
3155
3141
 
3156
3142
  &:last-child {
3157
3143
  border-bottom: none;
3158
3144
  }
3159
3145
 
3160
3146
  &:hover {
3161
- background: ${theme$2.colors.neutral[50]};
3147
+ background: ${(props) => props.theme.colors.primary100};
3162
3148
  }
3163
3149
 
3164
3150
  td {
3165
3151
  padding: ${theme$2.spacing.lg} ${theme$2.spacing.lg};
3166
- color: ${theme$2.colors.neutral[700]};
3152
+ color: ${(props) => props.theme.colors.neutral800};
3167
3153
  vertical-align: middle;
3168
3154
  }
3169
3155
  }
3170
3156
  `;
3171
3157
  const FilterBar$2 = styled__default.default(designSystem.Flex)`
3172
- background: ${theme$2.colors.neutral[0]};
3158
+ background: ${(props) => props.theme.colors.neutral0};
3173
3159
  padding: ${theme$2.spacing.md} ${theme$2.spacing.lg};
3174
3160
  border-radius: ${theme$2.borderRadius.lg};
3175
3161
  margin-bottom: ${theme$2.spacing.lg};
3176
3162
  box-shadow: ${theme$2.shadows.sm};
3177
- border: 1px solid ${theme$2.colors.neutral[200]};
3163
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
3178
3164
  gap: ${theme$2.spacing.md};
3179
3165
  align-items: center;
3180
3166
  `;
@@ -3189,13 +3175,13 @@ const SearchIcon$1 = styled__default.default(outline.MagnifyingGlassIcon)`
3189
3175
  left: 12px;
3190
3176
  width: 16px;
3191
3177
  height: 16px;
3192
- color: ${theme$2.colors.neutral[600]};
3178
+ color: ${(props) => props.theme.colors.neutral600};
3193
3179
  pointer-events: none;
3194
3180
  `;
3195
3181
  const StyledSearchInput$1 = styled__default.default.input`
3196
3182
  width: 100%;
3197
3183
  padding: 10px 12px 10px 40px;
3198
- border: 1px solid ${theme$2.colors.neutral[200]};
3184
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
3199
3185
  border-radius: ${theme$2.borderRadius.md};
3200
3186
  font-size: 0.875rem;
3201
3187
  transition: all ${theme$2.transitions.fast};
@@ -3207,7 +3193,7 @@ const StyledSearchInput$1 = styled__default.default.input`
3207
3193
  }
3208
3194
 
3209
3195
  &::placeholder {
3210
- color: ${theme$2.colors.neutral[600]};
3196
+ color: ${(props) => props.theme.colors.neutral500};
3211
3197
  }
3212
3198
  `;
3213
3199
  const RoutingRulesPage = () => {
@@ -3321,10 +3307,10 @@ const RoutingRulesPage = () => {
3321
3307
  designSystem.Typography,
3322
3308
  {
3323
3309
  variant: "alpha",
3310
+ textColor: "neutral800",
3324
3311
  style: {
3325
3312
  fontSize: "1.75rem",
3326
3313
  fontWeight: "700",
3327
- color: theme$2.colors.neutral[800],
3328
3314
  marginBottom: "8px"
3329
3315
  },
3330
3316
  children: "No Routing Rules Yet"
@@ -3355,7 +3341,7 @@ const RoutingRulesPage = () => {
3355
3341
  ] })
3356
3342
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(RulesContainer, { children: [
3357
3343
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { marginBottom: theme$2.spacing.md }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", marginBottom: 4, children: [
3358
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$2.colors.neutral[700] }, children: "🎯 Routing Rules" }),
3344
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "🎯 Routing Rules" }),
3359
3345
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { startIcon: /* @__PURE__ */ jsxRuntime.jsx(outline.PlusIcon, { style: { width: 16, height: 16 } }), onClick: () => setShowModal(true), children: "Create Rule" })
3360
3346
  ] }) }),
3361
3347
  /* @__PURE__ */ jsxRuntime.jsxs(FilterBar$2, { children: [
@@ -3844,8 +3830,7 @@ const theme$1 = {
3844
3830
  primary: { 50: "#F0F9FF", 100: "#E0F2FE", 500: "#0EA5E9", 600: "#0284C7", 700: "#0369A1" },
3845
3831
  secondary: { 50: "#F5F3FF", 100: "#EDE9FE", 600: "#9333EA" },
3846
3832
  success: { 100: "#DCFCE7", 500: "#22C55E", 600: "#16A34A" },
3847
- warning: { 100: "#FEF3C7", 500: "#F59E0B", 600: "#D97706" },
3848
- neutral: { 0: "#FFFFFF", 50: "#F9FAFB", 100: "#F3F4F6", 200: "#E5E7EB", 600: "#4B5563", 700: "#374151", 800: "#1F2937" }
3833
+ warning: { 100: "#FEF3C7", 500: "#F59E0B", 600: "#D97706" }
3849
3834
  },
3850
3835
  shadows: {
3851
3836
  sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
@@ -3892,12 +3877,12 @@ const ScrollableDialogBody = styled__default.default(designSystem.Box)`
3892
3877
  }
3893
3878
 
3894
3879
  &::-webkit-scrollbar-thumb {
3895
- background: ${theme$1.colors.neutral[200]};
3880
+ background: ${(props) => props.theme.colors.neutral200};
3896
3881
  border-radius: 3px;
3897
3882
  }
3898
-
3883
+
3899
3884
  &::-webkit-scrollbar-thumb:hover {
3900
- background: ${theme$1.colors.neutral[300]};
3885
+ background: ${(props) => props.theme.colors.neutral300};
3901
3886
  }
3902
3887
  `;
3903
3888
  const CodeSection = styled__default.default(designSystem.Box)`
@@ -3915,7 +3900,7 @@ const CodeHeader = styled__default.default(designSystem.Flex)`
3915
3900
  const CodeLabel = styled__default.default(designSystem.Typography)`
3916
3901
  font-size: 15px;
3917
3902
  font-weight: 600;
3918
- color: ${theme$1.colors.neutral[800]};
3903
+ color: ${(props) => props.theme.colors.neutral800};
3919
3904
  display: flex;
3920
3905
  align-items: center;
3921
3906
  gap: 8px;
@@ -4112,7 +4097,7 @@ const HeaderContent$1 = styled__default.default(designSystem.Flex)`
4112
4097
  z-index: 1;
4113
4098
  `;
4114
4099
  const Title$1 = styled__default.default(designSystem.Typography)`
4115
- color: ${theme$1.colors.neutral[0]};
4100
+ color: white;
4116
4101
  font-size: 2rem;
4117
4102
  font-weight: 700;
4118
4103
  letter-spacing: -0.025em;
@@ -4164,7 +4149,7 @@ const StatsGrid$1 = styled__default.default.div`
4164
4149
  }
4165
4150
  `;
4166
4151
  const StatCard$1 = styled__default.default(designSystem.Box)`
4167
- background: ${theme$1.colors.neutral[0]};
4152
+ background: ${(props) => props.theme.colors.neutral0};
4168
4153
  border-radius: ${theme$1.borderRadius.lg};
4169
4154
  padding: 28px ${theme$1.spacing.lg};
4170
4155
  position: relative;
@@ -4173,7 +4158,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
4173
4158
  ${styled.css`animation: ${fadeIn$2} ${theme$1.transitions.slow} backwards;`}
4174
4159
  animation-delay: ${(props) => props.$delay || "0s"};
4175
4160
  box-shadow: ${theme$1.shadows.sm};
4176
- border: 1px solid ${theme$1.colors.neutral[200]};
4161
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
4177
4162
  min-width: 200px;
4178
4163
  flex: 1;
4179
4164
  text-align: center;
@@ -4238,7 +4223,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
4238
4223
  const StatValue$1 = styled__default.default(designSystem.Typography)`
4239
4224
  font-size: 2.75rem;
4240
4225
  font-weight: 700;
4241
- color: ${theme$1.colors.neutral[800]};
4226
+ color: ${(props) => props.theme.colors.neutral800};
4242
4227
  line-height: 1;
4243
4228
  margin-bottom: 10px;
4244
4229
  transition: all ${theme$1.transitions.normal};
@@ -4251,7 +4236,7 @@ const StatValue$1 = styled__default.default(designSystem.Typography)`
4251
4236
  `;
4252
4237
  const StatLabel$1 = styled__default.default(designSystem.Typography)`
4253
4238
  font-size: 0.95rem;
4254
- color: ${theme$1.colors.neutral[600]};
4239
+ color: ${(props) => props.theme.colors.neutral600};
4255
4240
  font-weight: 500;
4256
4241
  letter-spacing: 0.025em;
4257
4242
  text-align: center;
@@ -4267,12 +4252,12 @@ const SectionHeader = styled__default.default(designSystem.Box)`
4267
4252
  margin-bottom: ${theme$1.spacing.md};
4268
4253
  `;
4269
4254
  const FilterBar$1 = styled__default.default(designSystem.Flex)`
4270
- background: ${theme$1.colors.neutral[0]};
4255
+ background: ${(props) => props.theme.colors.neutral0};
4271
4256
  padding: ${theme$1.spacing.md} ${theme$1.spacing.lg};
4272
4257
  border-radius: ${theme$1.borderRadius.lg};
4273
4258
  margin-bottom: ${theme$1.spacing.lg};
4274
4259
  box-shadow: ${theme$1.shadows.sm};
4275
- border: 1px solid ${theme$1.colors.neutral[200]};
4260
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
4276
4261
  gap: ${theme$1.spacing.md};
4277
4262
  align-items: center;
4278
4263
  `;
@@ -4287,7 +4272,7 @@ const SearchIcon = styled__default.default(outline.MagnifyingGlassIcon)`
4287
4272
  left: 12px;
4288
4273
  width: 16px;
4289
4274
  height: 16px;
4290
- color: ${theme$1.colors.neutral[600]};
4275
+ color: ${(props) => props.theme.colors.neutral600};
4291
4276
  pointer-events: none;
4292
4277
  z-index: 1;
4293
4278
  `;
@@ -4298,12 +4283,12 @@ const StyledSearchInput = styled__default.default(designSystem.TextInput)`
4298
4283
  const StyledTable$1 = styled__default.default(designSystem.Table)`
4299
4284
  width: 100%;
4300
4285
  thead {
4301
- background: ${theme$1.colors.neutral[50]};
4302
- border-bottom: 2px solid ${theme$1.colors.neutral[200]};
4286
+ background: ${(props) => props.theme.colors.neutral100};
4287
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
4303
4288
 
4304
4289
  th {
4305
4290
  font-weight: 600;
4306
- color: ${theme$1.colors.neutral[700]};
4291
+ color: ${(props) => props.theme.colors.neutral800};
4307
4292
  font-size: 0.875rem;
4308
4293
  text-transform: uppercase;
4309
4294
  letter-spacing: 0.025em;
@@ -4313,27 +4298,27 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
4313
4298
 
4314
4299
  tbody tr {
4315
4300
  transition: all ${theme$1.transitions.fast};
4316
- border-bottom: 1px solid ${theme$1.colors.neutral[100]};
4301
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
4317
4302
 
4318
4303
  &:last-child {
4319
4304
  border-bottom: none;
4320
4305
  }
4321
4306
 
4322
4307
  &:hover {
4323
- background: ${theme$1.colors.neutral[50]};
4308
+ background: ${(props) => props.theme.colors.primary100};
4324
4309
  }
4325
4310
 
4326
4311
  td {
4327
4312
  padding: ${theme$1.spacing.lg} ${theme$1.spacing.lg};
4328
- color: ${theme$1.colors.neutral[700]};
4313
+ color: ${(props) => props.theme.colors.neutral800};
4329
4314
  vertical-align: middle;
4330
4315
  }
4331
4316
  }
4332
4317
  `;
4333
4318
  const EmptyState$1 = styled__default.default(designSystem.Box)`
4334
- background: ${theme$1.colors.neutral[0]};
4319
+ background: ${(props) => props.theme.colors.neutral0};
4335
4320
  border-radius: ${theme$1.borderRadius.xl};
4336
- border: 2px dashed ${theme$1.colors.neutral[200]};
4321
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
4337
4322
  padding: 80px 32px;
4338
4323
  text-align: center;
4339
4324
  position: relative;
@@ -4396,7 +4381,7 @@ const EmptyFeatureItem = styled__default.default.div`
4396
4381
  text-align: center;
4397
4382
  gap: ${theme$1.spacing.sm};
4398
4383
  padding: ${theme$1.spacing.lg};
4399
- background: ${theme$1.colors.neutral[0]};
4384
+ background: ${(props) => props.theme.colors.neutral0};
4400
4385
  border-radius: ${theme$1.borderRadius.md};
4401
4386
  box-shadow: ${theme$1.shadows.sm};
4402
4387
  transition: ${theme$1.transitions.fast};
@@ -4780,8 +4765,8 @@ const TemplateList = () => {
4780
4765
  /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
4781
4766
  /* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 24, height: 24, color: theme$1.colors.warning[600] } }),
4782
4767
  /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
4783
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.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!` }),
4784
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginTop: "4px" }, children: [
4768
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.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!` }),
4769
+ /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginTop: "4px" }, children: [
4785
4770
  "Using ",
4786
4771
  limits.emailTemplates.current,
4787
4772
  " of ",
@@ -4813,10 +4798,10 @@ const TemplateList = () => {
4813
4798
  designSystem.Typography,
4814
4799
  {
4815
4800
  variant: "alpha",
4801
+ textColor: "neutral800",
4816
4802
  style: {
4817
4803
  fontSize: "1.75rem",
4818
4804
  fontWeight: "700",
4819
- color: theme$1.colors.neutral[800],
4820
4805
  textAlign: "center",
4821
4806
  display: "block"
4822
4807
  },
@@ -4878,7 +4863,7 @@ const TemplateList = () => {
4878
4863
  ] })
4879
4864
  ] }) }) : /* @__PURE__ */ jsxRuntime.jsxs(TemplatesContainer, { children: [
4880
4865
  /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", marginBottom: 4, children: [
4881
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$1.colors.neutral[700] }, children: "Email Templates" }),
4866
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "Email Templates" }),
4882
4867
  /* @__PURE__ */ jsxRuntime.jsx(
4883
4868
  designSystem.Button,
4884
4869
  {
@@ -5024,16 +5009,16 @@ const TemplateList = () => {
5024
5009
  ] }) }) : /* @__PURE__ */ jsxRuntime.jsxs(
5025
5010
  designSystem.Box,
5026
5011
  {
5012
+ background: "neutral100",
5027
5013
  style: {
5028
5014
  padding: "80px 32px",
5029
5015
  textAlign: "center",
5030
- background: theme$1.colors.neutral[50],
5031
5016
  borderRadius: theme$1.borderRadius.lg,
5032
- border: `1px dashed ${theme$1.colors.neutral[200]}`
5017
+ border: "1px dashed #D1D5DB"
5033
5018
  },
5034
5019
  children: [
5035
- /* @__PURE__ */ jsxRuntime.jsx(outline.MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: theme$1.colors.neutral[400] } }),
5036
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", style: { marginBottom: "8px", color: theme$1.colors.neutral[700] }, children: "No templates found" }),
5020
+ /* @__PURE__ */ jsxRuntime.jsx(outline.MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: "#9CA3AF" } }),
5021
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", textColor: "neutral700", style: { marginBottom: "8px" }, children: "No templates found" }),
5037
5022
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: "Try adjusting your search or filters" }),
5038
5023
  /* @__PURE__ */ jsxRuntime.jsx(
5039
5024
  designSystem.Button,
@@ -5053,10 +5038,10 @@ const TemplateList = () => {
5053
5038
  ] }) }),
5054
5039
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Tabs.Content, { value: "coreEmails", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginTop: "24px" }, children: [
5055
5040
  /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, style: { marginBottom: "24px" }, children: [
5056
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", style: { fontSize: "1.5rem", fontWeight: 600, color: theme$1.colors.neutral[700] }, children: "Core Email Templates" }),
5041
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "Core Email Templates" }),
5057
5042
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: "Design the default Strapi system emails (Password Reset & Email Confirmation)" })
5058
5043
  ] }),
5059
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: `1px solid ${theme$1.colors.neutral[200]}`, overflow: "hidden" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Table, { colCount: 2, rowCount: 2, children: [
5044
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: "1px solid #E5E7EB", overflow: "hidden" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Table, { colCount: 2, rowCount: 2, children: [
5060
5045
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Thead, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Tr, { children: [
5061
5046
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Th, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", children: "Email Type" }) }),
5062
5047
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Th, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { textAlign: "right", width: "100%" }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", children: "Actions" }) }) })
@@ -5087,9 +5072,9 @@ const TemplateList = () => {
5087
5072
  display: "flex",
5088
5073
  flexDirection: "column"
5089
5074
  }, children: [
5090
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Header, { style: { borderBottom: `1px solid ${theme$1.colors.neutral[200]}`, paddingBottom: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
5075
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Header, { style: { borderBottom: "1px solid #E5E7EB", paddingBottom: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
5091
5076
  /* @__PURE__ */ jsxRuntime.jsx(outline.BoltIcon, { style: { width: 24, height: 24, color: theme$1.colors.primary[600] } }),
5092
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "beta", style: { color: theme$1.colors.neutral[800] }, children: [
5077
+ /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "beta", textColor: "neutral800", children: [
5093
5078
  "Send Template: ",
5094
5079
  selectedTemplate.name
5095
5080
  ] })
@@ -5103,7 +5088,7 @@ const TemplateList = () => {
5103
5088
  ] }),
5104
5089
  /* @__PURE__ */ jsxRuntime.jsx(RecommendedBadge, { children: "Empfohlen" })
5105
5090
  ] }),
5106
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.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." }),
5091
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.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." }),
5107
5092
  /* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
5108
5093
  /* @__PURE__ */ jsxRuntime.jsx(CodeBlock, { dangerouslySetInnerHTML: {
5109
5094
  __html: `<span class="comment">// Überall in deinem Strapi Backend:</span>
@@ -5156,7 +5141,7 @@ const TemplateList = () => {
5156
5141
  /* @__PURE__ */ jsxRuntime.jsx(outline.CodeBracketIcon, { style: { width: 20, height: 20, color: theme$1.colors.primary[600] } }),
5157
5142
  "MagicMail Plugin Service"
5158
5143
  ] }) }),
5159
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginBottom: "16px" }, children: "Direkter Zugriff auf den MagicMail Service für erweiterte Optionen." }),
5144
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px" }, children: "Direkter Zugriff auf den MagicMail Service für erweiterte Optionen." }),
5160
5145
  /* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
5161
5146
  /* @__PURE__ */ jsxRuntime.jsx(CodeBlock, { dangerouslySetInnerHTML: {
5162
5147
  __html: `<span class="comment">// Inside Strapi backend</span>
@@ -5205,7 +5190,7 @@ const TemplateList = () => {
5205
5190
  /* @__PURE__ */ jsxRuntime.jsx(outline.DocumentArrowDownIcon, { style: { width: 20, height: 20, color: theme$1.colors.secondary[600] } }),
5206
5191
  "REST API"
5207
5192
  ] }) }),
5208
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color: theme$1.colors.neutral[600], marginBottom: "16px" }, children: "Für externe Anwendungen, Frontend-Calls oder Postman Tests." }),
5193
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px" }, children: "Für externe Anwendungen, Frontend-Calls oder Postman Tests." }),
5209
5194
  /* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
5210
5195
  /* @__PURE__ */ jsxRuntime.jsx(CodeBlock, { dangerouslySetInnerHTML: {
5211
5196
  __html: `curl -X POST http://localhost:1337/api/magic-mail/send \\
@@ -5427,11 +5412,11 @@ const Container$1 = styled__default.default.div`
5427
5412
  min-height: 100vh;
5428
5413
  display: flex;
5429
5414
  flex-direction: column;
5430
- background: #f6f6f9;
5415
+ background: ${(props) => props.theme.colors.neutral100};
5431
5416
  `;
5432
5417
  const Header$1 = styled__default.default.div`
5433
5418
  padding: 24px;
5434
- background: white;
5419
+ background: ${(props) => props.theme.colors.neutral0};
5435
5420
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
5436
5421
  `;
5437
5422
  const HeaderRow = styled__default.default.div`
@@ -5502,8 +5487,8 @@ const TabsWrapper = styled__default.default.div`
5502
5487
  `;
5503
5488
  const TabListWrapper = styled__default.default.div`
5504
5489
  padding: 0 24px;
5505
- background: white;
5506
- border-bottom: 1px solid #eaeaef;
5490
+ background: ${(props) => props.theme.colors.neutral0};
5491
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral200};
5507
5492
  `;
5508
5493
  const StyledTabsRoot = styled__default.default(designSystem.Tabs.Root)`
5509
5494
  display: flex;
@@ -5517,7 +5502,7 @@ const StyledTabsContent = styled__default.default(designSystem.Tabs.Content)`
5517
5502
  `;
5518
5503
  const TabContentWrapper = styled__default.default.div`
5519
5504
  height: calc(100vh - 240px);
5520
- background: white;
5505
+ background: ${(props) => props.theme.colors.neutral0};
5521
5506
  position: relative;
5522
5507
  `;
5523
5508
  const TextTabContent = styled__default.default.div`
@@ -5589,10 +5574,10 @@ const ImportExportButton = styled__default.default.span`
5589
5574
  gap: 6px;
5590
5575
  padding: 8px 16px;
5591
5576
  height: 36px;
5592
- background: white;
5593
- border: 1px solid #dcdce4;
5577
+ background: ${(props) => props.theme.colors.neutral0};
5578
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5594
5579
  border-radius: 4px;
5595
- color: #32324d;
5580
+ color: ${(props) => props.theme.colors.neutral800};
5596
5581
  font-weight: 500;
5597
5582
  font-size: 13px;
5598
5583
  cursor: pointer;
@@ -5600,9 +5585,9 @@ const ImportExportButton = styled__default.default.span`
5600
5585
  white-space: nowrap;
5601
5586
 
5602
5587
  &:hover {
5603
- background: #f6f6f9;
5604
- border-color: #0EA5E9;
5605
- color: #0EA5E9;
5588
+ background: ${(props) => props.theme.colors.neutral100};
5589
+ border-color: ${(props) => props.theme.colors.primary600};
5590
+ color: ${(props) => props.theme.colors.primary600};
5606
5591
  transform: translateY(-1px);
5607
5592
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
5608
5593
  }
@@ -5621,8 +5606,8 @@ const ImportLabel = styled__default.default.label`
5621
5606
  display: inline-block;
5622
5607
  `;
5623
5608
  const BackButton = styled__default.default.button`
5624
- background: white;
5625
- border: 1px solid #dcdce4;
5609
+ background: ${(props) => props.theme.colors.neutral0};
5610
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5626
5611
  border-radius: 4px;
5627
5612
  padding: 8px 10px;
5628
5613
  height: 36px;
@@ -5633,8 +5618,8 @@ const BackButton = styled__default.default.button`
5633
5618
  transition: all 200ms;
5634
5619
 
5635
5620
  &:hover {
5636
- background: #f6f6f9;
5637
- border-color: #c0c0cf;
5621
+ background: ${(props) => props.theme.colors.neutral100};
5622
+ border-color: ${(props) => props.theme.colors.neutral300};
5638
5623
  transform: translateY(-1px);
5639
5624
  }
5640
5625
 
@@ -5648,8 +5633,8 @@ const BackButton = styled__default.default.button`
5648
5633
  }
5649
5634
  `;
5650
5635
  const VersionButton = styled__default.default.button`
5651
- background: white;
5652
- border: 1px solid #dcdce4;
5636
+ background: ${(props) => props.theme.colors.neutral0};
5637
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5653
5638
  border-radius: 4px;
5654
5639
  padding: 8px 16px;
5655
5640
  height: 36px;
@@ -5661,13 +5646,13 @@ const VersionButton = styled__default.default.button`
5661
5646
  transition: all 200ms;
5662
5647
  font-size: 13px;
5663
5648
  font-weight: 500;
5664
- color: #32324d;
5649
+ color: ${(props) => props.theme.colors.neutral800};
5665
5650
  white-space: nowrap;
5666
5651
 
5667
5652
  &:hover {
5668
- background: #f6f6f9;
5669
- border-color: #0EA5E9;
5670
- color: #0EA5E9;
5653
+ background: ${(props) => props.theme.colors.neutral100};
5654
+ border-color: ${(props) => props.theme.colors.primary600};
5655
+ color: ${(props) => props.theme.colors.primary600};
5671
5656
  transform: translateY(-1px);
5672
5657
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
5673
5658
  }
@@ -5687,7 +5672,7 @@ const VersionModal = styled__default.default.div`
5687
5672
  right: ${(props) => props.$isOpen ? "0" : "-450px"};
5688
5673
  width: 450px;
5689
5674
  height: 100vh;
5690
- background: white;
5675
+ background: ${(props) => props.theme.colors.neutral0};
5691
5676
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
5692
5677
  z-index: 9999;
5693
5678
  transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
@@ -5708,7 +5693,7 @@ const VersionModalOverlay = styled__default.default.div`
5708
5693
  `;
5709
5694
  const VersionModalHeader = styled__default.default.div`
5710
5695
  padding: 24px;
5711
- border-bottom: 1px solid #eaeaef;
5696
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral200};
5712
5697
  display: flex;
5713
5698
  justify-content: space-between;
5714
5699
  align-items: center;
@@ -5720,13 +5705,13 @@ const VersionModalContent = styled__default.default.div`
5720
5705
  `;
5721
5706
  const VersionItem = styled__default.default.div`
5722
5707
  padding: 16px;
5723
- border: 1px solid #eaeaef;
5708
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
5724
5709
  border-radius: 8px;
5725
5710
  margin-bottom: 12px;
5726
5711
  transition: all 150ms;
5727
5712
 
5728
5713
  &:hover {
5729
- border-color: #0EA5E9;
5714
+ border-color: ${(props) => props.theme.colors.primary600};
5730
5715
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
5731
5716
  }
5732
5717
  `;
@@ -5738,7 +5723,7 @@ const VersionItemHeader = styled__default.default.div`
5738
5723
  `;
5739
5724
  const VersionNumber = styled__default.default.div`
5740
5725
  font-weight: 600;
5741
- color: #32324d;
5726
+ color: ${(props) => props.theme.colors.neutral800};
5742
5727
  display: flex;
5743
5728
  align-items: center;
5744
5729
  gap: 8px;
@@ -5753,11 +5738,11 @@ const VersionBadge = styled__default.default.span`
5753
5738
  `;
5754
5739
  const VersionDate = styled__default.default.div`
5755
5740
  font-size: 13px;
5756
- color: #666687;
5741
+ color: ${(props) => props.theme.colors.neutral600};
5757
5742
  `;
5758
5743
  const VersionMeta = styled__default.default.div`
5759
5744
  font-size: 13px;
5760
- color: #666687;
5745
+ color: ${(props) => props.theme.colors.neutral600};
5761
5746
  margin-bottom: 12px;
5762
5747
  `;
5763
5748
  const VersionActions = styled__default.default.div`
@@ -5810,12 +5795,12 @@ const CloseButton$1 = styled__default.default.button`
5810
5795
  display: flex;
5811
5796
  align-items: center;
5812
5797
  justify-content: center;
5813
- color: #666687;
5798
+ color: ${(props) => props.theme.colors.neutral600};
5814
5799
  transition: all 150ms;
5815
5800
 
5816
5801
  &:hover {
5817
- color: #32324d;
5818
- background: #f6f6f9;
5802
+ color: ${(props) => props.theme.colors.neutral800};
5803
+ background: ${(props) => props.theme.colors.neutral100};
5819
5804
  border-radius: 4px;
5820
5805
  }
5821
5806
 
@@ -5827,7 +5812,7 @@ const CloseButton$1 = styled__default.default.button`
5827
5812
  const EmptyVersions = styled__default.default.div`
5828
5813
  text-align: center;
5829
5814
  padding: 60px 20px;
5830
- color: #666687;
5815
+ color: ${(props) => props.theme.colors.neutral600};
5831
5816
  display: flex;
5832
5817
  flex-direction: column;
5833
5818
  align-items: center;
@@ -5837,7 +5822,7 @@ const EmptyVersions = styled__default.default.div`
5837
5822
  width: 64px;
5838
5823
  height: 64px;
5839
5824
  margin-bottom: 16px;
5840
- color: #dcdce4;
5825
+ color: ${(props) => props.theme.colors.neutral300};
5841
5826
  }
5842
5827
  `;
5843
5828
  const EditorPage = () => {
@@ -6539,8 +6524,7 @@ const theme = {
6539
6524
  primary: { 50: "#F0F9FF", 100: "#E0F2FE", 500: "#0EA5E9", 600: "#0284C7" },
6540
6525
  secondary: { 50: "#F5F3FF", 100: "#EDE9FE", 600: "#9333EA" },
6541
6526
  success: { 100: "#DCFCE7", 500: "#22C55E", 600: "#16A34A" },
6542
- danger: { 100: "#FEE2E2", 500: "#EF4444", 600: "#DC2626" },
6543
- neutral: { 0: "#FFFFFF", 50: "#F9FAFB", 100: "#F3F4F6", 200: "#E5E7EB", 600: "#4B5563", 700: "#374151", 800: "#1F2937" }
6527
+ danger: { 100: "#FEE2E2", 500: "#EF4444", 600: "#DC2626" }
6544
6528
  },
6545
6529
  shadows: {
6546
6530
  sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
@@ -6622,7 +6606,7 @@ const HeaderContent = styled__default.default(designSystem.Flex)`
6622
6606
  z-index: 1;
6623
6607
  `;
6624
6608
  const Title = styled__default.default(designSystem.Typography)`
6625
- color: ${theme.colors.neutral[0]};
6609
+ color: white;
6626
6610
  font-size: 2rem;
6627
6611
  font-weight: 700;
6628
6612
  letter-spacing: -0.025em;
@@ -6674,7 +6658,7 @@ const StatsGrid = styled__default.default.div`
6674
6658
  }
6675
6659
  `;
6676
6660
  const StatCard = styled__default.default(designSystem.Box)`
6677
- background: ${theme.colors.neutral[0]};
6661
+ background: ${(props) => props.theme.colors.neutral0};
6678
6662
  border-radius: ${theme.borderRadius.lg};
6679
6663
  padding: 28px ${theme.spacing.lg};
6680
6664
  position: relative;
@@ -6683,7 +6667,7 @@ const StatCard = styled__default.default(designSystem.Box)`
6683
6667
  ${styled.css`animation: ${fadeIn$1} ${theme.transitions.slow} backwards;`}
6684
6668
  animation-delay: ${(props) => props.$delay || "0s"};
6685
6669
  box-shadow: ${theme.shadows.sm};
6686
- border: 1px solid ${theme.colors.neutral[200]};
6670
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
6687
6671
  min-width: 200px;
6688
6672
  flex: 1;
6689
6673
  text-align: center;
@@ -6747,7 +6731,7 @@ const StatIcon = styled__default.default(designSystem.Box)`
6747
6731
  const StatValue = styled__default.default(designSystem.Typography)`
6748
6732
  font-size: 2.25rem;
6749
6733
  font-weight: 700;
6750
- color: ${theme.colors.neutral[800]};
6734
+ color: ${(props) => props.theme.colors.neutral800};
6751
6735
  transition: all ${theme.transitions.normal};
6752
6736
  line-height: 1;
6753
6737
  margin-bottom: ${theme.spacing.xs};
@@ -6758,7 +6742,7 @@ const StatValue = styled__default.default(designSystem.Typography)`
6758
6742
  `;
6759
6743
  const StatLabel = styled__default.default(designSystem.Typography)`
6760
6744
  font-size: 0.875rem;
6761
- color: ${theme.colors.neutral[600]};
6745
+ color: ${(props) => props.theme.colors.neutral600};
6762
6746
  font-weight: 500;
6763
6747
  text-transform: uppercase;
6764
6748
  letter-spacing: 0.05em;
@@ -6768,21 +6752,21 @@ const StatLabel = styled__default.default(designSystem.Typography)`
6768
6752
  }
6769
6753
  `;
6770
6754
  const FilterBar = styled__default.default(designSystem.Box)`
6771
- background: ${theme.colors.neutral[0]};
6755
+ background: ${(props) => props.theme.colors.neutral0};
6772
6756
  border-radius: ${theme.borderRadius.lg};
6773
6757
  padding: ${theme.spacing.lg} ${theme.spacing.xl};
6774
6758
  margin-bottom: ${theme.spacing.lg};
6775
6759
  box-shadow: ${theme.shadows.sm};
6776
- border: 1px solid ${theme.colors.neutral[200]};
6760
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
6777
6761
  `;
6778
6762
  const StyledTable = styled__default.default(designSystem.Table)`
6779
6763
  thead {
6780
- background: ${theme.colors.neutral[50]};
6781
- border-bottom: 2px solid ${theme.colors.neutral[200]};
6764
+ background: ${(props) => props.theme.colors.neutral100};
6765
+ border-bottom: 2px solid ${(props) => props.theme.colors.neutral200};
6782
6766
 
6783
6767
  th {
6784
6768
  font-weight: 600;
6785
- color: ${theme.colors.neutral[700]};
6769
+ color: ${(props) => props.theme.colors.neutral800};
6786
6770
  font-size: 0.875rem;
6787
6771
  text-transform: uppercase;
6788
6772
  letter-spacing: 0.025em;
@@ -6792,35 +6776,35 @@ const StyledTable = styled__default.default(designSystem.Table)`
6792
6776
 
6793
6777
  tbody tr {
6794
6778
  transition: all ${theme.transitions.fast};
6795
- border-bottom: 1px solid ${theme.colors.neutral[100]};
6779
+ border-bottom: 1px solid ${(props) => props.theme.colors.neutral150};
6796
6780
 
6797
6781
  &:last-child {
6798
6782
  border-bottom: none;
6799
6783
  }
6800
6784
 
6801
6785
  &:hover {
6802
- background: ${theme.colors.neutral[50]};
6786
+ background: ${(props) => props.theme.colors.primary100};
6803
6787
  }
6804
6788
 
6805
6789
  td {
6806
6790
  padding: ${theme.spacing.lg} ${theme.spacing.lg};
6807
- color: ${theme.colors.neutral[700]};
6791
+ color: ${(props) => props.theme.colors.neutral800};
6808
6792
  vertical-align: middle;
6809
6793
  }
6810
6794
  }
6811
6795
  `;
6812
6796
  const TableContainer = styled__default.default(designSystem.Box)`
6813
- background: ${theme.colors.neutral[0]};
6797
+ background: ${(props) => props.theme.colors.neutral0};
6814
6798
  border-radius: ${theme.borderRadius.lg};
6815
6799
  box-shadow: ${theme.shadows.md};
6816
- border: 1px solid ${theme.colors.neutral[200]};
6800
+ border: 1px solid ${(props) => props.theme.colors.neutral200};
6817
6801
  overflow: hidden;
6818
6802
  margin-bottom: ${theme.spacing.xl};
6819
6803
  `;
6820
6804
  const EmptyState = styled__default.default(designSystem.Box)`
6821
- background: ${theme.colors.neutral[0]};
6805
+ background: ${(props) => props.theme.colors.neutral0};
6822
6806
  border-radius: ${theme.borderRadius.xl};
6823
- border: 2px dashed ${theme.colors.neutral[200]};
6807
+ border: 2px dashed ${(props) => props.theme.colors.neutral300};
6824
6808
  padding: 80px 32px;
6825
6809
  text-align: center;
6826
6810
  position: relative;
@@ -7066,7 +7050,7 @@ const Analytics = () => {
7066
7050
  log.openCount === 1 ? "time" : "times"
7067
7051
  ] })
7068
7052
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
7069
- /* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: theme.colors.neutral[400] } }),
7053
+ /* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "#9CA3AF" } }),
7070
7054
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "No" })
7071
7055
  ] }) }),
7072
7056
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: log.clickCount > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
@@ -7077,7 +7061,7 @@ const Analytics = () => {
7077
7061
  log.clickCount === 1 ? "time" : "times"
7078
7062
  ] })
7079
7063
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
7080
- /* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: theme.colors.neutral[400] } }),
7064
+ /* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "#9CA3AF" } }),
7081
7065
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "No" })
7082
7066
  ] }) })
7083
7067
  ] }, log.id)) })