Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/slheavner/zeplin-roku

Zeplin extension that outputs basic XML SceneGraph components from shapes, assets, textStyles, and colors.
https://github.com/slheavner/zeplin-roku

Last synced: 3 months ago
JSON representation

Zeplin extension that outputs basic XML SceneGraph components from shapes, assets, textStyles, and colors.

Awesome Lists containing this project

README

        

# Zeplin Roku SceneGraph

Zeplin extension that outputs basic XML SceneGraph components from shapes, assets, textStyles, and colors.

Lots of flexibility in customizing the output, like uri paths, value formatting, and component names.

## Getting started

Add the extension to your project from [extensions.zeplin.io](https://extensions.zeplin.io).

Make sure to customize your output with the many options available, like custom component names!

## Output

### Text -> Label

```

```

### Shape -> Rectangle

```

```

### Shape with corner radius -> Poster 9patch

```

```

### Exportable Asset Layer -> Poster

```

```

### Colors -> function

```

function projectColors() as object
return {
red: "0xff0000ff"
green: "0x00ff00ff"
blue: "0x0000ffff"
yellow: "0xffff00ff"
black: "0x000000ff"
black50: "0x0000007f"
white: "0xffffffff"
}
end function

```

### TextStyle -> Font

```

```

## Options

![](assets/options.png)

## Development

This extension is developed using [zem](https://github.com/zeplin/zem), Zeplin Extension Manager. zem is a command line tool that lets you quickly create, test and publish extensions.

To learn more about creating Zeplin extensions, [see documentation](https://github.com/zeplin/zeplin-extension-documentation).

```

```