Primer CSS

为 GitHub 提供动力的 CSS 设计系统。「The design system that powers GitHub」

Github星跟踪图

Migrating

:rotating_light: If you currently use the primer or primer--prefixed npm packages, please read the migration guide!

Install

This repository is distributed with npm. After installing npm, you can install @primer/css with this command:

$ npm install --save @primer/css

Usage

The included source files are written in Sass using SCSS syntax. After installing with npm, you can add your project's node_modules directory to your Sass include paths (AKA load paths in Ruby), then import it like this:

@import "@primer/css/index.scss";

You can import individual Primer modules directly from the @primer/css package:

@import "@primer/css/core/index.scss";
@import "@primer/css/product/index.scss";
@import "@primer/css/marketing/index.scss";

Development

See DEVELOP.md for development docs.

Releasing (for GitHub staff)

You can find docs about our release process in RELEASING.md.

Documentation

The Primer CSS docs site is deployed from this repo with primer/deploy. See the development docs for more info.

License

MIT © GitHub

主要指标

概览
名称与所有者primer/css
主编程语言SCSS
编程语言Shell (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2015-03-19 23:31:21
推送于2025-04-21 16:33:12
最后一次提交
发布数271
最新版本名称v21.5.1 (发布于 2024-11-08 17:55:55)
第一版名称v0.1.0 (发布于 )
用户参与
星数12.7k
关注者数246
派生数1.3k
提交数6.8k
已启用问题?
问题数499
打开的问题数3
拉请求数1748
打开的拉请求数2
关闭的拉请求数492
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?