mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
splash.css painted html light and only switched body to dark, so the page canvas showed the light colour wherever a live resize outran relayout. Leave html unpainted so the canvas takes body's themed background. Also set the webview's background (not just the native window's) on a theme change; it otherwise kept the colour the window was created with.
27 lines
732 B
JSON
27 lines
732 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": [
|
|
"main",
|
|
"project-*",
|
|
"settings-*"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-internal-toggle-maximize",
|
|
"core:window:allow-set-title",
|
|
"core:window:allow-set-background-color",
|
|
"core:webview:allow-set-webview-zoom",
|
|
"core:webview:allow-set-webview-background-color",
|
|
"opener:default",
|
|
"opener:allow-reveal-item-in-dir",
|
|
"dialog:default",
|
|
"core:window:allow-destroy",
|
|
"core:window:allow-close"
|
|
]
|
|
}
|