mirror of
https://github.com/primer/css.git
synced 2024-12-25 23:23:47 +03:00
add primer-marketing-support
remove git log - update gitignore
This commit is contained in:
parent
40164b450a
commit
360b63ae4e
3
packages/primer-marketing-support/.gitignore
vendored
Normal file
3
packages/primer-marketing-support/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
build
|
||||
*.log
|
2
packages/primer-marketing-support/.npmignore
Normal file
2
packages/primer-marketing-support/.npmignore
Normal file
@ -0,0 +1,2 @@
|
||||
*.yml
|
||||
.github
|
6
packages/primer-marketing-support/.postcss.json
Normal file
6
packages/primer-marketing-support/.postcss.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"use": ["autoprefixer"],
|
||||
"autoprefixer": {
|
||||
"browsers": "> 5%, last 2 firefox versions, last 2 chrome versions, last 2 safari versions, last 2 edge versions, ie 11"
|
||||
}
|
||||
}
|
5
packages/primer-marketing-support/.stylelintrc.json
Normal file
5
packages/primer-marketing-support/.stylelintrc.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": [
|
||||
"stylelint-config-primer"
|
||||
]
|
||||
}
|
40
packages/primer-marketing-support/CHANGELOG.md
Normal file
40
packages/primer-marketing-support/CHANGELOG.md
Normal file
@ -0,0 +1,40 @@
|
||||
# v0.5.0
|
||||
|
||||
* bump versions - broccolini [github/github@3d73b9d](https://github.com/github/github/commit/3d73b9d)
|
||||
* delete more instances of - Sophie Shepherd [github/github@04f84d8](https://github.com/github/github/commit/04f84d8)
|
||||
* resolve all the other conflicts - Sophie Shepherd [github/github@d8fb169](https://github.com/github/github/commit/d8fb169)
|
||||
|
||||
# v0.4.0
|
||||
|
||||
* versions - Sophie Shepherd [github/github@703a904](https://github.com/github/github/commit/703a904)
|
||||
|
||||
# v0.3.0
|
||||
|
||||
* bump version numbers that were missed previously - broccolini [github/github@ee50553](https://github.com/github/github/commit/ee50553)
|
||||
* add new green, update colors on business new - Sophie Shepherd [github/github@f32126a](https://github.com/github/github/commit/f32126a)
|
||||
* update variables to have new colors - Sophie Shepherd [github/github@2ae3bd8](https://github.com/github/github/commit/2ae3bd8)
|
||||
* sneak in that sf mono life - Mark Otto [github/github@778a9e6](https://github.com/github/github/commit/778a9e6)
|
||||
|
||||
# v0.2.0
|
||||
|
||||
* update version number - broccolini [github/github@b3d1822](https://github.com/github/github/commit/b3d1822)
|
||||
* Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571)
|
||||
|
||||
# v0.1.1
|
||||
|
||||
|
||||
# v0.1.0
|
||||
|
||||
* Getting rid of as much as possible - Sophie Shepherd [github/github@e2e5de4](https://github.com/github/github/commit/e2e5de4)
|
||||
* Hella cleanup - Sophie Shepherd [github/github@5e0716b](https://github.com/github/github/commit/5e0716b)
|
||||
* Clean up more type css - Sophie Shepherd [github/github@cbf356a](https://github.com/github/github/commit/cbf356a)
|
||||
* Heading & variable cleanup - Sophie Shepherd [github/github@0778b8b](https://github.com/github/github/commit/0778b8b)
|
||||
* Fix broken paths - Patrick Marsceill [github/github@b5dc395](https://github.com/github/github/commit/b5dc395)
|
||||
* Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
|
||||
* Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
|
||||
* update docs - Patrick Marsceill [github/github@d5ef0e4](https://github.com/github/github/commit/d5ef0e4)
|
||||
* Add marketing support to docs - Sophie Shepherd [github/github@ed62442](https://github.com/github/github/commit/ed62442)
|
||||
* Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
|
||||
* Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
|
||||
* prefix bc => marketing - Patrick Marsceill [github/github@04d509a](https://github.com/github/github/commit/04d509a)
|
||||
* Support - Patrick Marsceill [github/github@9bbf59b](https://github.com/github/github/commit/9bbf59b)
|
21
packages/primer-marketing-support/LICENSE
Normal file
21
packages/primer-marketing-support/LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 GitHub Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
49
packages/primer-marketing-support/README.md
Normal file
49
packages/primer-marketing-support/README.md
Normal file
@ -0,0 +1,49 @@
|
||||
# Primer Marketing CSS Support
|
||||
|
||||
[![NPM version](http://img.shields.io/npm/v/primer-marketing-support.svg)](https://www.npmjs.org/package/primer-marketing-support)
|
||||
[![Build Status](https://travis-ci.org/primer/primer-marketing-support.svg?branch=master)](https://travis-ci.org/primer/primer-marketing-support)
|
||||
|
||||
> Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.
|
||||
>
|
||||
> Most of the time to include these you'll only need to add `@import "./primer-marketing-support";` to the top of your bundle. If you want only a specific partial you can import them separately.
|
||||
|
||||
This repository is a module of the full [primer-css][primer] repository.
|
||||
|
||||
## Documentation
|
||||
|
||||
<!-- %docs
|
||||
title: Variables
|
||||
status: In review
|
||||
-->
|
||||
|
||||
Documentation & refactor coming very soon
|
||||
|
||||
<!-- %enddocs -->
|
||||
|
||||
## Install
|
||||
|
||||
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `support` with this command.
|
||||
|
||||
```
|
||||
$ npm install --save support
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
||||
|
||||
```scss
|
||||
@import "primer-marketing-support/index.scss";
|
||||
```
|
||||
|
||||
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
||||
|
||||
## License
|
||||
|
||||
MIT © [GitHub](https://github.com/)
|
||||
|
||||
[primer]: https://github.com/primer/primer
|
||||
[docs]: http://primercss.io/
|
||||
[npm]: https://www.npmjs.com/
|
||||
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
||||
[sass]: http://sass-lang.com/
|
1
packages/primer-marketing-support/index.scss
Normal file
1
packages/primer-marketing-support/index.scss
Normal file
@ -0,0 +1 @@
|
||||
@import "./lib/variables.scss";
|
3
packages/primer-marketing-support/lib/variables.scss
Normal file
3
packages/primer-marketing-support/lib/variables.scss
Normal file
@ -0,0 +1,3 @@
|
||||
// Type
|
||||
$alt-body-font: Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif;
|
||||
$alt-mono-font: $mono-font;
|
34
packages/primer-marketing-support/package.json
Normal file
34
packages/primer-marketing-support/package.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"version": "0.5.0",
|
||||
"name": "primer-marketing-support",
|
||||
"description": "Sass variables, mixins, and functions for use in our components.",
|
||||
"homepage": "http://primercss.io/",
|
||||
"author": "GitHub, Inc.",
|
||||
"license": "MIT",
|
||||
"style": "index.scss",
|
||||
"files": [
|
||||
"index.scss",
|
||||
"lib"
|
||||
],
|
||||
"repository": "https://github.com/primer/primer-marketing-support.git",
|
||||
"bugs": {
|
||||
"url": "https://github.com/primer/primer-marketing-support/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"devDependencies": {
|
||||
"stylelint": "*",
|
||||
"stylelint-config-primer": "*"
|
||||
},
|
||||
"keywords": [
|
||||
"primer",
|
||||
"css",
|
||||
"github",
|
||||
"primercss",
|
||||
"mixins",
|
||||
"functions",
|
||||
"variables",
|
||||
"scss"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user