{"id":19638540,"url":"https://github.com/lifeiscontent/postcss-rem-function","last_synced_at":"2025-02-26T22:21:31.286Z","repository":{"id":39613170,"uuid":"282569860","full_name":"lifeiscontent/postcss-rem-function","owner":"lifeiscontent","description":"PostCSS plugin to add rem function to easily calculate rem values","archived":false,"fork":false,"pushed_at":"2023-01-06T12:28:01.000Z","size":696,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T02:19:58.127Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lifeiscontent.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":"2020-07-26T03:44:04.000Z","updated_at":"2020-07-26T03:44:19.000Z","dependencies_parsed_at":"2023-02-06T02:00:52.774Z","dependency_job_id":null,"html_url":"https://github.com/lifeiscontent/postcss-rem-function","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiscontent%2Fpostcss-rem-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiscontent%2Fpostcss-rem-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiscontent%2Fpostcss-rem-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiscontent%2Fpostcss-rem-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifeiscontent","download_url":"https://codeload.github.com/lifeiscontent/postcss-rem-function/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240942451,"owners_count":19882218,"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-11T12:39:15.841Z","updated_at":"2025-02-26T22:21:31.268Z","avatar_url":"https://github.com/lifeiscontent.png","language":"JavaScript","readme":"# PostCSS Rem Function\n\n[PostCSS] plugin to add rem function to easily calculate rem values.\n\n## Example\n\n### Input\n\n```scss\n.demo {\n  font-size: rem(24); /* using default 16 */\n  padding: rem(5, 10); /* Explict base */\n}\n```\n\n### Output\n\n```css\n.demo {\n  font-size: 1.5rem; /* Simple */\n  padding: 0.5rem; /* Explict base */\n}\n```\n\n## Options\n\nWith `baseline` to `10`:\n\n```css\n.demo {\n  font-size: 2.4rem; /* Simple */\n  padding: 0.5rem; /* Multiple values */\n}\n```\n\n## Usage\n\nInstall with `npm i postcss-rem-function` and use with [PostCSS]:\n\n```js\npostcss([require(\"@lifeiscontent/postcss-rem-function\")]);\n```\n\nExample with custom options:\n\n```js\npostcss([\n  require(\"@lifeiscontent/postcss-rem-function\")({\n    baseline: 10, // Default to 16\n    precision: 6, // Default to 8\n  }),\n]);\n```\n\nSee [PostCSS] docs for examples for your environment.\n\n[postcss]: https://github.com/postcss/postcss\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeiscontent%2Fpostcss-rem-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifeiscontent%2Fpostcss-rem-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeiscontent%2Fpostcss-rem-function/lists"}