koishi-plugin-warframe 1.7.4 → 1.7.6

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.
package/lib/index.js CHANGED
@@ -4178,33 +4178,72 @@ var import_koishi2 = require("koishi");
4178
4178
 
4179
4179
  // src/components/miscs.tsx
4180
4180
  var import_jsx_runtime = require("@satorijs/element/jsx-runtime");
4181
+ var rivenTypeLabel = {
4182
+ melee: "近战",
4183
+ rifle: "步枪",
4184
+ pistol: "手枪",
4185
+ shotgun: "霰弹",
4186
+ zaw: "Zaw"
4187
+ };
4181
4188
  function HotRivenComponent(data) {
4182
4189
  const displayData = data.slice(0, 20);
4183
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; background-color: #f8f9fa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;", children: displayData.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display: flex; align-items: center; justify-content: space-between; gap: 4px; background-color: #ffffff; padding: 8px 10px; border-radius: 6px; border: 1px solid #e8ecf0;", children: [
4184
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "flex: 1; min-width: 0; max-width: 60%;", children: [
4185
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display: flex; align-items: baseline; gap: 4px;", children: [
4186
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size: 13px; font-weight: 600; color: #1a2332; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", children: item.name_zh }),
4187
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size: 10px; color: #6b7a8f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", children: item.name_en })
4188
- ] }),
4189
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display: flex; align-items: center; gap: 4px; margin-top: 1px; flex-wrap: wrap;", children: [
4190
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size: 11px; font-weight: 500; color: #1a2332;", children: [
4191
- "倾向",
4192
- " ",
4193
- item.disposition.toFixed(2)
4194
- ] }),
4195
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size: 10px; color: #9aabb8;", children: "·" }),
4196
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size: 10px; color: #6b7a8f;", children: [
4197
- "🟢在线",
4198
- " ",
4199
- item.active_count
4200
- ] })
4190
+ const rankColors = [
4191
+ "var(--wf-rarity-rare)",
4192
+ "#8a8a8a",
4193
+ "var(--wf-rarity-common)"
4194
+ ];
4195
+ const rankColor = /* @__PURE__ */ __name((i) => i < 3 ? rankColors[i] : "var(--wf-border-strong)", "rankColor");
4196
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "width:640px;background-color:var(--wf-bg-card);border:1px solid var(--wf-border);border-radius:var(--wf-radius);padding:16px;box-shadow:var(--wf-shadow-card);font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:var(--wf-text-body);", children: [
4197
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--wf-divider);", children: [
4198
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { style: "font-size:18px;font-weight:bold;color:var(--wf-text-primary);margin:0;", children: "热门紫卡" }),
4199
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size:11px;color:var(--wf-text-muted);", children: [
4200
+ "Top",
4201
+ " ",
4202
+ displayData.length
4201
4203
  ] })
4202
4204
  ] }),
4203
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "text-align: right; flex-shrink: 0;", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "font-size: 16px; font-weight: 700; color: #2d7a6d;", children: [
4204
- item.bottom_price,
4205
- "p"
4206
- ] }) })
4207
- ] })) });
4205
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "display:grid;grid-template-columns:1fr 1fr;gap:6px;", children: displayData.map((item, index) => {
4206
+ const rank = index + 1;
4207
+ const color = rankColor(index);
4208
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: `display:flex;align-items:center;gap:8px;background-color:var(--wf-bg-subtle);padding:8px 10px;border-radius:var(--wf-radius-md);border:1px solid var(--wf-border);border-left:3px solid ${color};`, children: [
4209
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: `font-size:14px;font-weight:bold;color:${color};min-width:24px;text-align:center;flex-shrink:0;`, children: [
4210
+ "#",
4211
+ rank
4212
+ ] }),
4213
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "flex:1;min-width:0;", children: [
4214
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display:flex;align-items:baseline;gap:4px;", children: [
4215
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size:13px;font-weight:600;color:var(--wf-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;", children: item.name_zh }),
4216
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size:10px;color:var(--wf-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;", children: item.name_en })
4217
+ ] }),
4218
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display:flex;align-items:center;gap:6px;margin-top:2px;flex-wrap:wrap;", children: [
4219
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size:10px;color:var(--wf-text-secondary);background-color:rgba(0,0,0,0.04);padding:1px 6px;border-radius:var(--wf-radius-sm);", children: rivenTypeLabel[item.rivenType] ?? item.rivenType }),
4220
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size:10px;color:var(--wf-text-secondary);", children: [
4221
+ "倾向",
4222
+ " ",
4223
+ item.disposition.toFixed(2)
4224
+ ] }),
4225
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size:10px;color:var(--wf-success);white-space:nowrap;", children: [
4226
+ "●",
4227
+ " ",
4228
+ item.active_count
4229
+ ] })
4230
+ ] })
4231
+ ] }),
4232
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "text-align:right;flex-shrink:0;", children: [
4233
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "font-size:15px;font-weight:700;color:var(--wf-platinum);line-height:1.2;", children: [
4234
+ item.bottom_price,
4235
+ "p"
4236
+ ] }),
4237
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "font-size:9px;color:var(--wf-text-muted);", children: [
4238
+ "≥",
4239
+ item.min_price,
4240
+ "p"
4241
+ ] })
4242
+ ] })
4243
+ ] });
4244
+ }) }),
4245
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "margin-top:14px;padding-top:10px;border-top:1px solid var(--wf-border);font-size:10px;color:var(--wf-text-muted);text-align:center;", children: "按底价排序 · ● 在线卖家数 · 数据来源 RivenTracker" })
4246
+ ] });
4208
4247
  }
4209
4248
  __name(HotRivenComponent, "HotRivenComponent");
4210
4249
 
@@ -4295,6 +4334,7 @@ __name(loadAssetText, "loadAssetText");
4295
4334
  // src/warframe/utils/cache.ts
4296
4335
  function createAsyncCache(factory, ttlMs = 6e4) {
4297
4336
  let cache;
4337
+ let hasCache = false;
4298
4338
  let lastUpdatedAt = 0;
4299
4339
  let inFlight;
4300
4340
  async function update() {
@@ -4304,9 +4344,12 @@ function createAsyncCache(factory, ttlMs = 6e4) {
4304
4344
  inFlight = (async () => {
4305
4345
  try {
4306
4346
  const result = await factory();
4307
- cache = result;
4308
- lastUpdatedAt = Date.now();
4309
- return cache;
4347
+ if (result !== void 0) {
4348
+ cache = result;
4349
+ hasCache = true;
4350
+ lastUpdatedAt = Date.now();
4351
+ }
4352
+ return result;
4310
4353
  } finally {
4311
4354
  inFlight = null;
4312
4355
  }
@@ -4316,10 +4359,21 @@ function createAsyncCache(factory, ttlMs = 6e4) {
4316
4359
  __name(update, "update");
4317
4360
  async function get() {
4318
4361
  const now = Date.now();
4319
- if (cache && (ttlMs < 0 || now - lastUpdatedAt < ttlMs)) {
4362
+ if (hasCache && (ttlMs < 0 || now - lastUpdatedAt < ttlMs)) {
4320
4363
  return cache;
4321
4364
  }
4322
- return update();
4365
+ try {
4366
+ const result = await update();
4367
+ if (result === void 0 && hasCache) {
4368
+ return cache;
4369
+ }
4370
+ return result;
4371
+ } catch (error) {
4372
+ if (hasCache) {
4373
+ return cache;
4374
+ }
4375
+ throw error;
4376
+ }
4323
4377
  }
4324
4378
  __name(get, "get");
4325
4379
  return { get, update };
@@ -6548,10 +6602,13 @@ async function updateCache() {
6548
6602
  const lines = updateTasks.map((task, index) => {
6549
6603
  const result = results[index];
6550
6604
  if (result.status === "fulfilled") {
6605
+ if (result.value == null) {
6606
+ return `${task.name}: 失败 - 无有效数据`;
6607
+ }
6551
6608
  return `${task.name}: 成功`;
6552
- } else {
6553
- return `${task.name}: 失败 - ${result.reason}`;
6554
6609
  }
6610
+ const reason = result.reason instanceof Error ? result.reason.message : String(result.reason);
6611
+ return `${task.name}: 失败 - ${reason}`;
6555
6612
  });
6556
6613
  return lines.join("\n");
6557
6614
  }
@@ -6654,7 +6711,8 @@ async function applyRelicData(relic) {
6654
6711
  return {
6655
6712
  ...element,
6656
6713
  name: quantityPrefix + name2,
6657
- ducats: 0
6714
+ ducats: void 0,
6715
+ platinum: void 0
6658
6716
  };
6659
6717
  }
6660
6718
  const platinum = wfmDict ? wfmDict[item.id]?.median : void 0;
@@ -6936,29 +6994,83 @@ __name(rgbToHex, "rgbToHex");
6936
6994
  // src/components/wf.tsx
6937
6995
  var import_jsx_runtime2 = require("@satorijs/element/jsx-runtime");
6938
6996
  function ArbitrationComponent(arbi) {
6997
+ const rewardTier = /* @__PURE__ */ __name((rewards) => {
6998
+ if (rewards >= 400)
6999
+ return { color: "var(--wf-rarity-rare)", bg: "rgba(255, 215, 0, 0.12)" };
7000
+ if (rewards >= 380)
7001
+ return { color: "var(--wf-warning)", bg: "rgba(255, 140, 66, 0.12)" };
7002
+ if (rewards >= 350)
7003
+ return { color: "var(--wf-success)", bg: "rgba(46, 125, 50, 0.12)" };
7004
+ return { color: "var(--wf-rarity-common)", bg: "rgba(205, 127, 50, 0.12)" };
7005
+ }, "rewardTier");
7006
+ const formatDayLabel = /* @__PURE__ */ __name((dateStr) => {
7007
+ const parts = dateStr.split("/");
7008
+ if (parts.length >= 3) {
7009
+ return `${Number(parts[1])}月${Number(parts[2])}日`;
7010
+ }
7011
+ return dateStr;
7012
+ }, "formatDayLabel");
7013
+ const groups = /* @__PURE__ */ new Map();
7014
+ for (const a of arbi) {
7015
+ const spaceIdx = a.time.indexOf(" ");
7016
+ const dateKey = spaceIdx > 0 ? a.time.slice(0, spaceIdx) : a.time;
7017
+ if (!groups.has(dateKey))
7018
+ groups.set(dateKey, []);
7019
+ groups.get(dateKey).push(a);
7020
+ }
6939
7021
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
6940
7022
  "div",
6941
7023
  {
6942
- style: "width:calc(100dvw-40px);display:flex;flex-direction:column;align-items: center;",
7024
+ style: "width:600px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;box-shadow:var(--wf-shadow-card);border:1px solid var(--wf-border);font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:var(--wf-text-body);",
6943
7025
  children: [
6944
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { children: "高掉落仲裁时间表" }),
6945
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { style: "width:100%;font-size: 30px;", children: arbi.map((a) => {
6946
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { children: [
6947
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
6948
- "[",
6949
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color:darkgreen;", children: a.time }),
6950
- "]"
6951
- ] }),
6952
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-left:10px;", children: `${a.name} ${a.system}-${a.type} (${a.faction})`.replace(
6953
- /\(|\)/g,
6954
- ""
6955
- ) }),
6956
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:10px;", children: [
6957
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color:darkgreen;", children: a.rewards }),
6958
- "精华/h"
6959
- ] })
6960
- ] });
6961
- }) }) })
7026
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size:22px;font-weight:bold;color:var(--wf-text-primary);margin:0 0 16px 0;padding-bottom:12px;border-bottom:1px solid var(--wf-divider);text-align:center;", children: "高掉落仲裁时间表" }),
7027
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display:flex;flex-direction:column;gap:14px;", children: [...groups.entries()].map(([dateKey, items]) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7028
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7029
+ "div",
7030
+ {
7031
+ style: "font-size:13px;font-weight:bold;color:var(--wf-text-secondary);margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid var(--wf-border);",
7032
+ children: formatDayLabel(dateKey)
7033
+ }
7034
+ ),
7035
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display:flex;flex-direction:column;gap:4px;", children: items.map((a) => {
7036
+ const tier = rewardTier(a.rewards);
7037
+ const timeLabel = a.time.includes(" ") ? a.time.slice(a.time.indexOf(" ") + 1) : a.time;
7038
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7039
+ "div",
7040
+ {
7041
+ style: "display:flex;align-items:center;gap:10px;padding:6px 10px;background-color:var(--wf-bg-subtle);border-radius:var(--wf-radius-sm);border-left:3px solid var(--wf-border-strong);",
7042
+ children: [
7043
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7044
+ "span",
7045
+ {
7046
+ style: "font-size:13px;font-weight:600;color:var(--wf-text-primary);font-family:monospace;min-width:52px;",
7047
+ children: timeLabel
7048
+ }
7049
+ ),
7050
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size:13px;color:var(--wf-text-body);flex:1;min-width:0;", children: `${a.name} ${a.system}-${a.type}` }),
7051
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7052
+ "span",
7053
+ {
7054
+ style: "font-size:13px;color:var(--wf-accent);background-color:rgba(71,181,165,0.1);padding:1px 8px;border-radius:var(--wf-radius-sm);white-space:nowrap;",
7055
+ children: a.faction
7056
+ }
7057
+ ),
7058
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7059
+ "span",
7060
+ {
7061
+ style: `font-size:13px;font-weight:700;color:${tier.color};background-color:${tier.bg};padding:2px 8px;border-radius:var(--wf-radius-sm);white-space:nowrap;min-width:96px;text-align:right;`,
7062
+ children: [
7063
+ a.rewards,
7064
+ " ",
7065
+ "精华/h"
7066
+ ]
7067
+ }
7068
+ )
7069
+ ]
7070
+ }
7071
+ );
7072
+ }) })
7073
+ ] })) })
6962
7074
  ]
6963
7075
  }
6964
7076
  );
@@ -6969,13 +7081,14 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
6969
7081
  "div",
6970
7082
  {
6971
7083
  style: `
6972
- background: linear-gradient(135deg, #f5f0e8 0%, #fff8f0 100%);
6973
- border-radius: 8px;
7084
+ background-color: var(--wf-bg-card);
7085
+ border-radius: var(--wf-radius);
6974
7086
  padding: 16px;
6975
7087
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
6976
7088
  width: 1000px;
6977
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
6978
- border: 1px solid rgba(0, 0, 0, 0.05);
7089
+ box-shadow: var(--wf-shadow-card);
7090
+ border: 1px solid var(--wf-border);
7091
+ color: var(--wf-text-body);
6979
7092
  `,
6980
7093
  children: [
6981
7094
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -6985,7 +7098,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
6985
7098
  text-align: center;
6986
7099
  margin-bottom: 20px;
6987
7100
  padding-bottom: 12px;
6988
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
7101
+ border-bottom: 1px solid var(--wf-divider);
6989
7102
  `,
6990
7103
  children: [
6991
7104
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -6994,7 +7107,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
6994
7107
  style: `
6995
7108
  font-size: 22px;
6996
7109
  font-weight: bold;
6997
- color: #1a1a1a;
7110
+ color: var(--wf-text-primary);
6998
7111
  margin: 0 0 8px 0;
6999
7112
  `,
7000
7113
  children: "回廊奖励总览"
@@ -7004,7 +7117,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7004
7117
  "p",
7005
7118
  {
7006
7119
  style: `
7007
- color: #666666;
7120
+ color: var(--wf-text-secondary);
7008
7121
  font-size: 11px;
7009
7122
  margin: 0;
7010
7123
  `,
@@ -7039,11 +7152,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7039
7152
  {
7040
7153
  style: `
7041
7154
  flex: 1;
7042
- background: rgba(255, 255, 255, 0.8);
7043
- border-radius: 8px;
7155
+ background-color: var(--wf-bg-subtle);
7156
+ border-radius: var(--wf-radius);
7044
7157
  padding: 12px;
7045
- border: 1px solid rgba(0, 0, 0, 0.08);
7046
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
7158
+ border: 1px solid var(--wf-border);
7159
+ box-shadow: var(--wf-shadow-inner);
7047
7160
  `,
7048
7161
  children: [
7049
7162
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -7052,10 +7165,10 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7052
7165
  style: `
7053
7166
  font-weight: bold;
7054
7167
  font-size: 15px;
7055
- color: #333333;
7168
+ color: var(--wf-text-body);
7056
7169
  margin-bottom: 12px;
7057
7170
  padding-bottom: 8px;
7058
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
7171
+ border-bottom: 1px solid var(--wf-border);
7059
7172
  `,
7060
7173
  children: "灵化之源"
7061
7174
  }
@@ -7074,11 +7187,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7074
7187
  "div",
7075
7188
  {
7076
7189
  style: `
7077
- background: ${isCurrent ? "#fff8f0" : "#ffffff"};
7078
- border-radius: 4px;
7190
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-card)"};
7191
+ border-radius: var(--wf-radius-sm);
7079
7192
  padding: 8px 10px;
7080
- border-left: 4px solid ${isCurrent ? "#ff8c42" : "#e0e0e0"};
7081
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
7193
+ border-left: 4px solid ${isCurrent ? "var(--wf-warning)" : "var(--wf-border-strong)"};
7194
+ box-shadow: var(--wf-shadow-subtle);
7082
7195
  `,
7083
7196
  children: [
7084
7197
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7087,7 +7200,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7087
7200
  style: `
7088
7201
  font-size: 10px;
7089
7202
  font-weight: bold;
7090
- color: ${isCurrent ? "#ff8c42" : "#999999"};
7203
+ color: ${isCurrent ? "var(--wf-warning)" : "var(--wf-text-muted)"};
7091
7204
  margin-bottom: 6px;
7092
7205
  `,
7093
7206
  children: [
@@ -7111,13 +7224,13 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7111
7224
  "span",
7112
7225
  {
7113
7226
  style: `
7114
- background: ${isCurrent ? "#fff0e0" : "#f5f5f5"};
7227
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-subtle)"};
7115
7228
  padding: 3px 10px;
7116
- border-radius: 4px;
7229
+ border-radius: var(--wf-radius-sm);
7117
7230
  font-size: 11px;
7118
7231
  font-weight: 500;
7119
- color: #333333;
7120
- border: 1px solid ${isCurrent ? "#ffe0b5" : "#e8e8e8"};
7232
+ color: var(--wf-text-body);
7233
+ border: 1px solid ${isCurrent ? "var(--wf-border-strong)" : "var(--wf-border)"};
7121
7234
  `,
7122
7235
  children: item
7123
7236
  }
@@ -7138,11 +7251,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7138
7251
  {
7139
7252
  style: `
7140
7253
  flex: 1;
7141
- background: rgba(255, 255, 255, 0.8);
7142
- border-radius: 8px;
7254
+ background-color: var(--wf-bg-subtle);
7255
+ border-radius: var(--wf-radius);
7143
7256
  padding: 12px;
7144
- border: 1px solid rgba(0, 0, 0, 0.08);
7145
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
7257
+ border: 1px solid var(--wf-border);
7258
+ box-shadow: var(--wf-shadow-inner);
7146
7259
  `,
7147
7260
  children: [
7148
7261
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -7151,10 +7264,10 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7151
7264
  style: `
7152
7265
  font-weight: bold;
7153
7266
  font-size: 15px;
7154
- color: #333333;
7267
+ color: var(--wf-text-body);
7155
7268
  margin-bottom: 12px;
7156
7269
  padding-bottom: 8px;
7157
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
7270
+ border-bottom: 1px solid var(--wf-border);
7158
7271
  `,
7159
7272
  children: "战甲"
7160
7273
  }
@@ -7173,11 +7286,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7173
7286
  "div",
7174
7287
  {
7175
7288
  style: `
7176
- background: ${isCurrent ? "#f0faf8" : "#ffffff"};
7177
- border-radius: 4px;
7289
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-card)"};
7290
+ border-radius: var(--wf-radius-sm);
7178
7291
  padding: 8px 10px;
7179
- border-left: 4px solid ${isCurrent ? "#47b5a5" : "#e0e0e0"};
7180
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
7292
+ border-left: 4px solid ${isCurrent ? "var(--wf-accent)" : "var(--wf-border-strong)"};
7293
+ box-shadow: var(--wf-shadow-subtle);
7181
7294
  `,
7182
7295
  children: [
7183
7296
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7186,7 +7299,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7186
7299
  style: `
7187
7300
  font-size: 10px;
7188
7301
  font-weight: bold;
7189
- color: ${isCurrent ? "#47b5a5" : "#999999"};
7302
+ color: ${isCurrent ? "var(--wf-accent)" : "var(--wf-text-muted)"};
7190
7303
  margin-bottom: 6px;
7191
7304
  `,
7192
7305
  children: [
@@ -7210,13 +7323,13 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7210
7323
  "span",
7211
7324
  {
7212
7325
  style: `
7213
- background: ${isCurrent ? "#e0f7f2" : "#f5f5f5"};
7326
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-subtle)"};
7214
7327
  padding: 3px 10px;
7215
- border-radius: 4px;
7328
+ border-radius: var(--wf-radius-sm);
7216
7329
  font-size: 11px;
7217
7330
  font-weight: 500;
7218
- color: #333333;
7219
- border: 1px solid ${isCurrent ? "#c0e0d8" : "#e8e8e8"};
7331
+ color: var(--wf-text-body);
7332
+ border: 1px solid ${isCurrent ? "var(--wf-border-strong)" : "var(--wf-border)"};
7220
7333
  `,
7221
7334
  children: item
7222
7335
  }
@@ -7241,9 +7354,9 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7241
7354
  style: `
7242
7355
  margin-top: 16px;
7243
7356
  padding-top: 12px;
7244
- border-top: 1px solid rgba(0, 0, 0, 0.08);
7357
+ border-top: 1px solid var(--wf-border);
7245
7358
  font-size: 10px;
7246
- color: #999999;
7359
+ color: var(--wf-text-muted);
7247
7360
  text-align: center;
