Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abeade/figma-import-plugin

A plugin for Android Studio to import figma resources
https://github.com/abeade/figma-import-plugin

android android-studio figma intellij-plugin kotlin

Last synced: 7 days ago
JSON representation

A plugin for Android Studio to import figma resources

Awesome Lists containing this project

README

        

![Build](https://github.com/abeade/figma-import-plugin/workflows/Build/badge.svg)
![JetBrains IntelliJ Plugins](https://img.shields.io/jetbrains/plugin/v/12037-import-figma-resources.svg?color=green&style=plastic)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/12037-import-figma.svg)](https://plugins.jetbrains.com/plugin/12037-import-figma)

# Figma Import Plugin

Imports figma exported resources ZIP file containing PNG or JPG files by matching its suffixes with density folders

# Installation
You can install the plugin from the [Plugin Repository](https://plugins.jetbrains.com/plugin/12037-import-figma-resources).

Or you can download the latest binary from [releases](https://github.com/abeade/figma-import-plugin/releases) on this repo

# Usage
The plugin installs one menu entry under the context menu when click over a `res` folder in a project:

When using this option an import dialog will be shown:

In it you need to select the ZIP file, once selected the purpose resource name will be filled (you can change it if you need it) and matched and not matched suffixes will show an icon on right side.

Optionally, you can add qualifiers to the resource folders.

The "Remember suffixes" check allows to store the given suffixes for next plugin executions.

By selecting "Launch WebP conversion after import" check, the WebP conversion will be executed over the imported resources.

# Setup
You can change the proposed resource prefix and the folder creation policy in the plugin settings: