gitxelectron 1.3.6 → 1.3.7

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.
@@ -13042,55 +13042,64 @@ function RepositoryWizard({ repoPath, onClose, onSuccess }) {
13042
13042
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: [
13043
13043
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
13044
13044
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-xs font-semibold text-secondary mb-1", children: "Add .gitignore" }),
13045
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
13046
- "select",
13047
- {
13048
- value: gitignoreTemplate,
13049
- onChange: (e) => setGitignoreTemplate(e.target.value),
13050
- className: "w-full bg-surface-hover border border-border rounded-md px-3 py-2 text-sm text-primary focus:outline-none focus:border-accent appearance-none cursor-pointer transition-colors",
13051
- children: [
13052
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", children: "None" }),
13053
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Node", children: "Node" }),
13054
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Python", children: "Python" }),
13055
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Java", children: "Java" }),
13056
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "C++", children: "C++" }),
13057
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Go", children: "Go" })
13058
- ]
13059
- }
13060
- )
13045
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative", children: [
13046
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(
13047
+ "select",
13048
+ {
13049
+ value: gitignoreTemplate,
13050
+ onChange: (e) => setGitignoreTemplate(e.target.value),
13051
+ className: "w-full bg-surface-hover border border-border rounded-md px-3 py-2 text-sm text-primary focus:outline-none focus:border-accent appearance-none cursor-pointer transition-colors pr-8",
13052
+ children: [
13053
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", className: "bg-canvas text-primary", children: "None" }),
13054
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Node", className: "bg-canvas text-primary", children: "Node" }),
13055
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Python", className: "bg-canvas text-primary", children: "Python" }),
13056
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Java", className: "bg-canvas text-primary", children: "Java" }),
13057
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "C++", className: "bg-canvas text-primary", children: "C++" }),
13058
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "Go", className: "bg-canvas text-primary", children: "Go" })
13059
+ ]
13060
+ }
13061
+ ),
13062
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-secondary", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M19 9l-7 7-7-7" }) }) })
13063
+ ] })
13061
13064
  ] }),
13062
13065
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
13063
13066
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-xs font-semibold text-secondary mb-1", children: "Choose a license" }),
13064
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
13065
- "select",
13066
- {
13067
- value: licenseTemplate,
13068
- onChange: (e) => setLicenseTemplate(e.target.value),
13069
- className: "w-full bg-surface-hover border border-border rounded-md px-3 py-2 text-sm text-primary focus:outline-none focus:border-accent appearance-none cursor-pointer transition-colors",
13070
- children: [
13071
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", children: "None" }),
13072
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "mit", children: "MIT License" }),
13073
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "gpl-3.0", children: "GNU GPLv3" }),
13074
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "apache-2.0", children: "Apache License 2.0" }),
13075
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "bsd-3-clause", children: "BSD 3-Clause" })
13076
- ]
13077
- }
13078
- )
13067
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative", children: [
13068
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(
13069
+ "select",
13070
+ {
13071
+ value: licenseTemplate,
13072
+ onChange: (e) => setLicenseTemplate(e.target.value),
13073
+ className: "w-full bg-surface-hover border border-border rounded-md px-3 py-2 text-sm text-primary focus:outline-none focus:border-accent appearance-none cursor-pointer transition-colors pr-8",
13074
+ children: [
13075
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", className: "bg-canvas text-primary", children: "None" }),
13076
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "mit", className: "bg-canvas text-primary", children: "MIT License" }),
13077
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "gpl-3.0", className: "bg-canvas text-primary", children: "GNU GPLv3" }),
13078
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "apache-2.0", className: "bg-canvas text-primary", children: "Apache License 2.0" }),
13079
+ /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "bsd-3-clause", className: "bg-canvas text-primary", children: "BSD 3-Clause" })
13080
+ ]
13081
+ }
13082
+ ),
13083
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-secondary", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M19 9l-7 7-7-7" }) }) })
13084
+ ] })
13079
13085
  ] })
13080
13086
  ] })
13081
13087
  ] })
13082
13088
  ] }),
13083
13089
  action === "existing" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4 bg-canvas p-4 rounded-lg border border-border", children: [
13084
13090
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-xs font-semibold text-secondary mb-1", children: "Select Repository" }),
13085
- /* @__PURE__ */ jsxRuntimeExports.jsx(
13086
- "select",
13087
- {
13088
- value: selectedRepoUrl,
13089
- onChange: (e) => setSelectedRepoUrl(e.target.value),
13090
- className: "w-full bg-surface-hover border border-border rounded-md px-3 py-2 text-sm text-primary focus:outline-none focus:border-accent appearance-none transition-colors",
13091
- children: userRepos.map((r) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: r.clone_url, children: r.full_name }, r.id))
13092
- }
13093
- )
13091
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative", children: [
13092
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
13093
+ "select",
13094
+ {
13095
+ value: selectedRepoUrl,
13096
+ onChange: (e) => setSelectedRepoUrl(e.target.value),
13097
+ className: "w-full bg-surface-hover border border-border rounded-md px-3 py-2 text-sm text-primary focus:outline-none focus:border-accent appearance-none cursor-pointer transition-colors pr-8",
13098
+ children: userRepos.map((r) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: r.clone_url, className: "bg-canvas text-primary", children: r.full_name }, r.id))
13099
+ }
13100
+ ),
13101
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-secondary", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M19 9l-7 7-7-7" }) }) })
13102
+ ] })
13094
13103
  ] }),
13095
13104
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex gap-3 pt-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
13096
13105
  "button",
@@ -23225,22 +23234,22 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23225
23234
  {
23226
23235
  initial: { opacity: 0, scale: 0.95, y: 20 },
23227
23236
  animate: { opacity: 1, scale: 1, y: 0 },
23228
- className: "bg-[#0f111a] border border-[#2a2d3d] w-full max-w-2xl rounded-2xl overflow-hidden shadow-2xl flex flex-col",
23237
+ className: "bg-canvas shadow-xl border border-border w-full max-w-2xl rounded-2xl overflow-hidden shadow-2xl flex flex-col",
23229
23238
  style: { maxHeight: "85vh" },
23230
23239
  children: [
23231
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-4 border-b border-[#2a2d3d] flex items-center justify-between bg-[#151822]", children: [
23240
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-4 border-b border-border flex items-center justify-between bg-surface", children: [
23232
23241
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3", children: [
23233
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-2 bg-blue-500/20 text-blue-400 rounded-lg", children: /* @__PURE__ */ jsxRuntimeExports.jsx(FiGithub, { size: 20 }) }),
23242
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-2 bg-brand/20 text-brand rounded-lg", children: /* @__PURE__ */ jsxRuntimeExports.jsx(FiGithub, { size: 20 }) }),
23234
23243
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23235
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-white font-semibold text-lg leading-tight", children: "Push Anything" }),
23236
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-400 text-xs", children: "Universal GitHub Uploader" })
23244
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-primary font-semibold text-lg leading-tight", children: "Push Anything" }),
23245
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary text-xs", children: "Universal GitHub Uploader" })
23237
23246
  ] })
23238
23247
  ] }),
23239
23248
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23240
23249
  "button",
23241
23250
  {
23242
23251
  onClick: handleClose,
23243
- className: "p-2 text-gray-400 hover:text-white rounded-lg hover:bg-white/10 transition-colors",
23252
+ className: "p-2 text-secondary hover:text-primary rounded-lg hover:bg-surface-hover transition-colors",
23244
23253
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(FiX, { size: 20 })
23245
23254
  }
23246
23255
  )
@@ -23258,24 +23267,24 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23258
23267
  className: `flex flex-col items-center justify-center h-full gap-6 rounded-2xl transition-colors border-2 ${isDragging2 ? "border-brand bg-brand/10" : "border-transparent"}`,
23259
23268
  children: [
23260
23269
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center space-y-2 mb-4", children: [
23261
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-2xl text-white font-semibold", children: "Select files to push" }),
23262
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-400 text-sm", children: "You can push any file or folder directly to any repository." })
23270
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-2xl text-primary font-semibold", children: "Select files to push" }),
23271
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary text-sm", children: "You can push any file or folder directly to any repository." })
23263
23272
  ] }),
23264
23273
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-4 w-full max-w-md", children: [
23265
23274
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
23266
23275
  "button",
