Gradient ThemeEnglish | 中文文档 Current repository link. If you like it, please give it a star! WarningAlthough the warning will not affect any functionality, If you are very concerned about the VSCode "corrupted" warning prompt, it is not recommended to use this theme. If you do not want to ignore the "corrupted" warning prompt, please consider carefully whether to use this theme. To be honest, I was very mind at first, but after I ignored the "corrupted" warning prompt, I no longer cared. Themes
InspirationOne day, I saw a video where someone modified the VSCode theme's CSS file themselves. So I thought I could use the same method to create a VSCode gradient effect CSS file, Then I started using Custom CSS and JS Loader plugin to load the custom gradient CSS, Later, many people thought my gradient theme was very beautiful and wanted to use it on their own VSCode, But to use it, they needed to install a plugin and I had to give them a CSS file, which was too troublesome! So I learned how to make a VSCode theme plugin and made this gradient theme plugin. Installation
After installation, you can choose the base theme, there is no gradient effect at this time, if you want to enable the gradient effect, please see the next step. Why isn't the gradient effect enabled directly? Because enabling the gradient effect will modify the core files of VSCode, which will be interpreted as "corrupted" by VSCode, and you may see a warning prompt when restarting the editor, but you can safely ignore this message. If you don't want to ignore the warning prompt, please consider carefully whether to use this theme. Gradient EffectsEnable GradientYou can enable it by pressing Disable GradientYou can disable it by pressing Restart EditorAfter enabling or disabling the gradient effect, there will be a prompt, click to restart the editor to see the gradient effect. Custom ThemeWhen you feel that the current gradient theme effect is not good, you can customize the gradient theme yourself. Please note that if you have enabled custom gradient effects, regardless of which theme you switch to, the gradient effects will be displayed as your own. At present, the first version of the custom theme function is simple, and it will be further improved in the future. Customized theme video teaching address, to be supplemented. 1. Open Settings2. Find gradient theme settingsOpen the settings, search for 'gradient css', find' Gradient Theme: CSS', and click on 'edit in settings. json'. 3. Add custom gradient styleAdd custom CSS, array types, and support for writing multiple gradient styles in seting.json, but only one will take effect` 'enable' means true to enable this custom gradient theme CSS, 'false' means off, and 'css' means the content of the custom gradient theme CSS. Note that CSS needs to be compressed into one line. The compression method can refer to [Online Compression Tool]( https://tool.chinaz.com/tools/cssformat.aspx ). 4. Enable gradient and restart the editorAfter writing CSS, you need to manually enable gradient and restart the editor. The method of enabling gradients is mentioned above in the document. Please Note1. Ignore the "Corrupted" Warning PromptPlease note that since enabling the gradient effect modifies the core files of VSCode, VSCode will interpret it as a "corrupted" core file, and you may see a warning prompt when restarting the editor, which you can safely ignore. If you do not want to ignore the warning prompt, please consider carefully whether to use this theme. 2. Execute Enable command, prompt no permissionIf you are a Windows user, you may need to run VS Code with administrator privileges. For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions. 3. Update VSCodePlease note that after each update of VSCode, you need to repeat the steps to re-enable the gradient effect. 4. Switch to Other ThemesPlease note that if you have enabled the gradient effect and want to switch to another theme, you can first disable the gradient effect and then choose another theme, otherwise the gradient theme will affect the colors of other themes. CompatibilityThis theme is still being updated and optimized. I mainly use HTML, CSS, JS, TS, Vue, React, etc. for development, so although these languages and frameworks look good, other languages and frameworks may not be suitable for the theme. If you find any obvious problems, you can raise an issue, and I will resolve it as soon as possible. How to ContributeI'm glad you're interested in this theme, and any suitable contribution is welcome.
ThanksThanks to Lun Dev for inspiring me to create this gradient theme. 🙏 Thanks to the authors of the following themes for their contributions to open source. 🙏 I made gradient effects for each theme based on the following themes. |