{"id":23158744,"url":"https://github.com/greendelta/swt-material-icons","last_synced_at":"2025-10-04T01:43:14.264Z","repository":{"id":68567043,"uuid":"435890360","full_name":"GreenDelta/swt-material-icons","owner":"GreenDelta","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-08T14:33:55.000Z","size":518,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T01:43:12.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreenDelta.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,"governance":null}},"created_at":"2021-12-07T13:26:14.000Z","updated_at":"2021-12-08T14:33:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b6071c3-6fb1-450c-b905-fcec2c8ae2b4","html_url":"https://github.com/GreenDelta/swt-material-icons","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"296f80fa1fb3c5dc489d7fb47cdefaad7ecf2e9e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GreenDelta/swt-material-icons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Fswt-material-icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Fswt-material-icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Fswt-material-icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Fswt-material-icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreenDelta","download_url":"https://codeload.github.com/GreenDelta/swt-material-icons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Fswt-material-icons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254469,"owners_count":25956598,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-17T22:27:23.703Z","updated_at":"2025-10-04T01:43:14.248Z","avatar_url":"https://github.com/GreenDelta.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swt-material-icons\n\nThis package wraps the [Google material design icons](https://github.com/google/material-design-icons)\ninto a Java library so that these can be used in an [SWT](https://www.eclipse.org/swt/)\napplication. The icons are scaled down to 16x16 pixels as this size seems to\nwork best in an Eclipse RCP application.\n\n## Usage\n\nAn SWT image of an icon can be created via:\n\n```java\nvar icon = MaterialIcons.LOCK.baseline();\nvar image = icon.image(display);\n```\n\nNote that nothing is cached, and you need to dispose the image if it is not\nneeded anymore. The best way is to use the icons with a jface `ImageRegistry`.\nEach icon has 4 variants (`baseline`, `outline`, `sharp`, `round`) and each\nicon variant has a unique name:\n\n```java\nMaterialIcons.LOCK.outline().name();\n```\n\nYou can also just use raw image data and apply a color on the icon:\n\n```java\nvar icon = MaterialIcons.LAPTOP.outline();\nvar imageData = icon.data(new RGB(114, 252, 178));\n```\n\nSee also the [Example](./src/test/java/org/openlca/swt/material/icons/Example.java)\nwhich produces a shell like this:\n\n![](./example_white.png)\n\nor with dark background:\n\n![](./example_dark.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreendelta%2Fswt-material-icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreendelta%2Fswt-material-icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreendelta%2Fswt-material-icons/lists"}