23267
23276
  {
23268
23277
  onClick: () => handleSelectFiles(false),
23269
- className: "flex flex-col items-center gap-4 p-6 rounded-xl bg-[#1a1d27] border border-[#2a2d3d] hover:border-blue-500 hover:bg-blue-500/10 transition-all group",
23278
+ className: "flex flex-col items-center gap-4 p-6 rounded-xl bg-surface border border-border shadow-sm border border-border hover:border-brand hover:bg-brand/10 transition-all group",
23270
23279
  children: [
23271
23280
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23272
23281
  FiFile,
23273
23282
  {
23274
23283
  size: 40,
23275
- className: "text-blue-400 group-hover:scale-110 transition-transform"
23284
+ className: "text-brand group-hover:scale-110 transition-transform"
23276
23285
  }
23277
23286
  ),
23278
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-medium", children: "Select File(s)" })
23287
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-primary font-medium", children: "Select File(s)" })
23279
23288
  ]
23280
23289
  }
23281
23290
  ),
@@ -23283,7 +23292,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23283
23292
  "button",
23284
23293
  {
23285
23294
  onClick: () => handleSelectFiles(true),
23286
- className: "flex flex-col items-center gap-4 p-6 rounded-xl bg-[#1a1d27] border border-[#2a2d3d] hover:border-purple-500 hover:bg-purple-500/10 transition-all group",
23295
+ className: "flex flex-col items-center gap-4 p-6 rounded-xl bg-surface border border-border shadow-sm border border-border hover:border-purple-500 hover:bg-purple-500/10 transition-all group",
23287
23296
  children: [
23288
23297
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23289
23298
  FiFolder,
@@ -23292,7 +23301,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23292
23301
  className: "text-purple-400 group-hover:scale-110 transition-transform"
23293
23302
  }
23294
23303
  ),
23295
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-medium", children: "Select Folder" })
23304
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-primary font-medium", children: "Select Folder" })
23296
23305
  ]
23297
23306
  }
23298
23307
  )
@@ -23309,18 +23318,18 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23309
23318
  exit: { opacity: 0 },
23310
23319
  className: "space-y-4",
23311
23320
  children: [
23312
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-white font-semibold mb-4", children: "Select GitHub Account" }),
23313
- accounts.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-6 text-center bg-[#1a1d27] border border-[#2a2d3d] rounded-xl flex flex-col items-center gap-4", children: [
23321
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-primary font-semibold mb-4", children: "Select GitHub Account" }),
23322
+ accounts.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-6 text-center bg-surface border border-border shadow-sm border border-border rounded-xl flex flex-col items-center gap-4", children: [
23314
23323
  /* @__PURE__ */ jsxRuntimeExports.jsx(FiAlertTriangle, { size: 32, className: "text-yellow-500" }),
23315
23324
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23316
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-white font-medium mb-1", children: "No GitHub Accounts Found" }),
23317
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-400 text-sm", children: "Please close this window and log in to a GitHub account using the Settings panel first." })
23325
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-primary font-medium mb-1", children: "No GitHub Accounts Found" }),
23326
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary text-sm", children: "Please close this window and log in to a GitHub account using the Settings panel first." })
23318
23327
  ] })
23319
23328
  ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid gap-3", children: accounts.map((acc) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
23320
23329
  "button",
23321
23330
  {
23322
23331
  onClick: () => handleSelectAccount(acc),
23323
- className: "flex items-center gap-4 p-4 rounded-xl bg-[#1a1d27] border border-[#2a2d3d] hover:border-blue-500 transition-colors text-left w-full",
23332
+ className: "flex items-center gap-4 p-4 rounded-xl bg-surface border border-border shadow-sm border border-border hover:border-brand transition-colors text-left w-full",
23324
23333
  children: [
23325
23334
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23326
23335
  "img",
@@ -23331,13 +23340,13 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23331
23340
  }
23332
23341
  ),
23333
23342
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23334
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-white font-medium", children: [
23343
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-primary font-medium", children: [
23335
23344
  "@",
23336
23345
  acc.username
23337
23346
  ] }),
23338
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-400 text-xs", children: "Authenticated" })
23347
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-secondary text-xs", children: "Authenticated" })
23339
23348
  ] }),
23340
- /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, { className: "ml-auto text-gray-500" })
23349
+ /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, { className: "ml-auto text-secondary opacity-70" })
23341
23350
  ]
23342
23351
  },
23343
23352
  acc.id
@@ -23354,15 +23363,15 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23354
23363
  exit: { opacity: 0 },
23355
23364
  className: "space-y-4 h-full flex flex-col",
23356
23365
  children: [
23357
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-white font-semibold", children: "Select Repository" }),
23366
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-primary font-semibold", children: "Select Repository" }),
23358
23367
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative", children: [
23359
- /* @__PURE__ */ jsxRuntimeExports.jsx(FiSearch, { className: "absolute left-3 top-3 text-gray-400" }),
23368
+ /* @__PURE__ */ jsxRuntimeExports.jsx(FiSearch, { className: "absolute left-3 top-3 text-secondary" }),
23360
23369
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23361
23370
  "input",
23362
23371
  {
23363
23372
  type: "text",
23364
23373
  placeholder: "Search repositories...",
23365
- className: "w-full bg-[#1a1d27] border border-[#2a2d3d] rounded-lg py-2.5 pl-10 pr-4 text-white focus:outline-none focus:border-blue-500",
23374
+ className: "w-full bg-surface border border-border shadow-sm border border-border rounded-lg py-2.5 pl-10 pr-4 text-primary focus:outline-none focus:border-brand",
23366
23375
  value: searchRepo,
23367
23376
  onChange: (e) => setSearchRepo(e.target.value)
23368
23377
  }
@@ -23372,20 +23381,20 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23372
23381
  "button",
23373
23382
  {
23374
23383
  onClick: () => handleSelectRepo(repo),
23375
- className: "w-full text-left p-3 rounded-lg bg-[#1a1d27] border border-[#2a2d3d] hover:border-blue-500 flex items-center justify-between group",
23384
+ className: "w-full text-left p-3 rounded-lg bg-surface border border-border shadow-sm border border-border hover:border-brand flex items-center justify-between group",
23376
23385
  children: [
23377
23386
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23378
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-white font-medium flex items-center gap-2", children: [
23387
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-primary font-medium flex items-center gap-2", children: [
23379
23388
  /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
23380
23389
  repo.owner.login,
23381
23390
  "/",
23382
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-blue-400", children: repo.name })
23391
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-brand", children: repo.name })
23383
23392
  ] }),
23384
- repo.private && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] px-1.5 py-0.5 rounded bg-gray-700 text-gray-300", children: "Private" })
23393
+ repo.private && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] px-1.5 py-0.5 rounded bg-gray-700 text-secondary", children: "Private" })
23385
23394
  ] }),
23386
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-500 text-xs mt-1 truncate", children: repo.description || "No description" })
23395
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-secondary opacity-70 text-xs mt-1 truncate", children: repo.description || "No description" })
23387
23396
  ] }),
23388
- /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, { className: "text-gray-600 group-hover:text-blue-400" })
23397
+ /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, { className: "text-secondary opacity-50 group-hover:text-brand" })
23389
23398
  ]
23390
23399
  },
23391
23400
  repo.id
@@ -23402,14 +23411,14 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23402
23411
  exit: { opacity: 0 },
23403
23412
  className: "space-y-6",
23404
23413
  children: [
23405
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-white font-semibold", children: "Select Branch" }),
23414
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-primary font-semibold", children: "Select Branch" }),
23406
23415
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
23407
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3 bg-[#1a1d27] p-1 rounded-lg border border-[#2a2d3d] w-fit", children: [
23416
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3 bg-surface border border-border shadow-sm p-1 rounded-lg border border-border w-fit", children: [
23408
23417
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23409
23418
  "button",
23410
23419
  {
23411
23420
  onClick: () => setIsNewBranch(false),
23412
- className: `px-4 py-1.5 rounded-md text-sm font-medium transition-colors ${!isNewBranch ? "bg-blue-500 text-white" : "text-gray-400 hover:text-white"}`,
23421
+ className: `px-4 py-1.5 rounded-md text-sm font-medium transition-colors ${!isNewBranch ? "bg-brand text-primary" : "text-secondary hover:text-primary"}`,
23413
23422
  children: "Existing Branch"
23414
23423
  }
23415
23424
  ),
@@ -23417,7 +23426,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23417
23426
  "button",
23418
23427
  {
23419
23428
  onClick: () => setIsNewBranch(true),
23420
- className: `px-4 py-1.5 rounded-md text-sm font-medium transition-colors ${isNewBranch ? "bg-blue-500 text-white" : "text-gray-400 hover:text-white"}`,
23429
+ className: `px-4 py-1.5 rounded-md text-sm font-medium transition-colors ${isNewBranch ? "bg-brand text-primary" : "text-secondary hover:text-primary"}`,
23421
23430
  children: "Create New"
23422
23431
  }
23423
23432
  )
