mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
feat(themes): let app themes set the code editor selection color (#42349)
* feat(themes): let app themes set the code editor selection color * docs(themes): keep the editor selection translucent; rewrap
This commit is contained in:
@@ -74,7 +74,9 @@ const PLUGIN_APP_THEME_CSS_FALLBACKS: Record<
|
||||
light: { tint: '--text-link', percent: 30, into: '--chat-canvas' },
|
||||
dark: { tint: '--text-link', percent: 40, into: '--chat-canvas' }
|
||||
},
|
||||
'--chat-selection-foreground': ['--foreground']
|
||||
'--chat-selection-foreground': ['--foreground'],
|
||||
// Monaco paints this one, not main.css (plugin-monaco-theme.ts).
|
||||
'--editor-selection': { tint: '--ring', percent: 30 }
|
||||
}
|
||||
|
||||
export function pluginAppThemeCssFallback(
|
||||
|
||||
Reference in New Issue
Block a user