Designer News
Where the design community meets.
GUI Designer Joined over 8 years ago
Hung hasn't posted any stories yet.
Redesign the icon and UI.
Sketch - Plugins - Run Script..., replace with these code, then save.
var artboards = context.document.currentPage().artboards(); for (var i = 0; i < artboards.count(); i++) { var artboard = artboards.objectAtIndex(i); if(artboard.layout()) { artboard.layout().setIsEnabled(false); } }
Hi, I made a HSL Color Picker plugin for Sketch.
I made a Sketch plugin design systems.
The link is old, check this https://github.com/Ashung/Automate-Sketch for full features.
Use system color panel, "View" - "Show Colors", in the "Color Palettes" tab, click the gear icon to create new palettes.
The palettes file will saved in "~/Library/Colors/".
Hung hasn't upvoted anything yet.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
The follow script will unlink all imported symbols to local symbol. Backup your file, then running the script.
var documentData = context.document.documentData();
for (var i = 0; i < documentData.foreignSymbols().count(); i++) {
var foreignSymbol = documentData.foreignSymbols().objectAtIndex(i);
foreignSymbol.convertToLocalSymbolMaster();
}
To unlink imported symbols from a library, you can change the script like this.
var documentData = context.document.documentData();
for (var i = 0; i < documentData.foreignSymbols().count(); i++) {
var foreignSymbol = documentData.foreignSymbols().objectAtIndex(i);
// if (foreignSymbol..libraryID() == "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX") {
if (foreignSymbol.sourceLibraryName() == "Library Name") {
foreignSymbol.convertToLocalSymbolMaster();
}
}