{"id":15569579,"url":"https://github.com/patrick91/react-css-modules-variables","last_synced_at":"2026-06-09T08:32:16.065Z","repository":{"id":141355159,"uuid":"78152033","full_name":"patrick91/react-css-modules-variables","owner":"patrick91","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-05T22:06:53.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T02:22:15.310Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrick91.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":"2017-01-05T22:05:46.000Z","updated_at":"2017-01-06T09:49:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf9c9b84-2703-4c69-b1de-3057d83d0537","html_url":"https://github.com/patrick91/react-css-modules-variables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patrick91/react-css-modules-variables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Freact-css-modules-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Freact-css-modules-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Freact-css-modules-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Freact-css-modules-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrick91","download_url":"https://codeload.github.com/patrick91/react-css-modules-variables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Freact-css-modules-variables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34098924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-02T17:33:18.869Z","updated_at":"2026-06-09T08:32:16.049Z","avatar_url":"https://github.com/patrick91.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example using variables with CSS modules and react\n\nHi! This is how I handled variables in one of my latest side projects.\n\nThe global styles are inside `styles/app.css` which are then imported in the app component,\nwhich is the wrapper of the whole app.\n\nInside `styles` there are other files that store common variables, like colors, fonts, etc.\n\nTo see how I use those variables see `article-hero`'s styles. I basically use [ICSS's import/export system](https://github.com/css-modules/icss#specification).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrick91%2Freact-css-modules-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrick91%2Freact-css-modules-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrick91%2Freact-css-modules-variables/lists"}