Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy way to switch theme variant? #53

Closed
oversoul opened this issue May 20, 2024 · 2 comments · Fixed by #56
Closed

Easy way to switch theme variant? #53

oversoul opened this issue May 20, 2024 · 2 comments · Fixed by #56
Labels
question Further information is requested

Comments

@oversoul
Copy link

oversoul commented May 20, 2024

Question or Suggestion

Hello,
really Thank you for the theme!

I'm wondering if there is a simple way to switch the theme variant.

maybe using set background=light

@oversoul oversoul added the question Further information is requested label May 20, 2024
@scottmckendry
Copy link
Owner

Thanks for the suggestion! I've implemented this in the light-dark-toggle branch. You can try it out by adding the branch option to your config (if you're using lazy).

return {
    "scottmckendry/cyberdream.nvim",
    branch = "light-dark-toggle",
    lazy = false,
    priority = 1000,
    config = function()
        require("cyberdream").setup({
            transparent = false,
            italic_comments = true,
            hide_fillchars = true,
        })
        vim.cmd("colorscheme cyberdream")
    end,
}

To toggle between light & dark modes, run :CyberdreamToggleMode.

If you're using Lualine, its theme will also be swapped. Let me know if this is what you had in mind!

@scottmckendry scottmckendry added the waiting for op This issue is waiting for a response from the original poster label May 21, 2024
@oversoul
Copy link
Author

Thank you @scottmckendry that's exactly what I had in mind.
I'm not using lualine, but the theme variant swap works fine.
Thank you again!

@scottmckendry scottmckendry removed the waiting for op This issue is waiting for a response from the original poster label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants