{"id":26663177,"url":"https://github.com/startpolymer/s-svg","last_synced_at":"2025-04-11T18:24:29.949Z","repository":{"id":58227201,"uuid":"70058102","full_name":"StartPolymer/s-svg","owner":"StartPolymer","description":"A polymer element allowing SVG images to be responsive and styled with CSS.","archived":false,"fork":false,"pushed_at":"2017-10-09T23:44:58.000Z","size":5,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T18:24:25.880Z","etag":null,"topics":["polymer","svg"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/StartPolymer.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":"2016-10-05T12:28:33.000Z","updated_at":"2023-08-17T21:34:46.000Z","dependencies_parsed_at":"2022-08-31T05:41:32.612Z","dependency_job_id":null,"html_url":"https://github.com/StartPolymer/s-svg","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-svg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-svg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-svg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-svg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StartPolymer","download_url":"https://codeload.github.com/StartPolymer/s-svg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248456381,"owners_count":21106607,"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":["polymer","svg"],"created_at":"2025-03-25T14:20:12.905Z","updated_at":"2025-04-11T18:24:29.921Z","avatar_url":"https://github.com/StartPolymer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;s-svg\u0026gt;\n\nA polymer element allowing SVG images to be responsive and styled with CSS.\n\n## Using\n\nUse optimized SVG. In Inkscape choose `Optimized SVG` file type upon `Save As` (Ctrl + Shift + S) and check `Enable viewboxing` in the Save As dialog.\n\n```xml\n\u003csvg height=\"50\" viewBox=\"0 0 100 50\" width=\"100\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\n...\n\u003c/svg\u003e\n```\n\n```css\n.container {\n  color: #fff;\n  height: 200px;\n}\n\n.logo {\n  fill: currentColor;\n}\n```\n\n```html\n\u003cdiv class=\"container\"\u003e\n\n\u003cs-svg class=\"logo\" src=\"logo.svg\" width=\"100\" height=\"50\"\u003e\u003c/s-svg\u003e\n\n\u003c/div\u003e\n```\n\n## Install\n\n`bower i s-svg -S`\n\n## License\n\nMIT: [StartPolymer/license](https://github.com/StartPolymer/license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstartpolymer%2Fs-svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstartpolymer%2Fs-svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstartpolymer%2Fs-svg/lists"}