{"id":15561209,"url":"https://github.com/digitaledgeit/sass-ems","last_synced_at":"2025-04-23T22:23:21.727Z","repository":{"id":36791136,"uuid":"41097924","full_name":"digitaledgeit/sass-ems","owner":"digitaledgeit","description":"A SASS function for converting px to em.","archived":false,"fork":false,"pushed_at":"2022-07-14T20:35:59.000Z","size":116,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T19:19:34.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","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/digitaledgeit.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}},"created_at":"2015-08-20T13:43:20.000Z","updated_at":"2020-03-10T12:48:02.000Z","dependencies_parsed_at":"2022-08-29T04:00:55.924Z","dependency_job_id":null,"html_url":"https://github.com/digitaledgeit/sass-ems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-ems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-ems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-ems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-ems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitaledgeit","download_url":"https://codeload.github.com/digitaledgeit/sass-ems/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242254172,"owners_count":20097531,"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-10-02T16:06:17.316Z","updated_at":"2025-03-06T17:31:47.618Z","avatar_url":"https://github.com/digitaledgeit.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sass-ems\n\nA SASS function for converting `px` to `em`.\n\n## Installation\n\n    npm install --save sass-ems\n    \n## Usage\n\n    $ sass-composer example/example.scss -o compiled.css\n\nSCSS: `example/settings.scss`\n\n    //this is the default setting if not specified by the user\n    $base-font-size: 16px;\n    \n\nSCSS: `example/example.scss`\n    \n    @import \"./settings\";\n    @import \"sass-ems\";\n\n    h1 {\n      padding: em(15px);\n      font-size: em(24px);\n    }\n\nCSS: `compiled.css`\n\n    h1 {\n      padding: 0.9375em;\n      font-size: 1.5em; }\n\n## API\n\n### em($val, $ctx: $base-font-size)\n\nConvert a `px` value to `em`.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 James Newell","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitaledgeit%2Fsass-ems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitaledgeit%2Fsass-ems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitaledgeit%2Fsass-ems/lists"}