Skip to content

Figma to sketch conversion

Actions
Figma to sketch conversion
v1.1.0
Latest
Star (7)

GitHub action to convert Figma files to Sketch ones

Join the #design-system channel Get invited

This action converts Figma files to Sketch ones using fig2sketch utility.

Inputs

The following inputs briefly explained here are fully declared and documented in the action.yaml:

  • files [Required] - Figma files to convert separated by |.
  • output_files [Required] - Sketch files produced separated by |.

Examples

Include this action in your repo by creating .github/workflows/fig2sketch.ymland edit where needed:

jobs:
  examplejob:
    runs-on: ubuntu-latest
    name: Convert Figma files to Sketch ones
    steps:
    - uses: actions/checkout@v2
    - uses: italia/[email protected]
      with:
        files: "my_ui.fig|my_best.fig"
        output_files: "my_ui.sketch|my_best.sketch"

Development

You can test this action creating a test_files folder, ann .env file

INPUT_FILES=./test_files/test-ui.fig
INPUT_OUTPUT_FILES=./test_files/test-ui.sketch

and a docker-compose.yml

version: '3.3'

services:
  build:
    image: italia/figma-to-sketch-action
    container_name: figma2sketch-action
    build:
      context: ./
      dockerfile: Dockerfile
    env_file:
      - .env
    volumes:
      - ./test_files:/test_files
    networks:
      - overlay

networks:
  overlay:

Contributing

Contributing is always appreciated. Feel free to open issues, fork or submit a Pull Request. If you want to know more about how to add new fields, check out CONTRIBUTING.md. In order to support other country-specific extensions in addition to Italy some refactoring might be needed.

Maintainers

This software is maintained by the Developers Italia team.

License

© 2024 Dipartimento per la Trasformazione Digitale - Presidenza del Consiglio dei Ministri

Licensed under the EUPL. The version control system provides attribution for specific lines of code.

Remarks

This GitHub Action is published in the Github Marketplace. As such, you can find the Terms of Service here. Also, here you can find the GitHub Marketplace Developer Agreement.

Figma to sketch conversion is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Figma to sketch conversion
v1.1.0
Latest

Figma to sketch conversion is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.