mirror of
https://github.com/primer/css.git
synced 2025-01-03 19:51:38 +03:00
commit
454a884146
54
.travis.yml
54
.travis.yml
@ -2,31 +2,31 @@ language: node_js
|
||||
node_js:
|
||||
- '7'
|
||||
env:
|
||||
- TEST_DIR=packages/primer-css
|
||||
- TEST_DIR=packages/primer-core
|
||||
- TEST_DIR=packages/primer-product
|
||||
- TEST_DIR=packages/primer-marketing
|
||||
- TEST_DIR=packages/primer-alerts
|
||||
- TEST_DIR=packages/primer-base
|
||||
- TEST_DIR=packages/primer-blankslate
|
||||
- TEST_DIR=packages/primer-box
|
||||
- TEST_DIR=packages/primer-breadcrumb
|
||||
- TEST_DIR=packages/primer-buttons
|
||||
- TEST_DIR=packages/primer-cards
|
||||
- TEST_DIR=packages/primer-forms
|
||||
- TEST_DIR=packages/primer-labels
|
||||
- TEST_DIR=packages/primer-layout
|
||||
- TEST_DIR=packages/primer-markdown
|
||||
- TEST_DIR=packages/primer-marketing
|
||||
- TEST_DIR=packages/primer-marketing-type
|
||||
- TEST_DIR=packages/primer-marketing-utilities
|
||||
- TEST_DIR=packages/primer-navigation
|
||||
- TEST_DIR=packages/primer-page-headers
|
||||
- TEST_DIR=packages/primer-page-sections
|
||||
- TEST_DIR=packages/primer-support
|
||||
- TEST_DIR=packages/primer-table-object
|
||||
- TEST_DIR=packages/primer-tables
|
||||
- TEST_DIR=packages/primer-tooltips
|
||||
- TEST_DIR=packages/primer-truncate
|
||||
- TEST_DIR=packages/primer-utilities
|
||||
- TEST_DIR=modules/primer-css
|
||||
- TEST_DIR=modules/primer-core
|
||||
- TEST_DIR=modules/primer-product
|
||||
- TEST_DIR=modules/primer-marketing
|
||||
- TEST_DIR=modules/primer-alerts
|
||||
- TEST_DIR=modules/primer-base
|
||||
- TEST_DIR=modules/primer-blankslate
|
||||
- TEST_DIR=modules/primer-box
|
||||
- TEST_DIR=modules/primer-breadcrumb
|
||||
- TEST_DIR=modules/primer-buttons
|
||||
- TEST_DIR=modules/primer-cards
|
||||
- TEST_DIR=modules/primer-forms
|
||||
- TEST_DIR=modules/primer-labels
|
||||
- TEST_DIR=modules/primer-layout
|
||||
- TEST_DIR=modules/primer-markdown
|
||||
- TEST_DIR=modules/primer-marketing
|
||||
- TEST_DIR=modules/primer-marketing-type
|
||||
- TEST_DIR=modules/primer-marketing-utilities
|
||||
- TEST_DIR=modules/primer-navigation
|
||||
- TEST_DIR=modules/primer-page-headers
|
||||
- TEST_DIR=modules/primer-page-sections
|
||||
- TEST_DIR=modules/primer-support
|
||||
- TEST_DIR=modules/primer-table-object
|
||||
- TEST_DIR=modules/primer-tables
|
||||
- TEST_DIR=modules/primer-tooltips
|
||||
- TEST_DIR=modules/primer-truncate
|
||||
- TEST_DIR=modules/primer-utilities
|
||||
script: cd $TEST_DIR && npm install && npm test
|
||||
|
@ -34,7 +34,7 @@ The source files included are written in [Sass][sass] (SCSS). You can point your
|
||||
@import "primer-css/index.scss";
|
||||
```
|
||||
|
||||
You can import individual Primer modules by installing them each with npm, for instance:
|
||||
You can import individual Primer modules by installing them with npm, for instance:
|
||||
|
||||
```sh
|
||||
$ npm install --save primer-navigation
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"lerna": "2.0.0-rc.5",
|
||||
"packages": [
|
||||
"packages/*"
|
||||
"modules/*"
|
||||
],
|
||||
"version": "independent"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.1.5",
|
||||
"version": "1.1.7",
|
||||
"name": "primer-alerts",
|
||||
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,7 +22,7 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.4.9",
|
||||
"version": "1.0.1",
|
||||
"name": "primer-avatars",
|
||||
"description": "Basic styles for user profile avatars.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,7 +22,7 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.4",
|
||||
"name": "primer-base",
|
||||
"description": "CSS to reset the browsers default styles",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,7 +22,7 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.3.8",
|
||||
"version": "1.0.1",
|
||||
"name": "primer-blankslate",
|
||||
"description": "Blankslates are for when there is a lack of content within a page or section.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,7 +22,7 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.1.5",
|
||||
"version": "2.1.7",
|
||||
"name": "primer-box",
|
||||
"description": "A module for creating rounded-corner boxes with options for headers, lists, and footers.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,7 +22,7 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.4",
|
||||
"version": "1.0.1",
|
||||
"name": "primer-breadcrumb",
|
||||
"description": "Breadcrumb navigation for pages with parents / grandparents.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,8 +22,8 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-marketing-support": "^0.5.3",
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-marketing-support": "^1.0.1",
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.5",
|
||||
"name": "primer-buttons",
|
||||
"description": "A collection of buttons used for primary and secondary actions.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,7 +22,7 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.7",
|
||||
"name": "primer-cards",
|
||||
"description": "Card-like containers to group semantically related content together on marketing websites at GitHub.",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,8 +22,8 @@
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-marketing-support": "^0.5.3",
|
||||
"primer-support": "^4.0.4"
|
||||
"primer-marketing-support": "^1.0.1",
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
@ -12,14 +12,17 @@
|
||||
|
||||
// Global requirements
|
||||
@import "primer-support/index.scss";
|
||||
@import "primer-base/index.scss";
|
||||
@import "primer-utilities/index.scss";
|
||||
|
||||
@import "primer-tooltips/index.scss";
|
||||
// Core modules
|
||||
@import "primer-base/index.scss";
|
||||
@import "primer-box/index.scss";
|
||||
@import "primer-buttons/index.scss";
|
||||
@import "primer-table-object/index.scss";
|
||||
@import "primer-forms/index.scss";
|
||||
@import "primer-layout/index.scss";
|
||||
@import "primer-navigation/index.scss";
|
||||
@import "primer-table-object/index.scss";
|
||||
@import "primer-tooltips/index.scss";
|
||||
@import "primer-truncate/index.scss";
|
||||
|
||||
// Utilities always go last so that they can override components
|
||||
@import "primer-utilities/index.scss";
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "4.0.2",
|
||||
"version": "5.0.1",
|
||||
"name": "primer-core",
|
||||
"description": "Primer CSS's core modules",
|
||||
"homepage": "http://primercss.io/",
|
||||
@ -22,16 +22,16 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"primer-base": "^0.4.0",
|
||||
"primer-box": "^2.1.5",
|
||||
"primer-buttons": "^2.0.3",
|
||||
"primer-forms": "^1.0.10",
|
||||
"primer-layout": "^1.0.2",
|
||||
"primer-navigation": "^1.0.3",
|
||||
"primer-support": "^4.0.4",
|
||||
"primer-table-object": "^1.0.6",
|
||||
"primer-tooltips": "^0.5.7",
|
||||
"primer-truncate": "^0.3.5",
|
||||
"primer-utilities": "^4.3.2"
|
||||
"primer-box": "^2.1.7",
|
||||
"primer-buttons": "^2.0.5",
|
||||
"primer-forms": "^1.0.12",
|
||||
"primer-layout": "^1.0.4",
|
||||
"primer-navigation": "^1.0.5",
|
||||
"primer-support": "^4.0.6",
|
||||
"primer-table-object": "^1.0.8",
|
||||
"primer-tooltips": "^1.0.1",
|
||||
"primer-truncate": "^1.0.1",
|
||||
"primer-utilities": "^4.3.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*"
|
@ -3,9 +3,9 @@
|
||||
[![npm version](http://img.shields.io/npm/v/primer-css.svg)](https://www.npmjs.org/package/primer-css)
|
||||
[![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css)
|
||||
|
||||
> Primer is the CSS framework that powers GitHub's front-end design. Primer CSS includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to include all or part of Primer within your own project.
|
||||
Primer is the CSS framework that powers GitHub's front-end design. Primer CSS includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to include all or part of Primer within your own project.
|
||||
|
||||
This repository is a compilation of [several CSS modules](https://github.com/primer).
|
||||
The Primer CSS repo is managed as a monorepo that is composed of many npm packages.
|
||||
|
||||
## Install
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user