mara-li5k downloadsCreate folder of snippets to activate them in one click!
-> FR
This plugin allow you to set group of CSS snippets to class them and enable them in one click (or command). Also, this plugin allows you to 'link' a group of snippets to a theme, enabling it when you switch theme ! It works also for switching between light & dark theme !
edit button to add CSS snippets to the groupAfter this, you have your group of CSS snippets ! 🎉🎉
The plugin will enable the enabled snippet, and disable the disabled snippets!
To run the commands, you can :
reload snippets to reload the group of snippets (and the newly added groups)Activate the group : ${groupName} to activate the groupYou can also enable every snippets in the group by clicking on the check icon. Clicking on the cross will disable every snippets in the group.
Also, and it's my game changer here! You can automatically switch group snippets based on your theme or color scheme!
The switch is based on the group name, and the theme name. The group name must include the theme name, and optionally the color scheme name based on dark or light.[^1]
For example, minimal dark will be enabled if you switch to the dark theme or from any theme to minimal, in a dark color scheme.
Warning
The plugin will differentiate mobile from phone : phone is your "smartphone", because this setting is based on your phone size. In the same idea, tablet is a bigger platform. So, amobilegroup will be enabled for both phone and tablet. For example, if you want to have a different group for your Iphone and your Ipad, you should create aphonegroup (for your Iphone) and atabletgroup (for your ipad).
Moreover, snippets linked to other theme (or color Scheme) will be disabled 😀 !
The plugin will also detect if you set a snippet for mobile or desktop. Just put :
Finally, each time you switch of theme/color scheme, the plugin will toggle[^2] snippets with a name containing :
When switching, the plugin will disable the snippets in the group that :
Normally, this plugin can totally override the Appareance for Snippets !
🗒️ Some notes : You need to reload the snippets (using the button refresh) when you remove snippets. But, no worry, the plugin can't activate snippet that doesn't exist ! It's just the list that need some refreshing :).

npm install in the cloned repositorynpm run build in the cloned repository to build the plugin, you can also use npm run dev to watch the changes ![^1]: The translation of the plugin apply for color scheme with addition with the english dark and light.
[^2]: Here, toggle meaning that the plugin will disable the disabled snippets and enable the enabled snippets in the group list, mimic the behavior of toggling snippet in the Snippet CSS from Appearance tab.