1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 12:42:32 +03:00
css/docs/content/components/marketing-buttons.md
2019-08-14 14:59:37 -07:00

1.5 KiB

title path status source bundle
Marketing Buttons components/marketing-buttons New https://github.com/primer/css/tree/master/src/marketing/buttons marketing-buttons

Marketing buttons come in different colors and sizes, and are also available in a blue outlined version.

Colors and outlined

Marketing buttons can be solid blue, outlined blue, solid green, or transparent.

The solid blue and solid green buttons have more visual emphasis than the blue outlined button, therefore they should be used sparingly and only for call to actions that need emphasis.

<button class="btn-mktg mr-2" type="button">Learn more</button>
<button class="btn-mktg btn-outline-mktg mr-2" type="button">Learn more</button>
<button class="btn-mktg btn-primary-mktg mr-2" type="button">Sign up</button>
<div class="bg-gray-dark">
  <button class="btn-mktg btn-transparent m-2" type="button">Learn more</button>
</div>

Sizes

Available in two sizes, marketing buttons have a default size and a large size.

<button class="btn-mktg mr-2" type="button">Learn more</button>
<button class="btn-mktg btn-outline-mktg mr-2" type="button">Learn more</button>
<button class="btn-mktg btn-primary-mktg mr-2" type="button">Sign up</button>
<button class="btn-mktg btn-large-mktg mr-2" type="button">Learn more</button>
<button class="btn-mktg btn-outline-mktg btn-large-mktg mr-2" type="button">Learn more</button>
<button class="btn-mktg btn-primary-mktg btn-large-mktg mr-2" type="button">Sign up</button>