Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor typos in README #48

Merged
merged 1 commit into from Nov 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -148,7 +148,7 @@ var style = lipgloss.NewStyle().

## Width and Height

Setting a minimim width and height is simple and straightforward.
Setting a minimum width and height is simple and straightforward.

```go
var str = lipgloss.NewStyle().
Expand All @@ -164,7 +164,7 @@ var str = lipgloss.NewStyle().
Adding borders is easy:

```go
// Add a purple, regtangular border
// Add a purple, rectangular border
var style = lipgloss.NewStyle().
BorderStyle(lipgloss.NormalBorder()).
BorderForeground(lipgloss.Color("63"))
Expand Down Expand Up @@ -291,7 +291,7 @@ fmt.Printf("%s\n", style)

## Utilities

In addition to pure styling, Lip Gloss also ships with some utilties to help
In addition to pure styling, Lip Gloss also ships with some utilities to help
assemble your layouts.


Expand Down Expand Up @@ -323,7 +323,7 @@ var block string = lipgloss.NewStyle().
Padding(2).
Render(someLongString)

// Get the actual, phsical dimensions of the text block.
// Get the actual, physical dimensions of the text block.
width := lipgloss.Width(block)
height := lipgloss.Height(block)

Expand Down