{"id":13430123,"url":"https://github.com/Tencent/weui-wxss","last_synced_at":"2025-03-16T05:30:32.481Z","repository":{"id":37664468,"uuid":"72815138","full_name":"Tencent/weui-wxss","owner":"Tencent","description":"A UI library by WeChat official design team, includes the most useful widgets/modules.","archived":false,"fork":false,"pushed_at":"2024-12-23T10:15:17.000Z","size":2379,"stargazers_count":15173,"open_issues_count":62,"forks_count":5261,"subscribers_count":470,"default_branch":"master","last_synced_at":"2025-03-11T14:07:17.827Z","etag":null,"topics":["weui","wxss"],"latest_commit_sha":null,"homepage":"","language":"Less","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tencent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-11-04T04:47:02.000Z","updated_at":"2025-03-11T09:05:47.000Z","dependencies_parsed_at":"2023-02-10T01:45:14.963Z","dependency_job_id":"473c5a1f-ad1b-4955-8bca-929dad1bbbcc","html_url":"https://github.com/Tencent/weui-wxss","commit_stats":{"total_commits":81,"total_committers":7,"mean_commits":"11.571428571428571","dds":0.4691358024691358,"last_synced_commit":"6765e9d290f6d79de0e4cc8b5547f383e87dd0d5"},"previous_names":["weui/weui-wxss"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fweui-wxss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fweui-wxss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fweui-wxss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fweui-wxss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tencent","download_url":"https://codeload.github.com/Tencent/weui-wxss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"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":["weui","wxss"],"created_at":"2024-07-31T02:00:50.214Z","updated_at":"2025-03-16T05:30:30.356Z","avatar_url":"https://github.com/Tencent.png","language":"Less","funding_links":[],"categories":["组件","开发阶段","HarmonyOS","CSS","Less","前端开发框架及项目","JavaScript","小程序UI","UI模板","Mobile UI Components","2. JavaScript 框架汇总","Projects List"],"sub_categories":["小程序样式库","Windows Manager","其他_文本生成、文本对话","3、小程序模板","Wechat"],"readme":"WeUI for 小程序 为微信小程序量身设计\n=====\n\n[![npm version](https://img.shields.io/npm/v/weui-wxss.svg)](https://www.npmjs.org/package/weui-wxss)\n[![Gitter](https://badges.gitter.im/weui/weui.svg)](https://gitter.im/weui/weui?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n## 概述\n\n[WeUI](https://github.com/weui/weui) 是一套同微信原生视觉体验一致的基础样式库，由微信官方设计团队为微信内网页和微信小程序量身设计，令用户的使用感知更加统一。包含`button`、`cell`、`dialog`、 `progress`、 `toast`、`article`、`actionsheet`、`icon`等各式元素。\n\n以下内容是纯UI库，如果想使用逻辑封装版本，请看[小程序组件库 - WeUI](https://developers.weixin.qq.com/miniprogram/dev/extended/weui/)\n\n\n## 使用\n\n- 样式文件可直接引用`dist/style/weui.wxss`，或者单独引用`dist/style/widget`下的组件的`wxss`\n- 组件的wxml结构请看`dist/example/`下的组件\n\n### rpx版本\n默认版本使用的是`px`。这里也提供`rpx`版本，文件在[`dist-rpx-mode`](https://github.com/Tencent/weui-wxss/tree/master/dist-rpx-mode)目录下。\n\n\n## WeUI 黑暗模式\n在根结点增加属性 `data-weui-theme=\"dark\"`\n如:\n```html\n\u003cview data-weui-theme=\"dark\"\u003e\n    ...\n\u003c/view\u003e\n```\n\n## 预览\n用[微信web开发者工具](https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html)打开`dist`目录（**请注意，是`dist`目录，不是整个项目**）\n\n\u003cimg src='https://cloud.githubusercontent.com/assets/2395166/20168869/48a75b02-a75f-11e6-89aa-503d65c8ad8e.png' width='344' alt='preview' /\u003e\n\n![WeUI for 小程序](https://user-images.githubusercontent.com/2395166/29502325-ada080f6-8661-11e7-94c2-23d638210f45.jpg)\n\n\n## 文档\n\nWeUI 视觉标准参考 [weui-design](https://github.com/weui/weui-design)\n\n\n## License\nThe MIT License(http://opensource.org/licenses/MIT)\n\n请自由地享受和参与开源\n\n\n## 贡献\n\n如果你有好的意见或建议，欢迎给我们提issue或pull request。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTencent%2Fweui-wxss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTencent%2Fweui-wxss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTencent%2Fweui-wxss/lists"}