Token Swapper
Swap selected variables and styles to another theme, based on a folder/group name
Plugin Preview
About this plugin
❗ Currently in BETA - let me know in comments below if you find bugs!
Instantly switch to a different theme by swaping variables and styles in your screens/components.
How it works:
1. Create your styles and variables having a theme name as a top folder name, e.g.:
2. Use your theme variables and styles in components and screens.
3. Select any element (component, frame, or text)
4. Pick themes to swap from and to (e.g. "ThemeB" → "ThemeC")
5. Swap all variables and styles within a selection with just one click!
Save time and effort in your design process by quickly adapting your screens to various themes.
Unlike Figma Modes, this gives you unlimited amount of Themes you can create and use!
---
⚠️ Themes are derived only from all top-level variable and style folder names.
Supported Figma Variables:
- Fill color
- Stroke color
- Stroke width
- Gradient stop color
- Corner radius
- Shadow color
- Size
- Gap, Padding
- Opacity
- Show/Hide
Supported Figma Styles:
- Color
- Text
- Effect
Will be adding more, let me know if something is not working as expected!
Enjoy! 😎
Plugin Details
Version | 12 |
---|---|
Created | September 5, 2024 |
Last Updated | October 14, 2024 |
Category | File organization plugins |
Creator | Edgaras Benediktavicius |
Stats | 65 installs, 12 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the File organization plugins category.