Git Product home page Git Product logo

elm-designer's Introduction

Elm Designer—A code generator for Elm UI

Elm Designer interface

Current status

The application is in early stages of development and supports a subset of Elm UI.

Version 0.1 goals are:

  • Create and transform simple designs into Elm code
  • Auto-save designs into browser localStorage
  • Cover Elm UI row, column, textColumn layout primitives and most of the form widgets; support padding and spacing; allow fonts formatting with native and external web fonts (thanks to Google Fonts)

Download

Elm Designer is distributed as an Electron app. Right now there’s a macOS binary available to download and you can run Elm Designer sources on Windows and Linux systems via CLI.

Known issues

  • Color picker is quite limited at the moment since Elm Designer is using HTML 5 input type=color. Specifically you can't reset a color or specify inherit. See #1
  • When switching fonts the weight of the new font should match, or be closer as possible, to the old one. See #2
  • "Insert" menu allows to create non-renderable nodes. See #20
  • Non-fluid pages larger than current workspace dimensions push right panel out of app window

Build Elm Designer from sources

If you need to edit the source files the makefile on the repository root contains a bunch on tasks which automate the most common operations.

Install Parcel

Elm Designer uses Parcel to compile Elm and SASS source files. Please read up these instructions to install Parcel 1.12.4 before building Elm Designer from sources.

Run with Electron

You can run Electron as a command-line app and then point it to the main.js entry point.

So, first install Electron and all its dependencies locally:

npm ci

Then run:

make run

This will build the app assets with Parcel in production mode, copy the files into the electron-app folder in the repo, and finally run Electron itself.

elm-designer's People

Contributors

charlontank avatar passiomatic avatar

Forkers

metavai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.