Skip to content

Commit

Permalink
A few edits for Retype v2.0 (#286)
Browse files Browse the repository at this point in the history
* Add new cloak variant samples

* Typo

* Clean line-endings

* Rename variant to ghost

* Update site label to `v2.0`
  • Loading branch information
geoffreymcgill authored Mar 9, 2022
1 parent 8b8e9bd commit 91d67c0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
11 changes: 10 additions & 1 deletion components/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Alerts come in nine different flavors which can be specified by passing a `varia
| `info` | `light-blue` |
| `light` | `light` |
| `dark` | `dark` |
| `contrast` | `light` or `dark` depending on time of day |
| `ghost` | `light` or `dark` depending on time of day |
| `contrast` | `dark` or `light` depending on time of day |

---

Expand Down Expand Up @@ -100,6 +101,10 @@ This is a `light` alert.
This is a `dark` alert.
!!!
!!!ghost Ghost
This is a `ghost` alert.
!!!
!!!contrast Contrast
This is a `contrast` alert.
!!!
Expand Down Expand Up @@ -137,6 +142,10 @@ This is a `light` alert.
This is a `dark` alert.
!!!

!!!ghost Ghost
This is a `ghost` alert.
!!!

!!!contrast Contrast
This is a `contrast` alert.
!!!
1 change: 1 addition & 0 deletions components/badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ With the Badge component, the destination is optional and can be ommitted.
| `info` | [!badge variant="info" text="Info"] |
| `light` | [!badge variant="light" text="Light"] |
| `dark` | [!badge variant="dark" text="Dark"] |
| `ghost` | [!badge variant="ghost" text="Ghost"] |
| `contrast` | [!badge variant="contrast" text="Contrast"] |

---
Expand Down
1 change: 1 addition & 0 deletions components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Similar to a [Badge](badge.md), the Button component uses the same syntax as a h
| `info` | [!button variant="info" text="Info"] |
| `light` | [!button variant="light" text="Light"] |
| `dark` | [!button variant="dark" text="Dark"] |
| `ghost` | [!button variant="ghost" text="Ghost"] |
| `contrast` | [!button variant="contrast" text="Contrast"] |

---
Expand Down
4 changes: 2 additions & 2 deletions guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ If you already have the `dotnet` CLI installed on your machine, installing using

### Platform specific

The default `retypapp` NPM and Yarn package is a bundle of several platform specific packages. The installer will automatically detect and choose the correct platform package from the bundle during installation.
The default `retypapp` NPM and Yarn package is a bundle of several platform specific packages. The installer will automatically detect and choose the correct platform package from the bundle during installation.

The bundle provides convenience although at the cost of an increased download size.
The bundle provides convenience although at the cost of an increased download size.

It is possible to install smaller platform specific packages without the bundling. Currently, four platforms are supported and can be installed separately.

Expand Down
2 changes: 1 addition & 1 deletion retype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ url: retype.com
branding:
logo: /static/retype-logo.svg
logoDark: /static/retype-logo-dark.svg
label: v1.11.2
label: v2.0

meta:
title: " - Generate, publish, and share documentation"
Expand Down
2 changes: 1 addition & 1 deletion roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Released: 2021-03-25
- [x] New [`Edit this page`](configuration/project.md#edit) link
- [x] New `Previous | Next` footer navigation buttons for pages
- [x] New [`order`](configuration/page.md#order) Page level config
- [x] New ~~`hidden` [`visibility`](configuration/page.md#visibility) Page level config
- [x] New `hidden` [`visibility`](configuration/page.md#visibility) Page level config
- [x] New [`favicon`](configuration/project.md#favicon) Project config available in `retype.yml`
- [x] New beta release of building C# project reference documentation

Expand Down

0 comments on commit 91d67c0

Please sign in to comment.