{"id":21885583,"url":"https://github.com/sheraff/css-inline-modules","last_synced_at":"2026-05-07T03:37:40.423Z","repository":{"id":213431122,"uuid":"734111096","full_name":"Sheraff/css-inline-modules","owner":"Sheraff","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-24T12:37:57.000Z","size":93,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T19:51:52.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Sheraff.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-20T22:32:04.000Z","updated_at":"2023-12-20T22:32:10.000Z","dependencies_parsed_at":"2024-11-28T10:29:27.929Z","dependency_job_id":null,"html_url":"https://github.com/Sheraff/css-inline-modules","commit_stats":null,"previous_names":["sheraff/css-inline-modules"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheraff%2Fcss-inline-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheraff%2Fcss-inline-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheraff%2Fcss-inline-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheraff%2Fcss-inline-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sheraff","download_url":"https://codeload.github.com/Sheraff/css-inline-modules/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894307,"owners_count":20527669,"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-28T10:28:07.880Z","updated_at":"2026-05-07T03:37:40.395Z","avatar_url":"https://github.com/Sheraff.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSS inline modules\n\nWrite CSS Modules inside your TSX files\n```tsx\nimport { css, inline } from \"./css\"\n\nconst a = css(`\n\t.foobar {\n\t\tcolor: limegreen;\n\t}\n`)\nconst A = () =\u003e \u003cdiv className={a.foobar}\u003eHello\u003c/div\u003e\n\nconst b = css(`\n\t.yolo {\n\t\tcolor: pink;\n\t}\n\t.foobar {\n\t\ttext-decoration: underline;\n\t}\n`)\nconst B = () =\u003e \u003cdiv className={b.yolo}\u003eBonjour\u003c/div\u003e\n\nconst C = () =\u003e (\n\t\u003cdiv\n\t\tclassName={inline`\n\t\t\tcolor: purple;\n\t\t`}\n\t\u003e\n\t\tHola\n\t\u003c/div\u003e\n)\n\nexport default function Foo() {\n\treturn (\n\t\t\u003c\u003e\n\t\t\t\u003cA /\u003e\n\t\t\t\u003cB /\u003e\n\t\t\t\u003cC /\u003e\n\t\t\u003c/\u003e\n\t)\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheraff%2Fcss-inline-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheraff%2Fcss-inline-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheraff%2Fcss-inline-modules/lists"}