mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Add darkmode support for the settings window (#494)
This commit is contained in:
committed by
GitHub
parent
c8039828fa
commit
52b15f29ad
26
src/settings-web/index-dark.html
Normal file
26
src/settings-web/index-dark.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
window.output_from_webview = function(arg) {
|
||||
if (typeof (window.external) !== 'undefined' && ('notify' in window.external)) {
|
||||
window.external.notify(arg);
|
||||
}
|
||||
}
|
||||
function receive_from_settings_app(arg) {
|
||||
window.react_app_component.receive_config_msg(JSON.parse(arg));
|
||||
return '';
|
||||
}
|
||||
function exit_settings_app() {
|
||||
window.react_app_component.receive_exit_request();
|
||||
return '';
|
||||
}
|
||||
window.start_with_dark_theme = true;
|
||||
</script>
|
||||
<title>PowerToys Settings</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="dist/bundle.js" charset="UTF-8"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user