Created
March 20, 2024 16:59
-
-
Save punamdahiya/531a8acc153a00508f38f7740d29e810 to your computer and use it in GitHub Desktop.
Theme with wallpaper Category
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: "AW_CHOOSE_THEME", | |
targeting: "localeLanguageCode == 'en'", | |
content: { | |
position: "split", | |
split_narrow_bkg_position: "-58px", | |
background: | |
"url('chrome://activity-stream/content/data/content/assets/mr-amo-collection.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
progress_bar: true, | |
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, | |
}, | |
}, | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment