{"id":15862174,"url":"https://github.com/afeiship/wsui-vw-rem","last_synced_at":"2025-06-27T20:35:05.547Z","repository":{"id":57123137,"uuid":"203131743","full_name":"afeiship/wsui-vw-rem","owner":"afeiship","description":"Rem solution based on vw and media query.","archived":false,"fork":false,"pushed_at":"2024-02-22T08:51:14.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T05:36:04.462Z","etag":null,"topics":["meida-query","percentage","rem","resolution","sass","scale","viewport","vw","wsui"],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-19T08:33:10.000Z","updated_at":"2023-09-29T09:28:52.000Z","dependencies_parsed_at":"2022-08-24T14:59:33.601Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/wsui-vw-rem","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwsui-vw-rem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwsui-vw-rem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwsui-vw-rem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwsui-vw-rem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/wsui-vw-rem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709935,"owners_count":20821298,"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":["meida-query","percentage","rem","resolution","sass","scale","viewport","vw","wsui"],"created_at":"2024-10-05T22:25:26.428Z","updated_at":"2025-04-01T20:35:40.515Z","avatar_url":"https://github.com/afeiship.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wsui-vw-rem\n\u003e Rem solution based on vw and media query.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```shell\nnpm i @jswork/wsui-vw-rem\n```\n\n## usage\n```scss\n@import '~@jswork/wsui-vw-rem';\n\n// based: 750px\n// 13.33vw = 100px\n\n// based: 375px\n// 13.33vw = 50px\n\n// you can customize options:\n$wsui-vw-rem-screen-width: 375px !default;\n$wsui-vw-rem-base-font-size: 10px !default;\n$wsui-vw-rem-media-list: ( 320, 360, 375, 393, 414, 480, 540, 640, 720, 768 ) !default;\n\n// OR (presets for tailwindcss)\n$wsui-vw-rem-screen-width: 375px !default;\n$wsui-vw-rem-base-font-size: 16px !default;\n```\n\n## resources\n- https://3g.163.com/touch/#/\n- https://blog.csdn.net/chi1130/article/details/82844489\n- https://blog.csdn.net/lishihong108/article/details/52290021\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/wsui-vw-rem/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/wsui-vw-rem\n[version-url]: https://npmjs.org/package/@jswork/wsui-vw-rem\n\n[license-image]: https://img.shields.io/npm/l/@jswork/wsui-vw-rem\n[license-url]: https://github.com/afeiship/wsui-vw-rem/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/wsui-vw-rem\n[size-url]: https://github.com/afeiship/wsui-vw-rem/blob/master/dist/wsui-vw-rem.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/wsui-vw-rem\n[download-url]: https://www.npmjs.com/package/@jswork/wsui-vw-rem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fwsui-vw-rem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fwsui-vw-rem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fwsui-vw-rem/lists"}