{"version":"1.0","type":"rich","title":"Change font family for all text layers in Sketch","description":"This example demonstrates a Sketch plugin that changes the font family of all text layers in a document. It shows how the plugin recursively traverses pages, artboards, groups, and layers to locate every `MSTextLayer` and apply a user-specified font name via `setFontPostscriptName`. The code uses the Sketch plugin API, including `askForUserInput`, `MSArtboardGroup`, `MSLayerGroup`, and layer hierarchy navigation. If a selection exists, it processes only selected layers; otherwise, it iterates through all pages and their artboards, logging traversal details to the console.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-e3e8dbc7f6015d30fe960ea0441f20b4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}