1
1
mirror of https://github.com/primer/css.git synced 2024-12-11 11:16:04 +03:00
css/docs/content/components/marketing-buttons.md

39 lines
1.6 KiB
Markdown
Raw Normal View History

2019-07-30 02:56:17 +03:00
---
title: Marketing Buttons
path: components/marketing-buttons
2019-08-15 00:59:37 +03:00
status: New
2019-07-30 02:56:17 +03:00
source: 'https://github.com/primer/css/tree/master/src/marketing/buttons'
bundle: marketing-buttons
---
Marketing buttons come in different colors and sizes, and are also available in a blue outlined version.
## Colors, outlined and transparent
2019-07-30 02:56:17 +03:00
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.
2019-08-09 01:24:04 +03:00
```html live
<button class="btn-mktg mr-3" type="button">Learn more</button>
<button class="btn-mktg btn-primary-mktg mr-3" type="button">Sign up</button>
<button class="btn-mktg btn-outline-mktg mr-3" type="button">Learn more</button>
<div class="mt-3 p-3" style="background-color: var(--color-scale-gray-9);">
<button class="btn-mktg btn-transparent" type="button">Learn more</button>
2019-07-30 02:56:17 +03:00
</div>
```
## Sizes
Available in two sizes, marketing buttons have a default size and a large size.
2019-08-09 01:24:04 +03:00
```html live
2019-07-30 02:56:17 +03:00
<button class="btn-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-outline-mktg mr-2" type="button">Learn more</button>
<hr>
2019-07-30 02:56:17 +03:00
<button class="btn-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>
<button class="btn-mktg btn-outline-mktg btn-large-mktg mr-2" type="button">Learn more</button>
2019-07-30 02:56:17 +03:00
```