The Settler — localiser for external (or missing) alias variables
Settle down your external alias variables (Localise missing or external aliases of your variables)
Plugin Preview
About this plugin
(Русский внизу 👇)
en:
This plugin localises all alias variables that refer to missing base variables (those located in external files or simply deleted)
🎦 Video demonstration: https://youtu.be/f9Ofv7lB-Lk
Why is this a problem?! Figma doesn't care about these links, it doesn't transfer them to the new file, but leaves the links to the companion variables (base/master variables) in the old file. And this isn't what you expect when you copy variables :)
In simple words, what the plugin does:
- It looks for alias variables that have a reference to base variables that didn't make it to this file (either left in another file or simply missing)
- Creates copies of such variables in this file
- Rebinds the alias variable, changing the reference from the external master variable (base variable) to the newly created local one
Works for variables of all types:
- color,
- text,
- boolean,
- numeric
It should work with multiple mods, but I haven't tested this part.
ru:
Плагин поможет, когда вы взяли и "тупа" скопировали переменные из другого файла, а там были алиасы (переменные ссылались на другие переменные).
🎦 Видео-демонстрация: https://youtu.be/f9Ofv7lB-Lk
Но вот незадача! Figma не заботиться об этих связях, она не переносит их в новый файл, а оставляет ссылки на переменные-спутники (базовые/мастер-переменные) в старом файле. А это вообще не то, чего ждёшь, когда копируешь переменные :)
Простыми словами, что делает плагин:
- Ищет переменные-алиасы, которые ссылаются на базовые переменные, не дошедшие до этого файла (либо оставшиеся в другом файле, либо пропавшие без вести)
- Создает копии таких переменных в этом файле
- Перевязывает алиас-переменную, меняя ссылку с внешней мастер-переменной (базовой переменной) на локальную
Работает для переменных всех типов:
- цветовые,
- текстовые,
- булевы,
- числовые
По идее, должно работает и с множественными модами, но я не тестил этот момент
Plugin Details
Version | 2 |
---|---|
Created | February 10, 2025 |
Last Updated | April 11, 2025 |
Category | File organization plugins |
Creator | The |
Stats | 14 installs, 11 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- https://rsms.me
More Like This
Discover other plugins in the File organization plugins category.