cursor
cursor copied to clipboard
Issue while toggling between light and dark theme
- ctrl + shift + p to open command palette
- Select Toggle between light/ Dark theme
- Light theme not applying
Similarly, the theme settings are not persisted/respected for me. It keeps resetting to Anysphere Dark, even though I've set it to Light Modern.
When does the theme get reset for you? Is it on update?
I’m not totally sure. It might be when I open my laptop after it being asleep.
On Wed, Aug 30, 2023 at 15:36 Michael Truell @.***> wrote:
When does the theme get reset for you? Is it on update?
— Reply to this email directly, view it on GitHub https://github.com/getcursor/cursor/issues/821#issuecomment-1699943898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGKTA3QOTHHFC4T4GKBYLLXX656HANCNFSM6AAAAAA4BVEB2M . You are receiving this because you commented.Message ID: @.***>
Similarly, the theme settings are not persisted/respected for me. It keeps resetting to Anysphere Dark, even though I've set it to Light Modern.
Mine also keeps resetting to Anysphere Dark. Not the end of the world, but rounding off these rough edges are important for the transition from VSCode to feel smooth.
I'm not exactly sure but I feel like mine can reset up to a couple of times per day.
I tested a bit @truell20, and the Cursor theme resets to Anysphere Dark whenever I toggle my system appearance (light/dark mode) on MacOS.
+1, This consistently just sets the default dark theme for me whenever "toggle" is chosen.
Going into the editor settings, Anysphere Dark was set as the default light theme (Workbench: Preferred Light Color Theme) on a fresh install, and updating that to an actual light theme light Light+ fixed the issue for me.
Had the same issue. Was trying to toggle from dark to light and it seemed like the toggle wsn't doing anything. For some reason, the default theme for light mode is a dark theme. Followed @matthewlewisnewton advice to fix it. This issue is spefific to Cursor and I haven't ran into it in vsc.
I think the issue is some code cursor is using to set the default theme to Anysphere Dark instead of whatever the vscode theme is, also sets the light theme. They should pick a light theme and override that too if they want it to have different themes on startup (or better yet just inherit the themes like it inherits everything else from vscode, but I suspect that anysphere was intentionally chosen to make it stand out from the base vscode install).
I was close to going crazy with Cursor resetting my themes to Anysphere every time when toggling between files, no matter what I did. Finally I found out that:
- even a fresh install of Cursor would always auto-import my VS Code extensions, despite telling it not to
- having the Sundial extension for toggling between dark/light themes was fundamentally incompatible with Cursor (despite having no issues in my regular VS Code install)
So far, removing the Sundial extension seems to have fixed the issue. Still I feel like Cursor has somehow implemented custom theme functionality that should not be there.
+1
I still faced the dark/light mode issue with a fresh install of Cursor. Toggling appearance with the command palette did nothing as both the light and dark theme are set to the same, Cursor Dark Anysphere. Not a big issue but also not something I expected to waste my time on having to figure out.
I'm having similar issues, toggling light to dark isn't changing anything
Same issue here :(
+1
Instructions to fix it:
- Open VS Code settings ("Ctrl+Shift+P" => Open VS Code Settings)
- Go to work bench and check "auto detect color theme":
- Go to workbench and change theme for light mode:
Alternatively, you can do Ctrl+Shift+P, Open User Settings (JSON) and add this data:
{
"window.autoDetectColorScheme": true,
"workbench.preferredLightColorTheme": "Visual Studio Light"
}
Now cursor will have light/dark mode depending on OS theme.
If you just want "toggle light/dark mode" to work, this is enough:
{
"workbench.preferredLightColorTheme": "Visual Studio Light"
}
I have the same issue. I guess its related to windows preferred theme. I am using my windows with light theme.
To fix it i put "workbench.preferredLightColorTheme": "Visual Studio Light" to user settings.