{"id":20420460,"url":"https://github.com/eddiemoore/hydrogencss","last_synced_at":"2025-04-12T18:09:26.938Z","repository":{"id":19274948,"uuid":"86663760","full_name":"eddiemoore/hydrogencss","owner":"eddiemoore","description":"Atomic CSS for CSS Modules","archived":false,"fork":false,"pushed_at":"2023-09-27T19:52:00.000Z","size":88,"stargazers_count":13,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T18:08:58.753Z","etag":null,"topics":["atomic-css","atomic-design","css","css-modules"],"latest_commit_sha":null,"homepage":null,"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/eddiemoore.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}},"created_at":"2017-03-30T05:46:38.000Z","updated_at":"2022-02-07T00:50:04.000Z","dependencies_parsed_at":"2023-02-14T00:45:40.666Z","dependency_job_id":null,"html_url":"https://github.com/eddiemoore/hydrogencss","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiemoore%2Fhydrogencss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiemoore%2Fhydrogencss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiemoore%2Fhydrogencss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiemoore%2Fhydrogencss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddiemoore","download_url":"https://codeload.github.com/eddiemoore/hydrogencss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610338,"owners_count":21132921,"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":["atomic-css","atomic-design","css","css-modules"],"created_at":"2024-11-15T06:43:03.102Z","updated_at":"2025-04-12T18:09:26.908Z","avatar_url":"https://github.com/eddiemoore.png","language":"JavaScript","readme":"# hydrogen.css\nAtomic CSS for CSS Modules\n\n[![npm](https://img.shields.io/npm/v/hydrogencss.svg)](http://npm.im/hydrogencss)\n\n## Installation\n\n#### NPM\n```shell\nnpm i -S hydrogencss\n```\n\n#### Yarn\n```shell\nyarn add hydrogencss\n```\n\n## Usage with CSS Modules\nThere are two ways to compose with each value. The first:\n\n```css\n.container {\n  composes: \u003cvalue\u003e from 'hydrogencss/\u003cproperty\u003e.css';\n}\n```\nWith this way you will be importing all the classes within `\u003cproperty\u003e.css`, unless\nyou are clearing up the unused CSS.\n\nThe alternate way to import is\n```css\n.container {\n  composes: \u003cvalue\u003e from 'hydrogencss/\u003cproperty\u003e/\u003cvalue\u003e.css';\n}\n```\n\nExample:\n```css\n.container {\n  composes: flex from 'hydrogencss/display/flex.css';\n}\n```\n\nWhich will just include:\n```css\n.flex { display: flex; }\n```\n\nTo see all the properties and values available please check the [docs](docs/) folder.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiemoore%2Fhydrogencss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddiemoore%2Fhydrogencss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiemoore%2Fhydrogencss/lists"}