Created
March 26, 2024 22:47
-
-
Save punamdahiya/99e7c1a2933f1797809d83d00a48ecc1 to your computer and use it in GitHub Desktop.
Wallpaper-Spotlight-JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "MULTISTAGE_SPOTLIGHT_MESSAGE", | |
"template": "spotlight", | |
"content": { | |
"id": "MULTISTAGE_SPOTLIGHT_MESSAGE", | |
"template": "multistage", | |
"backdrop": "transparent", | |
"transitions": true, | |
"screens": [ | |
{ | |
"id": "AW_CHOOSE_THEME", | |
"targeting": "localeLanguageCode == 'en'", | |
"content": { | |
"logo": {}, | |
"title": { | |
"string_id": "mr1-onboarding-theme-header" | |
}, | |
"subtitle": { | |
"string_id": "mr1-onboarding-theme-subtitle" | |
}, | |
"tiles": { | |
"type": "theme", | |
"category": { | |
"type": "wallpaper", | |
"action": { | |
"type": "SET_PREF", | |
"data": { | |
"pref": { | |
"name": "browser.firefox-view.feature-tour" | |
} | |
} | |
} | |
}, | |
"action": { | |
"theme": "<event>" | |
}, | |
"data": [ | |
{ | |
"theme": "automatic", | |
"label": "A1" | |
}, | |
{ | |
"theme": "light", | |
"label": "A2" | |
}, | |
{ | |
"theme": "dark", | |
"label": "A3" | |
}, | |
{ | |
"theme": "alpenglow", | |
"label": "A4" | |
} | |
] | |
}, | |
"primary_button": { | |
"label": { | |
"marginBlock": "4px 0", | |
"raw": "Save theme" | |
}, | |
"action": { | |
"navigate": true | |
} | |
}, | |
"additional_button": { | |
"label": "Explore more themes", | |
"style": "link", | |
"flow": "column", | |
"action": { | |
"type": "OPEN_URL", | |
"data": { | |
"args": "https://addons.mozilla.org/firefox/themes/", | |
"where": "tab" | |
}, | |
"navigate": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr1-onboarding-theme-secondary-button-label" | |
}, | |
"action": { | |
"theme": "automatic", | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
} | |
} | |
} | |
] | |
}, | |
"frequency": { | |
"lifetime": 3 | |
}, | |
"trigger": { | |
"id": "defaultBrowserCheck" | |
}, | |
"targeting": "true" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment