EasyLogic Studio is built using CSS and SVG to reduce the gap between web design and code. The goal is to have the same point in time between the designer's design and the developer's output.
- manual : https://www.easylogic.studio/docs/getting-started.html
- editor : https://editor-core.easylogic.studio/
- player: https://editor-core.easylogic.studio/player.html
- editor-with-plugin: https://editor.easylogic.studio/
This project is sapa based.
- Artboard
- Rect
- Circle
- Text
- Image
- SVG Path (with Rect, Circle)
- SVG Spline
- SVG Polygon
- SVG Star
- SVG TextPath
- Alignment
- Position
- Size (pixel based)
- Layout (flex, grid, abolute)
- Constraints (auto resizing)
- Many styling tools
- background (support resizing tool)
- font & text style
- gradient (multiple background images )
- border & radius
- filter
- clip-path (support svg path )
- box-shadows (multiple)
- text-shadows (multiple)
- Transition
- Animation & Keyframes
- Support cubic-bezier editor
- Support code viewer
- Support png & svg download
- Support mini path editor
- dark
- light
git clone https://github.com/easylogic/editor.git
cd editor
npm install npm run dev npm run build please refer to src/index.html, src/index.js
<body><divid="app"></div></body>importEasyLogicfrom"@easylogic/editor";varapp=newEasyLogic.createDesignEditor({container: document.getElementById('app'),data: {projects: [{itemType: 'project',layers: [{itemType: 'rect',x: 0,y: 0,width: 100,height: 100,'background-color': 'red'},{itemType: 'rect',x: 20,y: 20,width: 100,height: 100,'background-color': 'green'},{itemType: 'rect',x: 40,y: 40,width: 100,height: 100,'background-color': 'blue'}]}],},plugins: [// define plugin function(editor){console.log(editor);}]});You can set some useful configs.
varapp=newEasyLogic.createDesignEditor({container: document.getElementById('app'),config: {"style.canvas.backgroud.color": "#FDC111""show.ruler": false,"show.left.panel": false,"show.right.panel": false},})please refer to MakeEditor
