koishi-plugin-warframe 1.7.3 → 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.
@@ -1,71 +1,55 @@
1
1
  :root {
2
- --color_success_text: #4d8200;
3
- --color_success_border: #4d8200;
4
- --color_rgb_success_text: 77 130 0;
5
- --color_rgb_success_border: 77 130 0;
6
- --color_auction_participant: #1c8a62;
7
- --color_auction_sell: #909090;
8
- --color_auction_own: mediumpurple;
9
- --color_auction_archiving: gray;
10
- --color_rgb_auction_archiving: 128 128 128;
11
- --color_dark_background--light: #11262b;
12
- --color_dark_border--ligth: #283235;
13
- --color_dark_background: #171e21;
14
- --color_dark_border: #283235;
15
- --color_dark_background--darker: #071013;
16
- --color_dark_border--darker: #171e21;
17
- --color_rgb_dark_background--light: 17 38 43;
18
- --color_rgb_dark_border--ligth: 40 50 53;
19
- --color_rgb_dark_background: 23 30 33;
20
- --color_rgb_dark_border: 40 50 53;
21
- --color_rgb_dark_background--darker: 7 16 19;
22
- --color_rgb_dark_border--darker: 23 30 33;
23
- --color_place_order: #b53600;
24
- --color_place_order--hover: #e64400;
25
- --color_place_order--active: #ff8f00;
26
- --color_place_order_text: #f5f5f5;
27
- --color_create_auction: #8960db;
28
- --color_create_auction_text: #f5f5f5;
29
- --color_create_auction--hover: #b08cff;
30
- --color_create_auction--active: #9d92ff;
31
- --color_input_inner_shadow: 0 0 0;
32
- --color_input_text--highlight: #19a187;
33
- --color_attribute_text: white;
34
- --color_attribute_background_first: #19a187;
35
- --color_attribute_background_second: #358576;
36
- --color_attribute_background_third: #516965;
37
- --color_attribute_background_negative: #98392d;
38
- --color_rgb_attribute_background_first: 25 161 135;
39
- --color_rgb_attribute_background_second: 53 133 118;
40
- --color_rgb_attribute_background_third: 81 105 101;
41
- --color_rgb_attribute_background_negative: 152 57 45;
42
- --color_link_dimmed: #408698;
43
- --color_link_dimmed--hover: #a3dddb;
44
- --color_link_dimmed--active: #acb8dd;
45
- --color_rgb_link_dimmed: 64 134 152;
46
- --color_rgb_link_dimmed--hover: 163 221 219;
47
- --color_rgb_link_dimmed--active: 172 184 221;
48
- --color_dark_md_code_background: black;
49
- --color_dark_md_code_text: #39a57e;
50
- --color_rgb_dark_md_code_background: 0 0 0;
51
- --color_status-offline: darkred;
52
- --color_highlight: #b53600;
53
- --color_highlight_text: #f5f5f5;
54
- --color_tooltip_background: #1b2432;
55
- --color_tooltip_border: black;
56
- --color_tooltip_text: #aab3b6;
57
- --color_rgb_tooltip_background: 27 36 50;
58
- --color_text_svg: red;
59
- --color_dark_text: #aab3b6;
60
- --color_dark_h1: #fcfdfd;
61
- --color_dark_h2: #e1e4e5;
62
- --color_dark_h3: #c5ccce;
63
- --color_dark_disclaimer: #333d40;
2
+ /* ===== Backgrounds ===== */
3
+ --wf-bg-page: #f5f0e8;
4
+ --wf-bg-card: #ffffff;
5
+ --wf-bg-subtle: #f5f5f5;
6
+ --wf-bg-tint: #fff8f0;
7
+ --wf-bg-overlay: rgba(0, 0, 0, 0.03);
8
+
9
+ /* ===== Text ===== */
10
+ --wf-text-primary: #1a1a1a;
11
+ --wf-text-body: #333333;
12
+ --wf-text-secondary: #666666;
13
+ --wf-text-muted: #888888;
14
+ --wf-text-faint: #a0a0a0;
15
+
16
+ /* ===== Borders ===== */
17
+ --wf-border: rgba(0, 0, 0, 0.08);
18
+ --wf-border-strong: rgba(0, 0, 0, 0.12);
19
+ --wf-divider: rgba(0, 0, 0, 0.1);
20
+
21
+ /* ===== Rarity ===== */
22
+ --wf-rarity-rare: #ffd700;
23
+ --wf-rarity-uncommon: #c0c0c0;
24
+ --wf-rarity-common: #cd7f32;
25
+
26
+ /* ===== Semantic accents ===== */
27
+ --wf-success: #2e7d32;
28
+ --wf-warning: #ff8c42;
29
+ --wf-danger: #e05050;
30
+ --wf-info: #0d93b8;
31
+ --wf-accent: #47b5a5;
32
+
33
+ /* ===== Currency ===== */
34
+ --wf-platinum: #0d93b8;
35
+ --wf-ducats: #a0a000;
36
+
37
+ /* ===== Shadows ===== */
38
+ --wf-shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
39
+ --wf-shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
40
+ --wf-shadow-inner: 0 2px 4px rgba(0, 0, 0, 0.04);
41
+
42
+ /* ===== Radii ===== */
43
+ --wf-radius: 8px;
44
+ --wf-radius-md: 6px;
45
+ --wf-radius-sm: 4px;
64
46
  }
65
47
 
66
48
  body {
67
- font-family: Arial, sans-serif;
49
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
68
50
  padding: 20px;
51
+ background-color: var(--wf-bg-page);
52
+ color: var(--wf-text-body);
69
53
  }
70
54
 
71
55
  * {
package/lib/index.d.ts CHANGED
@@ -611,6 +611,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
611
611
  }
612
612
  export const wfmItemMatcher: {
613
613
  buildSuffixVariantCandidates: (input: string) => string[];
614
+ matchByArcaneReorder: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
614
615
  matchByShortHand: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
615
616
  matchBySlugDict: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
616
617
  matchBySuffixVariantLookup: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
@@ -621,6 +622,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
621
622
  pure: string;
622
623
  suffix: string;
623
624
  };
625
+ reorderArcanePrefix: (input: string) => string | undefined;
624
626
  splitWordPrefixTokens: (input: string) => string[];
625
627
  shortHandProcess: (input: string, lookup: Pick<WFMItemLookupData, "globalItemDict" | "globalItemNameToSlugDict">) => ItemShort | undefined;
626
628
  stringToWFMItem: (input: string) => Promise<ItemShort | undefined>;
@@ -628,6 +630,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
628
630
  normalizeWordPrefixName: (input: string) => string;
629
631
  };
630
632
  export const buildSuffixVariantCandidates: (input: string) => string[];
633
+ export const matchByArcaneReorder: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
631
634
  export const matchByShortHand: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
632
635
  export const matchBySlugDict: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
633
636
  export const matchBySuffixVariantLookup: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
@@ -639,6 +642,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
639
642
  pure: string;
640
643
  suffix: string;
641
644
  };
645
+ export const reorderArcanePrefix: (input: string) => string | undefined;
642
646
  export const splitWordPrefixTokens: (input: string) => string[];
643
647
  export const shortHandProcess: (input: string, lookup: Pick<WFMItemLookupData, "globalItemDict" | "globalItemNameToSlugDict">) => ItemShort | undefined;
644
648
  export const stringToWFMItem: (input: string) => Promise<ItemShort | undefined>;