{"id":21721639,"url":"https://github.com/polydile/dile-close-icon-template","last_synced_at":"2025-10-07T11:30:36.620Z","repository":{"id":57212207,"uuid":"208772146","full_name":"Polydile/dile-close-icon-template","owner":"Polydile","description":"Mixin to create a close icon in a LitElement template","archived":false,"fork":false,"pushed_at":"2020-07-10T17:48:55.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-26T05:35:06.294Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Polydile.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":"2019-09-16T10:25:47.000Z","updated_at":"2020-07-10T17:48:57.000Z","dependencies_parsed_at":"2022-09-07T05:01:02.698Z","dependency_job_id":null,"html_url":"https://github.com/Polydile/dile-close-icon-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-close-icon-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-close-icon-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-close-icon-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-close-icon-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polydile","download_url":"https://codeload.github.com/Polydile/dile-close-icon-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235621552,"owners_count":19019519,"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-26T02:18:12.225Z","updated_at":"2025-10-07T11:30:36.608Z","avatar_url":"https://github.com/Polydile.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moved\n\n**This package has moved** and is now available at [@dile/ui](https://github.com/Polydile/dile-components). Please update your dependencies. This repository is no longer maintained. You can read the documentation at [Dile Components](https://dile-components.com/).\n\n# dile-close-icon-template\n\nLitElement Template to implement a close icon\n\n```\nimport { closeIcon } from 'dile-close-icon-template';\n```\n\nYo may use this icon in a LitElement template:\n\n```\nrender() {\n  return html`\n    // Your component template\n    ${ closeIcon }\n  `;\n}\n```\n\nTo easy style the icon you may use the CSS declaration provided in this package.\n\n```\nimport { closeIcon, closeIconCss } from 'dile-close-icon-template';\n```\n\nYou may use this style declaration like this:\n\nstatic get styles() {\n  return [closeIconCss, css`\n    :host {\n        --dile-close-icon-template-color: #fce;\n      }\n  `];\n}\n\nAs you may note, there is a custom CSS property named ```--dile-close-icon-template-color```. Use it to set the color of the icon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolydile%2Fdile-close-icon-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolydile%2Fdile-close-icon-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolydile%2Fdile-close-icon-template/lists"}