7248
7361
  `,
7249
7362
  children: "每周一更新"
@@ -7260,27 +7373,27 @@ function FissureComponent(fissures, type) {
7260
7373
  "sp-fissure": "虚空裂缝 (钢铁之路)",
7261
7374
  "rj-fissure": "虚空裂缝 (九重天)"
7262
7375
  };
7263
- const colors = [
7264
- "#B87333",
7265
- "#4A6F43",
7266
- "#B2B2B2",
7267
- "#D4AF37",
7268
- "#8B0000",
7269
- "#2F9E88"
7376
+ const tierColors = [
7377
+ "var(--wf-rarity-common)",
7378
+ "var(--wf-success)",
7379
+ "var(--wf-rarity-uncommon)",
7380
+ "var(--wf-rarity-rare)",
7381
+ "var(--wf-danger)",
7382
+ "var(--wf-accent)"
7270
7383
  ];
7271
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "display:flex;flex-direction:column;align-items:center;", children: [
7272
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size: 50px;", children: titles[type] }),
7273
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { style: "font-size: 30px;margin-top:30px;", children: fissures.filter((f) => f.expiry - Date.now() > 0).map((f) => {
7384
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "display:flex;flex-direction:column;align-items:center;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;box-shadow:var(--wf-shadow-card);border:1px solid var(--wf-border);", children: [
7385
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size:50px;color:var(--wf-text-primary);", children: titles[type] }),
7386
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { style: "font-size:30px;margin-top:30px;", children: fissures.filter((f) => f.expiry - Date.now() > 0).map((f) => {
7274
7387
  const timeLeft = f.expiry - Date.now();
7275
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { style: "margin-top: 10px;", children: [
7276
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: `color:${colors[f.tierNum - 1]};`, children: `${f.tier}(T${f.tierNum})` }),
7277
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left: 20px;", children: [
7388
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { style: "margin-top:10px;color:var(--wf-text-body);", children: [
7389
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: `color:${tierColors[f.tierNum - 1]};`, children: `${f.tier}(T${f.tierNum})` }),
7390
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:20px;", children: [
7278
7391
  f.node.name,
7279
7392
  " ",
7280
7393
  f.node.system
7281
7394
  ] }),
7282
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-left: 10px;", children: f.node.type }),
7283
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left: 10px;color:purple;", children: [
7395
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-left:10px;", children: f.node.type }),
7396
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:10px;color:var(--wf-accent);", children: [
7284
7397
  f.node.faction,
7285
7398
  "(",
7286
7399
  f.node.minLevel + 5 + (f.hard ? 100 : 0),
@@ -7291,7 +7404,7 @@ function FissureComponent(fissures, type) {
7291
7404
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7292
7405
  "span",
7293
7406
  {
7294
- style: `margin-left: 10px;color:${timeLeft > 36e5 ? "green" : timeLeft > 6e5 ? "blue" : "red"};`,
7407
+ style: `margin-left:10px;color:${timeLeft > 36e5 ? "var(--wf-success)" : timeLeft > 6e5 ? "var(--wf-info)" : "var(--wf-danger)"};`,
7295
7408
  children: [
7296
7409
  "剩余",
7297
7410
  msToHumanReadable(timeLeft)
@@ -7300,7 +7413,7 @@ function FissureComponent(fissures, type) {
7300
7413
  )
7301
7414
  ] });
7302
7415
  }) }),
7303
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "margin-top: 30px; font-size: 30px;", children: "注: 该功能的数据有一定延迟" })
7416
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "margin-top:30px;font-size:30px;color:var(--wf-text-muted);", children: "注: 该功能的数据有一定延迟" })
7304
7417
  ] });
7305
7418
  }
7306
7419
  __name(FissureComponent, "FissureComponent");
@@ -7310,17 +7423,17 @@ function WeeklyRivenComponent(items, minPrice) {
7310
7423
  "div",
7311
7424
  {
7312
7425
  style: `
7313
- color: #333333;
7426
+ color: var(--wf-text-body);
7314
7427
  line-height: 1.5;
7315
7428
  font-size: 14px;
