{"id":13441225,"url":"https://github.com/sass/sass","last_synced_at":"2025-05-12T05:10:56.583Z","repository":{"id":37615221,"uuid":"929845","full_name":"sass/sass","owner":"sass","description":"Sass makes CSS fun!","archived":false,"fork":false,"pushed_at":"2025-05-05T20:47:58.000Z","size":2039,"stargazers_count":15262,"open_issues_count":119,"forks_count":2199,"subscribers_count":578,"default_branch":"main","last_synced_at":"2025-05-11T19:51:22.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sass-lang.com","language":"TypeScript","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/sass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2010-09-22T06:16:55.000Z","updated_at":"2025-05-11T16:10:23.000Z","dependencies_parsed_at":"2023-02-15T04:31:35.476Z","dependency_job_id":"e593d3ff-cbc3-4a84-8572-f09a2ee2b371","html_url":"https://github.com/sass/sass","commit_stats":{"total_commits":808,"total_committers":30,"mean_commits":"26.933333333333334","dds":0.3391089108910891,"last_synced_commit":"b3bee715ad064f536802d498c56c86d559de8fea"},"previous_names":["nex3/sass"],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass%2Fsass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass%2Fsass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass%2Fsass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass%2Fsass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sass","download_url":"https://codeload.github.com/sass/sass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253628090,"owners_count":21938600,"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-07-31T03:01:31.347Z","updated_at":"2025-05-12T05:10:56.533Z","avatar_url":"https://github.com/sass.png","language":"TypeScript","readme":"\u003ch1\u003e\u003cimg width=\"200px\" alt=\"Sass\" src=\"https://rawgit.com/sass/sass-site/main/source/assets/img/logos/logo.svg\" /\u003e\u003c/h1\u003e\n\n[![@SassCSS on Twitter](https://img.shields.io/twitter/follow/SassCSS?label=%40SassCSS\u0026style=social)](https://twitter.com/SassCSS)\n\u0026nbsp;\u0026nbsp;\n[![stackoverflow](https://img.shields.io/stackexchange/stackoverflow/t/sass?label=Sass%20questions\u0026logo=stackoverflow\u0026style=social)](https://stackoverflow.com/questions/tagged/sass)\n\u0026nbsp;\u0026nbsp;\n[![Gitter](https://img.shields.io/gitter/room/sass/sass?label=chat\u0026logo=gitter\u0026style=social)](https://gitter.im/sass/sass?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n**Sass makes CSS fun again**. Sass is an extension of CSS, adding nested rules,\nvariables, mixins, selector inheritance, and more. It's translated to\nwell-formatted, standard CSS using the command line tool or a plugin for your\nbuild system.\n\n```scss\n$font-stack: Helvetica, sans-serif;\n$primary-color: #333;\n\nbody {\n  font: 100% $font-stack;\n  color: $primary-color;\n}\n\n@mixin border-radius($radius) {\n  -webkit-border-radius: $radius;\n     -moz-border-radius: $radius;\n      -ms-border-radius: $radius;\n          border-radius: $radius;\n}\n\nnav {\n  ul {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n  }\n\n  li { @include border-radius(10px); }\n\n  a {\n    display: block;\n    padding: 6px 12px;\n    text-decoration: none;\n  }\n}\n```\n\n## Install Sass\n\nYou can install Sass on Windows, Mac, or Linux by downloading the package for\nyour operating system [from GitHub] and [adding it to your `PATH`][PATH]. That's\nall—there are no external dependencies and nothing else you need to install.\n\n[from GitHub]: https://github.com/sass/dart-sass/releases\n[PATH]: https://katiek2.github.io/path-doc/\n\nIf you use Node.js, you can also install Sass using [npm] by running\n\n[npm]: https://www.npmjs.com/\n\n```\nnpm install -g sass\n```\n\n**However, please note** that this will install the pure JavaScript\nimplementation of Sass, which runs somewhat slower than the other options listed\nhere. But it has the same interface, so it'll be easy to swap in another\nimplementation later if you need a bit more speed!\n\nSee [the Sass website](https://sass-lang.com/install) for more ways to install\nSass.\n\nOnce you have Sass installed, you can run the `sass` executable to compile\n`.sass` and `.scss` files to `.css` files. For example:\n\n```\nsass source/stylesheets/index.scss build/stylesheets/index.css\n```\n\n## Learn Sass\n\nCheck out [the Sass website](https://sass-lang.com/guide) for a guide on how to\nlearn Sass!\n\n## This Repository\n\nThis repository isn't an implementation of Sass. Those live in\n[`sass/dart-sass`] and [`sass/libsass`]. Instead, it contains:\n\n[`sass/dart-sass`]: https://github.com/sass/dart-sass\n[`sass/libsass`]: https://github.com/sass/libsass\n\n* [`spec/`], which contains specifications for language features.\n* [`proposal/`], which contains in-progress proposals for changes to the\n  language.\n* [`accepted/`], which contains proposals that have been accepted and are either\n  implemented or in the process of being implemented.\n\n[`spec/`]: https://github.com/sass/sass/tree/main/spec\n[`proposal/`]: https://github.com/sass/sass/tree/main/proposal\n[`accepted/`]: https://github.com/sass/sass/tree/main/accepted\n\nNote that this doesn't contain a full specification of Sass. Instead, feature\nspecifications are written as needed when a new feature is being designed or\nwhen an implementor needs additional clarity about how something is supposed to\nwork. This means many of the specs in `spec/` only cover small portions of the\nfeatures in question.\n\n### Versioning Policy\n\nThe proposals in this repository are versioned, to make it easy to track changes\nover time and to refer to older versions. Every version has a Git tag of the\nform `proposal.\u003cname\u003e.draft-\u003cversion\u003e`. A new version should be created for each\nbatch of changes.\n\nEvery version has a major version, and they may have a minor version as well\n(indicated `\u003cmajor\u003e.\u003cminor\u003e`). The minor version should be incremented for\nchanges that don't affect the intended semantics of the proposal; otherwise, the\nmajor version should be incremented.\n","funding_links":[],"categories":["JavaScript","HarmonyOS","TypeScript","Web 后端","Built With","Preprocessors :pill:","others","CSS Preprocessor","Gems","Pré-processadores","CSS and Styling"],"sub_categories":["Windows Manager","Prerequisites","Editor's Draft :black_nib:","React Components","CSS"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsass%2Fsass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsass%2Fsass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsass%2Fsass/lists"}