{"id":18626133,"url":"https://github.com/ezavile/postcss-typescript-css-example","last_synced_at":"2026-04-29T20:35:03.446Z","repository":{"id":92717733,"uuid":"89657617","full_name":"ezavile/postcss-typescript-css-example","owner":"ezavile","description":"How to use postcss-typescript-css plugin with webpack 2, React, TypeScript and PostCSS","archived":false,"fork":false,"pushed_at":"2017-04-29T08:10:50.000Z","size":144,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T01:40:32.758Z","etag":null,"topics":["css","postcss","postcss-plugin","typescript"],"latest_commit_sha":null,"homepage":"http://postcss-typescript-css.herokuapp.com/","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/ezavile.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-28T02:05:01.000Z","updated_at":"2023-03-07T15:17:19.000Z","dependencies_parsed_at":"2023-08-22T09:03:46.073Z","dependency_job_id":null,"html_url":"https://github.com/ezavile/postcss-typescript-css-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ezavile/postcss-typescript-css-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezavile%2Fpostcss-typescript-css-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezavile%2Fpostcss-typescript-css-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezavile%2Fpostcss-typescript-css-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezavile%2Fpostcss-typescript-css-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezavile","download_url":"https://codeload.github.com/ezavile/postcss-typescript-css-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezavile%2Fpostcss-typescript-css-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","postcss","postcss-plugin","typescript"],"created_at":"2024-11-07T04:37:01.061Z","updated_at":"2026-04-29T20:35:03.428Z","avatar_url":"https://github.com/ezavile.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-typescript-css-example\nHow to use [postcss-typescript-css] plugin with webpack 2, React, TypeScript and PostCSS\n\nThis project has two components Card and Title. Each component has its own style file. The Card Component is using **postcss-modules**.\n\n## Usage\n### TitleComponent\n**title.css** (I'm using [cssnext])\n```css\n.Title {\n  color: #444;\n  margin: 0;\n  \u0026-description  {\n    color: #acb2b5;\n    margin-bottom: 0;\n    }\n}\n```\n**Title.tsx**\n```javascript\nimport  './title.css';\nimport { titleStyle } from  './titleStyle';\n```\nSo, titleStyle is an object with two properties:\n```javascript\ntitleStyle  =  {\n  title: 'Title',\n  titleDescription: 'Title-description',\n}\n```\nNow you can use it\n```jsx\n\u003ch1 className={titleStyle.title}\u003eWelcome to postcss-typescript-css!\u003c/h1\u003e\n\u003ch3 className={titleStyle.titleDescription}\u003eThis is an example using the plugin with webpack 2, React, TypeScript and PostCSS\u003c/h3\u003e\n```\n[postcss-typescript-css]: https://github.com/ezavile/postcss-typescript-css\n[cssnext]: https://github.com/MoOx/postcss-cssnext\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezavile%2Fpostcss-typescript-css-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezavile%2Fpostcss-typescript-css-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezavile%2Fpostcss-typescript-css-example/lists"}