@@ -23426,7 +23435,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23426
23435
  "button",
23427
23436
  {
23428
23437
  onClick: () => setSelectedBranch(b.name),
23429
- className: `w-full text-left p-3 rounded-lg border flex items-center gap-3 ${selectedBranch === b.name ? "bg-blue-500/10 border-blue-500 text-blue-400" : "bg-[#1a1d27] border-[#2a2d3d] text-gray-300 hover:border-gray-500"}`,
23438
+ className: `w-full text-left p-3 rounded-lg border flex items-center gap-3 ${selectedBranch === b.name ? "bg-brand/10 border-brand text-brand" : "bg-surface border border-border shadow-sm border-border text-secondary hover:border-accent"}`,
23430
23439
  children: [
23431
23440
  /* @__PURE__ */ jsxRuntimeExports.jsx(FiGitBranch, {}),
23432
23441
  b.name
@@ -23435,26 +23444,26 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23435
23444
  b.name
23436
23445
  )) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
23437
23446
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23438
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-gray-400 text-sm mb-1", children: "New Branch Name" }),
23447
+ /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-secondary text-sm mb-1", children: "New Branch Name" }),
23439
23448
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23440
23449
  "input",
23441
23450
  {
23442
23451
  type: "text",
23443
23452
  value: newBranchName,
23444
23453
  onChange: (e) => setNewBranchName(e.target.value),
23445
- className: "w-full bg-[#1a1d27] border border-[#2a2d3d] rounded-lg p-2.5 text-white focus:outline-none focus:border-blue-500",
23454
+ className: "w-full bg-surface border border-border shadow-sm border border-border rounded-lg p-2.5 text-primary focus:outline-none focus:border-brand",
23446
23455
  placeholder: "e.g., feature/update-assets"
23447
23456
  }
23448
23457
  )
23449
23458
  ] }),
23450
23459
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23451
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-gray-400 text-sm mb-1", children: "Base Branch" }),
23460
+ /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-secondary text-sm mb-1", children: "Base Branch" }),
23452
23461
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23453
23462
  "select",
23454
23463
  {
23455
23464
  value: baseBranch,
23456
23465
  onChange: (e) => setBaseBranch(e.target.value),
23457
- className: "w-full bg-[#1a1d27] border border-[#2a2d3d] rounded-lg p-2.5 text-white focus:outline-none focus:border-blue-500 appearance-none",
23466
+ className: "w-full bg-surface border border-border shadow-sm border border-border rounded-lg p-2.5 text-primary focus:outline-none focus:border-brand appearance-none",
23458
23467
  children: branches.map((b) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: b.name, children: b.name }, b.name))
23459
23468
  }
23460
23469
  )
@@ -23482,11 +23491,11 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23482
23491
  exit: { opacity: 0 },
23483
23492
  className: "space-y-6",
23484
23493
  children: [
23485
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-white font-semibold", children: "Destination Path" }),
23486
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-400 text-sm", children: "Where should these files be placed in the repository?" }),
23494
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-primary font-semibold", children: "Destination Path" }),
23495
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary text-sm", children: "Where should these files be placed in the repository?" }),
23487
23496
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
23488
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 bg-[#1a1d27] border border-[#2a2d3d] rounded-lg p-3", children: [
23489
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-blue-400", children: [
23497
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 bg-surface border border-border shadow-sm border border-border rounded-lg p-3", children: [
23498
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-brand", children: [
23490
23499
  selectedRepo?.name,
23491
23500
  "/"
23492
23501
  ] }),
@@ -23496,7 +23505,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23496
23505
  type: "text",
23497
23506
  value: destination,
23498
23507
  onChange: (e) => setDestination(e.target.value),
23499
- className: "bg-transparent border-none outline-none text-white w-full",
23508
+ className: "bg-transparent border-none outline-none text-primary w-full",
23500
23509
  placeholder: "/"
23501
23510
  }
23502
23511
  )
@@ -23506,7 +23515,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23506
23515
  "button",
23507
23516
  {
23508
23517
  onClick: () => setDestination("/"),
23509
- className: "text-xs px-2 py-1 bg-white/5 hover:bg-white/10 text-gray-400 rounded",
23518
+ className: "text-xs px-2 py-1 bg-surface hover:bg-surface-hover text-secondary rounded",
23510
23519
  children: "Root (/)"
23511
23520
  }
23512
23521
  ),
@@ -23514,7 +23523,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23514
23523
  "button",
23515
23524
  {
23516
23525
  onClick: () => setDestination("src/"),
23517
- className: "text-xs px-2 py-1 bg-white/5 hover:bg-white/10 text-gray-400 rounded",
23526
+ className: "text-xs px-2 py-1 bg-surface hover:bg-surface-hover text-secondary rounded",
23518
23527
  children: "src/"
23519
23528
  }
23520
23529
  ),
@@ -23522,18 +23531,18 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23522
23531
  "button",
23523
23532
  {
23524
23533
  onClick: () => setDestination("assets/"),
23525
- className: "text-xs px-2 py-1 bg-white/5 hover:bg-white/10 text-gray-400 rounded",
23534
+ className: "text-xs px-2 py-1 bg-surface hover:bg-surface-hover text-secondary rounded",
23526
23535
  children: "assets/"
23527
23536
  }
23528
23537
  )
23529
23538
  ] })
23530
23539
  ] }),
23531
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-[#1a1d27] p-4 rounded-lg border border-[#2a2d3d]", children: [
23532
- /* @__PURE__ */ jsxRuntimeExports.jsxs("h4", { className: "text-gray-300 font-medium mb-2 text-sm flex items-center gap-2", children: [
23540
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-surface border border-border shadow-sm p-4 rounded-lg border border-border", children: [
23541
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("h4", { className: "text-secondary font-medium mb-2 text-sm flex items-center gap-2", children: [
23533
23542
  /* @__PURE__ */ jsxRuntimeExports.jsx(FiFolder, {}),
23534
23543
  " Preview"
23535
23544
  ] }),
23536
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-xs text-gray-500 font-mono space-y-1", children: [
23545
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-xs text-secondary opacity-70 font-mono space-y-1", children: [
23537
23546
  files.slice(0, 3).map((f) => {
23538
23547
  const name = f.split(/[\/\\]/).pop();
23539
23548
  const dest = destination === "/" || destination === "" ? name : `${destination.replace(/\/$/, "")}/${name}`;
@@ -23550,7 +23559,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23550
23559
  "button",
23551
23560
  {
23552
23561
  onClick: handleSetupWorkspace,
23553
- className: "px-6 py-2 bg-blue-500 text-white font-semibold rounded-lg hover:bg-blue-600 transition-colors flex items-center gap-2",
23562
+ className: "px-6 py-2 bg-brand text-primary font-semibold rounded-lg hover:bg-brand brightness-110 transition-colors flex items-center gap-2",
23554
23563
  children: [
23555
23564
  "Verify & Prepare ",
23556
23565
  /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, {})
@@ -23569,9 +23578,9 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23569
23578
  exit: { opacity: 0 },
23570
23579
  className: "flex flex-col items-center justify-center h-full gap-4",
23571
23580
  children: [
23572
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-12 h-12 border-4 border-blue-500/30 border-t-blue-500 rounded-full animate-spin" }),
23573
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-300 font-medium animate-pulse", children: "Safely preparing Git workspace..." }),
23574
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-500 text-xs", children: "Checking for collisions and establishing sparse-checkout" })
23581
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-12 h-12 border-4 border-brand/30 border-t-blue-500 rounded-full animate-spin" }),
23582
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary font-medium animate-pulse", children: "Safely preparing Git workspace..." }),
23583
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary opacity-70 text-xs", children: "Checking for collisions and establishing sparse-checkout" })
23575
23584
  ]
23576
23585
  },
23577
23586
  "loading"
@@ -23594,14 +23603,14 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23594
23603
  ] })
23595
23604
  ] })
23596
23605
  ] }),
23597
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 bg-[#1a1d27] border border-[#2a2d3d] rounded-lg p-3 overflow-y-auto custom-scrollbar", children: [
23598
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs font-semibold text-gray-500 uppercase mb-2", children: "Modified Files" }),
23606
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 bg-surface border border-border shadow-sm border border-border rounded-lg p-3 overflow-y-auto custom-scrollbar", children: [
23607
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs font-semibold text-secondary opacity-70 uppercase mb-2", children: "Modified Files" }),
23599
23608
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-1", children: collisions.modified.map((m) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-yellow-400 text-sm font-mono truncate py-1", children: [
23600
23609
  "M ",
23601
23610
  m
23602
23611
  ] }, m)) }),
23603
23612
  collisions.newFiles.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
23604
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs font-semibold text-gray-500 uppercase mt-4 mb-2", children: "New Files" }),
23613
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs font-semibold text-secondary opacity-70 uppercase mt-4 mb-2", children: "New Files" }),
23605
23614
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-1", children: collisions.newFiles.map((n) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
23606
23615
  "div",
23607
23616
  {
@@ -23620,7 +23629,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23620
23629
  "button",
23621
23630
  {
23622
23631
  onClick: handleClose,
23623
- className: "px-5 py-2 bg-[#2a2d3d] text-white rounded-lg hover:bg-red-500/20 hover:text-red-400 transition-colors",
23632
+ className: "px-5 py-2 bg-surface-hover text-primary rounded-lg hover:bg-red-500/20 hover:text-red-400 transition-colors",
23624
23633
  children: "Cancel Push"
23625
23634
  }
23626
23635
  ),
@@ -23629,7 +23638,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23629
23638
  "button",
23630
23639
  {
23631
23640
  onClick: handleCompare,
23632
- className: "px-5 py-2 bg-[#2a2d3d] text-white rounded-lg hover:bg-[#3a3d4d] transition-colors flex items-center gap-2",
23641
+ className: "px-5 py-2 bg-surface-hover text-primary rounded-lg hover:bg-surface-hover transition-colors flex items-center gap-2",
23633
23642
  children: [
23634
23643
  /* @__PURE__ */ jsxRuntimeExports.jsx(FiCode, {}),
23635
23644
  " Compare"
@@ -23652,21 +23661,21 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23652
23661
  "button",
23653
23662
  {
23654
23663
  onClick: () => setShowDiff(false),
23655
- className: "text-gray-400 hover:text-white",
23664
+ className: "text-secondary hover:text-primary",
23656
23665
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowLeft, {})
23657
23666
  }
23658
23667
  ),
23659
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-white font-semibold", children: "Diff Viewer" })
23668
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-primary font-semibold", children: "Diff Viewer" })
23660
23669
  ] }),
23661
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 bg-[#0d0f17] border border-[#2a2d3d] rounded-lg p-4 overflow-y-auto custom-scrollbar font-mono text-sm whitespace-pre-wrap", children: diffContent ? diffContent.split("\n").map((line, i) => {
23670
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 bg-canvas border border-border rounded-lg p-4 overflow-y-auto custom-scrollbar font-mono text-sm whitespace-pre-wrap", children: diffContent ? diffContent.split("\n").map((line, i) => {
23662
23671
  if (line.startsWith("+"))
23663
23672
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-green-400 bg-green-900/20", children: line }, i);
23664
23673
  if (line.startsWith("-"))
23665
23674
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-red-400 bg-red-900/20", children: line }, i);
23666
23675
  if (line.startsWith("@@"))
23667
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-blue-400 mt-2", children: line }, i);
23668
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-300", children: line }, i);
23669
- }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-500 text-center py-10", children: "Cannot show diff for binary files." }) })
23676
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-brand mt-2", children: line }, i);
23677
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-secondary", children: line }, i);
23678
+ }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-secondary opacity-70 text-center py-10", children: "Cannot show diff for binary files." }) })
23670
23679
  ] })
23671
23680
  },
23672
23681
  "collision"
@@ -23679,11 +23688,11 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23679
23688
  exit: { opacity: 0 },
23680
23689
  className: "space-y-6",
23681
23690
  children: [
23682
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-white font-semibold", children: "Commit & Push" }),
23683
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-[#1a1d27] p-4 rounded-lg border border-[#2a2d3d] flex justify-between items-center", children: [
23691
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-primary font-semibold", children: "Commit & Push" }),
23692
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-surface border border-border shadow-sm p-4 rounded-lg border border-border flex justify-between items-center", children: [
23684
23693
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23685
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-400 text-xs mb-1", children: "Destination" }),
23686
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-white font-medium flex items-center gap-2", children: [
23694
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-secondary text-xs mb-1", children: "Destination" }),
23695
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-primary font-medium flex items-center gap-2", children: [
23687
23696
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23688
23697
  "img",
23689
23698
  {
@@ -23693,14 +23702,14 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23693
23702
  ),
23694
23703
  selectedRepo.name,
23695
23704
  " ",
23696
- /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, { className: "text-gray-600" }),
23705
+ /* @__PURE__ */ jsxRuntimeExports.jsx(FiArrowRight, { className: "text-secondary opacity-50" }),
23697
23706
  " ",
23698
23707
  isNewBranch ? newBranchName : selectedBranch
23699
23708
  ] })
23700
23709
  ] }),
23701
23710
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-right", children: [
23702
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-400 text-xs mb-1", children: "Changes" }),
23703
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-white font-medium", children: [
23711
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-secondary text-xs mb-1", children: "Changes" }),
23712
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-primary font-medium", children: [
23704
23713
  collisions.modified.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-yellow-400 mr-2", children: [
23705
23714
  collisions.modified.length,
23706
23715
  " modified"
@@ -23717,13 +23726,13 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23717
23726
  ] })
23718
23727
  ] }),
23719
23728
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
23720
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-gray-400 text-sm mb-2", children: "Commit Message" }),
23729
+ /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "block text-secondary text-sm mb-2", children: "Commit Message" }),
23721
23730
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23722
23731
  "textarea",
23723
23732
  {
23724
23733
  value: commitMessage,
23725
23734
  onChange: (e) => setCommitMessage(e.target.value),
23726
- className: "w-full bg-[#1a1d27] border border-[#2a2d3d] rounded-lg p-3 text-white focus:outline-none focus:border-blue-500 resize-none h-24",
23735
+ className: "w-full bg-surface border border-border shadow-sm border border-border rounded-lg p-3 text-primary focus:outline-none focus:border-brand resize-none h-24",
23727
23736
  placeholder: "E.g., Added new logo assets"
23728
23737
  }
23729
23738
  )
