diff --git a/packages/primer-marketing-support/.gitignore b/packages/primer-marketing-support/.gitignore new file mode 100644 index 00000000..01a5e93c --- /dev/null +++ b/packages/primer-marketing-support/.gitignore @@ -0,0 +1,3 @@ +node_modules +build +*.log diff --git a/packages/primer-marketing-support/.npmignore b/packages/primer-marketing-support/.npmignore new file mode 100644 index 00000000..dd51a98b --- /dev/null +++ b/packages/primer-marketing-support/.npmignore @@ -0,0 +1,2 @@ +*.yml +.github diff --git a/packages/primer-marketing-support/.postcss.json b/packages/primer-marketing-support/.postcss.json new file mode 100644 index 00000000..0d882f47 --- /dev/null +++ b/packages/primer-marketing-support/.postcss.json @@ -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" + } +} diff --git a/packages/primer-marketing-support/.stylelintrc.json b/packages/primer-marketing-support/.stylelintrc.json new file mode 100644 index 00000000..19028f98 --- /dev/null +++ b/packages/primer-marketing-support/.stylelintrc.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "stylelint-config-primer" + ] +} diff --git a/packages/primer-marketing-support/CHANGELOG.md b/packages/primer-marketing-support/CHANGELOG.md new file mode 100644 index 00000000..72485b51 --- /dev/null +++ b/packages/primer-marketing-support/CHANGELOG.md @@ -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) \ No newline at end of file diff --git a/packages/primer-marketing-support/LICENSE b/packages/primer-marketing-support/LICENSE new file mode 100644 index 00000000..5715c136 --- /dev/null +++ b/packages/primer-marketing-support/LICENSE @@ -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. diff --git a/packages/primer-marketing-support/README.md b/packages/primer-marketing-support/README.md new file mode 100644 index 00000000..0da8d98b --- /dev/null +++ b/packages/primer-marketing-support/README.md @@ -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 + + + +Documentation & refactor coming very soon + + + +## 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/ diff --git a/packages/primer-marketing-support/index.scss b/packages/primer-marketing-support/index.scss new file mode 100644 index 00000000..eaa180c6 --- /dev/null +++ b/packages/primer-marketing-support/index.scss @@ -0,0 +1 @@ +@import "./lib/variables.scss"; diff --git a/packages/primer-marketing-support/lib/variables.scss b/packages/primer-marketing-support/lib/variables.scss new file mode 100644 index 00000000..cd2ceb3d --- /dev/null +++ b/packages/primer-marketing-support/lib/variables.scss @@ -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; diff --git a/packages/primer-marketing-support/package.json b/packages/primer-marketing-support/package.json new file mode 100644 index 00000000..d22f49d2 --- /dev/null +++ b/packages/primer-marketing-support/package.json @@ -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" + ] +}