Soluna
Soluna enhances your Visual Studio Code environment by automatically or manually toggling between your chosen day and night themes. It's designed to keep your workspace in harmony with your circadian rhythms and external lighting conditions.
Features
Soluna offers the following features to improve your VS Code experience:
- Automatic Theme Switching: Soluna can automatically switch between day and night themes based on specified times. This is ideal for users who prefer different themes during different parts of the day or night.
- Manual Theme Control: Quickly toggle between your predefined day and night themes with a simple click from the status bar.
Commands
Soluna includes several commands to customize and control theme settings:
soluna.switchToLightTheme
: Switches to your predefined day theme.
soluna.switchToDarkTheme
: Switches to your predefined night theme.
soluna.setPreferredLightTheme
: Allows you to select and set your preferred day theme from installed themes.
soluna.setPreferredDarkTheme
: Allows you to select and set your preferred night theme from installed themes.
soluna.enableAutomaticSwitching
: Enables automatic switching between themes based on the times you set.
soluna.disableAutomaticSwitching
: Disables automatic theme switching.
soluna.setSwitchToLightThemeTime
: Sets the time for automatically switching to the day theme.
soluna.setSwitchToDarkThemeTime
: Sets the time for automatically switching to the night theme.
soluna.showCommandsMenu
: Displays a menu with all Soluna commands for easy access.
Installation
You can install Soluna from the Visual Studio Code Marketplace:
- Open VS Code.
- Navigate to the Extensions view by clicking on the square icon on the sidebar or pressing
Ctrl+Shift+X
.
- Search for "Soluna".
- Click on the Install button.
Usage
To use Soluna, you can access its commands through the Command Palette or by clicking the Soluna icon in the status bar:
- Open the Command Palette (
Ctrl+Shift+P
or Cmd+Shift+P
on macOS).
- Type
Soluna
to see all available commands.
- Select a command to execute.
Or you can use the Soluna
button avaiable below on the status bar which would display all the available commands.
For automatic theme switching, make sure to enable automatic switching via enableAutomaticSwitching
command and configure your preferred themes and set the appropriate times for switching.
Day & Night Switching works by dividing the full 24 hours into two periods, each based on the times you set for both day and night.
The Default values:
- Day Theme:
Default Light+
- Night Theme:
Default Dark+
- Automatic Switching:
false
- Day Theme Time:
08:00
- Night Theme Time:
20:00
Contributing
Contributions are always welcome! Please read the contributing guidelines in CONTRIBUTING.md
to get started.
License
This project is licensed under the MIT License - see the LICENSE.md
file for details.
Support
If you encounter any issues or have suggestions for improvements, please file an issue on the GitHub repository.
Enjoy!