{"id":13559355,"url":"https://github.com/NEO97online/stencil-styled-components","last_synced_at":"2025-04-03T14:32:01.745Z","repository":{"id":44165109,"uuid":"152402368","full_name":"NEO97online/stencil-styled-components","owner":"NEO97online","description":"Style your Stencil apps without stress 💅 Inspired by the original React package, styled-components.","archived":false,"fork":false,"pushed_at":"2023-01-03T15:17:35.000Z","size":809,"stargazers_count":101,"open_issues_count":19,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T07:42:26.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/NEO97online.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":"2018-10-10T10:03:43.000Z","updated_at":"2024-05-29T04:38:18.000Z","dependencies_parsed_at":"2023-02-01T07:01:37.138Z","dependency_job_id":null,"html_url":"https://github.com/NEO97online/stencil-styled-components","commit_stats":null,"previous_names":["neo97online/stencil-styled-components","michaelauderer/stencil-styled-components"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEO97online%2Fstencil-styled-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEO97online%2Fstencil-styled-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEO97online%2Fstencil-styled-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEO97online%2Fstencil-styled-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NEO97online","download_url":"https://codeload.github.com/NEO97online/stencil-styled-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018562,"owners_count":20870022,"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-08-01T13:00:19.793Z","updated_at":"2025-04-03T14:32:01.536Z","avatar_url":"https://github.com/NEO97online.png","language":"TypeScript","funding_links":[],"categories":["List of Awesome Components Made using StencilJS"],"sub_categories":["Component Libraries"],"readme":"# Stencil Styled-Components\n\nSmall library to bring the concept of [styled-components](https://github.com/styled-components/styled-components) to StencilJS.\n\n## Installation\n\n```\nnpm i stencil-styled-components\n```\n\n## Usage\n\n```jsx\nimport { Component } from '@stencil/core'\nimport styled from 'stencil-styled-components'\n\nconst StyledDiv = styled.div`\n  display: inline-block;\n  background-color: ${props =\u003e props.invert ? 'black' : 'white'};\n  color: ${props =\u003e props.invert ? 'white' : 'black'};\n  width: 100px;\n  height: 100px;\n\n  \u0026:hover {\n    border: 1px solid #448aff;\n  }\n`\n\n@Component({\n  tag: 'my-component'\n})\nexport class MyComponent {\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cStyledDiv\u003e\n          \u003cspan\u003eHey, I'm styled!\u003c/span\u003e\n        \u003c/StyledDiv\u003e\n        \u003cStyledDiv invert\u003e\n          \u003cspan\u003eHey, I'm inverted with a prop!\u003c/span\u003e\n        \u003c/StyledDiv\u003e\n      \u003c/div\u003e\n    )\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNEO97online%2Fstencil-styled-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNEO97online%2Fstencil-styled-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNEO97online%2Fstencil-styled-components/lists"}