diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b9dc23a..030847f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -23,7 +23,7 @@ } ], "security": { - "csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' asset: https://asset.localhost data:; connect-src 'self' ipc: http://ipc.localhost" + "csp": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' asset: https://asset.localhost data:; connect-src 'self' ipc: http://ipc.localhost" }, "withGlobalTauri": false }, diff --git a/src/assets/css/terminal.css b/src/assets/css/terminal.css index c4ff062..6eaac7f 100644 --- a/src/assets/css/terminal.css +++ b/src/assets/css/terminal.css @@ -20,9 +20,11 @@ height: 100%; } -/* Selection styling */ +/* Selection styling — let xterm.js theme handle selection colors. + The !important override was removed because it conflicts with + theme-driven selectionBackground set via terminal.options.theme. */ .terminal-container .xterm-selection div { - background-color: rgba(88, 166, 255, 0.3) !important; + background-color: rgba(88, 166, 255, 0.3); } /* Cursor styling */ diff --git a/src/components/common/StatusBar.vue b/src/components/common/StatusBar.vue index 2a44ae2..476296f 100644 --- a/src/components/common/StatusBar.vue +++ b/src/components/common/StatusBar.vue @@ -1,5 +1,5 @@