This extension provides a dark theme for Visual Studio Code that is inspired by the colors of the Palestinian flag. It has been carefully crafted to provide a visually comfortable coding experience, particularly suitable for long sessions in low-light environments.
The theme incorporates the flag's characteristic colors (black, white, green, and red) in a balanced way that enhances readability and minimizes eye strain.
- Dark background to reduce glare and eye strain.
- Syntax highlighting that reflects the Palestinian flag's color scheme.
- Customized colors for UI components such as buttons, selection, and hover states.
Before you begin, ensure you have the following installed:
- Visual Studio Code
- Node.js (which comes with npm)
Since this theme is not published on the Visual Studio Code Extension Marketplace, you will need to install it manually. You can either install it using the vsix file or build it from source. The vsix sources are being built and released automatically to this repository using GitHub Actions. Check the releases section for the latest version.
If you want to build the extension from source, you will need to clone this repository and package it yourself. Here are the steps to do so:
-
Clone the repository to your local machine using Git:
git clone https://github.com/MohamedElashri/pal-theme cd palestinian-flag-dark-theme-vscode
-
Install the Visual Studio Code Extension Manager (
vsce
) globally if you haven't already:npm install -g vsce
-
Navigate to the root directory of the theme and package the extension:
vsce package
This will create a
.vsix
file which is the packaged extension. -
Install the packaged extension to your Visual Studio Code:
code --install-extension palestinian-flag-dark-theme-*.vsix
Replace
palestinian-flag-dark-theme-*.vsix
with the actual name of the file generated byvsce
.
After installation, you can activate the theme by following these steps:
- Open Visual Studio Code.
- Go to
View
>Command Palette
or pressCtrl+Shift+P
. - Type
Theme
, choosePreferences: Color Theme
, and selectPalestinian Flag Dark Inspired
.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this theme better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
Distributed under the MIT License. See LICENSE
for more information.
- Colors inspired by the Palestinian flag.
- The amazing community of VS Code theme creators for their inspiration and guidance.