@@ -23733,7 +23742,7 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23733
23742
  {
23734
23743
  onClick: handleCommit,
23735
23744
  disabled: !commitMessage.trim(),
23736
- className: "px-6 py-2 bg-blue-500 text-white font-semibold rounded-lg hover:bg-blue-600 disabled:opacity-50 flex items-center gap-2",
23745
+ className: "px-6 py-2 bg-brand text-primary font-semibold rounded-lg hover:bg-brand brightness-110 disabled:opacity-50 flex items-center gap-2",
23737
23746
  children: [
23738
23747
  /* @__PURE__ */ jsxRuntimeExports.jsx(FiGithub, {}),
23739
23748
  " Push Now"
@@ -23753,8 +23762,8 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23753
23762
  className: "flex flex-col items-center justify-center h-full gap-4",
23754
23763
  children: [
23755
23764
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-12 h-12 border-4 border-purple-500/30 border-t-purple-500 rounded-full animate-spin" }),
23756
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-white font-medium text-lg", children: "Pushing to GitHub..." }),
23757
- /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-gray-500 text-sm font-mono", children: [
23765
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-primary font-medium text-lg", children: "Pushing to GitHub..." }),
23766
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-secondary opacity-70 text-sm font-mono", children: [
23758
23767
  selectedRepo?.name,
23759
23768
  " : ",
23760
23769
  isNewBranch ? newBranchName : selectedBranch
@@ -23771,11 +23780,11 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23771
23780
  className: "flex flex-col items-center justify-center h-full gap-4 text-center",
23772
23781
  children: [
23773
23782
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-16 h-16 bg-green-500/20 text-green-400 rounded-full flex items-center justify-center mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(FiCheck, { size: 32 }) }),
23774
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-2xl text-white font-semibold", children: "Push Successful!" }),
23775
- /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-gray-400", children: [
23783
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-2xl text-primary font-semibold", children: "Push Successful!" }),
23784
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-secondary", children: [
23776
23785
  "Your files were successfully pushed to ",
23777
23786
  /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
23778
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-blue-400", children: selectedRepo?.name }),
23787
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-brand", children: selectedRepo?.name }),
23779
23788
  " on branch",
23780
23789
  " ",
23781
23790
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-purple-400", children: isNewBranch ? newBranchName : selectedBranch }),
@@ -23801,13 +23810,13 @@ function UniversalPushWizard({ isOpen, onClose, onAutoHealTrigger }) {
23801
23810
  className: "flex flex-col items-center justify-center h-full gap-4 text-center",
23802
23811
  children: [
23803
23812
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-16 h-16 bg-red-500/20 text-red-400 rounded-full flex items-center justify-center mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(FiX, { size: 32 }) }),
23804
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-white font-semibold", children: "Operation Failed" }),
23805
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-400 text-sm max-w-sm whitespace-pre-wrap", children: errorMsg }),
23813
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-xl text-primary font-semibold", children: "Operation Failed" }),
23814
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-secondary text-sm max-w-sm whitespace-pre-wrap", children: errorMsg }),
23806
23815
  /* @__PURE__ */ jsxRuntimeExports.jsx(
23807
23816
  "button",
23808
23817
  {
23809
23818
  onClick: () => setStep("START"),
23810
- className: "mt-4 px-6 py-2 bg-[#2a2d3d] text-white rounded-lg hover:bg-[#3a3d4d]",
23819
+ className: "mt-4 px-6 py-2 bg-surface-hover text-primary rounded-lg hover:bg-surface-hover",
23811
23820
  children: "Try Again"
23812
23821
  }
23813
23822
  )
@@ -24593,7 +24602,7 @@ const CollaborationRepoView = ({
24593
24602
  collaboratedRepos.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 text-xs text-secondary flex-wrap px-1", children: [
24594
24603
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[11px] font-medium text-secondary/80", children: "Filter summary:" }),
24595
24604
  /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "inline-flex items-center gap-1 bg-surface border border-border px-2.5 py-1 rounded-lg font-mono text-[11px] text-primary", children: [
24596
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-2 h-2 rounded-full bg-emerald-400" }),
24605
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-2 h-2 rounded-full bg-white" }),
24597
24606
  connectedCount,
24598
24607
  " Connected"
24599
24608
  ] }),
@@ -24690,7 +24699,7 @@ const CollaborationRepoView = ({
24690
24699
  children: repo.name
24691
24700
  }
24692
24701
  ),
24693
- repo.private ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] bg-amber-500/10 text-amber-400 border border-amber-500/25 px-2 py-0.2 rounded-full font-medium flex-shrink-0", children: "Private" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] bg-emerald-500/10 text-emerald-400 border border-emerald-500/25 px-2 py-0.2 rounded-full font-medium flex-shrink-0", children: "Public" }),
24702
+ repo.private ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] bg-amber-500/10 text-amber-400 border border-amber-500/25 px-2 py-0.2 rounded-full font-medium flex-shrink-0", children: "Private" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] bg-emerald-500/10 text-white border border-emerald-500/25 px-2 py-0.2 rounded-full font-medium flex-shrink-0", children: "Public" }),
24694
24703
  isCurrentActive && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[9px] bg-brand text-white px-2 py-0.5 rounded-full font-bold uppercase tracking-wider flex-shrink-0 shadow-xs", children: "Active" })
24695
24704
  ] }),
24696
24705
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 mt-1 text-xs text-secondary min-w-0 flex-wrap", children: [
@@ -24734,7 +24743,7 @@ const CollaborationRepoView = ({
24734
24743
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "min-w-0 flex-1", children: savedPath ? isMissing ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
24735
24744
  "div",
24736
24745
  {
24737
- className: "inline-flex items-center gap-1.5 text-xs text-danger font-mono bg-danger/10 border border-danger/25 px-2.5 py-1 rounded-lg min-w-0 max-w-full truncate",
24746
+ className: "inline-flex items-center gap-1.5 text-xs text-danger font-mono bg-danger text-white border border-border px-2.5 py-1 rounded-lg min-w-0 max-w-full truncate",
24738
24747
  title: `Folder was deleted or moved: ${savedPath}`,
24739
24748
  children: [
24740
24749
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-danger animate-pulse flex-shrink-0" }),
@@ -24744,14 +24753,14 @@ const CollaborationRepoView = ({
24744
24753
  ) : /* @__PURE__ */ jsxRuntimeExports.jsxs(
24745
24754
  "div",
24746
24755
  {
24747
- className: "inline-flex items-center gap-1.5 text-xs text-emerald-400 font-mono bg-emerald-500/10 border border-emerald-500/25 px-2.5 py-1 rounded-lg min-w-0 max-w-full truncate",
24756
+ className: "inline-flex items-center gap-1.5 text-xs text-white font-mono bg-success text-white border border-border px-2.5 py-1 rounded-lg min-w-0 max-w-full truncate",
24748
24757
  title: savedPath,
24749
24758
  children: [
24750
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-400 flex-shrink-0" }),
24759
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-white flex-shrink-0" }),
24751
24760
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate", children: savedPath.split("\\").pop() || savedPath })
24752
24761
  ]
24753
24762
  }
24754
- ) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "inline-flex items-center gap-1.5 text-xs text-secondary/70 italic bg-canvas/60 border border-border/60 px-2.5 py-1 rounded-lg flex-shrink-0", children: [
24763
+ ) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "inline-flex items-center gap-1.5 text-xs text-secondary/70 italic bg-surface border border-border/60 px-2.5 py-1 rounded-lg flex-shrink-0", children: [
24755
24764
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-secondary/40" }),
24756
24765
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Not cloned yet" })
24757
24766
  ] }) }),
@@ -24780,7 +24789,7 @@ const CollaborationRepoView = ({
24780
24789
  e.stopPropagation();
24781
24790
  onSyncCollabRepo(repo, savedPath);
24782
24791
  },
24783
- className: "px-2.5 py-1.5 text-xs font-semibold rounded-xl transition-all shadow-xs flex items-center gap-1 bg-blue-600/15 hover:bg-blue-600/25 text-blue-400 border border-blue-500/30",
24792
+ className: "px-2.5 py-1.5 text-xs font-semibold rounded-xl transition-all shadow-xs flex items-center gap-1 bg-brand hover:bg-brand-hover text-white border border-border",
24784
24793
  title: "Pull all latest team changes into this folder immediately",
24785
24794
  children: [
24786
24795
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "⬇️" }),
@@ -24826,7 +24835,7 @@ const CollaborationRepoView = ({
24826
24835
  e.stopPropagation();
24827
24836
  onRepoCardClick(repo);
24828
24837
  },
24829
- className: `px-3.5 py-1.5 text-xs font-semibold rounded-xl transition-all shadow-xs flex items-center gap-1.5 ${savedPath ? isMissing ? "bg-danger/20 hover:bg-danger/30 text-danger border border-danger/40" : "bg-brand hover:bg-brand-hover text-white shadow-brand/20" : "bg-brand hover:bg-brand-hover text-white shadow-brand/20"}`,
24838
+ className: `px-3.5 py-1.5 text-xs font-semibold rounded-xl transition-all shadow-xs flex items-center gap-1.5 ${savedPath ? isMissing ? "bg-danger hover:bg-danger text-white text-danger border border-danger/40" : "bg-brand hover:bg-brand-hover text-white shadow-brand/20" : "bg-brand hover:bg-brand-hover text-white shadow-brand/20"}`,
24830
24839
  children: [
24831
24840
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: savedPath ? isMissing ? "Re-Clone" : "Open Repo" : "Clone" }),
24832
24841
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: isMissing ? "☁️" : savedPath ? "→" : "☁️" })
@@ -24888,7 +24897,7 @@ const CommitReceiptPrinter = ({
24888
24897
  /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
24889
24898
  "Hash: ",
24890
24899
  commit.hash.substring(0, 7),
24891
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "logo", children: "🐙" })
24900
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "logo text-gray-800 opacity-80", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { height: "40", viewBox: "0 0 16 16", width: "40", fill: "currentColor", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" }) }) })
24892
24901
  ] }),
24893
24902
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "receipt-subheader", children: [
24894
24903
  "Author: ",
@@ -25450,7 +25459,7 @@ const THEMES = [
25450
25459
  { id: "dracula", name: "Dracula" },
25451
25460
  { id: "github-light", name: "GitHub Light" },
25452
25461
  { id: "nord", name: "Nord" },
25453
- { id: "one-dark-pro", name: "One Dark Pro" },
25462
+ { id: "retro-os", name: "Retro OS UI" },
25454
25463
  { id: "night-owl", name: "Night Owl" },
25455
25464
  { id: "tokyo-night", name: "Tokyo Night" },
25456
25465
  { id: "gruvbox-dark", name: "Gruvbox Dark" },
@@ -25474,7 +25483,8 @@ const THEMES = [
25474
25483
  { id: "dev-cpp-ocean", name: "Dev-C++ Ocean" },
25475
25484
  { id: "dev-cpp-matrix", name: "Dev-C++ Matrix" },
25476
25485
  { id: "dev-cpp-twilight", name: "Dev-C++ Twilight" },
25477
- { id: "turbo-cpp-classic", name: "Turbo C++ Classic" }
25486
+ { id: "turbo-cpp-classic", name: "Turbo C++ Classic" },
25487
+ { id: "game-rpg", name: "RPG Game UI" }
25478
25488
  ];
25479
25489
  function App() {
25480
25490
  const [repoPath, setRepoPath] = reactExports.useState(null);
@@ -25648,6 +25658,10 @@ function App() {
25648
25658
  const [pushFailureData, setPushFailureData] = reactExports.useState(null);
25649
25659
  const [gitErrorData, setGitErrorData] = reactExports.useState(null);
25650
25660
  const [showSettings, setShowSettings] = reactExports.useState(false);
25661
+ const [draftTheme, setDraftTheme] = reactExports.useState("github-dark");
25662
+ const [draftLang, setDraftLang] = reactExports.useState("en");
25663
+ const [draftDailyAuth, setDraftDailyAuth] = reactExports.useState(true);
25664
+ const [draftLockscreenSpace, setDraftLockscreenSpace] = reactExports.useState(true);
25651
25665
  const [showContributorsModal, setShowContributorsModal] = reactExports.useState(false);
25652
25666
  const [remoteUrl, setRemoteUrl] = reactExports.useState(null);
25653
25667
  const [gitConfig, setGitConfig] = reactExports.useState({ name: "", email: "" });
@@ -26606,9 +26620,24 @@ Are you SURE you want to link "${repoName}" to this folder?`
26606
26620
  if (!email) email = `${activeAcc.username}@users.noreply.github.com`;
26607
26621
  }
26608
26622
  setGitConfig({ name: name || "", email: email || "" });
26623
+ setDraftTheme(theme);
26624
+ setDraftLang(lang);
26625
+ setDraftDailyAuth(dailyAuthEnabled);
26626
+ setDraftLockscreenSpace(enableLockscreenSpace);
26609
26627
  setShowSettings(true);
26610
26628
  };
26611
26629
  const saveSettings = async () => {
26630
+ setLang(draftLang);
26631
+ handleThemeChange(draftTheme);
26632
+ setDailyAuthEnabled(draftDailyAuth);
26633
+ localStorage.setItem("gitelectron-daily-auth", draftDailyAuth ? "true" : "false");
26634
+ setEnableLockscreenSpace(draftLockscreenSpace);
26635
+ localStorage.setItem("gitelectron-enable-space", draftLockscreenSpace ? "true" : "false");
26636
+ setShowSettings(false);
26637
+ showToast("Settings saved successfully", "success");
26638
+ };
26639
+ const cancelSettings = () => {
26640
+ document.documentElement.setAttribute("data-theme", theme);
26612
26641
  setShowSettings(false);
26613
26642
  };
26614
26643
  const viewDiff = async (file, staged) => {
@@ -26719,14 +26748,14 @@ Are you SURE you want to link "${repoName}" to this folder?`
26719
26748
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
26720
26749
  "div",
26721
26750
  {
26722
- "data-theme": theme,
26751
+ "data-theme": showSettings ? draftTheme : theme,
26723
26752
  className: "flex h-screen bg-canvas text-primary font-sans overflow-hidden transition-colors duration-300 select-none",
26724
26753
  onDragOver: handleDragOver,
26725
26754
  onDragLeave: handleDragLeave,
26726
26755
  onDrop: handleDrop,
26727
26756
  children: [
26728
- theme === "among-us-live" && /* @__PURE__ */ jsxRuntimeExports.jsx(AmongUsBackground, {}),
26729
- theme === "space-explorer-3d" && /* @__PURE__ */ jsxRuntimeExports.jsx(SpaceExplorerBackground, {}),
26757
+ (showSettings ? draftTheme : theme) === "among-us-live" && /* @__PURE__ */ jsxRuntimeExports.jsx(AmongUsBackground, {}),
26758
+ (showSettings ? draftTheme : theme) === "space-explorer-3d" && /* @__PURE__ */ jsxRuntimeExports.jsx(SpaceExplorerBackground, {}),
26730
26759
  showWelcomeWizard && /* @__PURE__ */ jsxRuntimeExports.jsx(WelcomeWizard, { onComplete: () => setShowWelcomeWizard(false) }),
26731
26760
  gitErrorData && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-black/70 backdrop-blur-md flex items-center justify-center z-[150] p-6 animate-fade-in", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-surface/95 border border-danger/50 rounded-2xl shadow-2xl w-full max-w-lg overflow-hidden flex flex-col p-6", children: [
26732
26761
  /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-danger mb-4", children: "Git Error" }),
@@ -26755,7 +26784,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
26755
26784
  ] }),
26756
26785
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
26757
26786
  /* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: "text-sm font-medium text-primary mb-1", children: "AI Proposed Fix" }),
26758
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "bg-brand/10 border border-brand/20 p-3 rounded text-sm text-brand", children: autoSyncErrorPayload.proposedFix })
26787
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "bg-brand text-white border border-brand/20 p-3 rounded text-sm text-brand", children: autoSyncErrorPayload.proposedFix })
26759
26788
  ] }),
26760
26789
  autoSyncErrorPayload.files && autoSyncErrorPayload.files.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
26761
26790
  /* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: "text-sm font-medium text-primary mb-1", children: "Affected Files" }),
@@ -26926,8 +26955,8 @@ Are you SURE you want to link "${repoName}" to this folder?`
26926
26955
  CustomDropdown,
26927
26956
  {
26928
26957
  options: LANGUAGES.map((l) => ({ value: l.id, label: l.name })),
26929
- value: lang,
26930
- onChange: (val) => setLang(val),
26958
+ value: draftLang,
26959
+ onChange: (val) => setDraftLang(val),
26931
26960
  buttonClassName: "w-full bg-surface border border-border rounded-lg p-2.5 text-primary focus:outline-none focus:border-accent transition-all cursor-pointer font-medium text-sm"
26932
26961
  }
26933
26962
  )
@@ -26938,8 +26967,11 @@ Are you SURE you want to link "${repoName}" to this folder?`
26938
26967
  CustomDropdown,
26939
26968
  {
26940
26969
  options: THEMES.map((t2) => ({ value: t2.id, label: t2.name })),
26941
- value: theme,
26942
- onChange: (val) => handleThemeChange(val),
26970
+ value: draftTheme,
26971
+ onChange: (val) => {
26972
+ setDraftTheme(val);
26973
+ document.documentElement.setAttribute("data-theme", val);
26974
+ },
26943
26975
  buttonClassName: "w-full bg-surface border border-border rounded-lg p-2.5 text-primary focus:outline-none focus:border-accent transition-all cursor-pointer font-medium text-sm"
26944
26976
  }
26945
26977
  )
@@ -26998,14 +27030,10 @@ Are you SURE you want to link "${repoName}" to this folder?`
26998
27030
  {
26999
27031
  className: "toggle",
27000
27032
  type: "checkbox",
27001
- checked: dailyAuthEnabled,
27033
+ checked: draftDailyAuth,
27002
27034
  onChange: (e) => {
27003
27035
  const next = e.target.checked;
27004
- setDailyAuthEnabled(next);
27005
- localStorage.setItem(
27006
- "gitelectron-daily-auth",
27007
- next ? "true" : "false"
27008
- );
27036
+ setDraftDailyAuth(next);
27009
27037
  }
27010
27038
  }
27011
27039
  ),
@@ -27024,14 +27052,10 @@ Are you SURE you want to link "${repoName}" to this folder?`
27024
27052
  {
27025
27053
  className: "toggle",
27026
27054
  type: "checkbox",
27027
- checked: enableLockscreenSpace,
27055
+ checked: draftLockscreenSpace,
27028
27056
  onChange: (e) => {
27029
27057
  const next = e.target.checked;
27030
- setEnableLockscreenSpace(next);
27031
- localStorage.setItem(
27032
- "gitelectron-enable-space",
27033
- next ? "true" : "false"
27034
- );
27058
+ setDraftLockscreenSpace(next);
27035
27059
  }
27036
27060
  }
27037
27061
  ),
@@ -27090,10 +27114,10 @@ Are you SURE you want to link "${repoName}" to this folder?`
27090
27114
  {
27091
27115
  type: "button",
27092
27116
  onClick: () => {
27093
- setShowSettings(false);
27117
+ cancelSettings();
27094
27118
  handleStartAuth();
27095
27119
  },
27096
- className: "px-3 py-1.5 bg-brand/10 hover:bg-brand/20 text-brand text-xs font-bold rounded-lg border border-brand/20 transition-colors",
27120
+ className: "px-3 py-1.5 bg-brand text-white hover:bg-brand text-white text-brand text-xs font-bold rounded-lg border border-brand/20 transition-colors",
27097
27121
  children: [
27098
27122
  "+ ",
27099
27123
  t("addAccount")
@@ -27147,7 +27171,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
27147
27171
  setAccounts([]);
27148
27172
  setActiveAccountId(null);
27149
27173
  setPushPermission(false);
27150
- setShowSettings(false);
27174
+ cancelSettings();
27151
27175
  showToast("Successfully logged out", "success");
27152
27176
  } catch (e) {
27153
27177
  console.error("Logout failed", e);
@@ -27208,7 +27232,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
27208
27232
  await window.api.masterPush(remotes[0].name, status?.current || "main");
27209
27233
  showToast("Master Push successful!", "success");
27210
27234
  refreshRepoState();
27211
- setShowSettings(false);
27235
+ cancelSettings();
27212
27236
  } catch (err) {
27213
27237
  showToast(
27214
27238
  "Master Push failed: " + (err.message || "Unknown error"),
@@ -27234,7 +27258,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
27234
27258
  /* @__PURE__ */ jsxRuntimeExports.jsx(
27235
27259
  "button",
27236
27260
  {
27237
- onClick: () => setShowSettings(false),
27261
+ onClick: () => cancelSettings(),
27238
27262
  className: "px-6 py-2.5 bg-surface border-2 border-border hover:bg-surface-hover rounded-xl transition-all font-bold text-sm",
27239
27263
  children: t("cancel")
27240
27264
  }
@@ -27582,7 +27606,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
27582
27606
  }
27583
27607
  ),
27584
27608
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3 pr-8 min-w-0", children: [
27585
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-10 h-10 rounded-xl bg-brand/10 border border-brand/20 flex items-center justify-center text-brand flex-shrink-0", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
27609
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-10 h-10 rounded-xl bg-brand text-white border border-brand/20 flex items-center justify-center text-brand flex-shrink-0", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
27586
27610
  "path",
27587
27611
  {
27588
27612
  strokeLinecap: "round",
@@ -28006,7 +28030,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28006
28030
  "button",
28007
28031
  {
28008
28032
  onClick: () => setShowUniversalWizard(true),
28009
- className: "w-full bg-gradient-to-r from-blue-600/20 to-purple-600/20 hover:from-blue-600/40 hover:to-purple-600/40 text-primary font-medium py-2 px-4 rounded-md transition-all border border-blue-500/30 text-sm flex items-center justify-center gap-2 shadow-sm",
28033
+ className: "w-full bg-brand hover:bg-brand-hover text-white font-medium py-2 px-4 rounded-md transition-all border border-border shadow-sm flex items-center justify-center gap-2",
28010
28034
  children: [
28011
28035
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-base", children: "🚀" }),
28012
28036
  " ",
@@ -28160,7 +28184,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28160
28184
  }
28161
28185
  ),
28162
28186
  t("collaborationRepo"),
28163
- collaboratedRepos.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-auto bg-brand/20 text-brand text-[10px] font-bold px-1.5 py-0.5 rounded-full", children: collaboratedRepos.length })
28187
+ collaboratedRepos.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-auto bg-brand text-white text-brand text-[10px] font-bold px-1.5 py-0.5 rounded-full", children: collaboratedRepos.length })
28164
28188
  ]
28165
28189
  }
28166
28190
  ),
@@ -28234,7 +28258,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28234
28258
  ] })
