Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

add image to my custom theme with manifest.jsn

  • 2 תגובות
  • 1 has this problem
  • 1 view
  • תגובה אחרונה מאת cor-el

more options

I have been trying to edit a preexisting theme from mozilla store by using this link. I was wondering whether there was a way to make a section other than the top header an image, because in the colors bit I can only add rgb or css color string.

Here is the code just in case: {

 "manifest_version": 2,
 "version": "1.0",
 "name": "Animated Kimi no Na wa",
 "theme": {
   "images": {
     "additional_backgrounds": [
       "images/your_name-cropped.gif"
     ]
   },
   "properties": {
     "additional_backgrounds_alignment": [
       "center center"
     ],
     "additional_backgrounds_tiling": [
       "repeat"
     ]
   },
   "colors": {
     "toolbar": "rgba(31, 34, 61, 0.24)",
     "toolbar_text": "rgb(180, 201, 240)",
     "frame": "rgb(8, 11, 33)",
     "tab_background_text": "rgb(255,255,255)",
     "toolbar_field": "rgba(54, 58, 89, 0.69)",
     "toolbar_field_text": "rgb(255, 255, 255)",
     "tab_line": "rgb(205, 35, 185)",
     "popup": "rgb(31, 34, 61)",
     "popup_text": "rgb(215, 226, 239)",
     "popup_highlight": "rgb(205, 35, 185)",
     "popup_highlight_text": "rgb(180, 201, 240)",
     "tab_loading": "rgb(205, 35, 185)",
     "ntp_background": "rgb(42,42,46)"
   }
 }

}

I have been trying to edit a preexisting theme from mozilla store by using [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/theme#images this link]. I was wondering whether there was a way to make a section other than the top header an image, because in the colors bit I can only add rgb or css color string. Here is the code just in case: { "manifest_version": 2, "version": "1.0", "name": "Animated Kimi no Na wa", "theme": { "images": { "additional_backgrounds": [ "images/your_name-cropped.gif" ] }, "properties": { "additional_backgrounds_alignment": [ "center center" ], "additional_backgrounds_tiling": [ "repeat" ] }, "colors": { "toolbar": "rgba(31, 34, 61, 0.24)", "toolbar_text": "rgb(180, 201, 240)", "frame": "rgb(8, 11, 33)", "tab_background_text": "rgb(255,255,255)", "toolbar_field": "rgba(54, 58, 89, 0.69)", "toolbar_field_text": "rgb(255, 255, 255)", "tab_line": "rgb(205, 35, 185)", "popup": "rgb(31, 34, 61)", "popup_text": "rgb(215, 226, 239)", "popup_highlight": "rgb(205, 35, 185)", "popup_highlight_text": "rgb(180, 201, 240)", "tab_loading": "rgb(205, 35, 185)", "ntp_background": "rgb(42,42,46)" } } }

כל התגובות (2)

more options

Sorry, I meant manifest.json in the title, that was a typo

more options

Best is to take this to the Add-ons forum on Discourse.