{"id":20942181,"url":"https://github.com/getstation/zeplin-jss-extension","last_synced_at":"2025-07-28T15:08:52.178Z","repository":{"id":41730801,"uuid":"235082782","full_name":"getstation/zeplin-JSS-extension","owner":"getstation","description":"JSS snippets from colors, text styles and layers","archived":false,"fork":false,"pushed_at":"2022-12-11T21:20:57.000Z","size":1744,"stargazers_count":3,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T10:06:09.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getstation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-20T11:09:18.000Z","updated_at":"2021-05-28T12:49:54.000Z","dependencies_parsed_at":"2023-01-27T07:16:18.936Z","dependency_job_id":null,"html_url":"https://github.com/getstation/zeplin-JSS-extension","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fzeplin-JSS-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fzeplin-JSS-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fzeplin-JSS-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fzeplin-JSS-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getstation","download_url":"https://codeload.github.com/getstation/zeplin-JSS-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043218,"owners_count":22004912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T23:24:12.888Z","updated_at":"2025-05-13T23:32:29.536Z","avatar_url":"https://github.com/getstation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zeplin JSS Extension\n\nGenerates JSS JavaScript snippets from colors, text styles and layers.\n\nSample colors output:\n```js\ncolors: {\n  red: '#ff0000',\n  green: '#00ff00',\n  blue: '#0000ff',\n  yellow: '#ffff00',\n  black: '#000000',\n  black50: 'rgba(0, 0, 0, 0.5)',\n  white: '#ffffff'\n},\n```\n\nSample text style output:\n```js\ntextStyles: {\n  sampleTextStyle: {\n    fontFamily: 'SFProText',\n    fontSize: 20,\n    fontWeight: 'normal',\n    fontStyle: 'normal',\n    letterSpacing: 0,\n    textAlign: 'left'\n  },\n  sampleTextStyleWithColor: {\n    fontFamily: 'SFProText',\n    fontSize: 20,\n    fontWeight: 'normal',\n    fontStyle: 'normal',\n    letterSpacing: 0,\n    textAlign: 'left',\n    color: colors.red\n  },\n},\n```\n\nSample layer output:\n```js\nbackground: {\n  width: 197,\n  height: 34,\n  borderRadius: 40,\n  border: ['solid', 1, '#63a0e6']\n},\n```\n\n## Options\n\n#### Color format\n\nSupports HEX, RGB or HSL. Sample colors output as HSL:\n```js\ncolors: {\n  red: 'hsl(0, 100%, 50%)',\n  black50: 'hsla(0, 0%, 0%, 0.5)'\n},\n```\n\n#### Dimensions\n\nToggles generating `width` and `height` properties from layers.\n\n#### Default values\n\nToggles always generating default values from layers or text styles, such as `fontWeight` and `fontStyle`.\n\n## Development\n\nJSS extension is developed using [zem](https://github.com/zeplin/zem), Zeplin Extension Manager. zem is a command line tool that lets you quickly create and test extensions.\n\nTo learn more about zem, [see documentation](https://github.com/zeplin/zem).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetstation%2Fzeplin-jss-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetstation%2Fzeplin-jss-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetstation%2Fzeplin-jss-extension/lists"}