Files
Simon Hong f064098d43 Cleanup deprecated brave theme apis (#32089)
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.
2025-10-30 09:24:51 +09:00

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)"
}
]
}
]
}
]