@sonordev/site-kit 1.5.5 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/AnalyticsProvider-J7UMCBCJ.mjs +4 -0
  2. package/dist/{AnalyticsProvider-BBLU4U2T.mjs.map → AnalyticsProvider-J7UMCBCJ.mjs.map} +1 -1
  3. package/dist/AnalyticsProvider-PPDJIGWY.js +25 -0
  4. package/dist/{AnalyticsProvider-EMDIAAWR.js.map → AnalyticsProvider-PPDJIGWY.js.map} +1 -1
  5. package/dist/EngageWidget-IDBEBGQR.js +13 -0
  6. package/dist/{EngageWidget-UHWXXCAX.js.map → EngageWidget-IDBEBGQR.js.map} +1 -1
  7. package/dist/EngageWidget-SRRI4W7U.mjs +4 -0
  8. package/dist/{EngageWidget-CVZMTSB6.mjs.map → EngageWidget-SRRI4W7U.mjs.map} +1 -1
  9. package/dist/SignalBridge-D6W6OLVG.mjs +4 -0
  10. package/dist/{SignalBridge-WGHMEILW.mjs.map → SignalBridge-D6W6OLVG.mjs.map} +1 -1
  11. package/dist/SignalBridge-THATXU2R.js +33 -0
  12. package/dist/{SignalBridge-6UYUZ2CN.js.map → SignalBridge-THATXU2R.js.map} +1 -1
  13. package/dist/analytics/index.js +9 -9
  14. package/dist/analytics/index.mjs +2 -2
  15. package/dist/blog/index.js +75 -75
  16. package/dist/blog/index.js.map +1 -1
  17. package/dist/blog/index.mjs +75 -75
  18. package/dist/blog/index.mjs.map +1 -1
  19. package/dist/blog/server.js +2 -2
  20. package/dist/blog/server.js.map +1 -1
  21. package/dist/blog/server.mjs +2 -2
  22. package/dist/blog/server.mjs.map +1 -1
  23. package/dist/brand.css +87 -0
  24. package/dist/{chunk-ZU6YPEAF.mjs → chunk-2OJCYWSQ.mjs} +85 -73
  25. package/dist/chunk-2OJCYWSQ.mjs.map +1 -0
  26. package/dist/{chunk-PM2KQ6YK.mjs → chunk-3CXAWGUP.mjs} +3 -3
  27. package/dist/{chunk-PM2KQ6YK.mjs.map → chunk-3CXAWGUP.mjs.map} +1 -1
  28. package/dist/{chunk-36Y7OWES.mjs → chunk-3YQCPLGP.mjs} +4 -4
  29. package/dist/chunk-3YQCPLGP.mjs.map +1 -0
  30. package/dist/{chunk-XWWBUC2I.js → chunk-6ZGM7S5O.js} +77 -61
  31. package/dist/chunk-6ZGM7S5O.js.map +1 -0
  32. package/dist/{chunk-XFOL6JDF.mjs → chunk-7LAOWIWE.mjs} +4 -4
  33. package/dist/chunk-7LAOWIWE.mjs.map +1 -0
  34. package/dist/{chunk-YBTYDBWY.js → chunk-7M3FNAS5.js} +6 -8
  35. package/dist/chunk-7M3FNAS5.js.map +1 -0
  36. package/dist/{chunk-4QHHFCAA.mjs → chunk-AOIG5PVY.mjs} +6 -8
  37. package/dist/chunk-AOIG5PVY.mjs.map +1 -0
  38. package/dist/{chunk-VZMDH3R4.mjs → chunk-B22WSN4L.mjs} +4 -4
  39. package/dist/chunk-B22WSN4L.mjs.map +1 -0
  40. package/dist/{chunk-ELDJDBQL.js → chunk-BVUOATPG.js} +7 -7
  41. package/dist/chunk-BVUOATPG.js.map +1 -0
  42. package/dist/{chunk-N24BPFF6.mjs → chunk-CU6OGBKK.mjs} +6 -6
  43. package/dist/chunk-CU6OGBKK.mjs.map +1 -0
  44. package/dist/{chunk-NRNK7LXK.mjs → chunk-DWI5ZKPM.mjs} +4 -4
  45. package/dist/chunk-DWI5ZKPM.mjs.map +1 -0
  46. package/dist/{chunk-KRPFLF62.mjs → chunk-F5NXD7VQ.mjs} +10 -12
  47. package/dist/{chunk-KRPFLF62.mjs.map → chunk-F5NXD7VQ.mjs.map} +1 -1
  48. package/dist/{chunk-PTTDKFL7.js → chunk-FCXQECM7.js} +6 -6
  49. package/dist/chunk-FCXQECM7.js.map +1 -0
  50. package/dist/{chunk-DY4K6X3A.js → chunk-GCPPXUAI.js} +6 -6
  51. package/dist/chunk-GCPPXUAI.js.map +1 -0
  52. package/dist/{chunk-KJN2C6YE.js → chunk-I34XL5VJ.js} +5 -5
  53. package/dist/chunk-I34XL5VJ.js.map +1 -0
  54. package/dist/{chunk-G6VGUAK2.js → chunk-IFVMZFNT.js} +4 -4
  55. package/dist/chunk-IFVMZFNT.js.map +1 -0
  56. package/dist/{chunk-FMB2RZDH.mjs → chunk-J4U3IEXL.mjs} +6 -6
  57. package/dist/chunk-J4U3IEXL.mjs.map +1 -0
  58. package/dist/{chunk-EUNL6GAL.js → chunk-JP5WGL75.js} +4 -4
  59. package/dist/chunk-JP5WGL75.js.map +1 -0
  60. package/dist/{chunk-MG23BS36.js → chunk-L3UB4B74.js} +5 -5
  61. package/dist/chunk-L3UB4B74.js.map +1 -0
  62. package/dist/{chunk-FVCQBTNK.mjs → chunk-MSRLAD7F.mjs} +77 -61
  63. package/dist/chunk-MSRLAD7F.mjs.map +1 -0
  64. package/dist/{chunk-M5FLRLHI.mjs → chunk-OM6R7CDP.mjs} +3 -3
  65. package/dist/chunk-OM6R7CDP.mjs.map +1 -0
  66. package/dist/{chunk-4X5TFGKD.mjs → chunk-P3POHQWW.mjs} +422 -426
  67. package/dist/chunk-P3POHQWW.mjs.map +1 -0
  68. package/dist/{chunk-GJD4CFHN.js → chunk-RLNG67S5.js} +7 -7
  69. package/dist/chunk-RLNG67S5.js.map +1 -0
  70. package/dist/{chunk-FTSXKDP3.js → chunk-RO6DHV6S.js} +10 -12
  71. package/dist/{chunk-FTSXKDP3.js.map → chunk-RO6DHV6S.js.map} +1 -1
  72. package/dist/{chunk-WW7UM7XY.js → chunk-TZAD7CZD.js} +424 -428
  73. package/dist/chunk-TZAD7CZD.js.map +1 -0
  74. package/dist/{chunk-TXZNP76P.js → chunk-UD5447TC.js} +13 -15
  75. package/dist/chunk-UD5447TC.js.map +1 -0
  76. package/dist/{chunk-TC6TOW2T.js → chunk-UJ757WGI.js} +4 -4
  77. package/dist/{chunk-TC6TOW2T.js.map → chunk-UJ757WGI.js.map} +1 -1
  78. package/dist/{chunk-C3A5HXHX.mjs → chunk-V6V6OXS2.mjs} +5 -5
  79. package/dist/chunk-V6V6OXS2.mjs.map +1 -0
  80. package/dist/{chunk-X4J33XQD.js → chunk-W6K7MQCC.js} +6 -6
  81. package/dist/chunk-W6K7MQCC.js.map +1 -0
  82. package/dist/{chunk-FI2ME55T.mjs → chunk-W7RZ3OTA.mjs} +7 -7
  83. package/dist/chunk-W7RZ3OTA.mjs.map +1 -0
  84. package/dist/{chunk-IJ2LWZID.js → chunk-WETCVFIK.js} +85 -73
  85. package/dist/chunk-WETCVFIK.js.map +1 -0
  86. package/dist/{chunk-VNAJQKYG.mjs → chunk-WN2PUL6B.mjs} +13 -15
  87. package/dist/chunk-WN2PUL6B.mjs.map +1 -0
  88. package/dist/cli/index.js +19339 -3461
  89. package/dist/cli/index.js.map +1 -1
  90. package/dist/cli/index.mjs +19331 -3452
  91. package/dist/cli/index.mjs.map +1 -1
  92. package/dist/cms/index.d.mts +1 -1
  93. package/dist/cms/index.d.ts +1 -1
  94. package/dist/cms/index.js +3 -3
  95. package/dist/cms/index.js.map +1 -1
  96. package/dist/cms/index.mjs +2 -2
  97. package/dist/cms/index.mjs.map +1 -1
  98. package/dist/cms/server.js +4 -4
  99. package/dist/cms/server.mjs +1 -1
  100. package/dist/commerce/index.js +47 -47
  101. package/dist/commerce/index.mjs +3 -3
  102. package/dist/engage/index.js +6 -6
  103. package/dist/engage/index.js.map +1 -1
  104. package/dist/engage/index.mjs +3 -3
  105. package/dist/engage/index.mjs.map +1 -1
  106. package/dist/forms/index.js +379 -84
  107. package/dist/forms/index.js.map +1 -1
  108. package/dist/forms/index.mjs +375 -65
  109. package/dist/forms/index.mjs.map +1 -1
  110. package/dist/forms/styles.css +312 -0
  111. package/dist/images/index.js +11 -11
  112. package/dist/images/index.mjs +2 -2
  113. package/dist/images/server.js +4 -4
  114. package/dist/images/server.mjs +1 -1
  115. package/dist/index.d.mts +4 -131
  116. package/dist/index.d.ts +4 -131
  117. package/dist/index.js +85 -1373
  118. package/dist/index.js.map +1 -1
  119. package/dist/index.mjs +13 -1294
  120. package/dist/index.mjs.map +1 -1
  121. package/dist/layout/client.js +2 -2
  122. package/dist/layout/client.mjs +1 -1
  123. package/dist/layout/index.js +21 -11
  124. package/dist/layout/index.js.map +1 -1
  125. package/dist/layout/index.mjs +17 -7
  126. package/dist/layout/index.mjs.map +1 -1
  127. package/dist/llms/index.d.mts +3 -3
  128. package/dist/llms/index.d.ts +3 -3
  129. package/dist/llms/index.js +12 -12
  130. package/dist/llms/index.js.map +1 -1
  131. package/dist/llms/index.mjs +2 -2
  132. package/dist/llms/index.mjs.map +1 -1
  133. package/dist/manifest/index.js +4 -4
  134. package/dist/manifest/index.js.map +1 -1
  135. package/dist/manifest/index.mjs +3 -3
  136. package/dist/manifest/index.mjs.map +1 -1
  137. package/dist/middleware/index.js +3 -3
  138. package/dist/middleware/index.mjs +2 -2
  139. package/dist/redirects/index.js +6 -6
  140. package/dist/redirects/index.mjs +2 -2
  141. package/dist/robots/index.js +3 -3
  142. package/dist/robots/index.js.map +1 -1
  143. package/dist/robots/index.mjs +2 -2
  144. package/dist/robots/index.mjs.map +1 -1
  145. package/dist/{routing-DZYzyDHw.d.ts → routing-DQ_Et-OP.d.mts} +4 -4
  146. package/dist/{routing-B5XS-6_W.d.mts → routing-IYiJNIIX.d.ts} +4 -4
  147. package/dist/seo/index.d.mts +3 -5
  148. package/dist/seo/index.d.ts +3 -5
  149. package/dist/seo/index.js +77 -76
  150. package/dist/seo/index.js.map +1 -1
  151. package/dist/seo/index.mjs +41 -40
  152. package/dist/seo/index.mjs.map +1 -1
  153. package/dist/seo/register-sitemap-cli.js +3 -3
  154. package/dist/seo/register-sitemap-cli.js.map +1 -1
  155. package/dist/seo/register-sitemap-cli.mjs +3 -3
  156. package/dist/seo/register-sitemap-cli.mjs.map +1 -1
  157. package/dist/seo/server.d.mts +3 -3
  158. package/dist/seo/server.d.ts +3 -3
  159. package/dist/seo/server.js +7 -7
  160. package/dist/seo/server.js.map +1 -1
  161. package/dist/seo/server.mjs +5 -5
  162. package/dist/seo/server.mjs.map +1 -1
  163. package/dist/{server-api-XGKRGUMG.js → server-api-36R24YWN.js} +21 -21
  164. package/dist/{server-api-XGKRGUMG.js.map → server-api-36R24YWN.js.map} +1 -1
  165. package/dist/{server-api-COVFLFZ2.mjs → server-api-UIZU4JM3.mjs} +3 -3
  166. package/dist/{server-api-COVFLFZ2.mjs.map → server-api-UIZU4JM3.mjs.map} +1 -1
  167. package/dist/setup/index.d.mts +2 -5
  168. package/dist/setup/index.d.ts +2 -5
  169. package/dist/setup/index.js +0 -31
  170. package/dist/setup/index.mjs +1 -4
  171. package/dist/site-config/index.js +3 -3
  172. package/dist/site-config/index.mjs +1 -1
  173. package/dist/sitemap/index.js +10 -9
  174. package/dist/sitemap/index.js.map +1 -1
  175. package/dist/sitemap/index.mjs +8 -7
  176. package/dist/sitemap/index.mjs.map +1 -1
  177. package/dist/sync/index.js +13 -13
  178. package/dist/sync/index.mjs +1 -1
  179. package/dist/{types-KZP_VWZp.d.mts → types-CGkyylOa.d.mts} +2 -2
  180. package/dist/{types-KZP_VWZp.d.ts → types-CGkyylOa.d.ts} +2 -2
  181. package/package.json +4 -12
  182. package/dist/AnalyticsProvider-BBLU4U2T.mjs +0 -4
  183. package/dist/AnalyticsProvider-EMDIAAWR.js +0 -25
  184. package/dist/EngageWidget-CVZMTSB6.mjs +0 -4
  185. package/dist/EngageWidget-UHWXXCAX.js +0 -13
  186. package/dist/SetupWizard-Cki06kB0.d.mts +0 -12
  187. package/dist/SetupWizard-Cki06kB0.d.ts +0 -12
  188. package/dist/SignalBridge-6UYUZ2CN.js +0 -33
  189. package/dist/SignalBridge-WGHMEILW.mjs +0 -4
  190. package/dist/chunk-36Y7OWES.mjs.map +0 -1
  191. package/dist/chunk-373TK6TZ.js +0 -321
  192. package/dist/chunk-373TK6TZ.js.map +0 -1
  193. package/dist/chunk-4MOJJSNA.js +0 -14867
  194. package/dist/chunk-4MOJJSNA.js.map +0 -1
  195. package/dist/chunk-4QHHFCAA.mjs.map +0 -1
  196. package/dist/chunk-4X5TFGKD.mjs.map +0 -1
  197. package/dist/chunk-5YDPPOUU.mjs +0 -810
  198. package/dist/chunk-5YDPPOUU.mjs.map +0 -1
  199. package/dist/chunk-7FKPJQVS.mjs +0 -289
  200. package/dist/chunk-7FKPJQVS.mjs.map +0 -1
  201. package/dist/chunk-C3A5HXHX.mjs.map +0 -1
  202. package/dist/chunk-DY4K6X3A.js.map +0 -1
  203. package/dist/chunk-ELDJDBQL.js.map +0 -1
  204. package/dist/chunk-EUNL6GAL.js.map +0 -1
  205. package/dist/chunk-FI2ME55T.mjs.map +0 -1
  206. package/dist/chunk-FMB2RZDH.mjs.map +0 -1
  207. package/dist/chunk-FVCQBTNK.mjs.map +0 -1
  208. package/dist/chunk-G6VGUAK2.js.map +0 -1
  209. package/dist/chunk-GJD4CFHN.js.map +0 -1
  210. package/dist/chunk-GVXZWXQ7.js +0 -814
  211. package/dist/chunk-GVXZWXQ7.js.map +0 -1
  212. package/dist/chunk-HF2FWDBJ.mjs +0 -968
  213. package/dist/chunk-HF2FWDBJ.mjs.map +0 -1
  214. package/dist/chunk-IFAW7JFO.js +0 -1429
  215. package/dist/chunk-IFAW7JFO.js.map +0 -1
  216. package/dist/chunk-IJ2LWZID.js.map +0 -1
  217. package/dist/chunk-IKIJEKU3.mjs +0 -1427
  218. package/dist/chunk-IKIJEKU3.mjs.map +0 -1
  219. package/dist/chunk-JFTGG6HK.mjs +0 -14848
  220. package/dist/chunk-JFTGG6HK.mjs.map +0 -1
  221. package/dist/chunk-JM3ZR6LB.js +0 -981
  222. package/dist/chunk-JM3ZR6LB.js.map +0 -1
  223. package/dist/chunk-KJN2C6YE.js.map +0 -1
  224. package/dist/chunk-M5FLRLHI.mjs.map +0 -1
  225. package/dist/chunk-MCGLYYAR.mjs +0 -341
  226. package/dist/chunk-MCGLYYAR.mjs.map +0 -1
  227. package/dist/chunk-MG23BS36.js.map +0 -1
  228. package/dist/chunk-N24BPFF6.mjs.map +0 -1
  229. package/dist/chunk-NRNK7LXK.mjs.map +0 -1
  230. package/dist/chunk-PTTDKFL7.js.map +0 -1
  231. package/dist/chunk-S7FRYNSU.mjs +0 -315
  232. package/dist/chunk-S7FRYNSU.mjs.map +0 -1
  233. package/dist/chunk-SLB5V4RT.js +0 -302
  234. package/dist/chunk-SLB5V4RT.js.map +0 -1
  235. package/dist/chunk-TXZNP76P.js.map +0 -1
  236. package/dist/chunk-VNAJQKYG.mjs.map +0 -1
  237. package/dist/chunk-VZMDH3R4.mjs.map +0 -1
  238. package/dist/chunk-WW7UM7XY.js.map +0 -1
  239. package/dist/chunk-X4J33XQD.js.map +0 -1
  240. package/dist/chunk-XFOL6JDF.mjs.map +0 -1
  241. package/dist/chunk-XWWBUC2I.js.map +0 -1
  242. package/dist/chunk-YBTYDBWY.js.map +0 -1
  243. package/dist/chunk-ZQO6FZZB.js +0 -343
  244. package/dist/chunk-ZQO6FZZB.js.map +0 -1
  245. package/dist/chunk-ZU6YPEAF.mjs.map +0 -1
  246. package/dist/generators-DOFWGRXS.js +0 -37
  247. package/dist/generators-DOFWGRXS.js.map +0 -1
  248. package/dist/generators-R62APO62.mjs +0 -4
  249. package/dist/generators-R62APO62.mjs.map +0 -1
  250. package/dist/migrator-3WQB3KQ2.mjs +0 -4
  251. package/dist/migrator-3WQB3KQ2.mjs.map +0 -1
  252. package/dist/migrator-HFVQYK5R.js +0 -37
  253. package/dist/migrator-HFVQYK5R.js.map +0 -1
  254. package/dist/scanner-AF7YUCFG.mjs +0 -4
  255. package/dist/scanner-AF7YUCFG.mjs.map +0 -1
  256. package/dist/scanner-DBD5K6F7.js +0 -53
  257. package/dist/scanner-DBD5K6F7.js.map +0 -1
  258. package/dist/setup/client.d.mts +0 -60
  259. package/dist/setup/client.d.ts +0 -60
  260. package/dist/setup/client.js +0 -31
  261. package/dist/setup/client.js.map +0 -1
  262. package/dist/setup/client.mjs +0 -6
  263. package/dist/setup/client.mjs.map +0 -1
  264. package/dist/setup/server.d.mts +0 -14
  265. package/dist/setup/server.d.ts +0 -14
  266. package/dist/setup/server.js +0 -13
  267. package/dist/setup/server.js.map +0 -1
  268. package/dist/setup/server.mjs +0 -4
  269. package/dist/setup/server.mjs.map +0 -1
@@ -56,8 +56,8 @@ function slugify(text) {
56
56
  return text.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
57
57
  }
58
58
  async function BlogPost({
59
- apiUrl = process.env.SONOR_API_URL || process.env.UPTRADE_API_URL || process.env.NEXT_PUBLIC_UPTRADE_API_URL || "https://api.sonor.io",
60
- apiKey = process.env.SONOR_API_KEY || process.env.UPTRADE_API_KEY || process.env.NEXT_PUBLIC_UPTRADE_API_KEY || "",
59
+ apiUrl = process.env.SONOR_API_URL || "https://api.sonor.io",
60
+ apiKey = process.env.SONOR_API_KEY || "",
61
61
  slug,
62
62
  showToc = true,
63
63
  showRelated = true,
@@ -83,7 +83,7 @@ async function BlogPost({
83
83
  style: inlineStyle({ textAlign: "center", padding: 60 }, "notFound"),
84
84
  children: [
85
85
  /* @__PURE__ */ jsx("h1", { style: inlineStyle({ fontSize: 24, marginBottom: 16 }, "notFound"), children: "Post Not Found" }),
86
- /* @__PURE__ */ jsx("p", { style: inlineStyle({ color: "#6b7280" }, "notFound"), children: "The blog post you're looking for doesn't exist or has been removed." }),
86
+ /* @__PURE__ */ jsx("p", { style: inlineStyle({ color: "var(--sk-text-secondary)" }, "notFound"), children: "The blog post you're looking for doesn't exist or has been removed." }),
87
87
  /* @__PURE__ */ jsx(
88
88
  "a",
89
89
  {
@@ -92,8 +92,8 @@ async function BlogPost({
92
92
  display: "inline-block",
93
93
  marginTop: 24,
94
94
  padding: "12px 24px",
95
- backgroundColor: "#3b82f6",
96
- color: "#fff",
95
+ backgroundColor: "var(--sk-primary)",
96
+ color: "var(--sk-bg)",
97
97
  borderRadius: 8,
98
98
  textDecoration: "none"
99
99
  }, "notFound"),
@@ -126,14 +126,14 @@ async function BlogPost({
126
126
  "nav",
127
127
  {
128
128
  className: styles.breadcrumb,
129
- style: inlineStyle({ marginBottom: 16, fontSize: 14, color: "#6b7280" }, "breadcrumb"),
129
+ style: inlineStyle({ marginBottom: 16, fontSize: 14, color: "var(--sk-text-secondary)" }, "breadcrumb"),
130
130
  children: [
131
131
  /* @__PURE__ */ jsx(
132
132
  "a",
133
133
  {
134
134
  href: basePath,
135
135
  className: styles.breadcrumbLink,
136
- style: inlineStyle({ color: "#3b82f6", textDecoration: "none" }, "breadcrumbLink"),
136
+ style: inlineStyle({ color: "var(--sk-primary)", textDecoration: "none" }, "breadcrumbLink"),
137
137
  children: "Blog"
138
138
  }
139
139
  ),
@@ -144,7 +144,7 @@ async function BlogPost({
144
144
  {
145
145
  href: `${basePath}?category=${post.category}`,
146
146
  className: styles.breadcrumbLink,
147
- style: inlineStyle({ color: "#3b82f6", textDecoration: "none" }, "breadcrumbLink"),
147
+ style: inlineStyle({ color: "var(--sk-primary)", textDecoration: "none" }, "breadcrumbLink"),
148
148
  children: typeof post.category === "string" ? post.category : post.category?.name || "Uncategorized"
149
149
  }
150
150
  )
@@ -164,7 +164,7 @@ async function BlogPost({
164
164
  "p",
165
165
  {
166
166
  className: styles.subtitle,
167
- style: inlineStyle({ fontSize: 20, color: "#6b7280", marginBottom: 16 }, "subtitle"),
167
+ style: inlineStyle({ fontSize: 20, color: "var(--sk-text-secondary)", marginBottom: 16 }, "subtitle"),
168
168
  children: post.subtitle
169
169
  }
170
170
  ),
@@ -178,7 +178,7 @@ async function BlogPost({
178
178
  "span",
179
179
  {
180
180
  className: styles.metaItem,
181
- style: inlineStyle({ fontSize: 14, color: "#374151" }, "metaItem"),
181
+ style: inlineStyle({ fontSize: 14, color: "var(--sk-text-primary)" }, "metaItem"),
182
182
  children: [
183
183
  "By ",
184
184
  typeof post.author === "string" ? post.author : post.author.name
@@ -189,7 +189,7 @@ async function BlogPost({
189
189
  "span",
190
190
  {
191
191
  className: styles.metaItem,
192
- style: inlineStyle({ fontSize: 14, color: "#6b7280" }, "metaItem"),
192
+ style: inlineStyle({ fontSize: 14, color: "var(--sk-text-secondary)" }, "metaItem"),
193
193
  children: date
194
194
  }
195
195
  ),
@@ -197,7 +197,7 @@ async function BlogPost({
197
197
  "span",
198
198
  {
199
199
  className: styles.metaItem,
200
- style: inlineStyle({ fontSize: 14, color: "#9ca3af" }, "metaItem"),
200
+ style: inlineStyle({ fontSize: 14, color: "var(--sk-text-tertiary)" }, "metaItem"),
201
201
  children: [
202
202
  post.reading_time_minutes,
203
203
  " min read"
@@ -248,7 +248,7 @@ async function BlogPost({
248
248
  style: inlineStyle({
249
249
  fontSize: 17,
250
250
  lineHeight: 1.8,
251
- color: "#374151"
251
+ color: "var(--sk-text-primary)"
252
252
  }, "content"),
253
253
  dangerouslySetInnerHTML: { __html: content }
254
254
  }
@@ -262,7 +262,7 @@ async function BlogPost({
262
262
  top: 100,
263
263
  alignSelf: "start",
264
264
  padding: 20,
265
- backgroundColor: "#f9fafb",
265
+ backgroundColor: "var(--sk-bg-elevated)",
266
266
  borderRadius: 12
267
267
  }, "tocSidebar"),
268
268
  children: [
@@ -276,7 +276,7 @@ async function BlogPost({
276
276
  fontWeight: 600,
277
277
  textTransform: "uppercase",
278
278
  letterSpacing: "0.05em",
279
- color: "#6b7280"
279
+ color: "var(--sk-text-secondary)"
280
280
  }, "tocTitle"),
281
281
  children: "On This Page"
282
282
  }
@@ -301,7 +301,7 @@ async function BlogPost({
301
301
  className: styles.tocLink,
302
302
  style: inlineStyle({
303
303
  fontSize: 14,
304
- color: "#6b7280",
304
+ color: "var(--sk-text-secondary)",
305
305
  textDecoration: "none"
306
306
  }, "tocLink"),
307
307
  children: item.text
@@ -332,10 +332,10 @@ async function BlogPost({
332
332
  className: styles.tag,
333
333
  style: inlineStyle({
334
334
  padding: "4px 12px",
335
- backgroundColor: "#f3f4f6",
335
+ backgroundColor: "var(--sk-bg-elevated)",
336
336
  borderRadius: 9999,
337
337
  fontSize: 13,
338
- color: "#374151",
338
+ color: "var(--sk-text-primary)",
339
339
  textDecoration: "none"
340
340
  }, "tag"),
341
341
  children: [
@@ -368,7 +368,7 @@ async function BlogPost({
368
368
  className: styles.faqItem,
369
369
  style: inlineStyle({
370
370
  padding: 16,
371
- backgroundColor: "#f9fafb",
371
+ backgroundColor: "var(--sk-bg-elevated)",
372
372
  borderRadius: 8
373
373
  }, "faqItem"),
374
374
  children: [
@@ -388,7 +388,7 @@ async function BlogPost({
388
388
  "p",
389
389
  {
390
390
  className: styles.faqAnswer,
391
- style: inlineStyle({ marginTop: 12, color: "#6b7280" }, "faqAnswer"),
391
+ style: inlineStyle({ marginTop: 12, color: "var(--sk-text-secondary)" }, "faqAnswer"),
392
392
  children: faq.answer
393
393
  }
394
394
  )
@@ -428,7 +428,7 @@ async function BlogPost({
428
428
  {
429
429
  className: styles.relatedCard,
430
430
  style: inlineStyle({
431
- backgroundColor: "#fff",
431
+ backgroundColor: "var(--sk-bg)",
432
432
  borderRadius: 12,
433
433
  overflow: "hidden",
434
434
  boxShadow: "0 1px 3px rgba(0,0,0,0.1)"
@@ -451,7 +451,7 @@ async function BlogPost({
451
451
  children: relatedPost.title
452
452
  }
453
453
  ) }),
454
- relatedPost.excerpt && /* @__PURE__ */ jsxs("p", { style: inlineStyle({ fontSize: 14, color: "#6b7280", margin: 0 }, "relatedCard"), children: [
454
+ relatedPost.excerpt && /* @__PURE__ */ jsxs("p", { style: inlineStyle({ fontSize: 14, color: "var(--sk-text-secondary)", margin: 0 }, "relatedCard"), children: [
455
455
  relatedPost.excerpt.slice(0, 100),
456
456
  "..."
457
457
  ] })
@@ -499,7 +499,7 @@ function AuthorSection({
499
499
  style: unstyled || className ? void 0 : {
500
500
  marginTop: 48,
501
501
  padding: 24,
502
- backgroundColor: "#f9fafb",
502
+ backgroundColor: "var(--sk-bg-elevated)",
503
503
  borderRadius: 12,
504
504
  display: "flex",
505
505
  gap: 20,
@@ -521,8 +521,8 @@ function AuthorSection({
521
521
  ),
522
522
  /* @__PURE__ */ jsxs("div", { children: [
523
523
  /* @__PURE__ */ jsx("h3", { style: unstyled || className ? void 0 : { margin: "0 0 4px", fontSize: 18, fontWeight: 600 }, children: author.name }),
524
- "title" in author && author.title && /* @__PURE__ */ jsx("p", { style: unstyled || className ? void 0 : { margin: "0 0 4px", fontSize: 14, color: "#6b7280" }, children: author.title }),
525
- author.bio && /* @__PURE__ */ jsx("p", { style: unstyled || className ? void 0 : { margin: "0 0 12px", color: "#6b7280", fontSize: 14 }, children: author.bio }),
524
+ "title" in author && author.title && /* @__PURE__ */ jsx("p", { style: unstyled || className ? void 0 : { margin: "0 0 4px", fontSize: 14, color: "var(--sk-text-secondary)" }, children: author.title }),
525
+ author.bio && /* @__PURE__ */ jsx("p", { style: unstyled || className ? void 0 : { margin: "0 0 12px", color: "var(--sk-text-secondary)", fontSize: 14 }, children: author.bio }),
526
526
  author.social_links && /* @__PURE__ */ jsxs("div", { style: unstyled || className ? void 0 : { display: "flex", gap: 16 }, children: [
527
527
  author.social_links.twitter && /* @__PURE__ */ jsx(
528
528
  "a",
@@ -530,7 +530,7 @@ function AuthorSection({
530
530
  href: `https://twitter.com/${author.social_links.twitter}`,
531
531
  target: "_blank",
532
532
  rel: "noopener noreferrer",
533
- style: unstyled || className ? void 0 : { color: "#3b82f6", fontSize: 14 },
533
+ style: unstyled || className ? void 0 : { color: "var(--sk-primary)", fontSize: 14 },
534
534
  children: "Twitter"
535
535
  }
536
536
  ),
@@ -540,7 +540,7 @@ function AuthorSection({
540
540
  href: author.social_links.linkedin,
541
541
  target: "_blank",
542
542
  rel: "noopener noreferrer",
543
- style: unstyled || className ? void 0 : { color: "#3b82f6", fontSize: 14 },
543
+ style: unstyled || className ? void 0 : { color: "var(--sk-primary)", fontSize: 14 },
544
544
  children: "LinkedIn"
545
545
  }
546
546
  )
@@ -551,7 +551,7 @@ function AuthorSection({
551
551
  href: url,
552
552
  target: "_blank",
553
553
  rel: "noopener noreferrer",
554
- style: { color: "#3b82f6", fontSize: 14 },
554
+ style: { color: "var(--sk-primary)", fontSize: 14 },
555
555
  children: "Profile"
556
556
  },
557
557
  i
@@ -650,8 +650,8 @@ async function fetchCategories(apiUrl, apiKey) {
650
650
  }
651
651
  }
652
652
  async function BlogList({
653
- apiUrl = process.env.SONOR_API_URL || process.env.UPTRADE_API_URL || process.env.NEXT_PUBLIC_UPTRADE_API_URL || "https://api.sonor.io",
654
- apiKey = process.env.SONOR_API_KEY || process.env.UPTRADE_API_KEY || process.env.NEXT_PUBLIC_UPTRADE_API_KEY || "",
653
+ apiUrl = process.env.SONOR_API_URL || "https://api.sonor.io",
654
+ apiKey = process.env.SONOR_API_KEY || "",
655
655
  category,
656
656
  tag,
657
657
  author,
@@ -701,7 +701,7 @@ async function BlogList({
701
701
  {
702
702
  className: `${styles.container || ""} ${styles.emptyState || ""} ${className || ""}`.trim() || void 0,
703
703
  style: inlineStyle({ textAlign: "center", padding: 40 }, "emptyState"),
704
- children: /* @__PURE__ */ jsx("p", { style: inlineStyle({ color: "#6b7280" }, "emptyState"), children: "No posts found." })
704
+ children: /* @__PURE__ */ jsx("p", { style: inlineStyle({ color: "var(--sk-text-secondary)" }, "emptyState"), children: "No posts found." })
705
705
  }
706
706
  );
707
707
  }
@@ -722,8 +722,8 @@ async function BlogList({
722
722
  borderRadius: 9999,
723
723
  fontSize: 14,
724
724
  textDecoration: "none",
725
- backgroundColor: !category ? "#3b82f6" : "#f3f4f6",
726
- color: !category ? "#fff" : "#374151"
725
+ backgroundColor: !category ? "var(--sk-primary)" : "var(--sk-bg-elevated)",
726
+ color: !category ? "var(--sk-bg)" : "var(--sk-text-primary)"
727
727
  }, "categoryLink"),
728
728
  children: "All"
729
729
  }
@@ -738,8 +738,8 @@ async function BlogList({
738
738
  borderRadius: 9999,
739
739
  fontSize: 14,
740
740
  textDecoration: "none",
741
- backgroundColor: category === cat.slug ? "#3b82f6" : "#f3f4f6",
742
- color: category === cat.slug ? "#fff" : "#374151"
741
+ backgroundColor: category === cat.slug ? "var(--sk-primary)" : "var(--sk-bg-elevated)",
742
+ color: category === cat.slug ? "var(--sk-bg)" : "var(--sk-text-primary)"
743
743
  }, "categoryLink"),
744
744
  children: [
745
745
  cat.name,
@@ -791,7 +791,7 @@ async function BlogList({
791
791
  "span",
792
792
  {
793
793
  className: styles.paginationInfo,
794
- style: inlineStyle({ padding: "8px 16px", color: "#6b7280" }, "paginationInfo"),
794
+ style: inlineStyle({ padding: "8px 16px", color: "var(--sk-text-secondary)" }, "paginationInfo"),
795
795
  children: [
796
796
  "Page ",
797
797
  pagination.page,
@@ -826,7 +826,7 @@ function BlogPostCard({ post, basePath, styles = {}, unstyled = false }) {
826
826
  {
827
827
  className: styles.card,
828
828
  style: inlineStyle({
829
- backgroundColor: "#fff",
829
+ backgroundColor: "var(--sk-bg)",
830
830
  borderRadius: 12,
831
831
  overflow: "hidden",
832
832
  boxShadow: "0 1px 3px rgba(0,0,0,0.1)",
@@ -867,8 +867,8 @@ function BlogPostCard({ post, basePath, styles = {}, unstyled = false }) {
867
867
  borderRadius: 4,
868
868
  fontSize: 12,
869
869
  fontWeight: 500,
870
- backgroundColor: "#eff6ff",
871
- color: "#3b82f6",
870
+ backgroundColor: "rgba(var(--sk-primary-rgb), 0.1)",
871
+ color: "var(--sk-primary)",
872
872
  textTransform: "uppercase"
873
873
  }, "cardCategory"),
874
874
  children: typeof post.category === "string" ? post.category : post.category?.name || "Uncategorized"
@@ -878,7 +878,7 @@ function BlogPostCard({ post, basePath, styles = {}, unstyled = false }) {
878
878
  "span",
879
879
  {
880
880
  className: styles.cardDate,
881
- style: inlineStyle({ fontSize: 13, color: "#6b7280" }, "cardDate"),
881
+ style: inlineStyle({ fontSize: 13, color: "var(--sk-text-secondary)" }, "cardDate"),
882
882
  children: date
883
883
  }
884
884
  )
@@ -908,7 +908,7 @@ function BlogPostCard({ post, basePath, styles = {}, unstyled = false }) {
908
908
  style: inlineStyle({
909
909
  margin: "0 0 16px",
910
910
  fontSize: 14,
911
- color: "#6b7280",
911
+ color: "var(--sk-text-secondary)",
912
912
  lineHeight: 1.6,
913
913
  display: "-webkit-box",
914
914
  WebkitLineClamp: 3,
@@ -928,7 +928,7 @@ function BlogPostCard({ post, basePath, styles = {}, unstyled = false }) {
928
928
  "span",
929
929
  {
930
930
  className: styles.cardAuthor,
931
- style: inlineStyle({ fontSize: 13, color: "#6b7280" }, "cardAuthor"),
931
+ style: inlineStyle({ fontSize: 13, color: "var(--sk-text-secondary)" }, "cardAuthor"),
932
932
  children: [
933
933
  "By ",
934
934
  typeof post.author === "string" ? post.author : post.author.name
@@ -939,7 +939,7 @@ function BlogPostCard({ post, basePath, styles = {}, unstyled = false }) {
939
939
  "span",
940
940
  {
941
941
  className: styles.cardReadingTime,
942
- style: inlineStyle({ fontSize: 13, color: "#9ca3af" }, "cardReadingTime"),
942
+ style: inlineStyle({ fontSize: 13, color: "var(--sk-text-tertiary)" }, "cardReadingTime"),
943
943
  children: [
944
944
  post.reading_time_minutes,
945
945
  " min read"
@@ -965,8 +965,8 @@ function buildPaginationUrl(basePath, page, category) {
965
965
  var paginationLinkStyle = {
966
966
  padding: "8px 16px",
967
967
  borderRadius: 8,
968
- backgroundColor: "#3b82f6",
969
- color: "#fff",
968
+ backgroundColor: "var(--sk-primary)",
969
+ color: "var(--sk-bg)",
970
970
  textDecoration: "none",
971
971
  fontSize: 14,
972
972
  fontWeight: 500
@@ -1014,8 +1014,8 @@ async function fetchTags(apiUrl, apiKey) {
1014
1014
  }
1015
1015
  }
1016
1016
  async function BlogSidebar({
1017
- apiUrl = process.env.SONOR_API_URL || process.env.UPTRADE_API_URL || process.env.NEXT_PUBLIC_UPTRADE_API_URL || "https://api.sonor.io",
1018
- apiKey = process.env.SONOR_API_KEY || process.env.UPTRADE_API_KEY || process.env.NEXT_PUBLIC_UPTRADE_API_KEY || "",
1017
+ apiUrl = process.env.SONOR_API_URL || "https://api.sonor.io",
1018
+ apiKey = process.env.SONOR_API_KEY || "",
1019
1019
  showCategories = true,
1020
1020
  showRecentPosts = true,
1021
1021
  recentPostsCount = 5,
@@ -1062,7 +1062,7 @@ function SearchWidget({ basePath }) {
1062
1062
  style: {
1063
1063
  width: "100%",
1064
1064
  padding: "10px 12px",
1065
- border: "1px solid #e5e7eb",
1065
+ border: "1px solid var(--sk-border)",
1066
1066
  borderRadius: 8,
1067
1067
  fontSize: 14
1068
1068
  }
@@ -1085,7 +1085,7 @@ function CategoriesWidget({
1085
1085
  style: {
1086
1086
  ...categoryLinkStyle,
1087
1087
  fontWeight: !currentCategory ? 600 : 400,
1088
- color: !currentCategory ? "#3b82f6" : "#374151"
1088
+ color: !currentCategory ? "var(--sk-primary)" : "var(--sk-text-primary)"
1089
1089
  },
1090
1090
  children: "All Posts"
1091
1091
  }
@@ -1097,11 +1097,11 @@ function CategoriesWidget({
1097
1097
  style: {
1098
1098
  ...categoryLinkStyle,
1099
1099
  fontWeight: currentCategory === cat.slug ? 600 : 400,
1100
- color: currentCategory === cat.slug ? "#3b82f6" : "#374151"
1100
+ color: currentCategory === cat.slug ? "var(--sk-primary)" : "var(--sk-text-primary)"
1101
1101
  },
1102
1102
  children: [
1103
1103
  cat.name,
1104
- /* @__PURE__ */ jsxs("span", { style: { color: "#9ca3af", marginLeft: 8 }, children: [
1104
+ /* @__PURE__ */ jsxs("span", { style: { color: "var(--sk-text-tertiary)", marginLeft: 8 }, children: [
1105
1105
  "(",
1106
1106
  cat.post_count,
1107
1107
  ")"
@@ -1129,7 +1129,7 @@ function RecentPostsWidget({
1129
1129
  style: {
1130
1130
  marginBottom: 16,
1131
1131
  paddingBottom: 16,
1132
- borderBottom: "1px solid #e5e7eb"
1132
+ borderBottom: "1px solid var(--sk-border)"
1133
1133
  },
1134
1134
  children: /* @__PURE__ */ jsxs("div", { style: { display: "flex", gap: 12 }, children: [
1135
1135
  post.featured_image && /* @__PURE__ */ jsx("a", { href: `${basePath}/${post.slug}`, children: /* @__PURE__ */ jsx(
@@ -1154,7 +1154,7 @@ function RecentPostsWidget({
1154
1154
  style: {
1155
1155
  fontSize: 14,
1156
1156
  fontWeight: 500,
1157
- color: "#374151",
1157
+ color: "var(--sk-text-primary)",
1158
1158
  textDecoration: "none",
1159
1159
  display: "-webkit-box",
1160
1160
  WebkitLineClamp: 2,
@@ -1164,7 +1164,7 @@ function RecentPostsWidget({
1164
1164
  children: post.title
1165
1165
  }
1166
1166
  ),
1167
- date && /* @__PURE__ */ jsx("span", { style: { fontSize: 12, color: "#9ca3af", display: "block", marginTop: 4 }, children: date })
1167
+ date && /* @__PURE__ */ jsx("span", { style: { fontSize: 12, color: "var(--sk-text-tertiary)", display: "block", marginTop: 4 }, children: date })
1168
1168
  ] })
1169
1169
  ] })
1170
1170
  },
@@ -1185,10 +1185,10 @@ function TagsWidget({
1185
1185
  href: `${basePath}?tag=${tag.slug}`,
1186
1186
  style: {
1187
1187
  padding: "4px 10px",
1188
- backgroundColor: "#f3f4f6",
1188
+ backgroundColor: "var(--sk-bg-elevated)",
1189
1189
  borderRadius: 9999,
1190
1190
  fontSize: 12,
1191
- color: "#374151",
1191
+ color: "var(--sk-text-primary)",
1192
1192
  textDecoration: "none",
1193
1193
  transition: "background-color 0.2s"
1194
1194
  },
@@ -1203,9 +1203,9 @@ function NewsletterWidget({
1203
1203
  description = "Get the latest posts delivered straight to your inbox.",
1204
1204
  buttonText = "Subscribe"
1205
1205
  }) {
1206
- return /* @__PURE__ */ jsxs("div", { style: { ...widgetStyle, backgroundColor: "#eff6ff" }, children: [
1207
- /* @__PURE__ */ jsx("h4", { style: { ...widgetTitleStyle, color: "#1e40af" }, children: title }),
1208
- /* @__PURE__ */ jsx("p", { style: { fontSize: 14, color: "#6b7280", marginBottom: 16 }, children: description }),
1206
+ return /* @__PURE__ */ jsxs("div", { style: { ...widgetStyle, backgroundColor: "rgba(var(--sk-primary-rgb), 0.1)" }, children: [
1207
+ /* @__PURE__ */ jsx("h4", { style: { ...widgetTitleStyle, color: "var(--sk-primary)" }, children: title }),
1208
+ /* @__PURE__ */ jsx("p", { style: { fontSize: 14, color: "var(--sk-text-secondary)", marginBottom: 16 }, children: description }),
1209
1209
  /* @__PURE__ */ jsxs(
1210
1210
  "form",
1211
1211
  {
@@ -1224,7 +1224,7 @@ function NewsletterWidget({
1224
1224
  style: {
1225
1225
  flex: 1,
1226
1226
  padding: "10px 12px",
1227
- border: "1px solid #bfdbfe",
1227
+ border: "1px solid var(--sk-border)",
1228
1228
  borderRadius: 8,
1229
1229
  fontSize: 14
1230
1230
  }
@@ -1236,8 +1236,8 @@ function NewsletterWidget({
1236
1236
  type: "submit",
1237
1237
  style: {
1238
1238
  padding: "10px 16px",
1239
- backgroundColor: "#3b82f6",
1240
- color: "#fff",
1239
+ backgroundColor: "var(--sk-primary)",
1240
+ color: "var(--sk-bg)",
1241
1241
  border: "none",
1242
1242
  borderRadius: 8,
1243
1243
  fontSize: 14,
@@ -1254,14 +1254,14 @@ function NewsletterWidget({
1254
1254
  }
1255
1255
  var widgetStyle = {
1256
1256
  padding: 20,
1257
- backgroundColor: "#f9fafb",
1257
+ backgroundColor: "var(--sk-bg-elevated)",
1258
1258
  borderRadius: 12
1259
1259
  };
1260
1260
  var widgetTitleStyle = {
1261
1261
  margin: "0 0 16px",
1262
1262
  fontSize: 16,
1263
1263
  fontWeight: 600,
1264
- color: "#111827"
1264
+ color: "var(--sk-text-primary)"
1265
1265
  };
1266
1266
  var categoryLinkStyle = {
1267
1267
  display: "flex",
@@ -1270,8 +1270,8 @@ var categoryLinkStyle = {
1270
1270
  textDecoration: "none"
1271
1271
  };
1272
1272
  async function BlogLayout({
1273
- apiUrl = process.env.SONOR_API_URL || process.env.UPTRADE_API_URL || process.env.NEXT_PUBLIC_UPTRADE_API_URL || "https://api.sonor.io",
1274
- apiKey = process.env.SONOR_API_KEY || process.env.UPTRADE_API_KEY || process.env.NEXT_PUBLIC_UPTRADE_API_KEY || "",
1273
+ apiUrl = process.env.SONOR_API_URL || "https://api.sonor.io",
1274
+ apiKey = process.env.SONOR_API_KEY || "",
1275
1275
  layout = "sidebar-right",
1276
1276
  showSidebar = true,
1277
1277
  sidebarProps = {},
@@ -1289,11 +1289,11 @@ async function BlogLayout({
1289
1289
  {
1290
1290
  style: {
1291
1291
  padding: "60px 20px",
1292
- backgroundColor: hero.backgroundColor || "#1e3a5f",
1292
+ backgroundColor: hero.backgroundColor || "var(--sk-primary)",
1293
1293
  backgroundImage: hero.backgroundImage ? `url(${hero.backgroundImage})` : void 0,
1294
1294
  backgroundSize: "cover",
1295
1295
  backgroundPosition: "center",
1296
- color: "#fff",
1296
+ color: "var(--sk-bg)",
1297
1297
  textAlign: "center"
1298
1298
  },
1299
1299
  children: /* @__PURE__ */ jsxs("div", { style: { maxWidth, margin: "0 auto" }, children: [
@@ -1384,7 +1384,7 @@ async function CategoryPage({
1384
1384
  const categoryHero = hero || {
1385
1385
  title: categoryName || category,
1386
1386
  subtitle: `Browse all posts in ${categoryName || category}`,
1387
- backgroundColor: "#1e3a5f"
1387
+ backgroundColor: "var(--sk-primary)"
1388
1388
  };
1389
1389
  return /* @__PURE__ */ jsx(BlogLayout, { ...layoutProps, hero: categoryHero, currentCategory: category, children: listComponent });
1390
1390
  }
@@ -1405,7 +1405,7 @@ function AuthorCard({ author, showBio = true, showSocial = true, className }) {
1405
1405
  ),
1406
1406
  /* @__PURE__ */ jsxs("div", { children: [
1407
1407
  /* @__PURE__ */ jsx("h4", { style: { margin: 0 }, children: author.name }),
1408
- showBio && author.bio && /* @__PURE__ */ jsx("p", { style: { margin: "4px 0", color: "#6b7280", fontSize: 14 }, children: author.bio }),
1408
+ showBio && author.bio && /* @__PURE__ */ jsx("p", { style: { margin: "4px 0", color: "var(--sk-text-secondary)", fontSize: 14 }, children: author.bio }),
1409
1409
  showSocial && author.social_links && /* @__PURE__ */ jsxs("div", { style: { display: "flex", gap: 12, marginTop: 8 }, children: [
1410
1410
  author.social_links.twitter && /* @__PURE__ */ jsx("a", { href: `https://twitter.com/${author.social_links.twitter}`, target: "_blank", rel: "noopener noreferrer", children: "Twitter" }),
1411
1411
  author.social_links.linkedin && /* @__PURE__ */ jsx("a", { href: author.social_links.linkedin, target: "_blank", rel: "noopener noreferrer", children: "LinkedIn" }),
@@ -1439,8 +1439,8 @@ async function fetchRelatedPosts2(apiUrl, apiKey, currentPostId, limit) {
1439
1439
  }
1440
1440
  }
1441
1441
  async function RelatedPosts({
1442
- apiUrl = process.env.SONOR_API_URL || process.env.UPTRADE_API_URL || process.env.NEXT_PUBLIC_UPTRADE_API_URL || "https://api.sonor.io",
1443
- apiKey = process.env.SONOR_API_KEY || process.env.UPTRADE_API_KEY || process.env.NEXT_PUBLIC_UPTRADE_API_KEY || "",
1442
+ apiUrl = process.env.SONOR_API_URL || "https://api.sonor.io",
1443
+ apiKey = process.env.SONOR_API_KEY || "",
1444
1444
  currentPostId,
1445
1445
  limit = 3,
1446
1446
  className,
@@ -1455,7 +1455,7 @@ async function RelatedPosts({
1455
1455
  return /* @__PURE__ */ jsxs("section", { className, children: [
1456
1456
  /* @__PURE__ */ jsx("h3", { style: { marginBottom: 16 }, children: "Related Posts" }),
1457
1457
  /* @__PURE__ */ jsx("div", { style: { display: "grid", gap: 16 }, children: posts.map(
1458
- (post) => renderItem ? renderItem(post) : /* @__PURE__ */ jsxs("article", { style: { borderBottom: "1px solid #e5e7eb", paddingBottom: 16 }, children: [
1458
+ (post) => renderItem ? renderItem(post) : /* @__PURE__ */ jsxs("article", { style: { borderBottom: "1px solid var(--sk-border)", paddingBottom: 16 }, children: [
1459
1459
  post.featured_image && /* @__PURE__ */ jsx(
1460
1460
  "img",
1461
1461
  {
@@ -1471,7 +1471,7 @@ async function RelatedPosts({
1471
1471
  }
1472
1472
  ),
1473
1473
  /* @__PURE__ */ jsx("a", { href: `/blog/${post.slug}`, style: { textDecoration: "none" }, children: /* @__PURE__ */ jsx("h4", { style: { margin: 0, color: "inherit" }, children: post.title }) }),
1474
- post.excerpt && /* @__PURE__ */ jsx("p", { style: { margin: "4px 0 0", fontSize: 14, color: "#6b7280" }, children: post.excerpt })
1474
+ post.excerpt && /* @__PURE__ */ jsx("p", { style: { margin: "4px 0 0", fontSize: 14, color: "var(--sk-text-secondary)" }, children: post.excerpt })
1475
1475
  ] }, post.id)
1476
1476
  ) })
1477
1477
  ] });
@@ -1544,7 +1544,7 @@ function TableOfContents({
1544
1544
  all: "unset",
1545
1545
  cursor: "pointer",
1546
1546
  fontSize: 14,
1547
- color: activeId === item.id ? "#2563eb" : "#6b7280",
1547
+ color: activeId === item.id ? "var(--sk-primary-hover)" : "var(--sk-text-secondary)",
1548
1548
  fontWeight: activeId === item.id ? 500 : 400,
1549
1549
  transition: "color 0.2s"
1550
1550
  },