{"id":19685575,"url":"https://github.com/klaufel/aseprite-css","last_synced_at":"2025-04-29T06:30:45.696Z","repository":{"id":57184709,"uuid":"327916406","full_name":"klaufel/aseprite-css","owner":"klaufel","description":"Generated pixel art with CSS box shadow property based a svg image exported by Aseprite.","archived":false,"fork":false,"pushed_at":"2021-01-08T17:38:10.000Z","size":13,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-25T23:45:01.452Z","etag":null,"topics":["aseprite","css","pixel-art"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klaufel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-08T13:52:20.000Z","updated_at":"2023-02-27T01:24:45.000Z","dependencies_parsed_at":"2022-09-14T09:00:39.125Z","dependency_job_id":null,"html_url":"https://github.com/klaufel/aseprite-css","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaufel%2Faseprite-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaufel%2Faseprite-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaufel%2Faseprite-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaufel%2Faseprite-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klaufel","download_url":"https://codeload.github.com/klaufel/aseprite-css/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224152530,"owners_count":17264720,"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":["aseprite","css","pixel-art"],"created_at":"2024-11-11T18:22:45.110Z","updated_at":"2024-11-11T18:22:45.790Z","avatar_url":"https://github.com/klaufel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/1427623/104043023-7d7d8d80-51db-11eb-9b13-bdfd0318af90.png\"  alt=\"Aseprite logo\" width=\"60\" height=\"64\"\u003e\n  \u003cbr/\u003e\n  Aseprite CSS\n  \u003cbr/\u003e\u003cbr/\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Generated pixel art with CSS box shadow property based a svg image exported by \u003ca href=\"https://www.aseprite.org/\"\u003eAseprite\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#fire-overview\"\u003eOverview\u003c/a\u003e •\n  \u003ca href=\"#rocket-getting-started\"\u003eUsage\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/1427623/104041446-5625c100-51d9-11eb-85e1-349feab1d787.gif\" width=\"656\" height=\"410\"\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\n## :fire: Overview\n\nCSS is awesome! Dot!\n\n## :rocket: Usage\n\n### 1. Export Aseprite SVG image\n\nSave as \"SVG\" image file in your aseprite.\n\n### 2. Install `aseprite-css` globally\n\n```sh\nnpm install aseprite-css -g\n```\n\n### 3. Generate CSS pixel art\n\n```sh\naseprite-css [source] \u003csize\u003e\n```\n\n#### Example\n\n_Default:_\n\n```sh\naseprite-css my-pixelart.svg\n```\n\n_With custom pixel size:_\n\n```sh\naseprite-css my-pixelart.svg 10\n```\n\n#### Ouput\n\n```css\nhtml {\n  width: 1px;\n  height: 1px;\n  box-shadow: 5px 1px 0 #000000, 6px 1px 0 #000000, 4px 2px 0 #000000, 5px 2px 0\n      #ffffff, 6px 2px 0 #ffffff, 7px 2px 0 #000000, 3px 3px 0 #000000, 4px 3px\n      0 #5b6ee1, 5px 3px 0 #ffffff, 6px 3px 0 #ffffff, 7px 3px 0 #ffffff, 8px\n      3px 0 #000000, 3px 4px 0 #000000, 4px 4px 0 #5b6ee1, 5px 4px 0 #ffffff, 6px\n      4px 0 #bd9f81, 7px 4px 0 #ffffff, 8px 4px 0 #ffffff, 9px 4px 0 #000000, 3px\n      5px 0 #000000, 4px 5px 0 #5b6ee1, 5px 5px 0 #ffffff, 6px 5px 0 #bd9f81, 7px\n      5px 0 #bd9f81, 8px 5px 0 #ffffff, 9px 5px 0 #ffffff, 10px 5px 0 #000000, 3px\n      6px 0 #000000, 4px 6px 0 #5b6ee1, 5px 6px 0 #ffffff, 6px 6px 0 #bd9f81, 7px\n      6px 0 #e5bd94, 8px 6px 0 #bd9f81, 9px 6px 0 #ffffff, 10px 6px 0 #ffffff, 11px\n      6px 0 #000000, 3px 7px 0 #000000, 4px 7px 0 #5b6ee1, 5px 7px 0 #ffffff, 6px\n      7px 0 #e5bd94, 7px 7px 0 #ffffff, 8px 7px 0 #ffffff, 9px 7px 0 #bd9f81, 10px\n      7px 0 #ffffff, 11px 7px 0 #ffffff, 12px 7px 0 #000000, 3px 8px 0 #000000, 4px\n      8px 0 #5b6ee1, 5px 8px 0 #ffffff, 6px 8px 0 #e5bd94, 7px 8px 0 #ffffff, 8px\n      8px 0 #ffffff, 9px 8px 0 #ffffff, 10px 8px 0 #bd9f81, 11px 8px 0 #ffffff, 12px\n      8px 0 #ffffff, 13px 8px 0 #000000, 3px 9px 0 #000000, 4px 9px 0 #5b6ee1;\n}\n```\n\n## License\n\nMIT © [klaufel](https://github.com/klaufel)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklaufel%2Faseprite-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklaufel%2Faseprite-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklaufel%2Faseprite-css/lists"}