{"id":14990648,"url":"https://github.com/ijlee2/embroider-css-modules","last_synced_at":"2026-02-23T14:18:46.964Z","repository":{"id":157481870,"uuid":"621173455","full_name":"ijlee2/embroider-css-modules","owner":"ijlee2","description":"CSS modules for Embroider projects","archived":false,"fork":false,"pushed_at":"2026-02-12T07:31:55.000Z","size":6626,"stargazers_count":18,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T18:54:19.447Z","etag":null,"topics":["css-modules","ember-addon","ember-codemod","ember-polaris","emberjs","embroider","glint","typescript"],"latest_commit_sha":null,"homepage":"https://embroider-css-modules.netlify.app/","language":"TypeScript","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/ijlee2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-30T06:14:21.000Z","updated_at":"2026-02-12T07:31:58.000Z","dependencies_parsed_at":"2024-04-22T09:43:25.549Z","dependency_job_id":"a27265a2-37eb-4d6f-b8e8-7a7272ed289b","html_url":"https://github.com/ijlee2/embroider-css-modules","commit_stats":{"total_commits":183,"total_committers":2,"mean_commits":91.5,"dds":0.005464480874316946,"last_synced_commit":"0a604a934b7975e76a5274d20c6222fc9f2f0875"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"purl":"pkg:github/ijlee2/embroider-css-modules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fembroider-css-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fembroider-css-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fembroider-css-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fembroider-css-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijlee2","download_url":"https://codeload.github.com/ijlee2/embroider-css-modules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fembroider-css-modules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-modules","ember-addon","ember-codemod","ember-polaris","emberjs","embroider","glint","typescript"],"created_at":"2024-09-24T14:20:30.258Z","updated_at":"2026-02-21T10:11:52.647Z","avatar_url":"https://github.com/ijlee2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![This project uses GitHub Actions for continuous integration.](https://github.com/ijlee2/embroider-css-modules/actions/workflows/ci.yml/badge.svg)](https://github.com/ijlee2/embroider-css-modules/actions/workflows/ci.yml)\n[![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/Isaac/embroider-css-modules)\n\n# embroider-css-modules\n\n_CSS modules for Embroider projects_\n\n\n## What is it?\n\n`embroider-css-modules` provides **tools and conventions** to help you use [CSS modules](https://github.com/css-modules/css-modules) in Embroider projects. It works on \"bleeding-edge\" Ember:\n\n- [Embroider on the strictest settings](https://github.com/embroider-build/embroider/#options) (including route splitting)\n- [TypeScript](https://www.typescriptlang.org/docs/) + [Glint](https://typed-ember.gitbook.io/glint/)\n- [`\u003ctemplate\u003e` tag](https://github.com/ember-template-imports/ember-template-imports)\n\nA key idea behind `embroider-css-modules`: _How_ we map local class names to global ones has little to do with Ember. It's also allowed to change in the future.\n\n```ts\n// We can somehow map local class names to global ones\nconst styles = {\n  'container': 'lzeQ4',\n  'is-inline': 'mJGCE',\n  'is-wide': '_2lPSR',\n  'no-feedback': 'YpQbt',\n};\n```\n\nAs you will see in the [Guides](#guides) below, we delegate the how to Rollup, Webpack, and Vite—build tools from the wider JavaScript. With fewer responsibilities, `embroider-css-modules` can focus on improving developer experience (DX).\n\n\n## Package overview\n\n- [ember-codemod-remove-ember-css-modules](./packages/ember-codemod-remove-ember-css-modules/README.md)\n- [ember-codemod-remove-global-styles](./packages/ember-codemod-remove-global-styles/README.md)\n- [embroider-css-modules](./packages/embroider-css-modules/README.md)\n- [type-css-modules](./packages/type-css-modules/README.md)\n\n\n## Guides\n\n- [Migrate from ember-css-modules](./docs/written-guides/migrate-from-ember-css-modules.md)\n- [Migrate from ember-modern-css](./docs/written-guides/migrate-from-ember-modern-css.md)\n- [Refactor code](./docs/written-guides/refactor-code.md)\n- [Set up CSS modules (apps built with Vite)](./docs/written-guides/set-up-css-modules-apps-built-with-vite.md)\n- [Set up CSS modules (apps built with Webpack)](./docs/written-guides/set-up-css-modules-apps-built-with-webpack.md)\n- [Set up CSS modules (v2 addons)](./docs/written-guides/set-up-css-modules-v2-addons.md)\n\n\n## Limitations\n\nFor classic v1 apps (i.e. without Webpack) and v1 addons, you will want to use [`ember-css-modules`](https://github.com/salsify/ember-css-modules).\n\n\n## Contributing\n\nSee the [Contributing](./CONTRIBUTING.md) guide for details.\n\n\n## Credits\n\nThe `webpack` implementation is possible, thanks to ideas from [Ember + Modern CSS](https://github.com/evoactivity/ember-modern-css) by [@evoactivity](https://github.com/evoactivity). Special thanks to the maintainers of `ember-css-modules`, who paved the Ember way to CSS modules.\n\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlee2%2Fembroider-css-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijlee2%2Fembroider-css-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlee2%2Fembroider-css-modules/lists"}