Issue: brave/brave-browser#40863 This is the effort to reduce the size of #31939 and only removes already deprecated codes that refers brave dark theme api.
28 lines
775 B
JSON
28 lines
775 B
JSON
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
[
|
|
{
|
|
"namespace": "braveTheme",
|
|
"description": "Use the <code>chrome.braveTheme</code> API to get/set brave theme",
|
|
"compiler_options": {
|
|
"implemented_in": "brave/browser/extensions/api/brave_theme_api.h"
|
|
},
|
|
"functions": [
|
|
{
|
|
"name": "setBraveThemeType",
|
|
"type": "function",
|
|
"description": "Set current theme type",
|
|
"parameters": [
|
|
{
|
|
"name": "type",
|
|
"type": "string",
|
|
"description": "current theme type (Dark or Light)"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|