Browse Source

fix: uniform adornment icon sizes

Sv443 11 months ago
parent
commit
ea40b0ba11
4 changed files with 3 additions and 2 deletions
  1. 0 0
      assets/icons/globe_small.svg
  2. 1 1
      assets/icons/refresh.svg
  3. 1 0
      assets/resources.json
  4. 1 1
      src/features/index.ts

File diff suppressed because it is too large
+ 0 - 0
assets/icons/globe_small.svg


+ 1 - 1
assets/icons/refresh.svg

@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="#ffffff" d="M483.077-200q-117.25 0-198.625-81.339-81.375-81.34-81.375-198.539 0-117.199 81.375-198.661Q365.827-760 483.077-760q71.308 0 133.538 33.884 62.231 33.885 100.308 94.577V-760h40v209.231H547.692v-40h148q-31.231-59.846-87.884-94.539Q551.154-720 483.077-720q-100 0-170 70t-70 170q0 100 70 170t170 70q77 0 139-44t87-116h42.462Q725.077-310.154 651-255.077T483.077-200Z"/></svg>
+<svg height="24" viewBox="0 -960 960 960" width="24" version="1.1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"><path fill="#ffffff" d="m 480.42614,-183.60711 q -124.64969,0 -211.1603,-86.10108 -86.5106,-86.10213 -86.5106,-210.16267 0,-124.06054 86.5106,-210.29181 86.51061,-86.23022 211.1603,-86.23022 75.80828,0 141.96564,35.86777 66.15842,35.86883 106.63848,100.11411 v -135.98188 h 42.52441 v 221.48065 H 549.11902 v -42.34184 h 157.34034 q -33.202,-63.34975 -93.4304,-100.07389 -60.22945,-36.72308 -132.60282,-36.72308 -106.31104,0 -180.72876,74.09823 -74.41773,74.09822 -74.41773,179.95282 0,105.8546 74.41773,179.95282 74.41772,74.09823 180.72876,74.09823 81.8595,0 147.77235,-46.57602 65.91284,-46.57603 92.4906,-122.79135 h 45.14179 q -28.13202,95.10613 -106.88405,153.40767 -78.75202,58.30154 -178.52069,58.30154 z" style="stroke-width:1.06083"/></svg>

+ 1 - 0
assets/resources.json

@@ -11,6 +11,7 @@
   "icon-error": "icons/error.svg",
   "icon-experimental": "icons/beaker_small.svg",
   "icon-globe": "icons/globe.svg",
+  "icon-globe_small": "icons/globe_small.svg",
   "icon-help": "icons/help.svg",
   "icon-image_filled": "icons/image_filled.svg",
   "icon-image": "icons/image.svg",

+ 1 - 1
src/features/index.ts

@@ -45,7 +45,7 @@ const combineAdornments = (
 const adornments = {
   advanced: async () => getAdornHtml("bytm-advanced-mode-icon", t("advanced_mode"), "icon-advanced_mode"),
   experimental: async () => getAdornHtml("bytm-experimental-icon", t("experimental_feature"), "icon-experimental"),
-  globe: async () => await resourceToHTMLString("icon-globe") ?? "",
+  globe: async () => await resourceToHTMLString("icon-globe_small") ?? "",
   warning: async (title: string) => getAdornHtml("bytm-warning-icon", title, "icon-error", "role=\"alert\""),
   reloadRequired: async () => getFeatures().advancedMode ? getAdornHtml("bytm-reload-icon", t("feature_requires_reload"), "icon-reload") : undefined,
 } satisfies Record<string, (...args: any[]) => Promise<string | undefined>>;

Some files were not shown because too many files changed in this diff