зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao
This commit is contained in:
Родитель
2bb107325a
Коммит
6e2726ff71
|
@ -17,7 +17,10 @@ const ADDON_TYPE_WEBEXT = "webextension-theme";
|
|||
|
||||
const URI_EXTENSION_STRINGS = "chrome://mozapps/locale/extensions/extensions.properties";
|
||||
|
||||
const DARK_THEME_ID = "firefox-compact-dark@mozilla.org";
|
||||
const DARK_THEME_ID = Services.appinfo.name ?
|
||||
Services.appinfo.name.toLowerCase() +
|
||||
"-compact-dark@mozilla.org" :
|
||||
"firefox-compact-dark@mozilla.org";
|
||||
const DEFAULT_THEME_ID = "default-theme@mozilla.org";
|
||||
const DEFAULT_MAX_USED_THEMES_COUNT = 30;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче