is it neccesary to keep the fact that i'm using dark/light mode in a svelte project…
- User
is it neccesary to keep the fact that i'm using dark/light mode in a svelte project inside the copilot-instructions file in vscode? or will it pick that up automatically?
Assistant
VSCode Copilot won't automatically pick up your dark/light mode preference from your Svelte project. If you want Copilot to generate code that's aware of your theme system (like using specific CSS variables, class names, or theme-aware components), you should include that information in your copilot-instructions file.
For example, if your project uses specific conventions like:
- CSS variables (
--color-background,--color-text) - Class names (
dark:bg-gray-900,light:bg-white) - A theme store (
$theme) - Specific component patterns for theme switching
- CSS variables (
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.