28235
28259
  ] }),
28236
28260
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 p-6 flex flex-col overflow-y-auto custom-scrollbar min-h-0 relative z-10", children: isRepo && status && branches ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 flex flex-col min-h-0 gap-4 mb-6 relative z-20", children: [
28237
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-wrap justify-between items-center bg-surface/70 backdrop-blur-md border border-border p-3 rounded-xl transition-colors duration-300 gap-4 relative z-50", children: [
28261
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-wrap justify-between items-center bg-surface backdrop-blur-md border border-border p-3 rounded-xl transition-colors duration-300 gap-4 relative z-50", children: [
28238
28262
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-wrap items-center gap-4 text-sm", children: [
28239
28263
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 relative", children: [
28240
28264
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-secondary", children: "Auth:" }),
@@ -28408,7 +28432,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28408
28432
  "button",
28409
28433
  {
28410
28434
  onClick: handleToggleAutoSync,
28411
- className: `px-2 py-1.5 rounded transition-colors flex items-center justify-center border font-medium ${autoSyncEnabled ? "bg-green-500/20 text-green-400 border-green-500/30" : "hover:bg-brand/20 text-brand border-brand/30"}`,
28435
+ className: `px-2 py-1.5 rounded transition-colors flex items-center justify-center border font-medium ${autoSyncEnabled ? "bg-green-500/20 text-green-400 border-green-500/30" : "hover:bg-brand text-white text-brand border-brand/30"}`,
28412
28436
  title: autoSyncEnabled ? "Disable Auto-Push" : "Enable Auto-Push",
28413
28437
  children: [
28414
28438
  "⚡ ",
@@ -28530,7 +28554,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28530
28554
  )
28531
28555
  ] })
28532
28556
  ] }),
28533
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative z-40 flex flex-wrap justify-between items-center bg-surface/70 backdrop-blur-md p-4 rounded-xl border border-border transition-colors duration-300 gap-4", children: [
28557
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative z-40 flex flex-wrap justify-between items-center bg-surface backdrop-blur-md p-4 rounded-xl border border-border transition-colors duration-300 gap-4", children: [
28534
28558
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3 w-full sm:w-auto", children: [
28535
28559
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-secondary text-sm hidden sm:inline", children: "Branch:" }),
28536
28560
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -28573,7 +28597,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28573
28597
  "button",
28574
28598
  {
28575
28599
  onClick: () => window.api.openExternal(remoteUrl),
28576
- className: "p-1.5 hover:bg-brand/20 text-brand rounded transition-colors flex items-center justify-center border border-brand/30",
28600
+ className: "p-1.5 hover:bg-brand text-white text-brand rounded transition-colors flex items-center justify-center border border-brand/30",
28577
28601
  title: "View Repository on GitHub",
28578
28602
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-3.5 h-3.5", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.205 11.387.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 21.795 24 17.298 24 12c0-6.627-5.373-12-12-12z" }) })
28579
28603
  }
@@ -28599,7 +28623,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28599
28623
  "button",
28600
28624
  {
28601
28625
  onClick: () => setShowContributorsModal(true),
28602
- className: "px-2 py-1.5 hover:bg-brand/20 text-brand rounded transition-colors flex items-center justify-center border border-brand/30 font-medium",
28626
+ className: "px-2 py-1.5 hover:bg-brand text-white text-brand rounded transition-colors flex items-center justify-center border border-brand/30 font-medium",
28603
28627
  title: "Manage Collaborators",
28604
28628
  children: [
28605
28629
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -28731,7 +28755,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28731
28755
  )
28732
28756
  ] })
28733
28757
  ] }),
28734
- changesTab === "collaboration-repo" ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 bg-surface/70 backdrop-blur-md rounded-2xl border border-border flex flex-col transition-colors duration-300 overflow-hidden p-4 sm:p-5 min-w-0", children: [
28758
+ changesTab === "collaboration-repo" ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 bg-surface backdrop-blur-md rounded-2xl border border-border flex flex-col transition-colors duration-300 overflow-hidden p-4 sm:p-5 min-w-0", children: [
28735
28759
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center border-b border-border pb-3 mb-4 gap-2 flex-shrink-0", children: [
28736
28760
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
28737
28761
  "button",
