Skip to content

@coderitual coderitual released this Jan 13, 2021 · 2 commits to master since this release

Features

  • Handle adding swatches to document (#210)
    image

  • Linear gradient: support all angles (#208)
    image

Bug fixes

  • Change closest matching font algorithm (#212)
Assets 3

@coderitual coderitual released this Sep 30, 2020 · 7 commits to master since this release

Fixes

  • support for Sketch >= v64 - replaced unmaintained dep with fork (ffe2e1f)
  • support for external svg images on xcode 11+ (e37e62a)
Assets 3
  • v4.4.0
  • bb8f677
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.4.0
  • bb8f677
  • Compare
    Choose a tag to compare
    Search for a tag

@matzimowski matzimowski released this Nov 15, 2019 · 11 commits to master since this release

Improvements

import {SMART_LAYOUT} from '@brainly/html-sketchapp/html2asketch/helpers/utils';

symbol.setGroupLayout(SMART_LAYOUT.HORIZONTALLY_CENTER);

smart-layout

  • ability to apply floating numbers on lineHeight values (by @cy-park)
Assets 3
  • v4.3.0
  • 4a1e9af
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.3.0
  • 4a1e9af
  • Compare
    Choose a tag to compare
    Search for a tag

@kdzwinel kdzwinel released this Aug 23, 2019 · 13 commits to master since this release

Fixes

  • Project dependency updates by @burakukula
  • Absolutely positioned nodes are now correctly sorted by their z-index (by @jostermanAtPEW)

API Improvements

const doc = new Document();
const boxNode = document.querySelector('box');
const boxLayer = nodeToSketchLayers(boxNode)[0];

boxLayer.setName('Box');
doc.addLayerStyle(boxLayer); // 🆕 
  • when using asketch2sketch directly, you can now specify not to clear the page and shared styles (by @KimDal-hyeong)
Assets 3
  • v4.2.0
  • 3d04df2
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.2.0
  • 3d04df2
  • Compare
    Choose a tag to compare
    Search for a tag

@burakukula burakukula released this Mar 2, 2019 · 20 commits to master since this release

Fixes

Fix color handling to work with Sketch v.53

Improvements

  • adding isLocked method useful to locking the layer, which will prevent it from being editable from the Overrides panel.
Assets 3
  • v4.1.0
  • 0fb3b82
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.1.0
  • 0fb3b82
  • Compare
    Choose a tag to compare
    Search for a tag

@burakukula burakukula released this Dec 17, 2018 · 23 commits to master since this release

Fixes

Project dependency updates

Improvements

  • setId methods that can be used to create permanent object_IDs for keeping existing Sketch libraries in sync between updates added by @macintoshhelper 👌
  • Update issue templates thx to @kdzwinel 🤓
Assets 3
  • v4.0.1
  • 661cd27
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.0.1
  • 661cd27
  • Compare
    Choose a tag to compare
    Search for a tag

@burakukula burakukula released this Oct 24, 2018 · 29 commits to master since this release

Fixes

  • Fix compatibility with Sketch version 52
  • Fixed rendering of elements with fixed position by @KimDal-hyeong
  • Update licence year to 2018 by @shnibl
Assets 3

@kdzwinel kdzwinel released this Jul 26, 2018 · 34 commits to master since this release

Breaking

Default blur of inner shadow was changed from 1px to 0 - #119 . If you were depending on the default value be sure to update all .addInnerShadow({…}) calls to .addInnerShadow({…, blur: 1}).

Improvements

  • new logo by Patrycja Rozmus ❤️
html-sketchapp
  • support for background-size - #17

before:

after:

  • plugin is again part of the npm package - #121
  • plugin now has an icon
  • calling .getSymbolInstance no longer requires you to provide width and height and defaults to the MasterSymbol size
  • add --file flag to e2e test, so that it's easier to run single tests

Fixes

  • plugin: if SVG layer or Text layer import fails it doesn't break the whole import (broken layers are skipped instead)
Assets 3

@kdzwinel kdzwinel released this Jun 25, 2018 · 46 commits to master since this release

Fixes

  • Remove unwanted blur from one-side borders introduced in 3.3.0

Improvements

  • Add e2e test for one-side borders
Assets 3

@kdzwinel kdzwinel released this Jun 22, 2018 · 51 commits to master since this release

Improvements

  • basic background-position support by @mxmul (#109) (this means support for image sprites 🎉)

before:
amazon-before

after:
amazon-after

  • shadow DOM support for nodeTreeToSketchGroup by @calebdwilliams (#103) - (this means support for web components 🎉)
  • support for multiple shadows by @KimDal-hyeong (#110) - (this means you can go crazy with shadows 🎉)

API Improvements

public setHasClippingMask(hasClippingMask: boolean): void;
  • ability to set position of the ShapeGroup by @mxmul
public setPosition(position: Position): void;
  • new type of object - Bitmap by @mxmul
export default class Bitmap extends Base {
  constructor(props: BitmapProps);
}

Fixes

  • removed unnecessary wrappers around SVG by @burakukula

before:

after:

screen shot 2018-06-22 at 13 40 36

Assets 3