koishi-plugin-warframe 1.7.4 → 1.7.5

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
 
@@ -6936,29 +6975,83 @@ __name(rgbToHex, "rgbToHex");
6936
6975
  // src/components/wf.tsx
6937
6976
  var import_jsx_runtime2 = require("@satorijs/element/jsx-runtime");
6938
6977
  function ArbitrationComponent(arbi) {
6978
+ const rewardTier = /* @__PURE__ */ __name((rewards) => {
6979
+ if (rewards >= 400)
6980
+ return { color: "var(--wf-rarity-rare)", bg: "rgba(255, 215, 0, 0.12)" };
6981
+ if (rewards >= 380)
6982
+ return { color: "var(--wf-warning)", bg: "rgba(255, 140, 66, 0.12)" };
6983
+ if (rewards >= 350)
6984
+ return { color: "var(--wf-success)", bg: "rgba(46, 125, 50, 0.12)" };
6985
+ return { color: "var(--wf-rarity-common)", bg: "rgba(205, 127, 50, 0.12)" };
6986
+ }, "rewardTier");
6987
+ const formatDayLabel = /* @__PURE__ */ __name((dateStr) => {
6988
+ const parts = dateStr.split("/");
6989
+ if (parts.length >= 3) {
6990
+ return `${Number(parts[1])}月${Number(parts[2])}日`;
6991
+ }
6992
+ return dateStr;
6993
+ }, "formatDayLabel");
6994
+ const groups = /* @__PURE__ */ new Map();
6995
+ for (const a of arbi) {
6996
+ const spaceIdx = a.time.indexOf(" ");
6997
+ const dateKey = spaceIdx > 0 ? a.time.slice(0, spaceIdx) : a.time;
6998
+ if (!groups.has(dateKey))
6999
+ groups.set(dateKey, []);
7000
+ groups.get(dateKey).push(a);
7001
+ }
6939
7002
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
6940
7003
  "div",
6941
7004
  {
6942
- style: "width:calc(100dvw-40px);display:flex;flex-direction:column;align-items: center;",
7005
+ 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
7006
  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
- }) }) })
7007
+ /* @__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: "高掉落仲裁时间表" }),
7008
+ /* @__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: [
7009
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7010
+ "div",
7011
+ {
7012
+ 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);",
7013
+ children: formatDayLabel(dateKey)
7014
+ }
7015
+ ),
7016
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display:flex;flex-direction:column;gap:4px;", children: items.map((a) => {
7017
+ const tier = rewardTier(a.rewards);
7018
+ const timeLabel = a.time.includes(" ") ? a.time.slice(a.time.indexOf(" ") + 1) : a.time;
7019
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7020
+ "div",
7021
+ {
7022
+ 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);",
7023
+ children: [
7024
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7025
+ "span",
7026
+ {
7027
+ style: "font-size:13px;font-weight:600;color:var(--wf-text-primary);font-family:monospace;min-width:52px;",
7028
+ children: timeLabel
7029
+ }
7030
+ ),
7031
+ /* @__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}` }),
7032
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7033
+ "span",
7034
+ {
7035
+ 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;",
7036
+ children: a.faction
7037
+ }
7038
+ ),
7039
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7040
+ "span",
7041
+ {
7042
+ 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;`,
7043
+ children: [
7044
+ a.rewards,
7045
+ " ",
7046
+ "精华/h"
7047
+ ]
7048
+ }
7049
+ )
7050
+ ]
7051
+ }
7052
+ );
7053
+ }) })
7054
+ ] })) })
6962
7055
  ]
6963
7056
  }
6964
7057
  );
@@ -6969,13 +7062,14 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
6969
7062
  "div",
6970
7063
  {
6971
7064
  style: `
6972
- background: linear-gradient(135deg, #f5f0e8 0%, #fff8f0 100%);
6973
- border-radius: 8px;
7065
+ background-color: var(--wf-bg-card);
7066
+ border-radius: var(--wf-radius);
6974
7067
  padding: 16px;
6975
7068
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
6976
7069
  width: 1000px;
6977
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
6978
- border: 1px solid rgba(0, 0, 0, 0.05);
7070
+ box-shadow: var(--wf-shadow-card);
7071
+ border: 1px solid var(--wf-border);
7072
+ color: var(--wf-text-body);
6979
7073
  `,
6980
7074
  children: [
6981
7075
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -6985,7 +7079,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
6985
7079
  text-align: center;
6986
7080
  margin-bottom: 20px;
6987
7081
  padding-bottom: 12px;
6988
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
7082
+ border-bottom: 1px solid var(--wf-divider);
6989
7083
  `,
6990
7084
  children: [
6991
7085
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -6994,7 +7088,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
6994
7088
  style: `
6995
7089
  font-size: 22px;
6996
7090
  font-weight: bold;
6997
- color: #1a1a1a;
7091
+ color: var(--wf-text-primary);
6998
7092
  margin: 0 0 8px 0;
6999
7093
  `,
7000
7094
  children: "回廊奖励总览"
@@ -7004,7 +7098,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7004
7098
  "p",
7005
7099
  {
7006
7100
  style: `
7007
- color: #666666;
7101
+ color: var(--wf-text-secondary);
7008
7102
  font-size: 11px;
7009
7103
  margin: 0;
7010
7104
  `,
@@ -7039,11 +7133,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7039
7133
  {
7040
7134
  style: `
7041
7135
  flex: 1;
7042
- background: rgba(255, 255, 255, 0.8);
7043
- border-radius: 8px;
7136
+ background-color: var(--wf-bg-subtle);
7137
+ border-radius: var(--wf-radius);
7044
7138
  padding: 12px;
7045
- border: 1px solid rgba(0, 0, 0, 0.08);
7046
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
7139
+ border: 1px solid var(--wf-border);
7140
+ box-shadow: var(--wf-shadow-inner);
7047
7141
  `,
7048
7142
  children: [
7049
7143
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -7052,10 +7146,10 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7052
7146
  style: `
7053
7147
  font-weight: bold;
7054
7148
  font-size: 15px;
7055
- color: #333333;
7149
+ color: var(--wf-text-body);
7056
7150
  margin-bottom: 12px;
7057
7151
  padding-bottom: 8px;
7058
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
7152
+ border-bottom: 1px solid var(--wf-border);
7059
7153
  `,
7060
7154
  children: "灵化之源"
7061
7155
  }
@@ -7074,11 +7168,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7074
7168
  "div",
7075
7169
  {
7076
7170
  style: `
7077
- background: ${isCurrent ? "#fff8f0" : "#ffffff"};
7078
- border-radius: 4px;
7171
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-card)"};
7172
+ border-radius: var(--wf-radius-sm);
7079
7173
  padding: 8px 10px;
7080
- border-left: 4px solid ${isCurrent ? "#ff8c42" : "#e0e0e0"};
7081
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
7174
+ border-left: 4px solid ${isCurrent ? "var(--wf-warning)" : "var(--wf-border-strong)"};
7175
+ box-shadow: var(--wf-shadow-subtle);
7082
7176
  `,
7083
7177
  children: [
7084
7178
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7087,7 +7181,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7087
7181
  style: `
7088
7182
  font-size: 10px;
7089
7183
  font-weight: bold;
7090
- color: ${isCurrent ? "#ff8c42" : "#999999"};
7184
+ color: ${isCurrent ? "var(--wf-warning)" : "var(--wf-text-muted)"};
7091
7185
  margin-bottom: 6px;
7092
7186
  `,
7093
7187
  children: [
@@ -7111,13 +7205,13 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7111
7205
  "span",
7112
7206
  {
7113
7207
  style: `
7114
- background: ${isCurrent ? "#fff0e0" : "#f5f5f5"};
7208
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-subtle)"};
7115
7209
  padding: 3px 10px;
7116
- border-radius: 4px;
7210
+ border-radius: var(--wf-radius-sm);
7117
7211
  font-size: 11px;
7118
7212
  font-weight: 500;
7119
- color: #333333;
7120
- border: 1px solid ${isCurrent ? "#ffe0b5" : "#e8e8e8"};
7213
+ color: var(--wf-text-body);
7214
+ border: 1px solid ${isCurrent ? "var(--wf-border-strong)" : "var(--wf-border)"};
7121
7215
  `,
7122
7216
  children: item
7123
7217
  }
@@ -7138,11 +7232,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7138
7232
  {
7139
7233
  style: `
7140
7234
  flex: 1;
7141
- background: rgba(255, 255, 255, 0.8);
7142
- border-radius: 8px;
7235
+ background-color: var(--wf-bg-subtle);
7236
+ border-radius: var(--wf-radius);
7143
7237
  padding: 12px;
7144
- border: 1px solid rgba(0, 0, 0, 0.08);
7145
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
7238
+ border: 1px solid var(--wf-border);
7239
+ box-shadow: var(--wf-shadow-inner);
7146
7240
  `,
7147
7241
  children: [
7148
7242
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -7151,10 +7245,10 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7151
7245
  style: `
7152
7246
  font-weight: bold;
7153
7247
  font-size: 15px;
7154
- color: #333333;
7248
+ color: var(--wf-text-body);
7155
7249
  margin-bottom: 12px;
7156
7250
  padding-bottom: 8px;
7157
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
7251
+ border-bottom: 1px solid var(--wf-border);
7158
7252
  `,
7159
7253
  children: "战甲"
7160
7254
  }
@@ -7173,11 +7267,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7173
7267
  "div",
7174
7268
  {
7175
7269
  style: `
7176
- background: ${isCurrent ? "#f0faf8" : "#ffffff"};
7177
- border-radius: 4px;
7270
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-card)"};
7271
+ border-radius: var(--wf-radius-sm);
7178
7272
  padding: 8px 10px;
7179
- border-left: 4px solid ${isCurrent ? "#47b5a5" : "#e0e0e0"};
7180
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
7273
+ border-left: 4px solid ${isCurrent ? "var(--wf-accent)" : "var(--wf-border-strong)"};
7274
+ box-shadow: var(--wf-shadow-subtle);
7181
7275
  `,
7182
7276
  children: [
7183
7277
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7186,7 +7280,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7186
7280
  style: `
7187
7281
  font-size: 10px;
7188
7282
  font-weight: bold;
7189
- color: ${isCurrent ? "#47b5a5" : "#999999"};
7283
+ color: ${isCurrent ? "var(--wf-accent)" : "var(--wf-text-muted)"};
7190
7284
  margin-bottom: 6px;
7191
7285
  `,
7192
7286
  children: [
@@ -7210,13 +7304,13 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7210
7304
  "span",
7211
7305
  {
7212
7306
  style: `
7213
- background: ${isCurrent ? "#e0f7f2" : "#f5f5f5"};
7307
+ background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-subtle)"};
7214
7308
  padding: 3px 10px;
7215
- border-radius: 4px;
7309
+ border-radius: var(--wf-radius-sm);
7216
7310
  font-size: 11px;
7217
7311
  font-weight: 500;
7218
- color: #333333;
7219
- border: 1px solid ${isCurrent ? "#c0e0d8" : "#e8e8e8"};
7312
+ color: var(--wf-text-body);
7313
+ border: 1px solid ${isCurrent ? "var(--wf-border-strong)" : "var(--wf-border)"};
7220
7314
  `,
7221
7315
  children: item
7222
7316
  }
@@ -7241,9 +7335,9 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
7241
7335
  style: `
7242
7336
  margin-top: 16px;
7243
7337
  padding-top: 12px;
7244
- border-top: 1px solid rgba(0, 0, 0, 0.08);
7338
+ border-top: 1px solid var(--wf-border);
7245
7339
  font-size: 10px;
7246
- color: #999999;
7340
+ color: var(--wf-text-muted);
7247
7341
  text-align: center;
7248
7342
  `,
7249
7343
  children: "每周一更新"
@@ -7260,27 +7354,27 @@ function FissureComponent(fissures, type) {
7260
7354
  "sp-fissure": "虚空裂缝 (钢铁之路)",
7261
7355
  "rj-fissure": "虚空裂缝 (九重天)"
7262
7356
  };
7263
- const colors = [
7264
- "#B87333",
7265
- "#4A6F43",
7266
- "#B2B2B2",
7267
- "#D4AF37",
7268
- "#8B0000",
7269
- "#2F9E88"
7357
+ const tierColors = [
7358
+ "var(--wf-rarity-common)",
7359
+ "var(--wf-success)",
7360
+ "var(--wf-rarity-uncommon)",
7361
+ "var(--wf-rarity-rare)",
7362
+ "var(--wf-danger)",
7363
+ "var(--wf-accent)"
7270
7364
  ];
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) => {
7365
+ 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: [
7366
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size:50px;color:var(--wf-text-primary);", children: titles[type] }),
7367
+ /* @__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
7368
  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: [
7369
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { style: "margin-top:10px;color:var(--wf-text-body);", children: [
7370
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: `color:${tierColors[f.tierNum - 1]};`, children: `${f.tier}(T${f.tierNum})` }),
7371
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:20px;", children: [
7278
7372
  f.node.name,
7279
7373
  " ",
7280
7374
  f.node.system
7281
7375
  ] }),
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: [
7376
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-left:10px;", children: f.node.type }),
7377
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:10px;color:var(--wf-accent);", children: [
7284
7378
  f.node.faction,
7285
7379
  "(",
7286
7380
  f.node.minLevel + 5 + (f.hard ? 100 : 0),
@@ -7291,7 +7385,7 @@ function FissureComponent(fissures, type) {
7291
7385
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7292
7386
  "span",
7293
7387
  {
7294
- style: `margin-left: 10px;color:${timeLeft > 36e5 ? "green" : timeLeft > 6e5 ? "blue" : "red"};`,
7388
+ style: `margin-left:10px;color:${timeLeft > 36e5 ? "var(--wf-success)" : timeLeft > 6e5 ? "var(--wf-info)" : "var(--wf-danger)"};`,
7295
7389
  children: [
7296
7390
  "剩余",
7297
7391
  msToHumanReadable(timeLeft)
@@ -7300,7 +7394,7 @@ function FissureComponent(fissures, type) {
7300
7394
  )
7301
7395
  ] });
7302
7396
  }) }),
7303
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "margin-top: 30px; font-size: 30px;", children: "注: 该功能的数据有一定延迟" })
7397
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "margin-top:30px;font-size:30px;color:var(--wf-text-muted);", children: "注: 该功能的数据有一定延迟" })
7304
7398
  ] });
7305
7399
  }
7306
7400
  __name(FissureComponent, "FissureComponent");
@@ -7310,17 +7404,17 @@ function WeeklyRivenComponent(items, minPrice) {
7310
7404
  "div",
7311
7405
  {
7312
7406
  style: `
7313
- color: #333333;
7407
+ color: var(--wf-text-body);
7314
7408
  line-height: 1.5;
7315
7409
  font-size: 14px;
7316
- background: linear-gradient(135deg, #f5f0e8 0%, #fff8f0 100%);
7410
+ background-color: var(--wf-bg-card);
7317
7411
  font-family: 'Segoe UI', system-ui, sans-serif;
7318
7412
  max-width: 600px;
7319
7413
  margin: 0 auto;
7320
7414
  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);
7415
+ border-radius: var(--wf-radius);
7416
+ box-shadow: var(--wf-shadow-card);
7417
+ border: 1px solid var(--wf-border);
7324
7418
  `,
7325
7419
  children: [
7326
7420
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7329,10 +7423,10 @@ function WeeklyRivenComponent(items, minPrice) {
7329
7423
  style: `
7330
7424
  font-size: 22px;
7331
7425
  font-weight: bold;
7332
- color: #1a1a1a;
7426
+ color: var(--wf-text-primary);
7333
7427
  margin: 0 0 16px 0;
7334
7428
  padding-bottom: 12px;
7335
- border-bottom: 2px solid rgba(0, 0, 0, 0.1);
7429
+ border-bottom: 2px solid var(--wf-divider);
7336
7430
  text-align: center;
7337
7431
  `,
7338
7432
  children: [
@@ -7354,21 +7448,21 @@ function WeeklyRivenComponent(items, minPrice) {
7354
7448
  children: items.map((item, index) => {
7355
7449
  const weaponName = item.compatibility ? `${item.compatibility}` : item.itemType.replace(" Riven Mod", "");
7356
7450
  const tierNum = index + 1;
7357
- const tierColors = ["#ffd700", "#c0c0c0", "#cd7f32", "rgba(0, 0, 0, 0.08)"];
7451
+ const tierColors = ["var(--wf-rarity-rare)", "var(--wf-rarity-uncommon)", "var(--wf-rarity-common)", "var(--wf-border-strong)"];
7358
7452
  const tierColor = tierNum === 1 ? tierColors[0] : tierNum === 2 ? tierColors[1] : tierNum === 3 ? tierColors[2] : tierColors[3];
7359
7453
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7360
7454
  "div",
7361
7455
  {
7362
7456
  style: `
7363
- background-color: #ffffff;
7364
- border: 1px solid rgba(0, 0, 0, 0.08);
7365
- border-radius: 8px;
7457
+ background-color: var(--wf-bg-card);
7458
+ border: 1px solid var(--wf-border);
7459
+ border-radius: var(--wf-radius-md);
7366
7460
  padding: 10px 14px;
7367
7461
  display: flex;
7368
7462
  justify-content: space-between;
7369
7463
  align-items: center;
7370
7464
  border-left: 4px solid ${tierColor};
7371
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
7465
+ box-shadow: var(--wf-shadow-subtle);
7372
7466
  `,
7373
7467
  children: [
7374
7468
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -7401,7 +7495,7 @@ function WeeklyRivenComponent(items, minPrice) {
7401
7495
  style: `
7402
7496
  font-weight: 600;
7403
7497
  font-size: 15px;
7404
- color: #333333;
7498
+ color: var(--wf-text-body);
7405
7499
  `,
7406
7500
  children: weaponName
7407
7501
  }
@@ -7422,7 +7516,7 @@ function WeeklyRivenComponent(items, minPrice) {
7422
7516
  "span",
7423
7517
  {
7424
7518
  style: `
7425
- color: #2e7d32;
7519
+ color: var(--wf-success);
7426
7520
  font-weight: 600;
7427
7521
  font-size: 15px;
7428
7522
  `,
@@ -7432,7 +7526,7 @@ function WeeklyRivenComponent(items, minPrice) {
7432
7526
  ]
7433
7527
  }
7434
7528
  ),
7435
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: { color: "#888888", fontSize: 12 }, children: `均价:${formatPrice(item.avg)}P 交易量:${item.pop} 区间:[${item.min}-${item.max}]` })
7529
+ /* @__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
7530
  ]
7437
7531
  }
7438
7532
  )
@@ -7448,9 +7542,9 @@ function WeeklyRivenComponent(items, minPrice) {
7448
7542
  style: `
7449
7543
  margin-top: 16px;
7450
7544
  padding-top: 12px;
7451
- border-top: 1px solid rgba(0, 0, 0, 0.08);
7545
+ border-top: 1px solid var(--wf-border);
7452
7546
  font-size: 10px;
7453
- color: #999999;
7547
+ color: var(--wf-text-muted);
7454
7548
  text-align: center;
7455
7549
  `,
7456
7550
  children: "数据来源: warframe.com weeklyRivensPC · 按未洗卡中位价排序,均价仅作参考"
@@ -7462,209 +7556,86 @@ function WeeklyRivenComponent(items, minPrice) {
7462
7556
  }
7463
7557
  __name(WeeklyRivenComponent, "WeeklyRivenComponent");
7464
7558
  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})`
7559
+ const sectionStyle = `
7560
+ border-radius: var(--wf-radius);
7561
+ border: 1px solid var(--wf-border);
7562
+ padding: 12px 14px;
7563
+ background-color: var(--wf-bg-subtle);
7564
+ box-shadow: var(--wf-shadow-inner);
7565
+ color: var(--wf-text-body);
7566
+ `;
7567
+ const missionCardStyle = `
7568
+ border-radius: var(--wf-radius-md);
7569
+ border: 1px solid var(--wf-border);
7570
+ padding: 8px 10px;
7571
+ margin-bottom: 8px;
7572
+ background-color: var(--wf-bg-card);
7573
+ `;
7574
+ const archonHuntSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
7575
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-text-muted);margin-bottom:6px;", children: "Archon Hunt" }),
7576
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);", children: `执行官刺杀: ${archon.name}` })
7577
+ ] });
7578
+ const deepArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
7579
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-success);margin-bottom:6px;", children: "Deep Archimedea" }),
7580
+ /* @__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 }),
7581
+ deepArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: missionCardStyle, children: [
7582
+ /* @__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 }),
7583
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;color:var(--wf-text-secondary);", children: [
7584
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7585
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "偏差:" }),
7586
+ `${m.deviation.name}(${m.deviation.desc})`
7587
+ ] }),
7588
+ m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7589
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "风险:" }),
7590
+ `${r.name}(${r.desc})`
7573
7591
  ] }))
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})`
7592
+ ] })
7593
+ ] })),
7594
+ deepArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;margin-top:4px;color:var(--wf-text-secondary);", children: [
7595
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "个人变量:" }),
7596
+ `${p.name}(${p.desc})`
7597
+ ] }))
7598
+ ] });
7599
+ const temporalArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
7600
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-info);margin-bottom:6px;", children: "Temporal Archimedea" }),
7601
+ /* @__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 }),
7602
+ temporalArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: missionCardStyle, children: [
7603
+ /* @__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 }),
7604
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;color:var(--wf-text-secondary);", children: [
7605
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7606
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "偏差:" }),
7607
+ `${m.deviation.name}(${m.deviation.desc})`
7608
+ ] }),
7609
+ m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
7610
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "风险:" }),
7611
+ `${r.name}(${r.desc})`
7649
7612
  ] }))
7650
- ]
7651
- }
7652
- );
7613
+ ] })
7614
+ ] })),
7615
+ temporalArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;margin-top:4px;color:var(--wf-text-secondary);", children: [
7616
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "个人变量:" }),
7617
+ `${p.name}(${p.desc})`
7618
+ ] }))
7619
+ ] });
7653
7620
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7654
7621
  "div",
7655
7622
  {
7656
7623
  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
- `,
7624
+ color: var(--wf-text-body);
7625
+ line-height: 1.5;
7626
+ font-size: 14px;
7627
+ background-color: var(--wf-bg-card);
7628
+ font-family: 'Segoe UI', system-ui, sans-serif;
7629
+ max-width: 1024px;
7630
+ margin: 0 auto;
7631
+ padding: 16px;
7632
+ border-radius: var(--wf-radius);
7633
+ border: 1px solid var(--wf-border);
7634
+ box-shadow: var(--wf-shadow-card);
7635
+ display: grid;
7636
+ grid-template-columns: 1fr 1fr 1fr;
7637
+ gap: 16px;
7638
+ `,
7668
7639
  children: [
7669
7640
  archonHuntSection,
7670
7641
  deepArchimedeaSection,
@@ -7680,12 +7651,12 @@ function RelicComponent(relic) {
7680
7651
  const bronze = relic.items.filter((i) => i.rarity === "COMMON");
7681
7652
  const getRateColor = /* @__PURE__ */ __name((rarity) => {
7682
7653
  if (rarity === "RARE")
7683
- return "#ffd700";
7654
+ return "var(--wf-rarity-rare)";
7684
7655
  if (rarity === "UNCOMMON")
7685
- return "#c0c0c0";
7656
+ return "var(--wf-rarity-uncommon)";
7686
7657
  if (rarity === "COMMON")
7687
- return "#cd7f32";
7688
- return "#000000";
7658
+ return "var(--wf-rarity-common)";
7659
+ return "var(--wf-text-primary)";
7689
7660
  }, "getRateColor");
7690
7661
  const relicRewardDropRate = {
7691
7662
  RARE: "2/4/6/10",
@@ -7700,19 +7671,19 @@ function RelicComponent(relic) {
7700
7671
  {
7701
7672
  style: `padding: 8px 12px;
7702
7673
  margin: 4px 0;
7703
- border-radius: 4px;
7704
- background-color: rgba(255, 255, 255, 0.05);
7674
+ border-radius: var(--wf-radius-sm);
7675
+ background-color: var(--wf-bg-subtle);
7705
7676
  border-left: 4px solid ${getRateColor(item.rarity)};
7706
7677
  display: flex;
7707
7678
  justify-content: space-between;
7708
7679
  align-items: center;
7709
7680
  line-height: 1;`,
7710
7681
  children: [
7711
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color: #000000; font-size: 14px;", children: item.name }),
7682
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color: var(--wf-text-primary); font-size: 14px;", children: item.name }),
7712
7683
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7713
7684
  "span",
7714
7685
  {
7715
- style: `color: #a0a0a0;
7686
+ style: `color: var(--wf-text-faint);
7716
7687
  font-size: 12px;
7717
7688
  font-family: monospace;
7718
7689
  display:flex;
@@ -7721,7 +7692,7 @@ function RelicComponent(relic) {
7721
7692
  item.platinum ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7722
7693
  "span",
7723
7694
  {
7724
- style: "\n color: #0d93b8;\n display:flex;\n line-height:1;",
7695
+ style: "\n color: var(--wf-platinum);\n display:flex;\n line-height:1;",
7725
7696
  children: [
7726
7697
  item.platinum,
7727
7698
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -7735,7 +7706,7 @@ function RelicComponent(relic) {
7735
7706
  ]
7736
7707
  }
7737
7708
  ) : "",
7738
- item.ducats ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "color: #a0a000;display:flex;line-height:1;", children: [
7709
+ item.ducats ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "color: var(--wf-ducats);display:flex;line-height:1;", children: [
7739
7710
  item.ducats,
7740
7711
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7741
7712
  "svg",
@@ -7761,12 +7732,13 @@ function RelicComponent(relic) {
7761
7732
  "div",
7762
7733
  {
7763
7734
  style: `
7764
- border-radius: 8px;
7735
+ border-radius: var(--wf-radius);
7765
7736
  padding: 16px;
7766
7737
  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;
7738
+ border: 1px solid var(--wf-border);
7739
+ box-shadow: var(--wf-shadow-card);
7740
+ background-color: var(--wf-bg-card);
7741
+ color: var(--wf-text-primary);
7770
7742
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
7771
7743
  max-width: 500px;
7772
7744
  min-width: 320px;`,
@@ -7779,14 +7751,14 @@ function RelicComponent(relic) {
7779
7751
  align-items: center;
7780
7752
  margin-bottom: 16px;
7781
7753
  padding-bottom: 12px;
7782
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);`,
7754
+ border-bottom: 1px solid var(--wf-divider);`,
7783
7755
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7784
7756
  "h1",
7785
7757
  {
7786
7758
  style: `font-size: 20px;
7787
7759
  font-weight: bold;
7788
7760
  margin: 0;
7789
- color: #000000;`,
7761
+ color: var(--wf-text-primary);`,
7790
7762
  children: `${relic.tier} ${relic.num} 遗物`
7791
7763
  }
7792
7764
  )
@@ -7804,7 +7776,7 @@ function RelicComponent(relic) {
7804
7776
  {
7805
7777
  style: `font-size: 14px;
7806
7778
  font-weight: bold;
7807
- color: #ffd700;
7779
+ color: var(--wf-rarity-rare);
7808
7780
  margin: 0;
7809
7781
  text-transform: uppercase;`,
7810
7782
  children: "稀有"
@@ -7826,7 +7798,7 @@ function RelicComponent(relic) {
7826
7798
  {
7827
7799
  style: `font-size: 14px;
7828
7800
  font-weight: bold;
7829
- color: #c0c0c0;
7801
+ color: var(--wf-rarity-uncommon);
7830
7802
  margin: 0;
7831
7803
  text-transform: uppercase;`,
7832
7804
  children: "罕见"
@@ -7848,7 +7820,7 @@ function RelicComponent(relic) {
7848
7820
  {
7849
7821
  style: `font-size: 14px;
7850
7822
  font-weight: bold;
7851
- color: #cd7f32;
7823
+ color: var(--wf-rarity-common);
7852
7824
  margin: 0;
7853
7825
  text-transform: uppercase;`,
7854
7826
  children: "常见"
@@ -7863,9 +7835,9 @@ function RelicComponent(relic) {
7863
7835
  {
7864
7836
  style: `margin-top: 16px;
7865
7837
  padding-top: 12px;
7866
- border-top: 1px solid rgba(255, 255, 255, 0.1);
7838
+ border-top: 1px solid var(--wf-border);
7867
7839
  font-size: 10px;
7868
- color: #888888;
7840
+ color: var(--wf-text-muted);
7869
7841
  text-align: center;`,
7870
7842
  children: "价格数据来源于 WFM Ducanator, 约有1小时延迟"
7871
7843
  }
@@ -7956,18 +7928,18 @@ function RivenComponent(data) {
7956
7928
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display: flex; gap: 20px; width: 600px;", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7957
7929
  "div",
7958
7930
  {
7959
- style: "width: 100%; border-radius: 8px; padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); border: 1px solid #444;",
7931
+ 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
7932
  children: [
7961
7933
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7962
7934
  "div",
7963
7935
  {
7964
- style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #444;",
7936
+ style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--wf-divider);",
7965
7937
  children: [
7966
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: "margin: 0; font-size: 20px;", children: data.name }),
7938
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: "margin: 0; font-size: 20px; color: var(--wf-text-primary);", children: data.name }),
7967
7939
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
7968
7940
  "div",
7969
7941
  {
7970
- style: "background-color: #f0f0f0; padding: 4px 12px; border-radius: 12px; font-size: 14px; line-height: 1;",
7942
+ 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
7943
  children: `倾向: ${getDispositionIcon(
7972
7944
  data.disposition
7973
7945
  )} (${data.disposition.toFixed(2)})`
@@ -7980,7 +7952,7 @@ function RivenComponent(data) {
7980
7952
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
7981
7953
  "h3",
7982
7954
  {
7983
- style: "color: #4caf50; margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
7955
+ style: "color: var(--wf-success); margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
7984
7956
  children: [
7985
7957
  "正面词条 (",
7986
7958
  data.buffs.length,
@@ -7995,8 +7967,8 @@ function RivenComponent(data) {
7995
7967
  "li",
7996
7968
  {
7997
7969
  style: `
7998
- background-color: #eeeeee;
7999
- border-radius: 6px;
7970
+ background-color: var(--wf-bg-subtle);
7971
+ border-radius: var(--wf-radius-md);
8000
7972
  padding: 12px;
8001
7973
  margin-bottom: 10px;
8002
7974
  border-left: 4px solid ${percentColor};
@@ -8007,15 +7979,15 @@ function RivenComponent(data) {
8007
7979
  {
8008
7980
  style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;",
8009
7981
  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) })
7982
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold; color: var(--wf-text-primary);", children: buff.name }),
7983
+ /* @__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
7984
  ]
8013
7985
  }
8014
7986
  ),
8015
7987
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8016
7988
  "div",
8017
7989
  {
8018
- style: "height: 10px; background-color: #444; border-radius: 3px; margin-bottom: 8px;",
7990
+ style: "height: 10px; background-color: var(--wf-border-strong); border-radius: 3px; margin-bottom: 8px;",
8019
7991
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8020
7992
  "div",
8021
7993
  {
@@ -8035,7 +8007,7 @@ function RivenComponent(data) {
8035
8007
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8036
8008
  "div",
8037
8009
  {
8038
- style: "display: flex; justify-content: space-between; font-size: 12px; color: #aaa;",
8010
+ style: "display: flex; justify-content: space-between; font-size: 12px; color: var(--wf-text-muted);",
8039
8011
  children: [
8040
8012
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
8041
8013
  "范围:",
@@ -8052,7 +8024,7 @@ function RivenComponent(data) {
8052
8024
  !inRange ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8053
8025
  "div",
8054
8026
  {
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;",
8027
+ 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
8028
  children: [
8057
8029
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-right: 6px;", children: "⚠" }),
8058
8030
  "数值不在正常范围内(可能未满级或倾向未更新)"
@@ -8068,7 +8040,7 @@ function RivenComponent(data) {
8068
8040
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8069
8041
  "h3",
8070
8042
  {
8071
- style: "color: #f44336; margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
8043
+ style: "color: var(--wf-danger); margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
8072
8044
  children: [
8073
8045
  "负面词条 (",
8074
8046
  data.curses.length,
@@ -8082,22 +8054,22 @@ function RivenComponent(data) {
8082
8054
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8083
8055
  "li",
8084
8056
  {
8085
- style: `background-color: #eeeeee; border-radius: 6px; padding: 12px; margin-bottom: 10px; border-left: 4px solid ${percentColor};`,
8057
+ style: `background-color: var(--wf-bg-subtle); border-radius: var(--wf-radius-md); padding: 12px; margin-bottom: 10px; border-left: 4px solid ${percentColor};`,
8086
8058
  children: [
8087
8059
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8088
8060
  "div",
8089
8061
  {
8090
8062
  style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;",
8091
8063
  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) })
8064
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold; color: var(--wf-text-primary);", children: curse.name }),
8065
+ /* @__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
8066
  ]
8095
8067
  }
8096
8068
  ),
8097
8069
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8098
8070
  "div",
8099
8071
  {
8100
- style: "height: 10px; background-color: #444; border-radius: 3px; margin-bottom: 8px;",
8072
+ style: "height: 10px; background-color: var(--wf-border-strong); border-radius: 3px; margin-bottom: 8px;",
8101
8073
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8102
8074
  "div",
8103
8075
  {
@@ -8117,7 +8089,7 @@ function RivenComponent(data) {
8117
8089
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8118
8090
  "div",
8119
8091
  {
8120
- style: "display: flex; justify-content: space-between; font-size: 12px; color: #aaa;",
8092
+ style: "display: flex; justify-content: space-between; font-size: 12px; color: var(--wf-text-muted);",
8121
8093
  children: [
8122
8094
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
8123
8095
  "范围:",
@@ -8134,7 +8106,7 @@ function RivenComponent(data) {
8134
8106
  !inRange ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8135
8107
  "div",
8136
8108
  {
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;",
8109
+ 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
8110
  children: [
8139
8111
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-right: 6px;", children: "⚠" }),
8140
8112
  "数值不在正常范围内(可能未满级或倾向未更新)"
@@ -8172,9 +8144,12 @@ function RivenStatComponent(data) {
8172
8144
  flex-direction: column;
8173
8145
  gap: 16px;
8174
8146
  padding: 16px;
8175
- font-family: system-ui, sans-serif;
8176
- background-color: #1a1a2e;
8177
- border-radius: 8px;
8147
+ font-family: 'Segoe UI', system-ui, sans-serif;
8148
+ background-color: var(--wf-bg-card);
8149
+ border: 1px solid var(--wf-border);
8150
+ border-radius: var(--wf-radius);
8151
+ box-shadow: var(--wf-shadow-card);
8152
+ color: var(--wf-text-body);
8178
8153
  max-width: 600px;
8179
8154
  `,
8180
8155
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -8208,7 +8183,7 @@ function RivenStatComponent(data) {
8208
8183
  {
8209
8184
  style: `
8210
8185
  margin: 0;
8211
- color: #7dd56f;
8186
+ color: var(--wf-success);
8212
8187
  font-size: 16px;
8213
8188
  font-weight: 600;
8214
8189
  `,
@@ -8227,7 +8202,7 @@ function RivenStatComponent(data) {
8227
8202
  "span",
8228
8203
  {
8229
8204
  style: `
8230
- color: #888;
8205
+ color: var(--wf-text-muted);
8231
8206
  font-size: 12px;
8232
8207
  `,
8233
8208
  children: "最小"
@@ -8237,7 +8212,7 @@ function RivenStatComponent(data) {
8237
8212
  "span",
8238
8213
  {
8239
8214
  style: `
8240
- color: #888;
8215
+ color: var(--wf-text-muted);
8241
8216
  font-size: 12px;
8242
8217
  `,
8243
8218
  children: "最大"
@@ -8265,16 +8240,16 @@ function RivenStatComponent(data) {
8265
8240
  justify-content: space-between;
8266
8241
  align-items: center;
8267
8242
  padding: 6px 8px;
8268
- background-color: #16213e;
8269
- border-radius: 4px;
8270
- border-left: 3px solid #7dd56f;
8243
+ background-color: var(--wf-bg-subtle);
8244
+ border-radius: var(--wf-radius-sm);
8245
+ border-left: 3px solid var(--wf-success);
8271
8246
  `,
8272
8247
  children: [
8273
8248
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8274
8249
  "span",
8275
8250
  {
8276
8251
  style: `
8277
- color: #e0e0e0;
8252
+ color: var(--wf-text-body);
8278
8253
  font-size: 13px;
8279
8254
  `,
8280
8255
  children: value.name
@@ -8292,7 +8267,7 @@ function RivenStatComponent(data) {
8292
8267
  "span",
8293
8268
  {
8294
8269
  style: `
8295
- color: #7dd56f;
8270
+ color: var(--wf-success);
8296
8271
  font-size: 13px;
8297
8272
  font-weight: 500;
8298
8273
  min-width: 60px;
@@ -8305,7 +8280,7 @@ function RivenStatComponent(data) {
8305
8280
  "span",
8306
8281
  {
8307
8282
  style: `
8308
- color: #7dd56f;
8283
+ color: var(--wf-success);
8309
8284
  font-size: 13px;
8310
8285
  font-weight: 500;
8311
8286
  min-width: 60px;
@@ -8329,28 +8304,28 @@ function RivenStatComponent(data) {
8329
8304
  "div",
8330
8305
  {
8331
8306
  style: `
8332
- flex: 1;
8307
+ flex: 1;
8333
8308
  `,
8334
8309
  children: [
8335
8310
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8336
8311
  "div",
8337
8312
  {
8338
8313
  style: `
8339
- display: flex;
8340
- justify-content: space-between;
8341
- align-items: center;
8342
- margin-bottom: 8px;
8343
- padding: 0 4px;
8314
+ display: flex;
8315
+ justify-content: space-between;
8316
+ align-items: center;
8317
+ margin-bottom: 8px;
8318
+ padding: 0 4px;
8344
8319
  `,
8345
8320
  children: [
8346
8321
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8347
8322
  "h3",
8348
8323
  {
8349
8324
  style: `
8350
- margin: 0;
8351
- color: #e35f5f;
8352
- font-size: 16px;
8353
- font-weight: 600;
8325
+ margin: 0;
8326
+ color: var(--wf-danger);
8327
+ font-size: 16px;
8328
+ font-weight: 600;
8354
8329
  `,
8355
8330
  children: "负面属性"
8356
8331
  }
@@ -8359,16 +8334,16 @@ function RivenStatComponent(data) {
8359
8334
  "div",
8360
8335
  {
8361
8336
  style: `
8362
- display: flex;
8363
- gap: 12px;
8337
+ display: flex;
8338
+ gap: 12px;
8364
8339
  `,
8365
8340
  children: [
8366
8341
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8367
8342
  "span",
8368
8343
  {
8369
8344
  style: `
8370
- color: #888;
8371
- font-size: 12px;
8345
+ color: var(--wf-text-muted);
8346
+ font-size: 12px;
8372
8347
  `,
8373
8348
  children: "最小"
8374
8349
  }
@@ -8377,8 +8352,8 @@ function RivenStatComponent(data) {
8377
8352
  "span",
8378
8353
  {
8379
8354
  style: `
8380
- color: #888;
8381
- font-size: 12px;
8355
+ color: var(--wf-text-muted);
8356
+ font-size: 12px;
8382
8357
  `,
8383
8358
  children: "最大"
8384
8359
  }
@@ -8393,9 +8368,9 @@ function RivenStatComponent(data) {
8393
8368
  "div",
8394
8369
  {
8395
8370
  style: `
8396
- display: flex;
8397
- flex-direction: column;
8398
- gap: 4px;
8371
+ display: flex;
8372
+ flex-direction: column;
8373
+ gap: 4px;
8399
8374
  `,
8400
8375
  children: Object.entries(data.negative).map(([, value]) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8401
8376
  "div",
@@ -8405,16 +8380,16 @@ function RivenStatComponent(data) {
8405
8380
  justify-content: space-between;
8406
8381
  align-items: center;
8407
8382
  padding: 6px 8px;
8408
- background-color: #16213e;
8409
- border-radius: 4px;
8410
- border-left: 3px solid #e35f5f;
8383
+ background-color: var(--wf-bg-subtle);
8384
+ border-radius: var(--wf-radius-sm);
8385
+ border-left: 3px solid var(--wf-danger);
8411
8386
  `,
8412
8387
  children: [
8413
8388
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8414
8389
  "span",
8415
8390
  {
8416
8391
  style: `
8417
- color: #e0e0e0;
8392
+ color: var(--wf-text-body);
8418
8393
  font-size: 13px;
8419
8394
  `,
8420
8395
  children: value.name
@@ -8432,7 +8407,7 @@ function RivenStatComponent(data) {
8432
8407
  "span",
8433
8408
  {
8434
8409
  style: `
8435
- color: #e35f5f;
8410
+ color: var(--wf-danger);
8436
8411
  font-size: 13px;
8437
8412
  font-weight: 500;
8438
8413
  min-width: 60px;
@@ -8445,7 +8420,7 @@ function RivenStatComponent(data) {
8445
8420
  "span",
8446
8421
  {
8447
8422
  style: `
8448
- color: #e35f5f;
8423
+ color: var(--wf-danger);
8449
8424
  font-size: 13px;
8450
8425
  font-weight: 500;
8451
8426
  min-width: 60px;
@@ -8476,30 +8451,30 @@ function VoidTraderComponent(data) {
8476
8451
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8477
8452
  "div",
8478
8453
  {
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: [
8454
+ 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);",
8455
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("table", { style: "width:100%;border-collapse:collapse;", children: [
8481
8456
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { children: [
8482
8457
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8483
8458
  "th",
8484
8459
  {
8485
- style: "border-bottom: 1px solid #ccc; text-align: left; padding: 6px;",
8460
+ style: "border-bottom:1px solid var(--wf-border-strong);text-align:left;padding:6px;color:var(--wf-text-primary);",
8486
8461
  children: "名称"
8487
8462
  }
8488
8463
  ),
8489
8464
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
8490
8465
  "th",
8491
8466
  {
8492
- style: "border-bottom: 1px solid #ccc; text-align: left; padding: 6px;",
8467
+ style: "border-bottom:1px solid var(--wf-border-strong);text-align:left;padding:6px;color:var(--wf-text-primary);",
8493
8468
  children: "价格"
8494
8469
  }
8495
8470
  )
8496
8471
  ] }) }),
8497
8472
  /* @__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 }),
8473
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { style: "padding:6px;border-bottom:1px solid var(--wf-border);", children: item.name }),
8499
8474
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
8500
8475
  "td",
8501
8476
  {
8502
- style: "padding: 6px; border-bottom: 1px solid #eee; text-align: center;line-height: 1;",
8477
+ style: "padding:6px;border-bottom:1px solid var(--wf-border);text-align:center;line-height:1;",
8503
8478
  children: [
8504
8479
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children: item.ducats }),
8505
8480
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
@@ -8692,7 +8667,7 @@ function trendArrow(trend) {
8692
8667
  }
8693
8668
  __name(trendArrow, "trendArrow");
8694
8669
  function trendColor(trend) {
8695
- return trend === "up" ? "#e0533a" : trend === "down" ? "#3a9e5a" : "#888";
8670
+ return trend === "up" ? "var(--wf-danger)" : trend === "down" ? "var(--wf-success)" : "var(--wf-text-muted)";
8696
8671
  }
8697
8672
  __name(trendColor, "trendColor");
8698
8673
  function ItemStatisticsChart(stats) {
@@ -8731,34 +8706,34 @@ function ItemStatisticsChart(stats) {
8731
8706
  const baselineY = stats.baselineMedian !== void 0 ? yPos(stats.baselineMedian) : null;
8732
8707
  const onlineYRaw = yPos(stats.onlineMin);
8733
8708
  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: [
8709
+ 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
8710
  /* @__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: [
8711
+ /* @__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" }),
8712
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: W - padR, y: onlineY - 6, textAnchor: "end", fontSize: 12, fill: "var(--wf-warning)", children: [
8738
8713
  "在线最低",
8739
8714
  stats.onlineMin,
8740
8715
  "p"
8741
8716
  ] }),
8742
8717
  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: [
8718
+ /* @__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" }),
8719
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: padL + 4, y: baselineY - 5, textAnchor: "start", fontSize: 11, fill: "var(--wf-text-muted)", children: [
8745
8720
  "7天中位",
8746
8721
  stats.baselineMedian,
8747
8722
  "p"
8748
8723
  ] })
8749
8724
  ] }) : null,
8750
8725
  /* @__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) })
8726
+ 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 })),
8727
+ 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) })),
8728
+ /* @__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) }),
8729
+ /* @__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
8730
  ] });
8756
8731
  }
8757
8732
  __name(ItemStatisticsChart, "ItemStatisticsChart");
8758
8733
  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 })
8734
+ 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: [
8735
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:0.9rem;color:var(--wf-text-muted);", children: label }),
8736
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: `font-size:1.4rem;font-weight:700;color:${accent ?? "var(--wf-text-primary)"};`, children: value })
8762
8737
  ] });
8763
8738
  }
8764
8739
  __name(StatCard, "StatCard");
@@ -8780,16 +8755,16 @@ function ItemStatisticsCards(stats) {
8780
8755
  "90天区间",
8781
8756
  stats.rangeMin !== void 0 && stats.rangeMax !== void 0 ? `${stats.rangeMin}-${stats.rangeMax}p` : "—"
8782
8757
  ),
8783
- StatCard("在线最低", `${stats.onlineMin}p`, "#ff6b35")
8758
+ StatCard("在线最低", `${stats.onlineMin}p`, "var(--wf-warning)")
8784
8759
  ] });
8785
8760
  }
8786
8761
  __name(ItemStatisticsCards, "ItemStatisticsCards");
8787
8762
  function ItemStatisticsComponent(stats) {
8788
8763
  const hasData = stats.chart.length > 0 || stats.recentAvg !== void 0 || stats.baselineMedian !== void 0;
8789
8764
  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: "暂无近期成交统计数据" });
8765
+ 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
8766
  }
8792
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid #e0e4e8;", children: [
8767
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid var(--wf-divider);", children: [
8793
8768
  stats.chart.length >= 2 ? ItemStatisticsChart(stats) : null,
8794
8769
  ItemStatisticsCards(stats)
8795
8770
  ] });
@@ -8798,23 +8773,26 @@ __name(ItemStatisticsComponent, "ItemStatisticsComponent");
8798
8773
  function ItemOrderComponent(item, orders, statistics) {
8799
8774
  const itemNameCN = item.i18n["zh-hans"]?.name;
8800
8775
  const itemNameEN = item.i18n.en?.name;
8801
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex; flex-direction: column; width: 1600px;", children: [
8776
+ 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
8777
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("style", { children: `
8803
8778
  th {
8804
8779
  align-items: center;
8805
8780
  font-size: 1.8rem;
8781
+ color: var(--wf-text-primary);
8782
+ border-bottom: 1px solid var(--wf-border-strong);
8806
8783
  }
8807
8784
 
8808
8785
  td {
8809
8786
  text-align: center;
8810
8787
  font-size: 1.5rem;
8788
+ border-bottom: 1px solid var(--wf-border);
8811
8789
  }
8812
8790
 
8813
8791
  tr {
8814
8792
  height: 3rem;
8815
8793
  }
8816
8794
  ` }),
8817
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align: center;", children: [
8795
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:center;color:var(--wf-text-primary);", children: [
8818
8796
  itemNameCN,
8819
8797
  " ",
8820
8798
  "/",
@@ -8836,7 +8814,7 @@ function ItemOrderComponent(item, orders, statistics) {
8836
8814
  orders.map((order) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { children: [
8837
8815
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.ingameName }),
8838
8816
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.status }),
8839
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.platinum }),
8817
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { style: "color:var(--wf-platinum);font-weight:600;", children: order.platinum }),
8840
8818
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.quantity }),
8841
8819
  item.maxRank && item.maxRank > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.rank }) : null,
8842
8820
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.reputation })
@@ -8850,8 +8828,8 @@ function RivenOrderComponent(item, orders) {
8850
8828
  const itemNameCN = item.i18n ? item.i18n["zh-hans"]?.name : void 0;
8851
8829
  const itemNameEN = item.i18n ? item.i18n.en?.name : void 0;
8852
8830
  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: [
8831
+ 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: [
8832
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:center;color:var(--wf-text-primary);", children: [
8855
8833
  itemNameCN,
8856
8834
  " ",
8857
8835
  "/",
@@ -8876,31 +8854,31 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8876
8854
  const itemNameCN = cnName ?? enName;
8877
8855
  const itemIconLink = thumb ? `https://warframe.market/static/assets/${thumb}` : void 0;
8878
8856
  const ownerAvatarLink = order.owner.avatar ? `https://warframe.market/static/assets/${order.owner.avatar}` : void 0;
8879
- const reputationColor = order.owner.reputation >= 5 ? "#00a96c" : "#739098";
8857
+ const reputationColor = order.owner.reputation >= 5 ? "var(--wf-success)" : "var(--wf-text-muted)";
8880
8858
  const reputationIconLink = order.owner.reputation >= 5 ? "#icon-smile" : "#icon-meh";
8881
8859
  const statusData = {
8882
- ingame: ["ONLINE IN GAME", "#634b93"],
8883
- online: ["ONLINE", "darkgreen"],
8884
- offline: ["OFFLINE", "darkred"],
8885
- _: ["UNKNOWN", "grey"]
8860
+ ingame: ["ONLINE IN GAME", "var(--wf-accent)"],
8861
+ online: ["ONLINE", "var(--wf-success)"],
8862
+ offline: ["OFFLINE", "var(--wf-danger)"],
8863
+ _: ["UNKNOWN", "var(--wf-text-muted)"]
8886
8864
  };
8887
8865
  const status = order.owner.status in statusData ? order.owner.status : "_";
8888
8866
  const statusText = statusData[status][0];
8889
8867
  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: [
8868
+ 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: [
8869
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:center;padding-bottom:10px;min-height:45px;", children: [
8892
8870
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8893
8871
  "img",
8894
8872
  {
8895
8873
  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;"
8874
+ 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
8875
  }
8898
8876
  ),
8899
8877
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
8900
8878
  "span",
8901
8879
  {
8902
8880
  id: "title",
8903
- style: "margin-left: 15px; font-size: 16px; line-height: 16px; font-weight: 700; text-overflow: ellipsis; text-decoration: underline; cursor: pointer;",
8881
+ style: "margin-left:15px;font-size:16px;line-height:16px;font-weight:700;text-overflow:ellipsis;color:var(--wf-text-primary);",
8904
8882
  children: [
8905
8883
  itemNameCN,
8906
8884
  " ",
@@ -8913,25 +8891,25 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8913
8891
  "div",
8914
8892
  {
8915
8893
  id: "body",
8916
- style: "display: flex; flex-wrap: wrap; justify-content: space-between;",
8894
+ style: "display:flex;flex-wrap:wrap;justify-content:space-between;",
8917
8895
  children: [
8918
8896
  /* @__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: [
8897
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:flex;padding-top:5px;", children: order.item.attributes.filter((attr) => attr.positive).map(RivenAttributeComponent) }),
8898
+ /* @__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) }),
8899
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("ul", { style: "display:flex;padding:5px 0;font-size:12px;color:var(--wf-text-secondary);", children: [
8900
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8923
8901
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "段位 " }),
8924
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.mastery_level })
8902
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.mastery_level })
8925
8903
  ] }),
8926
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8904
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8927
8905
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "等级: " }),
8928
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.mod_rank })
8906
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.mod_rank })
8929
8907
  ] }),
8930
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8908
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8931
8909
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "循环: " }),
8932
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.re_rolls })
8910
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.re_rolls })
8933
8911
  ] }),
8934
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right: 10px;", children: [
8912
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
8935
8913
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "极性: " }),
8936
8914
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8937
8915
  "svg",
@@ -8948,16 +8926,16 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8948
8926
  "div",
8949
8927
  {
8950
8928
  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: [
8929
+ style: "display:flex;flex-direction:column;justify-content:center;padding-left:10px;",
8930
+ 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
8931
  /* @__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 }),
8932
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "padding-left:5px;line-height:1.5;", children: [
8933
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-platinum);", children: order.starting_price }),
8956
8934
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8957
8935
  "svg",
8958
8936
  {
8959
8937
  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;",
8938
+ 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
8939
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("use", { href: "#icon-platinum" })
8962
8940
  }
8963
8941
  )
@@ -8972,32 +8950,32 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
8972
8950
  "div",
8973
8951
  {
8974
8952
  id: "footer",
8975
- style: "display: flex; margin-top: 10px; line-height: 1.5;",
8953
+ style: "display:flex;margin-top:10px;line-height:1.5;align-items:center;",
8976
8954
  children: [
8977
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display: flex;", children: [
8955
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:center;", children: [
8978
8956
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8979
8957
  "img",
8980
8958
  {
8981
8959
  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;"
8960
+ 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
8961
  }
8984
8962
  ),
8985
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "margin-left: 5px;", children: order.owner.ingame_name })
8963
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "margin-left:5px;color:var(--wf-text-body);", children: order.owner.ingame_name })
8986
8964
  ] }),
8987
8965
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8988
8966
  "div",
8989
8967
  {
8990
- style: `margin-left: 10px; color:${statusColor ?? "gray"}; font-size: 12px;`,
8968
+ style: `margin-left:10px;color:${statusColor};font-size:12px;font-weight:600;`,
8991
8969
  children: statusText
8992
8970
  }
8993
8971
  ),
8994
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: `margin-left: 10px; color:${reputationColor};`, children: [
8972
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: `margin-left:10px;color:${reputationColor};display:flex;align-items:center;`, children: [
8995
8973
  order.owner.reputation,
8996
8974
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
8997
8975
  "svg",
8998
8976
  {
8999
8977
  viewBox: "0 0 496 512",
9000
- style: "margin-left: 5px; margin-top: -2px; overflow:hidden; height: 1em; width: 1em; vertical-align: -.125em; fill: currentcolor;",
8978
+ style: "margin-left:5px;margin-top:-2px;overflow:hidden;height:1em;width:1em;vertical-align:-.125em;fill:currentcolor;",
9001
8979
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("use", { href: reputationIconLink })
9002
8980
  }
9003
8981
  )
@@ -9019,21 +8997,18 @@ function RivenAttributeComponent(attr, index) {
9019
8997
  };
9020
8998
  const attrValueSuffix = unitSuffixMap[attrInfo.unit] || "";
9021
8999
  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";
9000
+ const positiveColors = ["#2e7d32", "#4a8c5a", "#6b9b78"];
9001
+ const negativeColor = "#e05050";
9002
+ const color = attr.positive ? positiveColors[index] ?? positiveColors[0] : negativeColor;
9028
9003
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
9029
9004
  "li",
9030
9005
  {
9031
9006
  style: `
9032
- border: 1px solid rgb(var(${color})/50%);
9033
- background-color: rgb(var(${color})/10%);
9034
- color: rgb(var(${color}));
9007
+ border: 1px solid ${color}80;
9008
+ background-color: ${color}1a;
9009
+ color: ${color};
9035
9010
  padding: 2px 10px;
9036
- border-radius: 4px;
9011
+ border-radius: var(--wf-radius-sm);
9037
9012
  margin-right: 5px;
9038
9013
  font-size: 14px;
9039
9014
  line-height: 1.5;`,
@@ -9062,19 +9037,19 @@ function getPriceTier(plats) {
9062
9037
  }
9063
9038
  if (plats > 80) {
9064
9039
  return {
9065
- borderColor: "#ff6b35",
9066
- bgColor: "rgba(255,107,53,0.12)",
9040
+ borderColor: "var(--wf-warning)",
9041
+ bgColor: "rgba(255,140,66,0.12)",
9067
9042
  label: "premium"
9068
9043
  };
9069
9044
  }
9070
- if (plats > 60) {
9045
+ if (plats > 50) {
9071
9046
  return {
9072
9047
  borderColor: "#f0c040",
9073
9048
  bgColor: "rgba(240,192,64,0.10)",
9074
9049
  label: "high"
9075
9050
  };
9076
9051
  }
9077
- return { borderColor: "#d0d0d0", bgColor: "transparent", label: "normal" };
9052
+ return { borderColor: "var(--wf-border-strong)", bgColor: "transparent", label: "normal" };
9078
9053
  }
9079
9054
  __name(getPriceTier, "getPriceTier");
9080
9055
  function calcDaysAgo(dateStr) {
@@ -9090,7 +9065,7 @@ function calcDaysAgo(dateStr) {
9090
9065
  __name(calcDaysAgo, "calcDaysAgo");
9091
9066
  function PMHCard(item, _index) {
9092
9067
  const pr = item.plats;
9093
- const tier = pr !== void 0 ? getPriceTier(pr) : { borderColor: "#d0d0d0", bgColor: "transparent", label: "normal" };
9068
+ const tier = pr !== void 0 ? getPriceTier(pr) : { borderColor: "var(--wf-border-strong)", bgColor: "transparent", label: "normal" };
9094
9069
  const dateStr = item.last ? (() => {
9095
9070
  const d = new Date(item.last);
9096
9071
  if (!Number.isNaN(d.getTime())) {
@@ -9131,7 +9106,7 @@ function PMHCard(item, _index) {
9131
9106
  justify-content: space-between;
9132
9107
  align-items: center;
9133
9108
  font-weight: 600;
9134
- color: #1a1a1a;
9109
+ color: var(--wf-text-primary);
9135
9110
  white-space: nowrap;
9136
9111
  overflow: hidden;
9137
9112
  text-overflow: ellipsis;
@@ -9142,7 +9117,7 @@ function PMHCard(item, _index) {
9142
9117
  daysAgo ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
9143
9118
  "span",
9144
9119
  {
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;`,
9120
+ 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
9121
  children: [
9147
9122
  "距今",
9148
9123
  daysAgo,
@@ -9163,7 +9138,7 @@ function PMHCard(item, _index) {
9163
9138
  font-variant-numeric: tabular-nums;
9164
9139
  `,
9165
9140
  children: [
9166
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color: #888; font-size: 10px;", children: dateStr || "未知" }),
9141
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:var(--wf-text-muted);font-size:10px;", children: dateStr || "未知" }),
9167
9142
  pr !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
9168
9143
  "span",
9169
9144
  {
@@ -9173,7 +9148,7 @@ function PMHCard(item, _index) {
9173
9148
  gap: 2px;
9174
9149
  font-weight: 700;
9175
9150
  font-size: 12px;
9176
- color: #0d93b8;
9151
+ color: var(--wf-platinum);
9177
9152
  ${isLegendary ? "text-shadow: 0 0 6px rgba(255,50,100,0.7), 0 0 12px rgba(200,50,255,0.4);" : ""}
9178
9153
  `,
9179
9154
  children: [
@@ -9188,7 +9163,7 @@ function PMHCard(item, _index) {
9188
9163
  )
9189
9164
  ]
9190
9165
  }
9191
- ) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color: #bbb; font-size: 10px;", children: "暂无" })
9166
+ ) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:var(--wf-text-faint);font-size:10px;", children: "暂无" })
9192
9167
  ]
9193
9168
  }
9194
9169
  )
@@ -9214,15 +9189,16 @@ function PrimedModHistoryComponent(history) {
9214
9189
  "div",
9215
9190
  {
9216
9191
  style: `
9217
- border-radius: 8px;
9192
+ border-radius: var(--wf-radius);
9218
9193
  padding: 16px;
9219
9194
  margin: 12px;
9220
- border: 1px solid rgba(255, 255, 255, 0.1);
9221
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
9195
+ border: 1px solid var(--wf-border);
9196
+ box-shadow: var(--wf-shadow-card);
9222
9197
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9223
9198
  max-width: 100%;
9224
9199
  min-width: 320px;
9225
- background: #ffffff;
9200
+ background: var(--wf-bg-card);
9201
+ color: var(--wf-text-body);
9226
9202
  `,
9227
9203
  children: [
9228
9204
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
@@ -9234,22 +9210,25 @@ function PrimedModHistoryComponent(history) {
9234
9210
  align-items: center;
9235
9211
  margin-bottom: 12px;
9236
9212
  padding-bottom: 10px;
9237
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
9213
+ border-bottom: 1px solid var(--wf-border);
9238
9214
  `,
9239
9215
  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: [
9216
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:baseline;gap:8px;", children: [
9217
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
9218
+ "h1",
9219
+ {
9220
+ style: `
9221
+ font-size: 18px;
9222
+ font-weight: bold;
9223
+ margin: 0;
9224
+ color: var(--wf-text-primary);
9225
+ `,
9226
+ children: "Prime Mod 历史记录"
9227
+ }
9228
+ ),
9229
+ /* @__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 }) })
9230
+ ] }),
9231
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { style: "color: var(--wf-text-muted); font-size: 11px;", children: [
9253
9232
  history.length,
9254
9233
  " ",
9255
9234
  "项"