7316
- background: linear-gradient(135deg, #f5f0e8 0%, #fff8f0 100%);
7429
+ background-color: var(--wf-bg-card);
7317
7430
  font-family: 'Segoe UI', system-ui, sans-serif;
7318
7431
  max-width: 600px;
7319
7432
  margin: 0 auto;
7320
7433
  padding: 16px;
7321
- border-radius: 8px;
7322
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
7323
- border: 1px solid rgba(0, 0, 0, 0.05);
7434
+ border-radius: var(--wf-radius);
7435
+ box-shadow: var(--wf-shadow-card);
7436
+ border: 1px solid var(--wf-border);
7324
7437
  `,
7325
7438
  children: [
7326
7439
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7329,10 +7442,10 @@ function WeeklyRivenComponent(items, minPrice) {
7329
7442
  style: `
7330
7443
  font-size: 22px;
7331
7444
  font-weight: bold;
7332
- color: #1a1a1a;
7445
+ color: var(--wf-text-primary);
7333
7446
  margin: 0 0 16px 0;
7334
7447
  padding-bottom: 12px;
7335
- border-bottom: 2px solid rgba(0, 0, 0, 0.1);
7448
+ border-bottom: 2px solid var(--wf-divider);
7336
7449
  text-align: center;
7337
7450
  `,
7338
7451
  children: [
@@ -7354,21 +7467,21 @@ function WeeklyRivenComponent(items, minPrice) {
7354
7467
  children: items.map((item, index) => {
7355
7468
  const weaponName = item.compatibility ? `${item.compatibility}` : item.itemType.replace(" Riven Mod", "");
7356
7469
  const tierNum = index + 1;
7357
- const tierColors = ["#ffd700", "#c0c0c0", "#cd7f32", "rgba(0, 0, 0, 0.08)"];
7470
+ const tierColors = ["var(--wf-rarity-rare)", "var(--wf-rarity-uncommon)", "var(--wf-rarity-common)", "var(--wf-border-strong)"];
7358
7471
  const tierColor = tierNum === 1 ? tierColors[0] : tierNum === 2 ? tierColors[1] : tierNum === 3 ? tierColors[2] : tierColors[3];
7359
7472
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7360
7473
  "div",
7361
7474
  {
7362
7475
  style: `
7363
- background-color: #ffffff;
7364
- border: 1px solid rgba(0, 0, 0, 0.08);
7365
- border-radius: 8px;
7476
+ background-color: var(--wf-bg-card);
7477
+ border: 1px solid var(--wf-border);
7478
+ border-radius: var(--wf-radius-md);
7366
7479
  padding: 10px 14px;
7367
7480
  display: flex;
7368
7481
  justify-content: space-between;
7369
7482
  align-items: center;
7370
7483
  border-left: 4px solid ${tierColor};
7371
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
7484
+ box-shadow: var(--wf-shadow-subtle);
7372
7485
  `,
7373
7486
  children: [
7374
7487
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7401,7 +7514,7 @@ function WeeklyRivenComponent(items, minPrice) {
7401
7514
  style: `
7402
7515
  font-weight: 600;
7403
7516
  font-size: 15px;
7404
- color: #333333;
7517
+ color: var(--wf-text-body);
7405
7518
  `,
7406
7519
  children: weaponName
7407
7520
  }
@@ -7422,7 +7535,7 @@ function WeeklyRivenComponent(items, minPrice) {
7422
7535
  "span",
7423
7536
  {
7424
7537
  style: `
7425
- color: #2e7d32;
7538
+ color: var(--wf-success);
7426
7539
  font-weight: 600;
7427
7540
  font-size: 15px;
7428
7541
  `,
@@ -7432,7 +7545,7 @@ function WeeklyRivenComponent(items, minPrice) {
7432
7545
  ]
7433
7546
  }
7434
7547
  ),
7435
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: { color: "#888888", fontSize: 12 }, children: `均价:${formatPrice(item.avg)}P 交易量:${item.pop} 区间:[${item.min}-${item.max}]` })
7548
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: { color: "var(--wf-text-muted)", fontSize: 12 }, children: `均价:${formatPrice(item.avg)}P 交易量:${item.pop} 区间:[${item.min}-${item.max}]` })
7436
7549
  ]
7437
7550
  }
7438
7551
  )
@@ -7448,9 +7561,9 @@ function WeeklyRivenComponent(items, minPrice) {
7448
7561
  style: `
7449
7562
  margin-top: 16px;
7450
7563
  padding-top: 12px;
7451
- border-top: 1px solid rgba(0, 0, 0, 0.08);
7564
+ border-top: 1px solid var(--wf-border);
7452
7565
  font-size: 10px;
7453
- color: #999999;
7566
+ color: var(--wf-text-muted);
7454
7567
  text-align: center;
7455
7568
  `,
7456
7569
  children: "数据来源: warframe.com weeklyRivensPC · 按未洗卡中位价排序,均价仅作参考"
@@ -7462,209 +7575,86 @@ function WeeklyRivenComponent(items, minPrice) {
7462
7575
  }
7463
7576
  __name(WeeklyRivenComponent, "WeeklyRivenComponent");
7464
7577
  function WeeklyComponent(archon, deepArchimedea, temporalArchimedea) {
7465
- const archonHuntSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7466
- "section",
7467
- {
7468
- style: `
7469
- border-radius: 8px;
7470
- border: 1px solid #1f2937;
7471
- padding: 12px 14px;
7472
- background-color: #0b0f19;
7473
- box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
7474
- color: #e5e7eb;
7475
- `,
7476
- children: [
7477
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7478
- "div",
7479
- {
7480
- style: `
7481
- font-size: 12px;
7482
- color: #9ca3af;
7483
- margin-bottom: 6px;
7484
- `,
7485
- children: "Archon Hunt"
7486
- }
7487
- ),
7488
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7489
- "div",
7490
- {
7491
- style: `
7492
- font-size: 16px;
7493
- font-weight: 600;
7494
- `,
7495
- children: `执行官刺杀: ${archon.name}`
7496
- }
7497
- )
7498
- ]
7499
- }
7500
- );
7501
- const deepArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7502
- "section",
7503
- {
7504
- style: `
7505
- border-radius: 8px;
7506
- border: 1px solid #1f2937;
7507
- padding: 12px 14px;
7508
- background-color: #0b0f19;
7509
- box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
7510
- color: #e5e7eb;
7511
- `,
7512
- children: [
7513
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7514
- "div",
7515
- {
7516
- style: `
7517
- font-size: 12px;
7518
- color: #6ee7b7;
7519
- margin-bottom: 6px;
7520
- `,
7521
- children: "Deep Archimedea"
7522
- }
7523
- ),
7524
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7525
- "div",
7526
- {
7527
- style: `
7528
- font-size: 16px;
7529
- font-weight: 600;
7530
- margin-bottom: 8px;
7531
- `,
7532
- children: deepArchimedea.name
7533
- }
7534
- ),
7535
- deepArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7536
- "div",
7537
- {
7538
- style: `
7539
- border-radius: 6px;
7540
- border: 1px solid rgba(255,255,255,0.15);
7541
- padding: 8px 10px;
7542
- margin-bottom: 8px;
7543
- background-color: rgba(255,255,255,0.05);
7544
- `,
7545
- children: [
7546
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7547
- "div",
7548
- {
7549
- style: `
7550
- font-size: 13px;
7551
- font-weight: 600;
7552
- margin-bottom: 4px;
7553
- `,
7554
- children: m.type
7555
- }
7556
- ),
7557
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px;", children: [
7558
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7559
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "偏差:" }),
7560
- `${m.deviation.name}(${m.deviation.desc})`
7561
- ] }),
7562
- m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7563
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "风险:" }),
7564
- `${r.name}(${r.desc})`
7565
- ] }))
7566
- ] })
7567
- ]
7568
- }
7569
- )),
7570
- deepArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px; margin-top: 4px;", children: [
7571
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "个人变量:" }),
7572
- `${p.name}(${p.desc})`
7578
+ const sectionStyle = `
7579
+ border-radius: var(--wf-radius);
7580
+ border: 1px solid var(--wf-border);
7581
+ padding: 12px 14px;
7582
+ background-color: var(--wf-bg-subtle);
7583
+ box-shadow: var(--wf-shadow-inner);
7584
+ color: var(--wf-text-body);
7585
+ `;
7586
+ const missionCardStyle = `
7587
+ border-radius: var(--wf-radius-md);
7588
+ border: 1px solid var(--wf-border);
7589
+ padding: 8px 10px;
7590
+ margin-bottom: 8px;
7591
+ background-color: var(--wf-bg-card);
7592
+ `;
7593
+ const archonHuntSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
7594
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-text-muted);margin-bottom:6px;", children: "Archon Hunt" }),
7595
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);", children: `执行官刺杀: ${archon.name}` })
7596
+ ] });
7597
+ const deepArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
7598
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-success);margin-bottom:6px;", children: "Deep Archimedea" }),
7599
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);margin-bottom:8px;", children: deepArchimedea.name }),
7600
+ deepArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: missionCardStyle, children: [
7601
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:13px;font-weight:600;margin-bottom:4px;color:var(--wf-text-body);", children: m.type }),
7602
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;color:var(--wf-text-secondary);", children: [
7603
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7604
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "偏差:" }),
7605
+ `${m.deviation.name}(${m.deviation.desc})`
7606
+ ] }),
7607
+ m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7608
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "风险:" }),
7609
+ `${r.name}(${r.desc})`
7573
7610
  ] }))
7574
- ]
7575
- }
7576
- );
7577
- const temporalArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7578
- "section",
7579
- {
7580
- style: `
7581
- border-radius: 8px;
7582
- border: 1px solid #1f2937;
7583
- padding: 12px 14px;
7584
- background-color: #0b0f19;
7585
- box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
7586
- color: #e5e7eb;
7587
- `,
7588
- children: [
7589
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7590
- "div",
7591
- {
7592
- style: `
7593
- font-size: 12px;
7594
- color: #a5b4fc;
7595
- margin-bottom: 6px;
7596
- `,
7597
- children: "Temporal Archimedea"
7598
- }
7599
- ),
7600
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7601
- "div",
7602
- {
7603
- style: `
7604
- font-size: 16px;
7605
- font-weight: 600;
7606
- margin-bottom: 8px;
7607
- `,
7608
- children: temporalArchimedea.name
7609
- }
7610
- ),
7611
- temporalArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7612
- "div",
7613
- {
7614
- style: `
7615
- border-radius: 6px;
7616
- border: 1px solid rgba(255,255,255,0.15);
7617
- padding: 8px 10px;
7618
- margin-bottom: 8px;
7619
- background-color: rgba(255,255,255,0.05);
7620
- `,
7621
- children: [
7622
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7623
- "div",
7624
- {
7625
- style: `
7626
- font-size: 13px;
7627
- font-weight: 600;
7628
- margin-bottom: 4px;
7629
- `,
7630
- children: m.type
7631
- }
7632
- ),
7633
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px;", children: [
7634
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7635
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "偏差:" }),
7636
- `${m.deviation.name}(${m.deviation.desc})`
7637
- ] }),
7638
- m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7639
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "风险:" }),
7640
- `${r.name}(${r.desc})`
7641
- ] }))
7642
- ] })
7643
- ]
7644
- }
7645
- )),
7646
- temporalArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px; margin-top: 4px;", children: [
7647
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "个人变量:" }),
7648
- `${p.name}(${p.desc})`
7611
+ ] })
7612
+ ] })),
7613
+ deepArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;margin-top:4px;color:var(--wf-text-secondary);", children: [
7614
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "个人变量:" }),
7615
+ `${p.name}(${p.desc})`
7616
+ ] }))
7617
+ ] });
7618
+ const temporalArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
7619
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-info);margin-bottom:6px;", children: "Temporal Archimedea" }),
7620
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);margin-bottom:8px;", children: temporalArchimedea.name }),
7621
+ temporalArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: missionCardStyle, children: [
7622
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:13px;font-weight:600;margin-bottom:4px;color:var(--wf-text-body);", children: m.type }),
7623
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;color:var(--wf-text-secondary);", children: [
7624
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7625
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "偏差:" }),
7626
+ `${m.deviation.name}(${m.deviation.desc})`
7627
+ ] }),
7628
+ m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7629
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "风险:" }),
7630
+ `${r.name}(${r.desc})`
7649
7631
  ] }))
7650
- ]
7651
- }
7652
- );
7632
+ ] })
7633
+ ] })),
7634
+ temporalArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;margin-top:4px;color:var(--wf-text-secondary);", children: [
7635
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "个人变量:" }),
7636
+ `${p.name}(${p.desc})`
7637
+ ] }))
7638
+ ] });
7653
7639
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7654
7640
  "div",
7655
7641
  {
7656
7642
  style: `
7657
- color: #e4e7ec;
7658
- line-height: 1.5;
7659
- font-size: 14px;
7660
- background-color: #05060a;
7661
- font-family: 'Segoe UI', system-ui, sans-serif;
7662
- max-width: 1024px;
7663
- margin: 0 auto;
7664
- display: grid;
7665
- grid-template-columns: 1fr 1fr 1fr;
7666
- gap: 16px;
7667
- `,
7643
+ color: var(--wf-text-body);
7644
+ line-height: 1.5;
7645
+ font-size: 14px;
7646
+ background-color: var(--wf-bg-card);
7647
+ font-family: 'Segoe UI', system-ui, sans-serif;
7648
+ max-width: 1024px;
7649
+ margin: 0 auto;
7650
+ padding: 16px;
7651
+ border-radius: var(--wf-radius);
7652
+ border: 1px solid var(--wf-border);
7653
+ box-shadow: var(--wf-shadow-card);
7654
+ display: grid;
7655
+ grid-template-columns: 1fr 1fr 1fr;
7656
+ gap: 16px;
7657
+ `,
7668
7658
  children: [
7669
7659
  archonHuntSection,
7670
7660
  deepArchimedeaSection,
@@ -7680,12 +7670,12 @@ function RelicComponent(relic) {
7680
7670
  const bronze = relic.items.filter((i) => i.rarity === "COMMON");
7681
7671
  const getRateColor = /* @__PURE__ */ __name((rarity) => {
7682
7672
  if (rarity === "RARE")
7683
- return "#ffd700";
7673
+ return "var(--wf-rarity-rare)";
7684
7674
  if (rarity === "UNCOMMON")
7685
- return "#c0c0c0";
7675
+ return "var(--wf-rarity-uncommon)";
7686
7676
  if (rarity === "COMMON")
7687
- return "#cd7f32";
7688
- return "#000000";
7677
+ return "var(--wf-rarity-common)";
7678
+ return "var(--wf-text-primary)";
7689
7679
  }, "getRateColor");
7690
7680
  const relicRewardDropRate = {
7691
7681
  RARE: "2/4/6/10",
@@ -7700,30 +7690,30 @@ function RelicComponent(relic) {
7700
7690
  {
7701
7691
  style: `padding: 8px 12px;
7702
7692
  margin: 4px 0;
7703
- border-radius: 4px;
7704
- background-color: rgba(255, 255, 255, 0.05);
7693
+ border-radius: var(--wf-radius-sm);
7694
+ background-color: var(--wf-bg-subtle);
7705
7695
  border-left: 4px solid ${getRateColor(item.rarity)};
7706
7696
  display: flex;
7707
7697
  justify-content: space-between;
7708
7698
  align-items: center;
7709
7699
  line-height: 1;`,
7710
7700
  children: [
7711
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color: #000000; font-size: 14px;", children: item.name }),
7701
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color: var(--wf-text-primary); font-size: 14px;", children: item.name }),
7712
7702
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7713
7703
  "span",
7714
7704
  {
7715
- style: `color: #a0a0a0;
7705
+ style: `color: var(--wf-text-faint);
7716
7706
  font-size: 12px;
7717
7707
  font-family: monospace;
7718
7708
  display:flex;
7719
7709
  gap:10px;`,
7720
7710
  children: [
7721
- item.platinum ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7711
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7722
7712
  "span",
7723
7713
  {
7724
- style: "\n color: #0d93b8;\n display:flex;\n line-height:1;",
7714
+ style: "\n color: var(--wf-platinum);\n display:flex;\n line-height:1;",
7725
7715
  children: [
7726
- item.platinum,
7716
+ item.platinum ?? "??",
7727
7717
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7728
7718
  "svg",
7729
7719
  {
@@ -7734,9 +7724,9 @@ function RelicComponent(relic) {
7734
7724
  )
7735
7725
  ]
7736
7726
  }
7737
- ) : "",
7738
- item.ducats ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "color: #a0a000;display:flex;line-height:1;", children: [
7739
- item.ducats,
7727
+ ),
7728
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "color: var(--wf-ducats);display:flex;line-height:1;", children: [
7729
+ item.ducats ?? "??",
7740
7730
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7741
7731
  "svg",
7742
7732
  {
@@ -7745,7 +7735,7 @@ function RelicComponent(relic) {
7745
7735
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("use", { href: "#icon-ducats" })
7746
7736
  }
7747
7737
  )
7748
- ] }) : "",
7738
+ ] }),
7749
7739
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
7750
7740
  relicRewardDropRate[item.rarity],
7751
7741
  "%"
@@ -7761,12 +7751,13 @@ function RelicComponent(relic) {
7761
7751
  "div",
7762
7752
  {
7763
7753
  style: `
7764
- border-radius: 8px;
7754
+ border-radius: var(--wf-radius);
7765
7755
  padding: 16px;
7766
7756
  margin: 12px;
7767
- border: 1px solid rgba(255, 255, 255, 0.1);
7768
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
7769
- color: #000000;
7757
+ border: 1px solid var(--wf-border);
7758
+ box-shadow: var(--wf-shadow-card);
7759
+ background-color: var(--wf-bg-card);
7760
+ color: var(--wf-text-primary);
7770
7761
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
7771
7762
  max-width: 500px;
7772
7763
  min-width: 320px;`,
@@ -7779,14 +7770,14 @@ function RelicComponent(relic) {
7779
7770
  align-items: center;
7780
7771
  margin-bottom: 16px;
7781
7772
  padding-bottom: 12px;
7782
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);`,
7773
+ border-bottom: 1px solid var(--wf-divider);`,
7783
7774
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7784
7775
  "h1",
7785
7776
  {
7786
7777
  style: `font-size: 20px;
7787
7778
  font-weight: bold;
7788
7779
  margin: 0;
7789
- color: #000000;`,
7780
+ color: var(--wf-text-primary);`,
7790
7781
  children: `${relic.tier} ${relic.num} 遗物`
7791
7782
  }
7792
7783
  )
@@ -7804,7 +7795,7 @@ function RelicComponent(relic) {
7804
7795
  {
7805
7796
  style: `font-size: 14px;
7806
7797
  font-weight: bold;
7807
- color: #ffd700;
7798
+ color: var(--wf-rarity-rare);
7808
7799
  margin: 0;
7809
7800
  text-transform: uppercase;`,
7810
7801
  children: "稀有"
@@ -7826,7 +7817,7 @@ function RelicComponent(relic) {
7826
7817
  {
7827
7818
  style: `font-size: 14px;
7828
7819
  font-weight: bold;
7829
- color: #c0c0c0;
7820
+ color: var(--wf-rarity-uncommon);
7830
7821
  margin: 0;
7831
7822
  text-transform: uppercase;`,
7832
7823
  children: "罕见"
@@ -7848,7 +7839,7 @@ function RelicComponent(relic) {
7848
7839
  {
7849
7840
  style: `font-size: 14px;
7850
7841
  font-weight: bold;
7851
- color: #cd7f32;
7842
+ color: var(--wf-rarity-common);
7852
7843
  margin: 0;
7853
7844
  text-transform: uppercase;`,
7854
7845
  children: "常见"
@@ -7863,9 +7854,9 @@ function RelicComponent(relic) {
7863
7854
  {
7864
7855
  style: `margin-top: 16px;
7865
7856
  padding-top: 12px;
7866
- border-top: 1px solid rgba(255, 255, 255, 0.1);
7857
+ border-top: 1px solid var(--wf-border);
7867
7858
  font-size: 10px;
7868
- color: #888888;
7859
+ color: var(--wf-text-muted);
7869
7860
  text-align: center;`,
7870
7861
  children: "价格数据来源于 WFM Ducanator, 约有1小时延迟"
7871
7862
  }
@@ -7956,18 +7947,18 @@ function RivenComponent(data) {
7956
7947
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display: flex; gap: 20px; width: 600px;", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7957
7948
  "div",
7958
7949
  {
7959
- style: "width: 100%; border-radius: 8px; padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); border: 1px solid #444;",
7950
+ style: "width: 100%; border-radius: var(--wf-radius); padding: 20px; box-shadow: var(--wf-shadow-card); border: 1px solid var(--wf-border); background-color: var(--wf-bg-card); color: var(--wf-text-body);",
7960
7951
  children: [
7961
7952
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7962
7953
  "div",
7963
7954
  {
7964
- style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #444;",
7955
+ style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--wf-divider);",
7965
7956
  children: [
7966
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: "margin: 0; font-size: 20px;", children: data.name }),
7957
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: "margin: 0; font-size: 20px; color: var(--wf-text-primary);", children: data.name }),
7967
7958
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7968
7959
  "div",
7969
7960
  {
7970
- style: "background-color: #f0f0f0; padding: 4px 12px; border-radius: 12px; font-size: 14px; line-height: 1;",
7961
+ style: "background-color: var(--wf-bg-subtle); padding: 4px 12px; border-radius: 12px; font-size: 14px; line-height: 1; color: var(--wf-text-body);",
7971
7962
  children: `倾向: ${getDispositionIcon(
7972
7963
  data.disposition
7973
7964
  )} (${data.disposition.toFixed(2)})`
@@ -7980,7 +7971,7 @@ function RivenComponent(data) {
7980
7971
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7981
7972
  "h3",
7982
7973
  {
7983
- style: "color: #4caf50; margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
7974
+ style: "color: var(--wf-success); margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
7984
7975
  children: [
7985
7976
  "正面词条 (",
7986
7977
  data.buffs.length,
@@ -7995,8 +7986,8 @@ function RivenComponent(data) {
7995
7986
  "li",
7996
7987
  {
7997
7988
  style: `
7998
- background-color: #eeeeee;
7999
- border-radius: 6px;
7989
+ background-color: var(--wf-bg-subtle);
7990
+ border-radius: var(--wf-radius-md);
8000
7991
  padding: 12px;
8001
7992
  margin-bottom: 10px;
8002
7993
  border-left: 4px solid ${percentColor};
@@ -8007,15 +7998,15 @@ function RivenComponent(data) {
8007
7998
  {
8008
7999
  style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;",
8009
8000
  children: [
8010
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold;", children: buff.name }),
8011
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold;", children: formatValue(buff.value, buff.unit) })
8001
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold; color: var(--wf-text-primary);", children: buff.name }),
8002
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold; color: var(--wf-text-primary);", children: formatValue(buff.value, buff.unit) })
8012
8003
  ]
8013
8004
  }
8014
8005
  ),
8015
8006
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8016
8007
  "div",
8017
8008
  {
8018
- style: "height: 10px; background-color: #444; border-radius: 3px; margin-bottom: 8px;",
8009
+ style: "height: 10px; background-color: var(--wf-border-strong); border-radius: 3px; margin-bottom: 8px;",
8019
8010
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8020
8011
  "div",
8021
8012
  {
@@ -8035,7 +8026,7 @@ function RivenComponent(data) {
8035
8026
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8036
8027
  "div",
8037
8028
  {
8038
- style: "display: flex; justify-content: space-between; font-size: 12px; color: #aaa;",
8029
+ style: "display: flex; justify-content: space-between; font-size: 12px; color: var(--wf-text-muted);",
8039
8030
  children: [
8040
8031
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
8041
8032
  "范围:",
@@ -8052,7 +8043,7 @@ function RivenComponent(data) {
8052
8043
  !inRange ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8053
8044
  "div",
8054
8045
  {
8055
- style: "margin-top: 8px; padding: 6px; background-color: rgba(244, 67, 54, 0.2); border-radius: 4px; font-size: 12px; color: #f44336; display: flex; align-items: center;",
8046
+ style: "margin-top: 8px; padding: 6px; background-color: rgba(224, 80, 80, 0.12); border-radius: var(--wf-radius-sm); font-size: 12px; color: var(--wf-danger); display: flex; align-items: center;",
8056
8047
  children: [
8057
8048
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-right: 6px;", children: "⚠" }),
8058
8049
  "数值不在正常范围内(可能未满级或倾向未更新)"
@@ -8068,7 +8059,7 @@ function RivenComponent(data) {
8068
8059
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8069
8060
  "h3",
8070
8061
  {
8071
- style: "color: #f44336; margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
8062
+ style: "color: var(--wf-danger); margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
8072
8063
  children: [
8073
8064
  "负面词条 (",
8074
8065
  data.curses.length,
@@ -8082,22 +8073,22 @@ function RivenComponent(data) {
8082
8073
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8083
8074
  "li",
8084
8075
  {
8085
- style: `background-color: #eeeeee; border-radius: 6px; padding: 12px; margin-bottom: 10px; border-left: 4px solid ${percentColor};`,
8076
+ style: `background-color: var(--wf-bg-subtle); border-radius: var(--wf-radius-md); padding: 12px; margin-bottom: 10px; border-left: 4px solid ${percentColor};`,
8086
8077
  children: [
8087
8078
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8088
8079
  "div",
8089
8080
  {
8090
8081
  style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;",
8091
8082
  children: [
8092
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold;", children: curse.name }),
8093
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold;", children: formatValue(curse.value, curse.unit) })
8083
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold; color: var(--wf-text-primary);", children: curse.name }),
8084
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold; color: var(--wf-text-primary);", children: formatValue(curse.value, curse.unit) })
8094
8085
  ]
8095
8086
  }
8096
8087
  ),
8097
8088
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8098
8089
  "div",
8099
8090
  {
8100
- style: "height: 10px; background-color: #444; border-radius: 3px; margin-bottom: 8px;",
8091
+ style: "height: 10px; background-color: var(--wf-border-strong); border-radius: 3px; margin-bottom: 8px;",
8101
8092
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8102
8093
  "div",
8103
8094
  {
@@ -8117,7 +8108,7 @@ function RivenComponent(data) {
8117
8108
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8118
8109
  "div",
8119
8110
  {
8120
- style: "display: flex; justify-content: space-between; font-size: 12px; color: #aaa;",
8111
+ style: "display: flex; justify-content: space-between; font-size: 12px; color: var(--wf-text-muted);",
8121
8112
  children: [
8122
8113
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
8123
8114
  "范围:",
@@ -8134,7 +8125,7 @@ function RivenComponent(data) {
8134
8125
  !inRange ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8135
8126
  "div",
8136
8127
  {
8137
- style: "margin-top: 8px; padding: 6px; background-color: rgba(244, 67, 54, 0.2); border-radius: 4px; font-size: 12px; color: #f44336; display: flex; align-items: center;",
8128
+ style: "margin-top: 8px; padding: 6px; background-color: rgba(224, 80, 80, 0.12); border-radius: var(--wf-radius-sm); font-size: 12px; color: var(--wf-danger); display: flex; align-items: center;",
8138
8129
  children: [
8139
8130
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-right: 6px;", children: "⚠" }),
8140
8131
  "数值不在正常范围内(可能未满级或倾向未更新)"
@@ -8172,9 +8163,12 @@ function RivenStatComponent(data) {
8172
8163
  flex-direction: column;
8173
8164
  gap: 16px;
8174
8165
  padding: 16px;
8175
- font-family: system-ui, sans-serif;
8176
- background-color: #1a1a2e;
8177
- border-radius: 8px;
8166
+ font-family: 'Segoe UI', system-ui, sans-serif;
8167
+ background-color: var(--wf-bg-card);
8168
+ border: 1px solid var(--wf-border);
8169
+ border-radius: var(--wf-radius);
8170
+ box-shadow: var(--wf-shadow-card);
8171
+ color: var(--wf-text-body);
8178
8172
  max-width: 600px;
8179
8173
  `,
8180
8174
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -8208,7 +8202,7 @@ function RivenStatComponent(data) {
8208
8202
  {
8209
8203
  style: `
8210
8204
  margin: 0;
8211
- color: #7dd56f;
8205
+ color: var(--wf-success);
8212
8206
  font-size: 16px;
8213
8207
  font-weight: 600;
8214
8208
  `,
@@ -8227,7 +8221,7 @@ function RivenStatComponent(data) {
8227
8221
  "span",
8228
8222
  {
8229
8223
  style: `
8230
- color: #888;
8224
+ color: var(--wf-text-muted);
8231
8225
  font-size: 12px;
8232
8226
  `,
8233
8227
  children: "最小"
@@ -8237,7 +8231,7 @@ function RivenStatComponent(data) {
8237
8231
  "span",
8238
8232
  {
8239
8233
  style: `
8240
- color: #888;
8234
+ color: var(--wf-text-muted);
8241
8235
  font-size: 12px;
8242
8236
  `,
8243
8237
  children: "最大"
@@ -8265,16 +8259,16 @@ function RivenStatComponent(data) {
8265
8259
  justify-content: space-between;
8266
8260
  align-items: center;
8267
8261
  padding: 6px 8px;
8268
- background-color: #16213e;
8269
- border-radius: 4px;
8270
- border-left: 3px solid #7dd56f;
8262
+ background-color: var(--wf-bg-subtle);
8263
+ border-radius: var(--wf-radius-sm);
8264
+ border-left: 3px solid var(--wf-success);
8271
8265
  `,
8272
8266
  children: [
8273
8267
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8274
8268
  "span",
8275
8269
  {
8276
8270
  style: `
8277
- color: #e0e0e0;
8271
+ color: var(--wf-text-body);
8278
8272
  font-size: 13px;
8279
8273
  `,
8280
8274
  children: value.name
@@ -8292,7 +8286,7 @@ function RivenStatComponent(data) {
8292
8286
  "span",
8293
8287
  {
8294
8288
  style: `
8295
- color: #7dd56f;
8289
+ color: var(--wf-success);
8296
8290
  font-size: 13px;
8297
8291
  font-weight: 500;
8298
8292
  min-width: 60px;
@@ -8305,7 +8299,7 @@ function RivenStatComponent(data) {
8305
8299
  "span",
8306
8300
  {
8307
8301
  style: `
8308
- color: #7dd56f;
8302
+ color: var(--wf-success);
8309
8303
  font-size: 13px;
8310
8304
  font-weight: 500;
8311
8305
  min-width: 60px;
@@ -8329,28 +8323,28 @@ function RivenStatComponent(data) {
8329
8323
  "div",
8330
8324
  {
8331
8325
  style: `
8332
- flex: 1;
8326
+ flex: 1;
8333
8327
  `,
8334
8328
  children: [
8335
8329
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8336
8330
  "div",
8337
8331
  {
8338
8332
  style: `
8339
- display: flex;
8340
- justify-content: space-between;
8341
- align-items: center;
8342
- margin-bottom: 8px;
8343
- padding: 0 4px;
8333
+ display: flex;
8334
+ justify-content: space-between;
8335
+ align-items: center;
8336
+ margin-bottom: 8px;
8337
+ padding: 0 4px;
8344
8338
  `,
8345
8339
  children: [
8346
8340
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8347
8341
  "h3",
8348
8342
  {
8349
8343
  style: `
8350
- margin: 0;
8351
- color: #e35f5f;
8352
- font-size: 16px;
8353
- font-weight: 600;
8344
+ margin: 0;
8345
+ color: var(--wf-danger);
8346
+ font-size: 16px;
8347
+ font-weight: 600;
8354
8348
  `,
8355
8349
  children: "负面属性"
8356
8350
  }
@@ -8359,16 +8353,16 @@ function RivenStatComponent(data) {
8359
8353
  "div",
8360
8354
  {
8361
8355
  style: `
8362
- display: flex;
8363
- gap: 12px;
8356
+ display: flex;
8357
+ gap: 12px;
8364
8358
  `,
8365
8359
  children: [
8366
8360
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8367
8361
  "span",
8368
8362
  {
8369
8363
  style: `
8370
- color: #888;
8371
- font-size: 12px;
8364
+ color: var(--wf-text-muted);
8365
+ font-size: 12px;
8372
8366
  `,
8373
8367
  children: "最小"
8374
8368
  }
@@ -8377,8 +8371,8 @@ function RivenStatComponent(data) {
8377
8371
  "span",
8378
8372
  {
8379
8373
  style: `
8380
- color: #888;
8381
- font-size: 12px;
8374
+ color: var(--wf-text-muted);
8375
+ font-size: 12px;
8382
8376
  `,
8383
8377
  children: "最大"
8384
8378
  }
@@ -8393,9 +8387,9 @@ function RivenStatComponent(data) {
8393
8387
  "div",
8394
8388
  {
8395
8389
  style: `
8396
- display: flex;
8397
- flex-direction: column;
8398
- gap: 4px;
8390
+ display: flex;
8391
+ flex-direction: column;
8392
+ gap: 4px;
8399
8393
  `,
8400
8394
  children: Object.entries(data.negative).map(([, value]) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8401
8395
  "div",
@@ -8405,16 +8399,16 @@ function RivenStatComponent(data) {
8405
8399
  justify-content: space-between;
8406
8400
  align-items: center;
8407
8401
  padding: 6px 8px;
8408
- background-color: #16213e;
8409
- border-radius: 4px;
8410
- border-left: 3px solid #e35f5f;
8402
+ background-color: var(--wf-bg-subtle);
8403
+ border-radius: var(--wf-radius-sm);
8404
+ border-left: 3px solid var(--wf-danger);
8411
8405
  `,
8412
8406
  children: [
8413
8407
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8414
8408
  "span",
8415
8409
  {
8416
8410
  style: `
8417
- color: #e0e0e0;
8411
+ color: var(--wf-text-body);
8418
8412
  font-size: 13px;
8419
8413
  `,
8420
8414
  children: value.name
@@ -8432,7 +8426,7 @@ function RivenStatComponent(data) {
8432
8426
  "span",
8433
8427
  {
8434
8428
  style: `
8435
- color: #e35f5f;
8429
+ color: var(--wf-danger);
8436
8430
  font-size: 13px;
8437
8431
  font-weight: 500;
8438
8432
  min-width: 60px;
@@ -8445,7 +8439,7 @@ function RivenStatComponent(data) {
8445
8439
  "span",
8446
8440
  {
8447
8441
  style: `
8448
- color: #e35f5f;
8442
+ color: var(--wf-danger);
8449
8443
  font-size: 13px;
8450
8444
  font-weight: 500;
8451
8445
  min-width: 60px;
@@ -8476,30 +8470,30 @@ function VoidTraderComponent(data) {
8476
8470
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8477
8471
  "div",
8478
8472
  {
8479
- style: "width: 400px; padding: 10px; font-family: sans-serif; font-size: 14px;",
8480
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("table", { style: "width: 100%; border-collapse: collapse;", children: [
8473
+ style: "width:400px;padding:16px;font-family:'Segoe UI',sans-serif;font-size:14px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);border:1px solid var(--wf-border);box-shadow:var(--wf-shadow-card);color:var(--wf-text-body);",
8474
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("table", { style: "width:100%;border-collapse:collapse;", children: [
8481
8475
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { children: [
8482
8476
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8483
8477
  "th",
8484
8478
  {
8485
- style: "border-bottom: 1px solid #ccc; text-align: left; padding: 6px;",
8479
+ style: "border-bottom:1px solid var(--wf-border-strong);text-align:left;padding:6px;color:var(--wf-text-primary);",
8486
8480
  children: "名称"
8487
8481
  }
8488
8482
  ),
8489
8483
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8490
8484
  "th",
8491
8485
  {
8492
- style: "border-bottom: 1px solid #ccc; text-align: left; padding: 6px;",
8486
+ style: "border-bottom:1px solid var(--wf-border-strong);text-align:left;padding:6px;color:var(--wf-text-primary);",
8493
8487
  children: "价格"
8494
8488
  }
8495
8489
  )
8496
8490
  ] }) }),
8497
8491
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("tbody", { children: data.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { children: [
8498
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { style: "padding: 6px; border-bottom: 1px solid #eee;", children: item.name }),
8492
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { style: "padding:6px;border-bottom:1px solid var(--wf-border);", children: item.name }),
8499
8493
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8500
8494
  "td",
8501
8495
  {
8502
- style: "padding: 6px; border-bottom: 1px solid #eee; text-align: center;line-height: 1;",
8496
+ style: "padding:6px;border-bottom:1px solid var(--wf-border);text-align:center;line-height:1;",
8503
8497
  children: [
8504
8498
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children: item.ducats }),
8505
8499
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -8692,7 +8686,7 @@ function trendArrow(trend) {
8692
8686
  }
8693
8687
  __name(trendArrow, "trendArrow");
8694
8688
  function trendColor(trend) {
8695
- return trend === "up" ? "#e0533a" : trend === "down" ? "#3a9e5a" : "#888";
8689
+ return trend === "up" ? "var(--wf-danger)" : trend === "down" ? "var(--wf-success)" : "var(--wf-text-muted)";
8696
8690
  }
8697
8691
  __name(trendColor, "trendColor");
8698
8692
  function ItemStatisticsChart(stats) {
@@ -8731,34 +8725,34 @@ function ItemStatisticsChart(stats) {
8731
8725
  const baselineY = stats.baselineMedian !== void 0 ? yPos(stats.baselineMedian) : null;
8732
8726
  const onlineYRaw = yPos(stats.onlineMin);
8733
8727
  const onlineY = Math.max(padT, Math.min(H - padB, onlineYRaw));
8734
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { width: W, height: H, style: "font-family: Arial, sans-serif; background: #eee;", children: [
8728
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { width: W, height: H, style: "font-family: Arial, sans-serif; background: var(--wf-bg-subtle);", children: [
8735
8729
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polygon", { points: bandPoints, fill: "#5a95ff", fillOpacity: 0.12, stroke: "none" }),
8736
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: onlineY, x2: W - padR, y2: onlineY, stroke: "#ff6b35", strokeWidth: 1.5, strokeDasharray: "6 4" }),
8737
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: W - padR, y: onlineY - 6, textAnchor: "end", fontSize: 12, fill: "#ff6b35", children: [
8730
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: onlineY, x2: W - padR, y2: onlineY, stroke: "var(--wf-warning)", strokeWidth: 1.5, strokeDasharray: "6 4" }),
8731
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: W - padR, y: onlineY - 6, textAnchor: "end", fontSize: 12, fill: "var(--wf-warning)", children: [
8738
8732
  "在线最低",
8739
8733
  stats.onlineMin,
8740
8734
  "p"
8741
8735
  ] }),
8742
8736
  baselineY !== null ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("g", { children: [
8743
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: baselineY, x2: W - padR, y2: baselineY, stroke: "#999", strokeWidth: 1, strokeDasharray: "3 3" }),
8744
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: padL + 4, y: baselineY - 5, textAnchor: "start", fontSize: 11, fill: "#999", children: [
8737
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: baselineY, x2: W - padR, y2: baselineY, stroke: "var(--wf-text-faint)", strokeWidth: 1, strokeDasharray: "3 3" }),
8738
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: padL + 4, y: baselineY - 5, textAnchor: "start", fontSize: 11, fill: "var(--wf-text-muted)", children: [
8745
8739
  "7天中位",
8746
8740
  stats.baselineMedian,
8747
8741
  "p"
8748
8742
  ] })
8749
8743
  ] }) : null,
8750
8744
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: linePoints, fill: "none", stroke: "#5a95ff", strokeWidth: 2.5, strokeLinecap: "round", strokeLinejoin: "round" }),
8751
- points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: xPos(i), cy: yPos(p.median), r: 3.5, fill: "#5a95ff", stroke: "#fff", strokeWidth: 1 })),
8752
- points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: xPos(i), y: H - padB + 20, textAnchor: "middle", fontSize: 11, fill: "#666", children: formatShortDate(p.datetime) })),
8753
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: padT + 5, textAnchor: "end", fontSize: 11, fill: "#666", children: Math.round(dataMax) }),
8754
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: H - padB, textAnchor: "end", fontSize: 11, fill: "#666", children: Math.round(dataMin) })
8745
+ points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: xPos(i), cy: yPos(p.median), r: 3.5, fill: "#5a95ff", stroke: "var(--wf-bg-card)", strokeWidth: 1 })),
8746
+ points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: xPos(i), y: H - padB + 20, textAnchor: "middle", fontSize: 11, fill: "var(--wf-text-secondary)", children: formatShortDate(p.datetime) })),
8747
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: padT + 5, textAnchor: "end", fontSize: 11, fill: "var(--wf-text-secondary)", children: Math.round(dataMax) }),
8748
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: H - padB, textAnchor: "end", fontSize: 11, fill: "var(--wf-text-secondary)", children: Math.round(dataMin) })
8755
8749
  ] });
8756
8750
  }
8757
8751
  __name(ItemStatisticsChart, "ItemStatisticsChart");
8758
8752
  function StatCard(label, value, accent) {
8759
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "flex:1;min-width:0;border-radius:6px;padding:8px 10px;background:#f5f7fa;border:1px solid #e0e4e8;display:flex;flex-direction:column;align-items:center;gap:2px;", children: [
8760
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:0.9rem;color:#888;", children: label }),
8761
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: `font-size:1.4rem;font-weight:700;color:${accent ?? "#1a1a1a"};`, children: value })
8753
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "flex:1;min-width:0;border-radius:var(--wf-radius-md);padding:8px 10px;background:var(--wf-bg-subtle);border:1px solid var(--wf-border);display:flex;flex-direction:column;align-items:center;gap:2px;", children: [
8754
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:0.9rem;color:var(--wf-text-muted);", children: label }),
8755
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: `font-size:1.4rem;font-weight:700;color:${accent ?? "var(--wf-text-primary)"};`, children: value })
8762
8756
  ] });
8763
8757
  }
8764
8758
  __name(StatCard, "StatCard");
@@ -8780,16 +8774,16 @@ function ItemStatisticsCards(stats) {
8780
8774
  "90天区间",
8781
8775
  stats.rangeMin !== void 0 && stats.rangeMax !== void 0 ? `${stats.rangeMin}-${stats.rangeMax}p` : "—"
8782
8776
  ),
8783
- StatCard("在线最低", `${stats.onlineMin}p`, "#ff6b35")
8777
+ StatCard("在线最低", `${stats.onlineMin}p`, "var(--wf-warning)")
8784
8778
  ] });
8785
8779
  }
8786
8780
  __name(ItemStatisticsCards, "ItemStatisticsCards");
8787
8781
  function ItemStatisticsComponent(stats) {
8788
8782
  const hasData = stats.chart.length > 0 || stats.recentAvg !== void 0 || stats.baselineMedian !== void 0;
8789
8783
  if (!hasData) {
8790
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid #e0e4e8;text-align:center;color:#999;font-size:1.2rem;", children: "暂无近期成交统计数据" });
8784
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid var(--wf-divider);text-align:center;color:var(--wf-text-muted);font-size:1.2rem;", children: "暂无近期成交统计数据" });
8791
8785
  }
8792
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid #e0e4e8;", children: [
8786
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid var(--wf-divider);", children: [
8793
8787
  stats.chart.length >= 2 ? ItemStatisticsChart(stats) : null,
8794
8788
  ItemStatisticsCards(stats)
8795
8789
  ] });
@@ -8798,23 +8792,26 @@ __name(ItemStatisticsComponent, "ItemStatisticsComponent");
8798
8792
  function ItemOrderComponent(item, orders, statistics) {
8799
8793
  const itemNameCN = item.i18n["zh-hans"]?.name;
8800
8794
  const itemNameEN = item.i18n.en?.name;
8801
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex; flex-direction: column; width: 1600px;", children: [
8795
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;flex-direction:column;width:1600px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;border:1px solid var(--wf-border);box-shadow:var(--wf-shadow-card);color:var(--wf-text-body);", children: [
8802
8796
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("style", { children: `
8803
8797
  th {
8804
8798
  align-items: center;
8805
8799
  font-size: 1.8rem;
8800
+ color: var(--wf-text-primary);
8801
+ border-bottom: 1px solid var(--wf-border-strong);
8806
8802
  }
8807
8803
 
8808
8804
  td {
8809
8805
  text-align: center;
8810
8806
  font-size: 1.5rem;
8807
+ border-bottom: 1px solid var(--wf-border);
8811
8808
  }
8812
8809
 
8813
8810
  tr {
8814
8811
  height: 3rem;
8815
8812
  }
8816
8813
  ` }),
8817
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align: center;", children: [
8814
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:center;color:var(--wf-text-primary);", children: [
8818
8815
  itemNameCN,
8819
8816
  " ",
8820
8817
  "/",
@@ -8836,7 +8833,7 @@ function ItemOrderComponent(item, orders, statistics) {
8836
8833
  orders.map((order) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { children: [
8837
8834
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.ingameName }),
8838
8835
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.status }),
8839
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.platinum }),
8836
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { style: "color:var(--wf-platinum);font-weight:600;", children: order.platinum }),
8840
8837
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.quantity }),
8841
8838
  item.maxRank && item.maxRank > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.rank }) : null,
8842
8839
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.reputation })
@@ -8850,8 +8847,8 @@ function RivenOrderComponent(item, orders) {
8850
8847
  const itemNameCN = item.i18n ? item.i18n["zh-hans"]?.name : void 0;
8851
8848
  const itemNameEN = item.i18n ? item.i18n.en?.name : void 0;
8852
8849
  const itemThumb = item.i18n ? item.i18n.en?.thumb : void 0;
8853
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex; flex-direction: column; font-size: 12px;", children: [
8854
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align: center;", children: [
8850
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;flex-direction:column;font-size:12px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;border:1px solid var(--wf-border);box-shadow:var(--wf-shadow-card);color:var(--wf-text-body);", children: [
8851
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:center;color:var(--wf-text-primary);", children: [
8855
8852
  itemNameCN,
8856
8853
  " ",
8857
8854
  "/",
@@ -8876,31 +8873,31 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8876
8873
  const itemNameCN = cnName ?? enName;
8877
8874
  const itemIconLink = thumb ? `https://warframe.market/static/assets/${thumb}` : void 0;
8878
8875
  const ownerAvatarLink = order.owner.avatar ? `https://warframe.market/static/assets/${order.owner.avatar}` : void 0;
8879
- const reputationColor = order.owner.reputation >= 5 ? "#00a96c" : "#739098";
8876
+ const reputationColor = order.owner.reputation >= 5 ? "var(--wf-success)" : "var(--wf-text-muted)";
8880
8877
  const reputationIconLink = order.owner.reputation >= 5 ? "#icon-smile" : "#icon-meh";
8881
8878
  const statusData = {
8882
- ingame: ["ONLINE IN GAME", "#634b93"],
8883
- online: ["ONLINE", "darkgreen"],
8884
- offline: ["OFFLINE", "darkred"],
8885
- _: ["UNKNOWN", "grey"]
8879
+ ingame: ["ONLINE IN GAME", "var(--wf-accent)"],
8880
+ online: ["ONLINE", "var(--wf-success)"],
8881
+ offline: ["OFFLINE", "var(--wf-danger)"],
8882
+ _: ["UNKNOWN", "var(--wf-text-muted)"]
8886
8883
  };
8887
8884
  const status = order.owner.status in statusData ? order.owner.status : "_";
8888
8885
  const statusText = statusData[status][0];
8889
8886
  const statusColor = statusData[status][1];
8890
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "border: 1px solid gray; margin: 20px; padding: 10px 15px 10px 11px; font-family: 'Lato', sans-serif, Helvetica, Arial; display: flex; flex-direction: column;", children: [
8891
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display: flex; align-items: center; padding-bottom: 10px; min-height: 45px;", children: [
8887
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "border:1px solid var(--wf-border-strong);margin:20px;padding:10px 15px 10px 11px;font-family:'Segoe UI',sans-serif,Helvetica,Arial;display:flex;flex-direction:column;background-color:var(--wf-bg-subtle);border-radius:var(--wf-radius-md);", children: [
8888
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:center;padding-bottom:10px;min-height:45px;", children: [
8892
8889
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8893
8890
  "img",
8894
8891
  {
8895
8892
  src: itemIconLink,
8896
- style: "height: 30px; width: 30px; object-fit: contain; border-radius: 50%; box-shadow: 0 0 10px 1px rgba(0, 0, 0, .15); vertical-align: middle;"
8893
+ style: "height:30px;width:30px;object-fit:contain;border-radius:50%;box-shadow:0 0 10px 1px rgba(0,0,0,.15);vertical-align:middle;"
8897
8894
  }
8898
8895
  ),
8899
8896
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
8900
8897
  "span",
8901
8898
  {
8902
8899
  id: "title",
8903
- style: "margin-left: 15px; font-size: 16px; line-height: 16px; font-weight: 700; text-overflow: ellipsis; text-decoration: underline; cursor: pointer;",
8900
+ style: "margin-left:15px;font-size:16px;line-height:16px;font-weight:700;text-overflow:ellipsis;color:var(--wf-text-primary);",
8904
8901
  children: [
8905
8902
  itemNameCN,
8906
8903
  " ",
@@ -8913,25 +8910,25 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8913
8910
  "div",
8914
8911
  {
8915
8912
  id: "body",
8916
- style: "display: flex; flex-wrap: wrap; justify-content: space-between;",
8913
+ style: "display:flex;flex-wrap:wrap;justify-content:space-between;",
8917
8914
  children: [
8918
8915
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { id: "body-left", children: [
8919
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display: flex; padding-top: 5px;", children: order.item.attributes.filter((attr) => attr.positive).map(RivenAttributeComponent) }),
8920
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display: flex; width: 100%; padding-top: 5px;", children: order.item.attributes.filter((attr) => !attr.positive).map(RivenAttributeComponent) }),
8921
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("ul", { style: "display: flex; padding: 5px 0; font-size: 12px;", children: [
8922
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8916
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:flex;padding-top:5px;", children: order.item.attributes.filter((attr) => attr.positive).map(RivenAttributeComponent) }),
8917
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:flex;width:100%;padding-top:5px;", children: order.item.attributes.filter((attr) => !attr.positive).map(RivenAttributeComponent) }),
8918
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("ul", { style: "display:flex;padding:5px 0;font-size:12px;color:var(--wf-text-secondary);", children: [
8919
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8923
8920
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "段位 " }),
8924
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.mastery_level })
8921
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.mastery_level })
8925
8922
  ] }),
8926
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8923
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8927
8924
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "等级: " }),
8928
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.mod_rank })
8925
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.mod_rank })
8929
8926
  ] }),
8930
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8927
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8931
8928
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "循环: " }),
8932
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.re_rolls })
8929
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.re_rolls })
8933
8930
  ] }),
8934
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8931
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8935
8932
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "极性: " }),
8936
8933
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8937
8934
  "svg",
@@ -8948,16 +8945,16 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8948
8945
  "div",
8949
8946
  {
8950
8947
  id: "body-right",
8951
- style: "display: flex; flex-direction: column; justify-content: center; padding-left: 10px;",
8952
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display: flex; justify-content: flex-end; font-size: 16px;", children: [
8948
+ style: "display:flex;flex-direction:column;justify-content:center;padding-left:10px;",
8949
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;justify-content:flex-end;font-size:16px;color:var(--wf-text-body);", children: [
8953
8950
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "售价: " }),
8954
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "padding-left: 5px; line-height: 1.5;", children: [
8955
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.starting_price }),
8951
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "padding-left:5px;line-height:1.5;", children: [
8952
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-platinum);", children: order.starting_price }),
8956
8953
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8957
8954
  "svg",
8958
8955
  {
8959
8956
  viewBox: "0 0 215.535 215.535",
8960
- style: "\n margin: 0 0 0 3px;\n color: rgb(64 64 64 / 75%);\n height: 1em;\n width: 1em;\n vertical-align: -.125em;\n fill: currentcolor;",
8957
+ style: "\n margin: 0 0 0 3px;\n color: var(--wf-platinum);\n height: 1em;\n width: 1em;\n vertical-align: -.125em;\n fill: currentcolor;",
8961
8958
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("use", { href: "#icon-platinum" })
8962
8959
  }
8963
8960
  )
@@ -8972,32 +8969,32 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8972
8969
  "div",
8973
8970
  {
8974
8971
  id: "footer",
8975
- style: "display: flex; margin-top: 10px; line-height: 1.5;",
8972
+ style: "display:flex;margin-top:10px;line-height:1.5;align-items:center;",
8976
8973
  children: [
8977
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display: flex;", children: [
8974
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:center;", children: [
8978
8975
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8979
8976
  "img",
8980
8977
  {
8981
8978
  src: ownerAvatarLink,
8982
- style: "height: 20px; width: 20px; object-fit: contain; border-radius: 50%; box-shadow: 0 0 10px 1px rgba(0, 0, 0, .15); vertical-align: middle;"
8979
+ style: "height:20px;width:20px;object-fit:contain;border-radius:50%;box-shadow:0 0 10px 1px rgba(0,0,0,.15);vertical-align:middle;"
8983
8980
  }
8984
8981
  ),
8985
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "margin-left: 5px;", children: order.owner.ingame_name })
8982
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "margin-left:5px;color:var(--wf-text-body);", children: order.owner.ingame_name })
8986
8983
  ] }),
8987
8984
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8988
8985
  "div",
8989
8986
  {
8990
- style: `margin-left: 10px; color:${statusColor ?? "gray"}; font-size: 12px;`,
8987
+ style: `margin-left:10px;color:${statusColor};font-size:12px;font-weight:600;`,
8991
8988
  children: statusText
8992
8989
  }
8993
8990
  ),
8994
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: `margin-left: 10px; color:${reputationColor};`, children: [
8991
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: `margin-left:10px;color:${reputationColor};display:flex;align-items:center;`, children: [
8995
8992
  order.owner.reputation,
8996
8993
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8997
8994
  "svg",
8998
8995
  {
8999
8996
  viewBox: "0 0 496 512",
9000
- style: "margin-left: 5px; margin-top: -2px; overflow:hidden; height: 1em; width: 1em; vertical-align: -.125em; fill: currentcolor;",
8997
+ style: "margin-left:5px;margin-top:-2px;overflow:hidden;height:1em;width:1em;vertical-align:-.125em;fill:currentcolor;",
9001
8998
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("use", { href: reputationIconLink })
9002
8999
  }
9003
9000
  )
@@ -9019,21 +9016,18 @@ function RivenAttributeComponent(attr, index) {
9019
9016
  };
9020
9017
  const attrValueSuffix = unitSuffixMap[attrInfo.unit] || "";
9021
9018
  const attrValue = attrValuePrefix + attr.value + attrValueSuffix;
9022
- const positiveColors = [
9023
- "--color_rgb_attribute_background_first",
9024
- "--color_rgb_attribute_background_second",
9025
- "--color_rgb_attribute_background_third"
9026
- ];
9027
- const color = attr.positive ? positiveColors[index] : "--color_rgb_attribute_background_negative";
9019
+ const positiveColors = ["#2e7d32", "#4a8c5a", "#6b9b78"];
9020
+ const negativeColor = "#e05050";
9021
+ const color = attr.positive ? positiveColors[index] ?? positiveColors[0] : negativeColor;
9028
9022
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
9029
9023
  "li",
9030
9024
  {
9031
9025
  style: `
9032
- border: 1px solid rgb(var(${color})/50%);
9033
- background-color: rgb(var(${color})/10%);
9034
- color: rgb(var(${color}));
9026
+ border: 1px solid ${color}80;
9027
+ background-color: ${color}1a;
9028
+ color: ${color};
9035
9029
  padding: 2px 10px;
9036
- border-radius: 4px;
9030
+ border-radius: var(--wf-radius-sm);
9037
9031
  margin-right: 5px;
9038
9032
  font-size: 14px;
9039
9033
  line-height: 1.5;`,
@@ -9062,19 +9056,19 @@ function getPriceTier(plats) {
9062
9056
  }
9063
9057
  if (plats > 80) {
9064
9058
  return {
9065
- borderColor: "#ff6b35",
9066
- bgColor: "rgba(255,107,53,0.12)",
9059
+ borderColor: "var(--wf-warning)",
9060
+ bgColor: "rgba(255,140,66,0.12)",
9067
9061
  label: "premium"
9068
9062
  };
9069
9063
  }
9070
- if (plats > 60) {
9064
+ if (plats > 50) {
9071
9065
  return {
9072
9066
  borderColor: "#f0c040",
9073
9067
  bgColor: "rgba(240,192,64,0.10)",
9074
9068
  label: "high"
9075
9069
  };
9076
9070
  }
9077
- return { borderColor: "#d0d0d0", bgColor: "transparent", label: "normal" };
9071
+ return { borderColor: "var(--wf-border-strong)", bgColor: "transparent", label: "normal" };
9078
9072
  }
9079
9073
  __name(getPriceTier, "getPriceTier");
9080
9074
  function calcDaysAgo(dateStr) {
@@ -9090,7 +9084,7 @@ function calcDaysAgo(dateStr) {
9090
9084
  __name(calcDaysAgo, "calcDaysAgo");
9091
9085
  function PMHCard(item, _index) {
9092
9086
  const pr = item.plats;
9093
- const tier = pr !== void 0 ? getPriceTier(pr) : { borderColor: "#d0d0d0", bgColor: "transparent", label: "normal" };
9087
+ const tier = pr !== void 0 ? getPriceTier(pr) : { borderColor: "var(--wf-border-strong)", bgColor: "transparent", label: "normal" };
9094
9088
  const dateStr = item.last ? (() => {
9095
9089
  const d = new Date(item.last);
9096
9090
  if (!Number.isNaN(d.getTime())) {
@@ -9131,7 +9125,7 @@ function PMHCard(item, _index) {
9131
9125
  justify-content: space-between;
9132
9126
  align-items: center;
9133
9127
  font-weight: 600;
9134
- color: #1a1a1a;
9128
+ color: var(--wf-text-primary);
9135
9129
  white-space: nowrap;
9136
9130
  overflow: hidden;
9137
9131
  text-overflow: ellipsis;
@@ -9142,7 +9136,7 @@ function PMHCard(item, _index) {
9142
9136
  daysAgo ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
9143
9137
  "span",
9144
9138
  {
9145
- style: `flex-shrink:0;margin-left:4px;background:#eee;color:${isOld ? "#e05050" : "#999"};border-radius:3px;padding:0 5px;font-size:9px;font-weight:400;line-height:1.5;`,
9139
+ style: `flex-shrink:0;margin-left:4px;background:var(--wf-bg-subtle);color:${isOld ? "var(--wf-danger)" : "var(--wf-text-muted)"};border-radius:3px;padding:0 5px;font-size:9px;font-weight:400;line-height:1.5;`,
9146
9140
  children: [
9147
9141
  "距今",
9148
9142
  daysAgo,
@@ -9163,7 +9157,7 @@ function PMHCard(item, _index) {
9163
9157
  font-variant-numeric: tabular-nums;
9164
9158
  `,
9165
9159
  children: [
9166
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color: #888; font-size: 10px;", children: dateStr || "未知" }),
9160
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:var(--wf-text-muted);font-size:10px;", children: dateStr || "未知" }),
9167
9161
  pr !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
9168
9162
  "span",
9169
9163
  {
@@ -9173,7 +9167,7 @@ function PMHCard(item, _index) {
9173
9167
  gap: 2px;
9174
9168
  font-weight: 700;
9175
9169
  font-size: 12px;
9176
- color: #0d93b8;
9170
+ color: var(--wf-platinum);
9177
9171
  ${isLegendary ? "text-shadow: 0 0 6px rgba(255,50,100,0.7), 0 0 12px rgba(200,50,255,0.4);" : ""}
9178
9172
  `,
9179
9173
  children: [
@@ -9188,7 +9182,7 @@ function PMHCard(item, _index) {
9188
9182
  )
9189
9183
  ]
9190
9184
  }
9191
- ) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color: #bbb; font-size: 10px;", children: "暂无" })
9185
+ ) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:var(--wf-text-faint);font-size:10px;", children: "暂无" })
9192
9186
  ]
9193
9187
  }
9194
9188
  )
@@ -9214,15 +9208,16 @@ function PrimedModHistoryComponent(history) {
9214
9208
  "div",
9215
9209
  {
9216
9210
  style: `
9217
- border-radius: 8px;
9211
+ border-radius: var(--wf-radius);
9218
9212
  padding: 16px;
9219
9213
  margin: 12px;
9220
- border: 1px solid rgba(255, 255, 255, 0.1);
9221
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
9214
+ border: 1px solid var(--wf-border);
9215
+ box-shadow: var(--wf-shadow-card);
9222
9216
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9223
9217
  max-width: 100%;
9224
9218
  min-width: 320px;
9225
- background: #ffffff;
9219
+ background: var(--wf-bg-card);
9220
+ color: var(--wf-text-body);
9226
9221
  `,
9227
9222
  children: [
9228
9223
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
@@ -9234,22 +9229,25 @@ function PrimedModHistoryComponent(history) {
9234
9229
  align-items: center;
9235
9230
  margin-bottom: 12px;
9236
9231
  padding-bottom: 10px;
9237
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
9232
+ border-bottom: 1px solid var(--wf-border);
9238
9233
  `,
9239
9234
  children: [
9240
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
9241
- "h1",
9242
- {
9243
- style: `
9244
- font-size: 18px;
9245
- font-weight: bold;
9246
- margin: 0;
9247
- color: #1a1a1a;
9248
- `,
9249
- children: "Prime Mod 历史记录"
9250
- }
9251
- ),
9252
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { style: "color: #999; font-size: 11px;", children: [
9235
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:baseline;gap:8px;", children: [
9236
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
9237
+ "h1",
9238
+ {
9239
+ style: `
9240
+ font-size: 18px;
9241
+ font-weight: bold;
9242
+ margin: 0;
9243
+ color: var(--wf-text-primary);
9244
+ `,
9245
+ children: "Prime Mod 历史记录"
9246
+ }
9247
+ ),
9248
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:10px;color:var(--wf-text-faint);", children: (/* @__PURE__ */ new Date()).toLocaleString("zh-cn", { hour12: false }) })
9249
+ ] }),
9250
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { style: "color: var(--wf-text-muted); font-size: 11px;", children: [
9253
9251
  history.length,
9254
9252
  " ",
9255
9253
  "项"