{"id":26075854,"url":"https://github.com/zhipenglin/bemify","last_synced_at":"2025-06-15T21:34:24.451Z","repository":{"id":215598855,"uuid":"103096081","full_name":"zhipenglin/bemify","owner":"zhipenglin","description":"sass中的bem","archived":false,"fork":false,"pushed_at":"2017-09-11T08:07:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T01:43:35.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/zhipenglin.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-11T06:05:24.000Z","updated_at":"2017-09-11T06:06:17.000Z","dependencies_parsed_at":"2024-01-05T11:45:10.901Z","dependency_job_id":"fcc09506-680d-4671-8643-d0ef3bedc0f4","html_url":"https://github.com/zhipenglin/bemify","commit_stats":null,"previous_names":["zhipenglin/bemify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhipenglin/bemify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipenglin%2Fbemify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipenglin%2Fbemify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipenglin%2Fbemify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipenglin%2Fbemify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhipenglin","download_url":"https://codeload.github.com/zhipenglin/bemify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipenglin%2Fbemify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260053440,"owners_count":22951881,"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":"2025-03-09T01:06:36.442Z","updated_at":"2025-06-15T21:34:24.418Z","avatar_url":"https://github.com/zhipenglin.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bemify\nsass中的bem\n\ninput\n\n``` scss\n\n@include block('a-menu'){\n  float: left;\n  @include modifier('bigger'){\n    transform: scale(1.2);\n  }\n  @include element('list'){\n    background: #000;\n    color:#fff;\n    @include modifier('blue'){\n      background:blue;\n      @include element('item'){\n        line-height: 1.5;\n        @include state('active'){\n          border: solid 1px red;\n        }\n      }\n    }\n  }\n  @include element('item'){\n    line-height: 2;\n  }\n}\n\n```\n\noutput\n\n``` css\n\n.a-menu, .a-menu--bigger {\n    float: left;\n}\n\n.a-menu--bigger {\n    transform: scale(1.2);\n}\n\n.a-menu__list, .a-menu__list--blue {\n    background: #000;\n    color: #fff;\n}\n\n.a-menu__list--blue {\n    background: blue;\n}\n\n.a-menu__list--blue .a-menu__list__item {\n    line-height: 1.5;\n}\n\n.a-menu__list--blue .a-menu__list__item.is-active {\n    border: solid 1px red;\n}\n\n.a-menu__item {\n    line-height: 2;\n}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhipenglin%2Fbemify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhipenglin%2Fbemify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhipenglin%2Fbemify/lists"}