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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?