@@ -28752,7 +28776,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28752
28776
  children: "Deleted"
28753
28777
  }
28754
28778
  ),
28755
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ml-auto text-xs font-bold text-brand bg-brand/10 border border-brand/20 px-3 py-1 rounded-full", children: "Collaboration Repo" })
28779
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ml-auto text-xs font-bold text-brand bg-brand text-white border border-brand/20 px-3 py-1 rounded-full", children: "Collaboration Repo" })
28756
28780
  ] }),
28757
28781
  /* @__PURE__ */ jsxRuntimeExports.jsx(
28758
28782
  CollaborationRepoView,
@@ -28783,14 +28807,14 @@ Are you SURE you want to link "${repoName}" to this folder?`
28783
28807
  "div",
28784
28808
  {
28785
28809
  style: { flex: leftPanelWidth },
28786
- className: "bg-surface/70 backdrop-blur-md rounded-xl border border-border flex flex-col transition-colors duration-300 overflow-hidden min-h-[250px] min-w-0 min-h-0",
28810
+ className: "bg-surface backdrop-blur-md rounded-xl border border-border flex flex-col transition-colors duration-300 overflow-hidden min-h-[250px] min-w-0 min-h-0",
28787
28811
  children: [
28788
28812
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-nowrap overflow-x-auto custom-scrollbar items-center border-b border-border px-4 pt-3 pb-1 gap-y-2 gap-x-1", children: [
28789
28813
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
28790
28814
  "button",
28791
28815
  {
28792
28816
  onClick: () => setChangesTab("changes"),
28793
- className: `text-xs font-semibold px-3 py-1.5 rounded-t-md transition-colors border-b-2 whitespace-nowrap flex-shrink-0 ${changesTab === "changes" ? "text-primary border-accent bg-canvas/50" : "text-secondary border-transparent hover:text-primary"}`,
28817
+ className: `text-xs font-semibold px-3 py-1.5 rounded-t-md transition-colors border-b-2 whitespace-nowrap flex-shrink-0 ${changesTab === "changes" ? "text-primary border-accent bg-surface border-b-2" : "text-secondary border-transparent hover:text-primary"}`,
28794
28818
  children: [
28795
28819
  "Changes",
28796
28820
  status.not_added.length + status.modified.length + status.created.length + status.conflicted.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-1.5 bg-accent/20 text-accent text-[10px] font-bold px-1.5 py-0.5 rounded-full", children: status.not_added.length + status.modified.length + status.created.length + status.conflicted.length })
@@ -28801,7 +28825,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28801
28825
  "button",
28802
28826
  {
28803
28827
  onClick: () => setChangesTab("deleted"),
28804
- className: `text-xs font-semibold px-3 py-1.5 rounded-t-md transition-colors border-b-2 whitespace-nowrap flex-shrink-0 ${changesTab === "deleted" ? "text-primary border-danger bg-canvas/50" : "text-secondary border-transparent hover:text-primary"}`,
28828
+ className: `text-xs font-semibold px-3 py-1.5 rounded-t-md transition-colors border-b-2 whitespace-nowrap flex-shrink-0 ${changesTab === "deleted" ? "text-primary border-danger bg-surface border-b-2" : "text-secondary border-transparent hover:text-primary"}`,
28805
28829
  children: [
28806
28830
  "Deleted",
28807
28831
  status.deleted.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-1.5 bg-danger/20 text-danger text-[10px] font-bold px-1.5 py-0.5 rounded-full", children: status.deleted.length })
@@ -28816,10 +28840,10 @@ Are you SURE you want to link "${repoName}" to this folder?`
28816
28840
  window.api.getCollaboratedRepos().then((repos) => setCollaboratedRepos(repos || [])).catch(() => {
28817
28841
  });
28818
28842
  },
28819
- className: `text-xs font-semibold px-3 py-1.5 rounded-t-md transition-colors border-b-2 whitespace-nowrap flex-shrink-0 ${changesTab === "collaboration-repo" ? "text-primary border-brand bg-canvas/50" : "text-secondary border-transparent hover:text-primary"}`,
28843
+ className: `text-xs font-semibold px-3 py-1.5 rounded-t-md transition-colors border-b-2 whitespace-nowrap flex-shrink-0 ${changesTab === "collaboration-repo" ? "text-primary border-brand bg-surface border-b-2" : "text-secondary border-transparent hover:text-primary"}`,
28820
28844
  children: [
28821
28845
  "Collaboration Repo",
28822
- collaboratedRepos.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-1.5 bg-brand/20 text-brand text-[10px] font-bold px-1.5 py-0.5 rounded-full", children: collaboratedRepos.length })
28846
+ collaboratedRepos.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-1.5 bg-brand text-white text-brand text-[10px] font-bold px-1.5 py-0.5 rounded-full", children: collaboratedRepos.length })
28823
28847
  ]
28824
28848
  }
28825
28849
  ),
@@ -28829,7 +28853,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
28829
28853
  {
28830
28854
  onClick: handleUploadFiles,
28831
28855
  disabled: !repoPath || isUploading,
28832
- className: "text-xs bg-brand/10 hover:bg-brand/20 text-brand border border-brand/30 px-2.5 py-1 rounded-md transition-all flex items-center gap-1.5 font-medium shadow-sm disabled:opacity-50 whitespace-nowrap flex-shrink-0",
28856
+ className: "text-xs bg-brand text-white hover:bg-brand text-white text-brand border border-brand/30 px-2.5 py-1 rounded-md transition-all flex items-center gap-1.5 font-medium shadow-sm disabled:opacity-50 whitespace-nowrap flex-shrink-0",
28833
28857
  title: "Upload files directly into this repository",
28834
28858
  children: [
28835
28859
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -29094,7 +29118,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
29094
29118
  "div",
29095
29119
  {
29096
29120
  style: { flex: 100 - leftPanelWidth },
29097
- className: "bg-surface/70 backdrop-blur-md rounded-xl p-4 border border-border flex flex-col transition-colors duration-300 overflow-hidden min-h-0 min-w-0",
29121
+ className: "bg-surface backdrop-blur-md rounded-xl p-4 border border-border flex flex-col transition-colors duration-300 overflow-hidden min-h-0 min-w-0",
29098
29122
  children: [
29099
29123
  /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "font-semibold mb-4 text-primary text-sm shrink-0", children: "Staged Changes" }),
29100
29124
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 overflow-y-auto min-h-0 pr-2 custom-scrollbar", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: "space-y-1", children: [
@@ -29141,7 +29165,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
29141
29165
  ]
29142
29166
  }
29143
29167
  ),
29144
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-4 shrink-0 bg-surface/70 backdrop-blur-md p-4 rounded-xl border border-border flex flex-col sm:flex-row gap-3 items-center transition-colors duration-300", children: [
29168
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-4 shrink-0 bg-surface backdrop-blur-md p-4 rounded-xl border border-border flex flex-col sm:flex-row gap-3 items-center transition-colors duration-300", children: [
29145
29169
  /* @__PURE__ */ jsxRuntimeExports.jsx(
29146
29170
  "input",
29147
29171
  {
@@ -29167,7 +29191,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
29167
29191
  )
29168
29192
  ] })
29169
29193
  ] })
29170
- ] }) : changesTab === "collaboration-repo" ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 bg-surface/70 backdrop-blur-md rounded-2xl border border-border flex flex-col transition-colors duration-300 overflow-hidden p-4 sm:p-5 min-w-0", children: [
29194
+ ] }) : changesTab === "collaboration-repo" ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 bg-surface backdrop-blur-md rounded-2xl border border-border flex flex-col transition-colors duration-300 overflow-hidden p-4 sm:p-5 min-w-0", children: [
29171
29195
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between border-b border-border pb-3 mb-4 gap-2 flex-shrink-0", children: [
29172
29196
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
29173
29197
  "button",
@@ -29180,7 +29204,7 @@ Are you SURE you want to link "${repoName}" to this folder?`
29180
29204
  ]
29181
29205
  }
29182
29206
  ),
29183
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-bold text-brand bg-brand/10 border border-brand/20 px-3 py-1 rounded-full", children: "Collaboration Hub" }) })
29207
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-bold text-brand bg-brand text-white border border-brand/20 px-3 py-1 rounded-full", children: "Collaboration Hub" }) })
29184
29208
  ] }),
29185
29209
  /* @__PURE__ */ jsxRuntimeExports.jsx(
29186
29210
  CollaborationRepoView,