1
1
mirror of https://github.com/primer/css.git synced 2024-11-10 07:58:36 +03:00

actually update the marketing buttons readme for reals

This commit is contained in:
Catherine Bui 2017-09-06 15:58:46 -07:00
parent 2e039adf3f
commit bfeb14aa80

View File

@ -1,20 +1,20 @@
# Primer Marketing CSS Buttons
[![npm version](http://img.shields.io/npm/v/primer-marketing-type.svg)](https://www.npmjs.org/package/primer-marketing-buttons)
[![npm version](http://img.shields.io/npm/v/primer-marketing-buttons.svg)](https://www.npmjs.org/package/primer-marketing-buttons)
[![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css)
> Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Dont show more than one at a time.
> Buttons are used for actions, like in forms, while textual hyperlinks are used for destinations, or moving from one page to another.
This repository is a module of the full [primer-css][primer] repository.
## Documentation
<!-- %docs
title: Typography
title: Buttons
status: New Release
-->
The buttons on our marketing pages are based on Primer's core with the addition of more color options for outline buttons, a transparent button, and sizes.
The buttons on our marketing pages are based on Primer's core with the addition of color options for outline buttons, and a transparent button.
## Outline buttons
@ -26,7 +26,9 @@ The `.btn-outline` has also been extended with the marketing color palette:
<button class="btn btn-outline-orange" type="button">Button button</button>
<a class="btn btn-outline-purple" href="#url" role="button">Link button</a>
<button class="btn btn-outline-blue" type="button">Button button</button>
<button class="btn btn-transparent" type="button">Button button</button>
<div class="bg-gray-dark p-4 mt-4">
<button class="btn btn-transparent" type="button">Button button</button>
</div>
```
@ -34,10 +36,10 @@ The `.btn-outline` has also been extended with the marketing color palette:
## Install
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-marketing-typography` with this command.
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-marketing-buttons` with this command.
```
$ npm install --save primer-marketing-typography
$ npm install --save primer-marketing-buttons
```
## Usage